Professional Documents
Culture Documents
September, 2012
Chapter 3 SECOND ORDER DIFFERENTIAL
EQUATIONS
Contents
d 2y dy
(x 2 − 1) + x 3y 2 + e x sin y + xy + x 2 + 2 = 0.
dx 2 dx
d 2y dy
a2 (x) + a1 (x) + a0 (x)y = b(x)
dx 2 dx
• Assume that a0 (x), a1 (x), a2 (x) and b(x) are continuous functions of
x on an open interval I and a2 (x) 6= 0 on I .
d 2y dy
+ p(x) + q(x)y = g (x). (0.3)
dx 2 dx
y (x0 ) = y0 , y 0 (x0 ) = y1 .
3.2 FUNDAMENTAL SOLUTIONS OF
LINEAR HOMOGENEOUS EQUATIONS
An operator that satisfies properties (0.5) and (0.6) for any constant c
and any functions y , y1 , and y2 in its domain is called a linear operator.
Define
L[y ](x) = y 00 (x) + p(x)y 0 (x) + q(x)y (x).
Then
y 00 (x) + p(x)y 0 (x) + q(x)y (x) = 0 ⇐⇒ L[y ] = 0.
y 00 + p(x)y 0 + q(x)y = 0
W [y1 , y2 ](x0 ) 6= 0
where p(x) and q(x) are continuous on (a, b). If at some point x0 in
(a, b) these solutions satisfy
Solution: It is easy to check that y1 (x) := cos 2x and y2 (x) := sin 2x are
solutions to y 00 + 4y = 0 on (−∞, ∞). Moreover, we have
cos 2x sin 2x
W [y1 , y2 ](x) =
= 2((cos 2x)2 + (sin 2x)2 ) = 2.
−2 sin 2x 2 cos 2x
Thus, {y1 (x) := cos 2x, y2 (x) := sin 2x} is a fundamental solution set of
the given differential equation. So the general solution is given by
y 00 + p(x)y 0 + q(x)y = 0
always exists.
3.3 LINEAR INDEPENDENCE
AND THE WRONSKIAN
Remark: If
α1 y1 (x) + α2 y2 (x) = 0, ∀x ∈ I =⇒ α1 = α2 = 0
So if
W (f , g )(x0 ) 6= 0 for some point x0 ∈ I ,
then f and g are linearly independent on I .
3.3 LINEAR INDEPENDENCE
AND THE WRONSKIAN
Theorem 3.2 Let y1 and y2 be solutions of the differential
equation y 00 + p(x)y 0 + q(x)y = 0, where p(x) and q(x) are
continuous on an open interval I . Then the Wronskian W (y1 , y2 )(x)
is given by
Z
W (y1 , y2 )(x) = C exp − p(x) dx
x 2 y 00 − xy 0 − 3y = 0
x 2 y 00 + 2xy 0 − 12y = 0
on the interval (0, ∞). Find the solution that satisfies the initial
conditions
y (1) = 4, y 0 (1) = 5.
3.4 COMPLEX NUMBERS
√
−b ± b 2 − 4ac
x= (0.11)
2a
a + ib or a + bi
Example 4.1
√ √ √
Re(2 + 3i) = 2 Im(2 + 3i) = 3
Re(−4i) = Re 0 + (−4)i = 0 Im(−4i) = −4
Equality
Definition 4.2 Two complex numbers are equal if their real parts
are equal and their imaginary parts are equal.
a + bi = c + di ⇐⇒ a = c and b = d
z1 + z2 = (a + c) + (b + d)i
z1 − z2 = (a − c) + (b − d)i
For instance
(5 + 7i) − (4 − 3i) = (5 − 4) + 7 − (−3) i = 1 + 10i.
3.4.2 ARITHMETICAL OPERATIONS
• Note that
(a + bi)(a − bi) = a2 + b 2
is entirely real.
3.4.2 ARITHMETICAL OPERATIONS
1+2i
Example 4.3 Express the number 3−5i in the form a + bi.
Example 4.5 Find the real and imaginary parts of the complex number
z + z1 for z = 2+i
1−i .
3.4.2 ARITHMETICAL OPERATIONS
Conjugate numbers
Definition 4.4 The conjugate or complex conjugate of a
complex number z = a + bi is the complex number z̄ = a − bi.
z + w = z̄ + w̄ zw = z̄ w̄ z n = (z̄)n
Notice that
and so
zz̄ = |z|2
Therefore
z z w̄ z w̄
= =
w w w̄ |w |2
• Note that the real part corresponds to the x-value and the imaginary
part corresponds to the y -value.
3.4.3 POLAR FORM
Any complex number z = a + bi can be written in the polar form
where
p b
r = |z| = a2 + b 2 and tan θ = .
a
Principal argument of z = x + iy
• So
to multiply two complex numbers, we multiply the moduli and add
the arguments:
Similarly,
z1 |z1 |
= cos θ1 − θ2 ) + i sin(θ1 − θ2 ) if z2 6= 0
z2 |z2 |
• In particular,
1 1
If z = r (cos θ + i sin θ), then = (cos θ − i sin θ)
z r
3.4.3 POLAR FORM
√
Example 4.8 Find the product of the complex numbers z1 = 1 + 3i
and z2 = −1 − i in polar form.
Example 4.9 If
π π 3π 3π
z1 = 4 cos + i sin and z2 = 5 cos + i sin ,
4 4 4 4
find
z1 z2
and .
z2 z1
3.4.4 POWERS AND ROOTS OF COMPLEX NUMBERS
The root
θ θ
w0 = |z|1/n cos + i sin
n n
is called the principal nth root of z.
3.4.4 POWERS AND ROOTS OF COMPLEX NUMBERS
x2 x3 x4
ex = 1 + x + + + + ···
2! 3! 4!
(exponential function with real variable)
If we now define
z2 z3 z4
ez = 1 + z + + + + ···
2! 3! 4!
then this complex exponential function has the same properties as the
real exponential function e x . In particular,
e z1 +z2 = e z1 e z2 .
3.4.5 EXPONENTIAL FORM OF A COMPLEX NUMBER
e iθ = cos θ + i sin θ
iπ
For instance, 2(cos 60◦ + i sin 60◦ ) = 2(cos π3 + i sin π3 ) = 2e 3 .
• Since e α+iβ = e α e iβ ,
3πi 3πi
Example 4.12 Evaluate (a) e 4 (b) e 2+ 2
ay 00 + by 0 + cy = 0, (0.13)
ar 2 + br + c = 0 (0.14)
If the characteristic equation has distinct real roots r1 and r2 , then the
general solution is
y (x) = c1 e r1 x + c2 e r2 x
where c1 and c2 are arbitrary constants.
y 00 − 3y 0 + 2y = 0.
ar 2 + br + c = 0
ay 00 + by 0 + cy = 0
ay 00 + by 0 + cy = 0, (0.15)
where a, b, and c are real constants. Then the real part u(x) and
the imaginary part v (x) are real-value solutions of (0.15).
y 00 + y 0 + y = 0.
y 00 + 2y 0 + 4y = 0, y (0) = 1, y 0 (0) = 2.
3.5.3 EQUAL ROOTS
We find a solution y2 (x) such that y1 (x) and y2 (x) are linearly
independent.
•
Expressing
y2 (x) = u(x)y1 (x) = u(x)e rx ,
where the nonconstant function u is to be determined. Choosing
u(x) = x, it is easy to check that y2 (x) = xe rx is an expected solution to
ay 00 + by 0 + c = 0.
3.5.3 EQUAL ROOTS
y = c1 e rx + c2 xe rx = (c1 + c2 x)e rx
y 00 + 2y 0 + y = 0.
3.5.4 EQUATIONS WITH NONCONSTANT COEFFICIENTS
We have no general method for solving the homogeneous equation with
nonconstant coefficients
where c1 is a constant.
3.5.4 EQUATIONS WITH NONCONSTANT COEFFICIENTS
We have no general method for solving the homogeneous equation with
nonconstant coefficients
d y c1 R
= 2 e − p(x)dx .
dx y1 y1
Thus (Z )
R
exp − p(x)dx
y = y1 c1 dx + c2
y12 (x)
Important remark: If y1 is a solution of (0.16) then y1 and
(Z R )
exp − p(x)dx
y2 := y1 dx
y12 (x)
(1 − t 2 )y 00 + 2ty 0 − 2y = 0,
x 2 y 00 + 3xy 0 + y = 0; x > 0,
NONHOMOGENEOUS EQUATIONS
Lemma 6.1
The difference of any two solutions of the nonhomogeneous equation
(0.17) is a solution of the homogeneous equation (0.18).
3.6.1 THE GENERAL SOLUTION OF
NONHOMOGENEOUS EQUATIONS
Theorem 6.2
Let yp (x) be a particular solution to the nonhomogeneous equation
NONHOMOGENEOUS EQUATIONS
NONHOMOGENEOUS EQUATIONS
NONHOMOGENEOUS EQUATIONS
y 00 − y 0 = 5e x ,
y 00 − y 0 = − sin 2x,
find a solution to
y 00 − y 0 = 5e x − sin 2x.
3.6.2 METHOD OF UNDETERMINED COEFFICIENTS
Consider a nonhomogeneous equation
L[y ] = ay 00 + by 0 + cy = g (x),
L[y ] = ay 00 + by 0 + cy = g (x),
y 00 + y 0 + y = x 2 .
y 00 − 7y 0 = x 3 + 2x + 10.
3.6.2 METHOD OF UNDETERMINED COEFFICIENTS
Case 2:
Case 2:
y 00 − y 0 = (x + 1)e 3x .
y 00 − y 0 = e x (x + 1).
y 00 − 4y 0 + 4y = 6e 2x .
3.6.2 METHOD OF UNDETERMINED COEFFICIENTS
(
cos βx
Case 3: g (x) = Pn (x)e αx ×
sin βx
y 00 + y = 2 sin x.
3.6.2 METHOD OF UNDETERMINED COEFFICIENTS
g (x) yp (x)
Pn k
Pn (x) = k=0 ak x x s (An x n + An−1 x n−1 + · · · + A1 x + A0 )
y 00 − y 0 = 5e x − sin 2x.
and let {y1 (x), y2 (x)} be a fundamental set of solutions for the
corresponding homogeneous equation.
• We find two functions u1 (x) and u2 (x) such that the expression
u10 y1 + u20 y2 = 0
u10 y10 + u20 y20 = g
u10 y1 + u20 y2 = 0
u10 y10 + u20 y20 = g
1
y 00 + y = . (0.22)
cos x
(b) Find the solution of (0.22) which satisfies the initial conditions
y (0) = 1 and y 0 (0) = 2.
(1 − x 2 )y 00 + 2xy 0 − 2y = 1 − x 2 .
F = −kx,
• Choose a vertical coordinate axis passing through the spring, with the
origin at the equilibrium position of the mass.
• Let x denote the displacement of the mass from its equilibrium position.
F1 = mg .
F2 = −kx − mg .
8.1 MECHANICAL VIBRATIONS
• Damping Force
There is a damping or frictional force
dx
F3 = −b , b > 0,
dt
where b is the damping constant given in units of mass/time (or
force-time/length).
• External Forces
Any external forces acting on the mass will be denoted by F4 = f (t).
8.1 MECHANICAL VIBRATIONS
d 2x dx
m 2
+b + kx = f (t)
dt dt
d 2x
+ ω 2 x = 0, (0.23)
dt 2
p
where ω = k/m.
The general solution to (0.23) is
or
x(t) = A sin(ωt + φ),
where
C1
q
A= C12 + C22 and tan φ = .
C2
8.1 MECHANICAL VIBRATIONS
d 2x dx
m 2
+b + kx = 0. (0.24)
dt dt
The auxiliary equation m2 + br + k = 0 has roots
√
−b ± b 2 − 4km b 1 p 2
=− ± b − 4km
2m 2m 2m
√
• The value b = 2 km is called critical damping, while for large values
of b the motion is said to be overdamped.
8.1 MECHANICAL VIBRATIONS
or
x(t) = Ae αt sin(βt + φ),
p
where A = C12 + C22 and tan φ = C1 /C2 .
x(t) = C1 e r1 t + C2 e r2 t .
d 2x dx
+b + 25x = 0; x(0) = 1, x 0 (0) = 0.
dt 2 dt
Find the equation of motion and sketch its graph for the three cases
when b = 8, 10, and 12.
8.1 MECHANICAL VIBRATIONS
Forced Vibrations
Consider the vibrations of a spring-mass system when an external force is
applied:
d 2x dx
m 2 +b + kx = F0 cos γt, (0.25)
dt dt
where F0 , γ are nonnegative constants (and 0 < b 2 < 4km).
F0
(k − mγ 2 ) cos γt + bγ sin γt
xp (t) =
(k − mγ 2 )2 + b 2 γ 2
or
F0
xp (t) = p sin(γt + θ),
(k − mγ 2 )2 + b 2 γ 2
where tan θ = (k − mγ 2 )/(bγ).
8.1 MECHANICAL VIBRATIONS
F0
x(t) = xh (t) + xp (t) = xh (t) + p sin(γt + θ),
(k − mγ 2 )2 + b 2 γ 2
p
• In the case γ 6= ω = k/m,
F0
x(t) = A sin(ωt + φ) + sin(γt + θ)
k − mγ 2
8.1 MECHANICAL VIBRATIONS
F0
x(t) = A sin(ωt + φ) + t sin ωt.
2mω
The first term is a periodic function while the second term xp (t)
oscillates between ±(F0 t)/(2mω). Hence as t → ∞, the maximum
magnitude of x(t) approaches ∞.
EL + ER + EC = E (t)
or
dI 1
L + RI + Q = E (t). (0.27)
dt C
Since I (t) = dQ/dt, we see that
d 2Q dQ 1
L 2
+R + Q = E (t)
dt dt C
• In this example,
Ih (t) is a transient current that tends to zero as t → ∞ and
Ip (t) is a steady-state current that remains.
8.2 ELEMENTARY ELECTRIC CIRCUITS
If we had chosen to solve for the charge Q(t) in this example, we would
also have found that there is a transient charge Qh that dies off and a
steady-state charge Q(t) that remains.
In general, the steady-state solutions Q(t) and I (t) that arise from the
electromotive force E (t) = E0 sin γt are
−E0 cos(γt + θ)
Qp (t) = p ,
(1/C − Lγ 2 )2 + γ 2 R 2
E0 sin(γt + θ)
Ip (t) = Q 0 (t) = q 2 ,
2
R + γL − 1/(γC )
q 2
where tan θ = (1/C − Lγ 2 )/(γR). The quantity R 2 + γL − 1/(γC )
is called the impedance of the circuit and is a function of the frequency
γ of the electromotive force E (t).
Exercises and Assignments