Tuan 11.12 NonhomogeneouslinearODE
Tuan 11.12 NonhomogeneouslinearODE
Tuan 11.12 NonhomogeneouslinearODE
May 6, 2024
Nonhomogeneous second order linear equations
Content
Recall
Theorem
The general solution to the nonhomogeneous equation
Variation of parameters
The general solution of the corresponding homogeneous equation
y 00 + p(x)y 0 + q(x)y = 0 is:
y ∗ = C1 y1 + C2 y2
(y ∗ )0 = C1 y10 + C2 y20 + C10 y1 + C20 y2
| {z }
0
∗ 00
(y ) = C1 y100 + C2 y200 + C10 y10 + C20 y20 .
Hence Ly ∗ = C1 Ly1 + C2 Ly2 + C10 y10 + C20 y20 ⇒ C10 y10 + C20 y20 = f (x).
2nd order linear DEs Nguyen Thu Huong
Nonhomogeneous second order linear equations
Example
Solve the following equations
x 1
a) y 00 + y0 − y = x − 1 that the corresponding
1−x 1−x
homogeneous equation has a solution y1 = e x .
e −x
b) y 00 + 2y 0 + y = 2 .
x +1
1
c) y 00 + 4y = .
cos 2t
Form:
y 00 + py 0 + qy = f (x), p, q ∈ R.
y 00 + py 0 + qy = 0.
f (x) = e α x Pn (x),
Example
Solve the following equations:
1 y 00 + 4y 0 + 5y = 8e −2x .
2 y 00 − 2y 0 = xe 2x + 3.
3 y 00 − 2y 0 + y = 2e x , y (0) = −1, y 0 (0) = 0.
Example
Solve the ODE: y 00 + 4y 0 + 5y = 8e −2x .
Example
Solve the ODE: y 00 − 2y 0 = xe 2x .
Example
Solve the IVP: y 00 − 2y 0 + y = 2e x , y (0) = −1, y 0 (0) = 0.
Example
Solve the following equations:
1 y 00 + 2y 0 + 5y = 17 cos 2x.
2 y 00 + y = 2 cos x, y (0) = 2, y 0 (0) = −1.
3 y 00 + 4y = xe −2x − 3 sin 2x.
Example
Solve the ODE: y 00 + 2y 0 + 5y = 17 cos 2x.
Example
Solve the following IVP y 00 + y = 2 cos x, y (0) = 2, y 0 (0) = −1.
Example
Solve the ODE y 00 + 4y = xe −2x − 3 sin 2x.
Euler equations
Form
x 2 y 00 + axy 0 + by = f (x), a, b ∈ R.
Set t = ln |x|.
1
y 0 (x) =y 0 (t).t 0 (x) = y 0 (t)
x
1 0 1 1 dy 0
y 00 (x) = y 0 (t) = − 2 y 0 (t) +
x x x x dt x
1 00 0
= 2 (y (t) − y (t)).
x
The given equation is transformed to
Example
Solve the equations
1 x 2 y 00 − 9xy 0 + 21y = 36x ln x.
2 x 2 y 00 − 2xy 0 + 2y = 3x 2 .
F0
x = C1 cos ω0 t + C2 sin ω0 t + cos ωt.
m(ω02 − ω2)
F0
X (t) = cos(ωt − δ)
∆
F0
The amplitude R = √ .
m2 (ω02 −ω 2 )2 +γ 2 ω 2
For low frequency ω → 0, R → Fk0 .
For high frequency ω → ∞, R → 0.
m(ω 2 −ω 2 )
The phase angle δ: cos δ = 0
∆ ; sin δ = γω
∆.
For low frequency ω → 0, δ → 0, the response is nearly in
phase with the excitation.
For ω = ω0 , δ = π2 , the response lags behind the excitation by
π
2.
For high frequency ω → ∞, δ ≈ π, the response is nearly out
of phase with the excitation, i.e. the response attains its
minima when the excitation attains its maxima.