Chapter 4 - Second-Order Differential Equations
Chapter 4 - Second-Order Differential Equations
Chapter 4 - Second-Order Differential Equations
3 CALCULUS II - AY2020/21
Chapter 4: Second-order Differential Equations
d 2y
dy
= F x, ,
dx 2 dx
d 2y
1 dy 2
= + x cos x , x > 0.
dx 2 x dx
Hence,
d 1 1
z = cos x =⇒ z = sin x + C =⇒ z = x sin x + Cx.
dx x x
Next, from
dy
= x sin x + Cx
dx
it follows that
y = −x cos x + sin x + C1 x 2 + C2 ,
d 2y
dy
= F y , .
dx 2 dx
dy
As in the previous case, let z = , by the chain rule
dx
d 2y dz dz dy dz
= = = z.
dx 2 dx dy dx dy
dy d 2y
Substituting for and into the given d.e. yields the following
dx dx 2
solution technique.
dz 2
z =− z 2.
dy 1−y
We solve z in terms of y .
Case 1: z = 0.
dy
This is a solution of (∗), which gives = 0, and hence y = C (6= 1) is
dx
a solution of the given differential equation.
Case 2: z 6= 0.
In this case, y is non-constant, and hence equation (∗) becomes a
separable d.e.
1 2
dz = − dy .
z 1−y
MATH1.3 CALCULUS II - AY2020/21 11 / 51
Example 4 (cont.)
we obtain
ln |z| = 2 ln |1 − y | + C = ln(1 − y )2 + C.
which gives
z = C1 (1 − y )2 ,
Thus we have
dy
= C1 (1 − y )2 .
dx
Note that y 6= 1, and separating variables, we get
1
dy = C1 dx,
(1 − y )2
1
= C1 x + C2 ,
1−y
C1 x + (C2 − 1)
y= , (C1 6= 0).
C1 x + C2
C1 x + (C2 − 1)
y= ,
C1 x + C2
d 2x d 2x
m = −kx ⇐⇒ m + kx = 0
dt 2 dt 2
(simple harmonic motion).
dx
• (Damped Vibration) Suppose there is a damping force, −c , which
dt
is proportional to the velocity of the mass and acts in the opposite
direction.
We have
d 2x dx d 2x dx
m 2
= −c − kx ⇐⇒ m 2
+c + kx = 0.
dt dt dt dt
dQ dI d 2Q Q 1
RI = R , L =L 2 , and = Q.
dt dt dt C C
• Kirchhoff’s voltage law says that the sum of these voltage drops is
equal to the supplied voltage:
d 2Q dQ 1
L 2
+R + Q = F (t).
dt dt C
P(t) = t 2 + at + b = 0,
There are three possibilities for the roots, depending on the sign of the
discriminant ∆ = a2 − 4b:
y 00 + 6y 0 + 25y = 0.
Definition (1.)
The associated homogeneous equation to the non-homogeneous
equation (∗) is the equation
ay 00 + by 0 + cy = 0. (∗∗)
Theorem (2.)
Consider a non-homogeneous equation
ay 00 + by 0 + cy = F (x) (∗)
ay 00 + by 0 + cy = 0. (∗∗)
F (x) F 0 (x)
power of x n nx n−1
eαx αeαx
a sin Ax + b cos Ax aA cos Ax − bA sin Ax
y 00 − y 0 − 2y = 10 sin x.
λ2 − λ − 20 = 0 ⇐⇒ λ1 = 2, λ2 = −1.
yh = C1 e2x + C2 e−x ,
y 00 − y 0 − 2y = 10 sin x.
00 0
We have yp − yp − 2yp = 10 sin x which gives
(−A sin x −B cos x)−(A cos x −B sin x)−2(A sin x +B cos x) = 10 sin x.
aeαx Axeαx
a sin ωx + b cos ωx x (A sin ωx + B cos ωx)
(b)
y 00 − y 0 − 2y = 3e2x .
(c)
y 00 − y 0 − 2y = x 2 + sin x.
(a) F (x) = x 2 .
=⇒ Answer: We choose yp = A + Bx + Cx 2 .
y 00 − 4y 0 + 4y = 0.
yh = C1 e2x + C2 xe2x .
yp = Ax 2 e2x .
Substituting
1
which gives, 2Ae2x = e2x , i.e, A = .
2
Thus we have
1 2 2x
yp = x e .
2
Finally, the general solution to the given non-homogeneous d.e. is
1
y = C1 e2x + C2 xe2x + x 2 e2x ,
| {z } 2
y h
| {z }
yp
yh = C1 y1 (x) + C2 y2 (x).
Theorem (6.)
Consider a differential equation y 00 + ay 0 + by = F , where a,b are
constants, and F is continuous on an interval I.
The system
y C 0 + y C 0 = 0,
1 1 2 2
y 0 C 0 + y 0 C 0 = F ,
1 1 2 2
Solving this system, we get C10 (x) and C20 (x). Then integrating the
formulas of these functions, we obtain C1 (x) and C2 (x).
y 00 + y = 0
λ2 + 1 = 0 ⇐⇒ λ1,2 = ±i.
yh = C1 cos x + C2 sin x,
1
Note that sec x = . Solving the linear system of two equations,
cos x
we get
sin x
C10 = − and C20 = 1.
cos x
Integrating w.r.t. x, we obtain
Z
sin x
C1 = − dx = ln | cos x|
cos x
and
C2 = x.