ch02 Unlocked
ch02 Unlocked
ch02 Unlocked
Chia-Hsiang Lin
Web: https://sites.google.com/view/chiahsianglin/home
Ch02 2nd-Order
DEs
C.-H. Lin
Enjoy Math...(round 3)
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Linear independence
2.2 Constant
Coeff
Characteristic
Equation
Reduction of Order
2.3
Nonhomogeneous
2nd-Order ODE
Matrix completion (image inpainting)?
Method of Variation
of Parameters
Method of
Undetermined
Coefficients
Superposition
2.5 Euler-Cauchy
Ch02 2nd-Order
DEs
C.-H. Lin
2.1 The Linear Second-Order Equation
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
A second-order differential equation is one containing a second derivative
Linear independence but no higher derivative.
2.2 Constant
Coeff General form: F (x, y, y ′ , y ′′ ) = 0.
Characteristic
2.3
Nonhomogeneous We say ϕ is a solution of F (x, y, y ′ , y ′′ ) = 0 on an interval I (perhaps the
2nd-Order ODE
Method of Variation
whole real line) if it satisfies the differential equation at each point of I,
of Parameters
Method of
i.e. ′′
Undetermined
Coefficients F (x, ϕ(x), ϕ′ (x), ϕ (x)) = 0 for x in I.
Superposition
2.3
Nonhomogeneous Dividing the differential equation by P (x), we obtain a special linear
2nd-Order ODE
Method of Variation equation
of Parameters
Method of
Undetermined
y ′′ + p(x)y ′ + q(x)y = f (x). (1)
Coefficients
Superposition
For the remainder of this chapter, we will concentrate on this equation
2.4 Case Studies
and address the following issues:
2.5 Euler-Cauchy
▶ What would be the existence and uniqueness of solutions of (1)?
▶ How can we produce all solutions of (1), at least in some cases that
occur frequently and have important applications?
Ch02 2nd-Order
DEs
C.-H. Lin
Linear Second-Order Equation (cont’d)
2.1 Linear To get some feeling for what we are dealing with, consider a simple
2nd-Order DE
Definition example: y ′′ − 12x = 0.
Existence Z
y ′′ = 12x ⇒ y ′ (x) = 12xdx = 6x2 + c
Homogeneous case
Linear independence
2.2 Constant
Coeff
Characteristic
⇒ y(x) = 2x3 + cx + k
Equation
Reduction of Order where c and k are arbitrary constants. It makes sense that a second-order
2.3
Nonhomogeneous
differential equation, which involves two integrations, contains two
2nd-Order ODE arbitrary constants.
Method of Variation
of Parameters
Method of
Undetermined
Coefficients
Superposition
2.5 Euler-Cauchy
2.2 Constant
Coeff
Characteristic
Equation
Reduction of Order
2.3
Nonhomogeneous
2nd-Order ODE
Method of Variation
of Parameters
Method of
Undetermined
Coefficients
Superposition
2.3
Nonhomogeneous y ′′ + p(x)y ′ + q(x)y = f (x); y(x0 ) = A, y ′ (x0 ) = B (2)
2nd-Order ODE
Method of Variation
of Parameters has a unique solution on I.
Method of
Undetermined
Coefficients
Superposition
2.3
Nonhomogeneous
2nd-Order ODE Theorem 2.2
Method of Variation
of Parameters Each linear combination of solutions of the homogeneous linear equation is
Method of
Undetermined
Coefficients
also a solution.
Superposition
Proof Let y1 and y2 be solutions, and c1 and c2 be numbers. If
2.4 Case Studies
c1 y1 + c2 y2 is a solution, substituting it into the differential equation
2.5 Euler-Cauchy
must end up with zero.
(c1 y1 + c2 y2 )′′ + p(x)(c1 y1 + c2 y2 )′ + q(x)(c1 y1 + c2 y2 )
= c1 y1′′ + c2 y2′′ + c1 p(x)y1′ + c2 p(x)y2′ + c1 q(x)y1 + c2 (q)y2
= c1 [y1′′ + p(x)y1′ + q(x)y1 ] + c2 [y2′′ + p(x)y2′ + q(x)y2 ]
= c1 · 0 + c2 · 0 = 0.
Ch02 2nd-Order
DEs
C.-H. Lin
Linear Independence
2.1 Linear
2nd-Order DE
Definition
Existence
The above theorem allows us to generate new solutions based on known
Homogeneous case ones. However, it may not always be true.
Linear independence
2.2 Constant
Coeff If y2 = ky1 (constant multiple), then
Characteristic
Equation
Reduction of Order c1 y1 + c2 y2 = c1 y1 + c2 ky1 = (c1 + c2 k)y1
2.3
Nonhomogeneous
2nd-Order ODE is just a constant multiple of y1 , which does not offer any new
Method of Variation
of Parameters information about the solution.
Method of
Undetermined
Coefficients
Superposition
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Linear independence
2.2 Constant
2.5 Euler-Cauchy
Conclusion (1) means that W (x) can not vanish from some x and be
nonzero for others in I. So we only need to check one point of I.
2.2 Constant
Let y1 and y2 be linearly independent solutions of y ′′ + py ′ + qy = 0 on an open
Coeff
Characteristic
interval I. Then every solution on I is a linear combination of y1 and y2 .
Equation
Reduction of Order
2.3 In other words, we can use two linearly independent solutions y1 and y2 to
Nonhomogeneous
2nd-Order ODE general all solutions of the homogenous linear equation on I. Therefore, y1 and
Method of Variation
of Parameters y2 are called a fundamental st of solutions on I or the basis of the general
Method of
Undetermined solution c1 y1 + c2 y2 .
Coefficients
Superposition
2.4 Case Studies Proof Let ϕ be any solution of y ′′ + py ′ + qy = 0 on I. We want to show that
2.5 Euler-Cauchy there are numbers c1 and c2 such that ϕ = c1 y1 + c2 y2 .
Choose an arbitrary x0 in I. Let ϕ(x0 ) = A and ϕ′ (x0 ) = B. So ϕ is a unique
solution of the corresponding IVP. The two initial conditions provide two
equations in matrix form
[ ][ ] [ ]
y1 (x0 ) y2 (x0 ) c1 A
′ ′ =
y1 (x0 ) y2 (x0 ) c2 B
Ch02 2nd-Order
DEs
C.-H. Lin
Find All Solutions (cont’d)
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Linear independence
2.2 Constant Since y1 and y2 are linearly independent, W (x) ̸= 0, we can find c1 and
Coeff
Characteristic c2 by solving the linear equation Ax = b, i.e.
Equation
Reduction of Order
(C T )ij
2.3
x = A−1 b = , Cij = (−1)i+j Mij
|A|
Nonhomogeneous
2nd-Order ODE
Method of Variation ′
of Parameters y2 (x0 ) −y2 (x0 )
−y1′ (x0 ) y1 (x0 )
Method of
Undetermined
c1 A
Coefficients
⇒ = .
Superposition
c2 W (x0 ) B
2.4 Case Studies
2.5 Euler-Cauchy
Thus we find c1 and c2 such that c1 y1 + c2 y2 is also a solution of the IVP.
Ch02 2nd-Order
DEs
C.-H. Lin
Example 2.3
2.1 Linear
ex e2x
2.3
Nonhomogeneous = e3x ̸= 0 ⇒ ex and e2x are linearly independent
2nd-Order ODE ex 2e2x
Method of Variation
of Parameters
Method of
Undetermined
Therefore, every solution has the form y(x) = c1 ex + c2 e2x .
Coefficients
Superposition Given the initial conditions,
2.4 Case Studies
2.5 Euler-Cauchy
the homogeneous equation.
The second item can be easily verified by substituting Y1 − Y2 into the
homogeneous differential equation y ′′ + p(x)y ′ + q(x)y = 0.
Ch02 2nd-Order
DEs
C.-H. Lin
The Nonhomogeneous Equation (contd’)
2.1 Linear
2nd-Order DE
From Theorem 2.4, if the homogeneous equation has two linearly
Definition independent solutions y1 and y2 , then its general solution is in the form
c1 y1 + c2 y2 . Since Y1 − Y2 is a solution of the associated homogeneous
Existence
Homogeneous case
Linear independence
equation, we must have the following for some numbers c1 and c2 , i.e.,
2.2 Constant
Coeff
Characteristic
Equation
Y 1 − Y 2 = c 1 y1 + c 2 y 2
Reduction of Order
⇒Y1 = c1 y1 + c2 y2 + Y2 .
2.3
Nonhomogeneous
2nd-Order ODE
Method of Variation
The above result implies the following theorem
of Parameters
Method of
Undetermined
Coefficients
Theorem 2.5
Superposition
Let Yp be any solution of the nonhomogeneous equation (1), any other
2.4 Case Studies
2.5 Euler-Cauchy
solution has the form
c 1 y1 + c 2 y2 + Y p , (4)
where y1 and y2 are linearly independent solutions of the associated homo-
geneous solution.
2.2 Constant
According to Theorem 2.5, we may first find two linearly independent
Coeff solutions of y ′′ + 4y = 0. For example, cos(2x) and sin(2x). Then find a
Characteristic
Equation particular solution of the nonhomogeneous equation, say Yp (x) = 2x.
Reduction of Order
2.3
Then the general solution is
Nonhomogeneous
2nd-Order ODE
Method of Variation
y = c1 sin(2x) + c2 cos(2x) + 2x.
of Parameters
Method of
Undetermined
Coefficients
Refer to the textbook for solving the associated IVP.
Superposition
2.5 Euler-Cauchy
2.2 Constant
eλ2 x , where
Coeff
Characteristic 1 p 1 p
Equation
λ1 = −p + p2 − 4q , and λ2 = −p − a2 − 4q .
Reduction of Order
2 2
2.3
Nonhomogeneous
2nd-Order ODE Hence, the general solution is
Method of Variation
of Parameters
Method of
Undetermined
y = c 1 e λ1 x + c 2 e λ2 x .
Coefficients
Superposition
Case 2: Repeated roots
2.4 Case Studies
2.5 Euler-Cauchy
When p2 − 4q = 0, the root of the characteristic equation is λ = −p/2,
leading to one solution of the DE as y1 = e−px/2 .
y2′ = u′ y1 + uy1′
Equation
Reduction of Order
2.3
Nonhomogeneous
y2′′ = u′′ y1 + 2u′ y1′ + uy1′′ .
2nd-Order ODE
Method of Variation
of Parameters Substitute y2 into (5) leading to
Method of
Undetermined
Coefficients
Superposition
(u′′ y1 + 2u′ y1′ + uy1′′ ) + p(u′ y1 + uy1′ ) + quy1 = 0
2.4 Case Studies ⇒u′′ y1 + u′ (2y1′ + py1 ) + u(y1′′ + py1′ + qy1 ) = 0
2.5 Euler-Cauchy
p
Since y1 = e− 2 x can not be zero, we have u′′ = 0.
Ch02 2nd-Order
DEs
C.-H. Lin
Reduction of Order (cont’d)
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Linear independence
2.2 Constant
Coeff
Characteristic
Equation When u′′ = 0, u(x) = cx + d with c and d as arbitrary constants. Thus
Reduction of Order
y2 = u(x)y1 = (cx + d)e−px/2 . For simplicity, choose c = 1 and d = 0 to
2.3
Nonhomogeneous get the second linearly independent solution y2 = xe−px/2 . Finally, the
2nd-Order ODE
Method of Variation
general solution in this repeated roots case is
of Parameters
2.5 Euler-Cauchy
Ch02 2nd-Order
DEs
C.-H. Lin
Characteristic Equation (cont’d)
2.1 Linear
2nd-Order DE
Definition
Existence
Case 3: Complex roots
Homogeneous case
Linear independence
This occurs when p2 − 4q < 0 with two complex roots λ1 = α + iβ and
λ2 = α − iβ (α can be zero but β is nonzero).
2.2 Constant
Coeff
Characteristic
Equation
Reduction of Order The general solution is
2.3
2.2 Constant
Coeff
Since c1 and c2 are arbitrary constants, we can choose c1 = c2 = 1/2 to
Characteristic get a particular solution ϕ1 (x) = eαx cos(βx). Likewise, the choice
Equation
Reduction of Order c1 = −c2 = 1/2i provides another particular solution
2.3 ϕ2 (x) = eαx sin(βx). It can be verified that ϕ1 (x) and ϕ2 (x) are linearly
Nonhomogeneous
2nd-Order ODE independent (refer to Theorem 2.3, p. 10). Hence, the general solution
Method of Variation
of Parameters can be expressed as
Method of
Undetermined
Coefficients
Superposition
y(x) = c1 ϕ1 (x) + c2 ϕ2 (x)
2.4 Case Studies = c1 eαx cos(βx) + c2 eαx sin(βx).
2.5 Euler-Cauchy
Ch02 2nd-Order
DEs
C.-H. Lin
Example 2.8
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Linear independence
2.2 Constant
Coeff
Characteristic
Solve y ′′ + 2y ′ + 3y = 0.
Equation
Reduction of Order Solution
2.3
The characteristic equation is λ2 + 2λ + 3 = 0.
Nonhomogeneous
√
Since 22 − 4 · 3 = −8 < 0, there are two complex roots −1 + ±i 2. The
2nd-Order ODE
Method of Variation
of Parameters
Method of
general solution is
√ √
Undetermined
Coefficients
Superposition y = c1 e−x cos( 2x) + c2 e−x sin( 2x).
2.4 Case Studies
2.5 Euler-Cauchy
Ch02 2nd-Order
DEs
C.-H. Lin
2.3 The Nonhomogeneous Equation
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Linear independence
Recall Theorem 2.5, it states that the key to solving the nonhomogeneous
2.2 Constant
linear equation (1) is to find two linear independent solutions y1 and y2
Coeff
Characteristic
of the associated homogeneous equation and a particular solution Yp for
Equation
Reduction of Order
the nonhomogeneous equation.
2.3
Nonhomogeneous We now introduce two methods to find Yp .
2nd-Order ODE
Method of Variation
of Parameters
Method of
Undetermined
Coefficients
Superposition 2.3.1 Variation of Parameters
2.4 Case Studies
2.5 Euler-Cauchy Suppose we know y1 and y2 . Let Yp (x) = u1 (x)y1 (x) + u2 (x)y2 (x). We
would like to choose u1 (x) and u2 (x) such that Yp satisfies the
nonhomogeneous equation.
Ch02 2nd-Order
DEs
C.-H. Lin
Method of Variation of Parameters
2.1 Linear
2nd-Order DE To substitute Yp into the DE, we need two derivatives.
Definition
Existence
Homogeneous case Yp′ = u1 y1′ + u2 y2′ + u′1 y1 + u′2 y2 .
Linear independence | {z }
2.2 Constant Let this be zero
Coeff
Characteristic
Equation We can simplify Yp′ by imposing the condition that
Reduction of Order
2.3
Nonhomogeneous
u′1 y1 + u′2 y2 = 0. (8)
2nd-Order ODE
Method of Variation
of Parameters Now
Method of
Undetermined
Coefficients
Superposition
Yp′ = u1 y1′ + u2 y2′
2.4 Case Studies
⇒Yp′′ = u′1 y1′ + u′2 y2′ + u1 y1′′ + u2 y2′′ .
2.5 Euler-Cauchy
2.3
Nonhomogeneous Solving (8) and (9) for u′1 and u′2 yields
2nd-Order ODE
Method of Variation
y2 (x)f (x) y1 (x)f (x)
u′1 (x) = − and u′2 (x) =
of Parameters
Method of
Undetermined W (x) W (x)
Coefficients
Z Z
Superposition
y2 (x)f (x) y1 (x)f (x)
2.4 Case Studies ⇒u1 (x) = − dx and u2 (x) = dx (10)
2.5 Euler-Cauchy
W (x) W (x)
Z
2.4 Case Studies
2.2 Constant
Solution
Coeff
Characteristic
The associated homogeneous equation has the general solution
Equation
Reduction of Order
c1 e2x + c2 e−2x (see Example 2.5). From the fact that f (x) = 8x2 − 2x is
2.3
a polynomial,
Nonhomogeneous
2nd-Order ODE
▶ The solution Yp (X) should be a certain polynomial because
Method of Variation
of Parameters
derivatives of Yp (x) are also polynomials.
Method of
Undetermined
▶ The highest power of x in Yp (x) is no more than 2. If Yp (x) had an
Coefficients
Superposition
x3 term, the left hand side would contain x3 while the right hand
2.4 Case Studies side does not.
2.5 Euler-Cauchy As a result, let’s assume Yp (x) = Ax2 + Bx + C. Hence,
Yp′ (x) = 2Ax + B and Yp′′ (x) = 2A. Substitute these into the DE to get
2A − 4(Ax2 + Bx + c) = 8x2 − 2x
Equating the coefficients, we have −4A = 8, −4B = −2, and
2A − 4C = 0. Thus, A = −2, B = 1/2, and C = −1. We find a
particular solution Yp (x) = −2x2 + 12 x − 1.
Ch02 2nd-Order
DEs
C.-H. Lin
Functions to Try for Yp (x)
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Linear independence
2.2 Constant
Coeff
Characteristic
Equation
Reduction of Order
2.3
Nonhomogeneous
2nd-Order ODE
Method of Variation
of Parameters
Method of
Undetermined
Coefficients
Superposition
2.5 Euler-Cauchy
Ch02 2nd-Order
DEs
C.-H. Lin
Example 2.14
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Linear independence
Solve y ′′ + 2y ′ − 3y = 8ex .
2.2 Constant
Coeff Solution
Characteristic
Equation Try Yp (x) = Aex . Substitute this into the DE,
Reduction of Order
2.3
Nonhomogeneous
Aex + 2Aex − 3Aex = 8ex ⇒ 0 = 8ex contradiction!
2nd-Order ODE
Method of Variation
of Parameters Since ex is also a solution of the associated homogeneous equation, the
Method of
Undetermined left side will vanish when Aex is assumed to be the solution for the
Coefficients
Superposition nonhomogeneous counterpart.
2.4 Case Studies
2.5 Euler-Cauchy In this case, multiple Yp by x. The multiplication can be repeated until
the resultant Yp is not the solution of the associated homogeneous
equation.
Ch02 2nd-Order
DEs
C.-H. Lin
Revisit Example 2.14
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Solve y ′′ + 2y ′ − 3y = 8ex .
Linear independence
2.2 Constant
Coeff
Characteristic Solution Try Yp = Axex . Now
Equation
Reduction of Order
2.2 Constant
If Yj is a solution of
Coeff
Characteristic
Equation
y ′′ + p(x)y ′ + q(x)y = fj (x),
Reduction of Order
2.4 Case Studies Solution Split the original problem into two subproblems:
2.5 Euler-Cauchy
Problem 1: y ′′ + 4y = x
Problem 2: y ′′ + 4y = 2e−2x
F = −ky − cy ′ + f (t).
Coeff
Characteristic
Equation
Reduction of Order
2.3
Nonhomogeneous
2nd-Order ODE Newton’s second law of motion: The change in velocity (acceleration)
Method of Variation
of Parameters
with which an object moves is directly proportional to the magnitude of
Method of
Undetermined
the force applied to the object and inversely proportional to the mass of
Coefficients
Superposition
the object, i.e.
2.4 Case Studies F = −ky − cy ′ + f (t) = my ′′
2.5 Euler-Cauchy
The spring equation:
c ′ k 1
y ′′ + y + y = f (t) (11)
m m m
Ch02 2nd-Order
DEs
C.-H. Lin
Analogy with an Electrical Circuit
2.1 Linear In an RLC circuit, the differential equation for the current is
2nd-Order DE
Z
Definition
1
Existence Li′ (t) + Ri(t) + i(t)dt = E(t).
Homogeneous case C
Linear independence
2.2 Constant Since i = dq/dt, the above equation can be written in terms of the
Coeff
Characteristic
charge q
Equation
R 1 1
Reduction of Order q ′′ + q ′ + q = E(t) (12)
2.3 L LC L
Nonhomogeneous
2nd-Order ODE Comparing with (11), there is a one-to-one mapping between parameters
Method of Variation
of Parameters
of RLC circuits and spring motion models.
Method of
c ′ k 1
y ′′ +
Undetermined
Coefficients (11) : y + y = f (t)
Superposition m m m
2.4 Case Studies
1 p 2
Linear independence
c
2.2 Constant
Coeff
λ=− ± c − 4km
Characteristic
2m 2m
Equation
Reduction of Order
2.3
Case 1: c2 − 4km > 0
Nonhomogeneous
2nd-Order ODE
The characteristic equation has two distinct real roots
1 p 2 1 p 2
Method of Variation
of Parameters
c c
Method of
Undetermined
λ1 = − + c − 4km and λ2 = − − c − 4km
Coefficients 2m 2m 2m 2m
Superposition
2.4 Case Studies The general solution in this case: y(t) = c1 eλ1 t + c2 eλ2 t .
2.5 Euler-Cauchy
2.2 Constant
Coeff
The initial conditions: y(0) = −4 and y ′ (0) = 2.
Characteristic
Equation
The general solution: y(t) = c1 e−t + c2 e−5t .
Reduction of Order Given the initial conditions, we can solve for c1 = −9/2 and c2 = 1/2 and
2.3
Nonhomogeneous
thus the particular solution: y(t) = 21 e−t (−9 + e−4t ).
2nd-Order ODE
Method of Variation
of Parameters ♦ −9 + e−4t < 0 for 0
Method of
t > 0 → y(t) < 0: the bob always 0 1 2 3 4
−1
Undetermined
Coefficients
Superposition remains above the equilibrium point.
2.4 Case Studies
−2
2.5 Euler-Cauchy
♦ Velocity
y ′ (t) = e−t (9 − 5e−4t )/2 → 0 as −3
t → ∞: the bob moves downward to
equilibrium with reduced velocity.
♦ The bob approaches to but never
reaching the equilibrium and never
coming to the rest completely.
Ch02 2nd-Order
DEs
C.-H. Lin
Unforced Motion (cont’d)
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Case 2: c2 − 4km = 0
Linear independence From P. 21, the general solution is y(t) = (c1 + c2 t)e−ct/2m and
2.2 Constant
Coeff
limt→∞ y(t) = 0.
Characteristic
Equation
Reduction of Order This case is called critical damping.
2.3
Nonhomogeneous
2nd-Order ODE
Method of Variation
of Parameters
Example 2.19
Method of
Undetermined
Let c = 2, k = m = 1. Suppose the bob was initially pulled up 4
Coefficients
Superposition
feet above the equilibrium and then pushed downward with a speed
2.4 Case Studies of 5 feet per second.
2.5 Euler-Cauchy
2.5 Euler-Cauchy Here, the motion is oscillatory because of the sine and cosine terms but it
is not periodic. The amplitudes of the oscillations decay as time increases
due to the exponential factor e−ct/2m .
Ch02 2nd-Order
DEs
C.-H. Lin
Example 2.20
2.1 Linear Let c = k = 2 and m = 1. Suppose the bob was initially driven
2nd-Order DE
Definition upward 3 feet above the equilibrium with an initial speed of 2 feet
Existence
Homogeneous case
per second.
Linear independence
2.2 Constant
Coeff
The initial conditions: y(0) = −3 and y ′ (0) = 2.
Characteristic
Equation
The general solution: y(t) = e−t [c1 cos(t) + c2 sin(t)].
Reduction of Order Given the initial conditions, the particular solution:
2.3
Nonhomogeneous
y(t) = −e−t (3 cos(t) + sin(t)).
2nd-Order ODE
Method of Variation
In phase angle form (easy to visualize): 3 cos(t) + sin(t) = C cos(t + δ).
of Parameters
Method of
Undetermined
3 cos(t) + sin(t) = C cos(t) cos(δ) − C sin(t) sin(δ)
⇒C cos(δ) = 3 and C sin(δ) = −1
Coefficients
(
Superposition
C sin(δ)
= tan(δ) = − 31
2.4 Case Studies
2.3
0
Nonhomogeneous 0 1 2 3 4 5
2nd-Order ODE
Method of Variation
−1
of Parameters
Method of
Undetermined −2
Coefficients
Superposition
−3 √
2.4 Case Studies y(t) = − 10e−t cos(t − arctan(1/3))
2.5 Euler-Cauchy
The bob may pass back and forth through the equilibrium as t increases.
Ch02 2nd-Order
DEs
C.-H. Lin
2.4.2 Forced Motion
2.1 Linear Consider a periodic driving force f (t) = A cos(wt) where w is called the
2nd-Order DE
Definition input frequency. The spring equation becomes
Existence
Homogeneous case c ′ k A
Linear independence y ′′ + y + y= cos(wt). (13)
2.2 Constant
m m m
Coeff
Characteristic We have solved the associated homogeneous equation (i.e. unforced
Equation
Reduction of Order motion) in Sec. 2.4.1. Now we only need a particular solution.
2.3
Nonhomogeneous
2nd-Order ODE According to Table 2.1, we try Yp (x) = a cos(wt) + b sin(wt).
Method of Variation
of Parameters
Substitution of this into (13) and rearrangement of terms yields
Method of
Undetermined
bwc k A awc k
−aw2 + +a − cos(wt) = bw2 + −b
Coefficients
Superposition sin(wt).
m m m m m
2.4 Case Studies
2.5 Euler-Cauchy Since sin(wt) and cos(wt) are not constant multiples of each other, the
only wy this can be true for all t ≥ 0 is for the coefficient on each side of
the equation to be zero.
)
−aw2 + −bwcm + −a m − m = 0
k A
−awc
−bw2 + m − bm
k
=0
Ch02 2nd-Order
DEs
C.-H. Lin
Forced Motion (cont’d)
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
Solve for a and b (A, c, k, and m are given)
Linear independence
We will analyze some specific cases to get insight into the motion with
this forcing function.
Ch02 2nd-Order
DEs
C.-H. Lin
Forced Motion (cont’d)
2.1 Linear Case 1: Overdamped Forced Motion
2nd-Order DE
Definition √ √
Existence Suppose c = 6, k = 5, m = 1, A = 6 5 and w = 5. Hence
Homogeneous case
Linear independence c2 − 4km > 0. If the bob is released from rest from the equilibrium
2.2 Constant position, then y(t) satisfies the IVP
Coeff
√ √
y ′′ + 6y ′ + 5y = 6 5 cos( 5t); y(0) = y ′ (0) = 0.
Characteristic
Equation
Reduction of Order
2.3
Nonhomogeneous
The problem has a unique solution as
2nd-Order ODE √
Method of Variation
5 √
of Parameters
Method of
y(t) = (−e−t + e−5t ) + sin( 5t)
Undetermined 4
Coefficients
Superposition
2.3
From (14) and let c = 0, the differential equation becomes
Nonhomogeneous
2nd-Order ODE k A
Method of Variation y ′′ + y= cos(w0 t). (16)
of Parameters
m m
Method of
Undetermined
Coefficients
Superposition
2.2 Constant
yh (t) = c1 cos(w0 t) + c2 sin(w0 t).
Coeff
Characteristic
Equation
Reduction of Order
As to the particular solution, we may try Yp (t) = a cos(w0 t) + b sin(w0 t)
2.3
Nonhomogeneous according to Table 2.1. But this is the solution of the associated
2nd-Order ODE
Method of Variation
homogeneous equation, so instead we try
of Parameters
Method of
Undetermined
Yp (t) = at cos(w0 t) + bt sin(w0 t).
Coefficients
Superposition
Substitution of this into (16) yields
2.4 Case Studies
2.5 Euler-Cauchy A
− 2aw0 sin(w0 t) + 2b cos(w0 t) = cos(w0 t)
m
A
⇒ a = 0, 2bw0 =
m
A
⇒ Yp (t) = t sin(w0 t)
2mw0
Ch02 2nd-Order
DEs
C.-H. Lin
2.4.3 Resonance (cont’d)
2.1 Linear
2nd-Order DE The general solution
Definition
Existence
A
Homogeneous case
y(t) = c1 cos(w0 t) + c2 sin(w0 t) + t sin(w0 t). (18)
Linear independence 2mw0
2.2 Constant
0.5
y(t) = sin( 5t
2
) sin( 2t )
0
−0.5
The behavior where the oscillating
motion’s amplitude shows periodic
−1
−1.5
−2
variation is called a beat.
0 2 4 6 8 10 12 14 16
Ch02 2nd-Order
DEs
C.-H. Lin
2.5 Euler-Cauchy Equation
2.1 Linear
2nd-Order DE
Definition
Existence
Homogeneous case
A special class of second-order ODEs with variable coefficients.
Linear independence
2.2 Constant
Coeff
Definition
Characteristic
Equation The Euler-Cauchy equation is a second-order differential equation of the
Reduction of Order
form
2.3
Nonhomogeneous x2 y ′′ + Axy ′ + By = 0 (19)
2nd-Order ODE
Method of Variation
of Parameters with given constants A and B. It is defined for x > 0 and x < 0.
Method of
Undetermined
Coefficients
Superposition A change of variables will convert it to a constant coefficient linear
2.4 Case Studies
second-order homogeneous equation.
2.5 Euler-Cauchy
2.3 With the aid of characteristic equation, this homogeneous equation has
Nonhomogeneous
2nd-Order ODE the general solution
Method of Variation
of Parameters
Y (t) = c1 e−3t + c2 e2t .
Method of
Undetermined
Coefficients Recall t = ln(x),
Superposition
2.2 Constant
Coeff
Characteristic
Equation
Reduction of Order
2.3
Nonhomogeneous
2nd-Order ODE
Monty Hall problem (100 doors)...thinking with intuition!
Method of Variation
of Parameters
Method of
Undetermined
Coefficients
Superposition
2.5 Euler-Cauchy