CH 3.1: Second Order Linear Homogeneous Equations With Constant Coefficients
CH 3.1: Second Order Linear Homogeneous Equations With Constant Coefficients
CH 3.1: Second Order Linear Homogeneous Equations With Constant Coefficients
c1r1e + c2 r2 e = y0′ ⎪⎭
rt
1 0 r t
2 0 r1 − r2 r1 − r2
Since we are assuming r1 ≠ r2, it follows that a solution of the
form y = ert to the above initial value problem will always
exist, for any set of initial conditions.
Example 2
Consider the initial value problem
y′′ + y′ − 12 y = 0, y (0) = 0, y′(0) = 1
Assuming exponential soln leads to characteristic equation:
y (t ) = e rt ⇒ r 2 + r − 12 = 0 ⇔ (r + 4)(r − 3) = 0
Factoring yields two solutions, r1 = -4 and r2 = 3
The general solution has the form
y (t ) = c1e −4 t + c2 e3t
Using the initial conditions:
c1 + c2 = 0⎫ −1 1
⎬ ⇒ c = , c =
− 4c1 + 3c2 = 1 ⎭
1 2
7 7
− 1 − 4 t 1 3t
Thus y (t ) = e + e
7 7
Example 3
Consider the initial value problem
2 y′′ + 3 y′ = 0, y (0 ) = 1, y′(0 ) = 3
Then
y (t ) = e rt ⇒ 2r 2 + 3r = 0 ⇔ r (2r + 3) = 0
Factoring yields two solutions, r1 = 0 and r2 = -3/2
The general solution has the form
y (t ) = c1e 0 t + c2 e −3t / 2 = c1 + c2 e −3t / 2
Using the initial conditions:
c1 + c2 = 1 ⎫
⎪
3c2 ⎬ ⇒ c1 = 3, c2 = −2
− = 3⎪
2 ⎭
Thus y (t ) = 3 − 2e −3t / 2
Example 4: Initial Value Problem (1 of 2)
, y (0 ) = 1, y′(0 ) = 0
cos t 3 1
y′′ − y′ + y=
t +1 t +1 t +1
The longest interval containing the point t = 0 on which the
coefficient functions are continuous is (-1, ∞).
It follows from Theorem 3.2.1 that the longest interval on
which this initial value problem is certain to have a twice
differentiable solution is also (-1, ∞).
Theorem 3.2.2 (Principle of Superposition)
If y1and y2 are solutions to the equation
L[ y ] = y′′ + p (t ) y′ + q (t ) y = 0
then the linear combination c1y1 + y2c2 is also a solution, for
all constants c1 and c2.
y0 y2 (t0 ) y1 (t0 ) y0
y0′ y2′ (t0 ) y1′ (t0 ) y0′
c1 = , c2 =
y1 (t0 ) y2 (t0 ) y1 (t0 ) y2 (t0 )
y1′ (t0 ) y2′ (t0 ) y1′ (t0 ) y2′ (t0 )
The Wronskian Determinant (3 of 3)
Recall that
y1 = t 1/ 2 , y2 = t −1
To show that y1 and y2 form a fundamental set of solutions,
we evaluate the Wronskian of y1 and y2:
y1 y2 t 1/ 2 t −1 1 3 3
W= = 1 −1/ 2 = −t −3 / 2 − t −3 / 2 = − t −3 / 2 = −
y1′ y2′ t − t −2 2 2 2 t3
2
Thus
{ }
S1 = et , e − t , S 2 = { cosh t , sinh t}
both form fundamental solution sets to the differential
equation and initial point
y′′ − y = 0, t0 = 0
In general, a differential equation will have infinitely many
different fundamental solution sets. Typically, we pick the
one that is most convenient or useful.
Summary
To find a general solution of the differential equation
y′′ + p (t ) y′ + q (t ) y = 0, α < t < β
we first find two solutions y1 and y2.
Then make sure there is a point t0 in the interval such that
W(y1, y2)(t0) ≠ 0.
It follows that y1 and y2 form a fundamental set of solutions
to the equation, with general solution y = c1y1 + c2 y2.
If initial conditions are prescribed at a point t0 in the interval
where W ≠ 0, then c1 and c2 can be chosen to satisfy those
conditions.
Ch 3.3:
Linear Independence and the Wronskian
Two functions f and g are linearly dependent if there
exist constants c1 and c2, not both zero, such that
c1 f (t ) + c2 g (t ) = 0
for all t in I. Note that this reduces to determining whether
f and g are multiples of each other.
If the only solution to this equation is c1 = c2 = 0, then f
and g are linearly independent.
For example, let f(x) = sin2x and g(x) = sinxcosx, and
consider the linear combination
c1 sin 2 x + c2 sin x cos x = 0
This equation is satisfied if we choose c1 = 1, c2 = -2, and
hence f and g are linearly dependent.
Solutions of 2 x 2 Systems of Equations
When solving
c1 x1 + c2 x2 = a
c1 y1 + c2 y2 = b
for c1 and c2, it can be shown that
ay2 − bx2 ay2 − bx2
c1 = = ,
x1 y2 − y1 x2 D
− ay1 + bx1 − ay1 + bx1 x1 x2
c2 = = , where D =
x1 y2 − y1 x2 D y1 y2
⇔ e t0 −t1 = 1 ⇔ t0 = t1
Since t0 ≠ t1, it follows that D ≠ 0, and therefore f and g are
linearly independent.
Theorem 3.3.1
If f and g are differentiable functions on an open interval I
and if W(f, g)(t0) ≠ 0 for some point t0 in I, then f and g are
linearly independent on I. Moreover, if f and g are
linearly dependent on I, then W(f, g)(t) = 0 for all t in I.
W ( y1 , y2 )(t ) = ce ∫ = ce ∫
− p ( t ) dt − 0 dt
=c
Choosing c = -2, we get the same W as above.
Theorem 3.3.3
Suppose y1 and y2 are solutions to equation below, whose
coefficients p and q are continuous on some open interval I:
L[ y ] = y′′ + p (t ) y′ + q (t ) y = 0
Then y1 and y2 are linearly dependent on I iff W(y1, y2)(t) = 0
for all t in I. Also, y1 and y2 are linearly independent on I iff
W(y1, y2)(t) ≠ 0 for all t in I.
Summary
Let y1 and y2 be solutions of
y′′ + p (t ) y′ + q (t ) y = 0
where p and q are continuous on an open interval I.
Then the following statements are equivalent:
The functions y1 and y2 form a fundamental set of solutions on I.
The functions y1 and y2 are linearly independent on I.
W(y1,y2)(t0) ≠ 0 for some t0 in I.
W(y1,y2)(t) ≠ 0 for all t in I.
Linear Algebra Note
Let V be the set
V = {y : y′′ + p(t ) y′ + q (t ) y = 0, t ∈ (α , β ) }
Then V is a vector space of dimension two, whose bases are
given by any fundamental set of solutions y1 and y2.
For example, the solution space V to the differential equation
y′′ − y = 0
has bases
{ }
S1 = e t , e − t , S 2 = { cosh t , sinh t}
with
V = Span S1 = Span S 2
Ch 3.4:
Complex Roots of Characteristic Equation
Recall our discussion of the equation
ay′′ + by′ + cy = 0
where a, b and c are constants.
Assuming an exponential soln leads to characteristic equation:
y (t ) = e rt ⇒ ar 2 + br + c = 0
Quadratic formula (or factoring) yields two solutions, r1 & r2:
− b ± b 2 − 4ac
r=
2a
If b2 – 4ac < 0, then complex roots: r1 = λ + iμ, r2 = λ - iμ
Thus
y1 (t ) = e (λ +iμ )t , y2 (t ) = e (λ −iμ )t
Euler’s Formula; Complex Valued Solutions
Substituting it into Taylor series for et, we obtain Euler’s
formula:
n −1 2 n −1
∞
(it ) n ∞
( − 1) n 2n
t ∞
( −1) t
eit = ∑ =∑ + i∑ = cos t + i sin t
n =0 n ! n =0 (2n )! n=1 (2n − 1)!
Generalizing Euler’s formula, we obtain
eiμt = cos μt + i sin μt
Then
e (λ +iμ )t = e λt eiμt = e λt [cos μt + i sin μt ] = e λt cos μt + ie λt sin μt
Therefore
y1 (t ) = e (λ +iμ )t = e λ t cos μt + ie λ t sin μt
y2 (t ) = e (λ −iμ )t = e λ t cos μt − ie λ t sin μt
Real Valued Solutions
Our two solutions thus far are complex-valued functions:
y1 (t ) = e λ t cos μt + ie λ t sin μt
y2 (t ) = e λ t cos μt − ie λ t sin μt
We would prefer to have real-valued solutions, since our
differential equation has real coefficients.
To achieve this, recall that linear combinations of solutions
are themselves solutions:
y1 (t ) + y2 (t ) = 2e λ t cos μ t
y1 (t ) − y2 (t ) = 2ie λ t sin μ t
Ignoring constants, we obtain the two solutions
y3 (t ) = e λ t cos μ t , y4 (t ) = e λ t sin μ t
Real Valued Solutions: The Wronskian
Thus we have the following real-valued functions:
y3 (t ) = e λ t cos μt , y4 (t ) = e λ t sin μt
Checking the Wronskian, we obtain
e λt cos μt e λt sin μt
W = λt
e (λ cos μt − μ sin μt ) e λt (λ sin μt + μ cos μt )
= μ e 2 λt ≠ 0
For the initial value problem below, find (a) the solution u(t)
and (b) the smallest time T for which |u(t)| ≤ 0.1
y′′ + y′ + y = 0, y (0) = 1, y′(0) = 1
We know from Example 1 that the general solution is
( ) (
u (t ) = c1e − t / 2 cos 3t / 2 + c2 e − t / 2 sin 3t / 2 )
Using the initial conditions, we obtain
c1 = 1⎫
⎪ 3
1 3 ⎬ ⇒ c1 = 1, c2 = = 3
− c1 + c2 = 1 ⎪ 3
2 2 ⎭
Thus
( ) (
u (t ) = e − t / 2 cos 3t / 2 + 3 e − t / 2 sin 3t / 2 )
Example 4: Part (b) (2 of 2)
To solve
tu′ + u = 0, u (t ) = v′(t )
for u, we can use the separation of variables method:
du du 1
t
dt
+u = 0 ⇔ ∫ u = −∫ t dt ⇔ ln u = − ln t + C
−1
⇔ u = t eC ⇔ u = ct −1 , since t > 0.
Thus
c
v′ =
t
and hence
v(t ) = c ln t + k
Example 4: General Solution (3 of 3)
We have
v(t ) = c ln t + k
Thus
y2 (t ) = (c ln t + k )t −1 = ct −1 ln t + k t −1
Recall
y1 (t ) = t −1
and hence we can neglect the second term of y2 to obtain
y2 (t ) = t −1 ln t.
Hence the general solution to the differential equation is
y (t ) = c1t −1 + c2t −1 ln t
Ch 3.6: Nonhomogeneous Equations;
Method of Undetermined Coefficients
Recall the nonhomogeneous equation
y′′ + p (t ) y′ + q (t ) y = g (t )
where p, q, g are continuous functions on an open interval I.
The associated homogeneous equation is
y′′ + p (t ) y′ + q (t ) y = 0
In this section we will learn the method of undetermined
coefficients to solve the nonhomogeneous equation, which
relies on knowing solutions to homogeneous equation.
Theorem 3.6.1
If Y1, Y2 are solutions of nonhomogeneous equation
y′′ + p (t ) y ′ + q (t ) y = g (t )
then Y1 - Y2 is a solution of the homogeneous equation
y′′ + p (t ) y′ + q (t ) y = 0
If y1, y2 form a fundamental solution set of homogeneous
equation, then there exists constants c1, c2 such that
Y1 (t ) − Y2 (t ) = c1 y1 (t ) + c2 y2 (t )
Theorem 3.6.2 (General Solution)
The general solution of nonhomogeneous equation
y′′ + p (t ) y ′ + q (t ) y = g (t )
can be written in the form
y (t ) = c1 y1 (t ) + c2 y2 (t ) + Y (t )
where y1, y2 form a fundamental solution set of homogeneous
equation, c1, c2 are arbitrary constants and Y is a specific
solution to the nonhomogeneous equation.
Method of Undetermined Coefficients
Recall the nonhomogeneous equation
y′′ + p (t ) y′ + q (t ) y = g (t )
with general solution
y (t ) = c1 y1 (t ) + c2 y2 (t ) + Y (t )
In this section we use the method of undetermined
coefficients to find a particular solution Y to the
nonhomogeneous equation, assuming we can find solutions
y1, y2 for the homogeneous case.
The method of undetermined coefficients is usually limited
to when p and q are constant, and g(t) is a polynomial,
exponential, sine or cosine function.
Example 1: Exponential g(t)
Consider the nonhomogeneous equation
y′′ − 3 y′ − 4 y = 3e 2t
We seek Y satisfying this equation. Since exponentials
replicate through differentiation, a good start for Y is:
Y (t ) = Ae 2t ⇒ Y ′(t ) = 2 Ae 2t , Y ′′(t ) = 4 Ae 2t
Substituting these derivatives into differential equation,
4 Ae 2t − 6 Ae 2t − 4 Ae 2t = 3e 2t
⇔ − 6 Ae 2t = 3e 2t ⇔ A = −1 / 2
Thus a particular solution to the nonhomogeneous ODE is
1 2t
Y (t ) = − e
2
Example 2: Sine g(t), First Attempt (1 of 2)
Consider the nonhomogeneous equation
y ′′ − 3 y ′ − 4 y = 2 sin t
We seek Y satisfying this equation. Since sines replicate
through differentiation, a good start for Y is:
Y (t ) = A sin t ⇒ Y ′(t ) = A cos t , Y ′′(t ) = − A sin t
Substituting these derivatives into differential equation,
− A sin t − 3 A cos t − 4 A sin t = 2 sin t
⇔ (2 + 5 A)sin t + 3 A cos t = 0
⇔ c1 sin t + c2 cos t = 0
Since sin(x) and cos(x) are linearly independent (they are not
multiples of each other), we must have c1= c2 = 0, and hence
2 + 5A = 3A = 0, which is impossible.
y′′ − 3 y ′ − 4 y = 2 sin t
y′′ − 3 y′ − 4 y = 3e 2t
y′′ − 3 y′ − 4 y = 2 sin t
y′′ − 3 y′ − 4 y = −8e t cos 2t
[
− 2u1 (t ) sin (2t ) + cos (2t ) = 3⎢
′ 2 2
] ⎡ 2 sin t cos t ⎤
⎣ sin t ⎥⎦
u1′ (t ) = −3 cos t
Example : Solve for u1 and u2 (5 of 6)
A
Note that in finding δ, we must be careful to choose correct
quadrant. This is done using the signs of cos δ and sin δ.
Spring Model:
Undamped Free Vibrations (3 of 4)
Find k: 10 lb 10 lb lb
Fs = − k L ⇒ k = ⇒ k= ⇒ k = 60
2 in 1 / 6 ft ft
Thus our IVP is
5 / 16 u ′′(t ) + 60u (t ) = 0, u (0) = 1 / 6, u ′(t ) = −1
Example 2: Find Solution (2 of 3)
Simplifying, we obtain
u ′′(t ) + 192u (t ) = 0, u (0) = 1 / 6, u ′(0) = −1
To solve, use methods of Ch 3.4 to obtain
1 1
u (t ) = cos 192t − sin 192t
6 192
or
1 1
u (t ) = cos 8 3t − sin 8 3t
6 8 3
1 1
u (t ) = cos 8 3t − sin 8 3t
Example 2: 6 8 3
Find Period, Amplitude, Phase (3 of 3)
γ 2 − 4mk = 0 : u (t ) = ( A + Bt )e −γ t / 2 m , γ / 2m > 0
γ 2 − 4mk < 0 : u (t ) = e −γ t / 2 m ( A cos μ t + B sin μ t ), μ > 0
We examine this last case. Recall
A = R cos δ , B = R sin δ
Then
u (t ) = R e −γ t / 2 m cos(μ t − δ )
and hence
u (t ) ≤ R e −γ t / 2 m
(damped oscillation)
Damped Free Vibrations: Quasi Frequency (3 of 8)
For small γ
γ2 γ4 ⎛ γ2 ⎞ γ2
≅ 1− + 2 2
= ⎜⎜1 − ⎟⎟ = 1 −
4km 64k m ⎝ 8km ⎠ 8km
γ 2 − 4mk = 0 : u (t ) = ( A + Bt )e −γ t / 2 m , γ / 2m > 0
γ 2 − 4mk < 0 : u (t ) = e −γ t / 2 m ( A cos μ t + B sin μ t ), μ > 0
Damped Free Vibrations:
Critical Damping Value (7 of 8)
Thus the nature of the solution changes as γ passes through
the value 2 km .
This value of γ is known as the critical damping value, and
for larger values of γ the motion is said to be overdamped.
Thus for the solutions given by these cases,
γ 2 − 4mk > 0 : u (t ) = Ae r t + Be r t , r1 < 0, r2 < 0
1 2
(1)
γ 2 − 4mk = 0 : u (t ) = ( A + Bt )e −γ t / 2 m , γ / 2m > 0 (2)
γ 2 − 4mk < 0 : u (t ) = e −γ t / 2 m ( A cos μ t + B sin μ t ), μ > 0 (3)
we see that the mass creeps back to its equilibrium position
for solutions (1) and (2), but does not oscillate about it, as
for small γ in solution (3).
Soln (1) is overdamped and soln (2) is critically damped.
Damped Free Vibrations:
Characterization of Vibration (8 of 8)
Mass creeps back to equilibrium position for solns (1) & (2),
but does not oscillate about it, as for small γ in solution (3).
γ 2 − 4mk > 0 : u (t ) = Ae r t + Be r t , r1 < 0, r2 < 0
1 2
(Green) (1)
γ 2 − 4mk = 0 : u (t ) = ( A + Bt )e −γ t / 2 m , γ / 2m > 0 (Red, Black) ( 2)
γ 2 − 4mk < 0 : u (t ) = e −γ t / 2 m ( A cos μ t + B sin μ t ) (Blue) (3)
Soln (1) is overdamped and soln (2) is critically damped.
Example 3: Initial Value Problem (1 of 4)
Suppose that the motion of a spring-mass system is governed
by the initial value problem
u ′′ + 0.125u ′ + u = 0, u (0) = 2, u ′(0) = 0
Find the following:
(a) quasi frequency and quasi period;
(b) time at which mass passes through equilibrium position;
(c) time τ such that |u(t)| < 0.1 for all t > τ.
For Part (a), using methods of this chapter we obtain:
⎛ 255 2 255 ⎞ 32 − t /16 ⎛ 255 ⎞
u (t ) = e − t / 16
⎜ 2 cos t+ sin ⎟
t⎟ = e ⎜
cos⎜ t − δ ⎟⎟
⎜ 16 16 ⎠
⎝ 255 255 ⎝ 16 ⎠
where
1
tan δ = ⇒ δ ≅ 0.06254 (recall A = R cos δ , B = R sin δ )
255
Example 3: Quasi Frequency & Period (2 of 4)
To find the time at which the mass first passes through the
equilibrium position, we must solve
32 − t /16 ⎛ 255 ⎞
u (t ) = e ⎜
cos⎜ t − δ ⎟⎟ = 0
255 ⎝ 16 ⎠
Or more simply, solve
255 π
t −δ =
16 2
16 ⎛ π ⎞
⇒t = ⎜ + δ ⎟ ≅ 1.637 sec
255 ⎝ 2 ⎠
Electric Circuits
The flow of current in certain basic electrical circuits is
modeled by second order linear ODEs with constant
coefficients:
1
L I ′′(t ) + R I ′(t ) + I (t ) = E ′(t )
C
I (0) = I 0 , I ′(0) = I 0′
It is interesting that the flow of current in this circuit is
mathematically equivalent to motion of spring-mass system.
For more details, see text.
Ch 3.9: Forced Vibrations
We continue the discussion of the last section, and now
consider the presence of a periodic external force:
m u ′′(t ) + γ u ′(t ) + k u (t ) = F0 cos ω t
Forced Vibrations with Damping
Consider the equation below for damped motion and external
forcing funcion F0cosωt.
mu ′′(t ) + γ u ′(t ) + ku (t ) = F0 cos ω t
The general solution of this equation has the form
u (t ) = c1u1 (t ) + c2u 2 (t ) + A cos(ω t ) + B sin (ω t ) = uC (t ) + U (t )
where the general solution of the homogeneous equation is
uC (t ) = c1u1 (t ) + c2u 2 (t )
and the particular solution of the nonhomogeneous equation is
U (t ) = A cos(ω t ) + B sin (ω t )
Homogeneous Solution
The homogeneous solutions u1 and u2 depend on the roots r1
and r2 of the characteristic equation:
− γ ± γ 2
− 4mk
mr + γ r + kr = 0 ⇒ r =
2
2m
Since m, γ, and k are are all positive constants, it follows that
r1 and r2 are either real and negative, or complex conjugates
with negative real part. In the first case,
( )
lim uC (t ) = lim c1e r1t + c2 e r2t = 0,
t →∞ t →∞
while in the second case
( )
lim uC (t ) = lim c1e λ t cos μt + c2 e λ t sin μt = 0.
t →∞ t →∞
we have
lim uC (t ) = lim(c1u1 (t ) + c2u 2 (t ) ) = 0
t →∞ t →∞
m(ω02 − ω 2 ) γω
cos δ = , sin δ =
m (ω − ω ) + γ ω
2 2
0
2 2 2 2
m 2 (ω02 − ω 2 ) 2 + γ 2ω 2
where
ω02 = k / m
Amplitude Analysis of Forced Response
The amplitude R of the steady state solution
F0
R= ,
m (ω − ω ) + γ ω
2 2
0
2 2 2 2
Hence
u (t ) =
F0
(cos ω t − cos ω0t )
m(ω0 − ω )
2 2
Undamped Equation:
Solution to Initial Value Problem (2 of 3)