2019_midterm2_Sol_A卷
2019_midterm2_Sol_A卷
2. 𝑦 ′′ + 3𝑦 ′ + 2𝑦 = 𝑟(𝑥)
𝜆2 + 3𝜆 + 2 = 0, 𝜆 = −2, −1
∴ 𝑦ℎ = 𝐴𝑒 −𝑥 + 𝐵𝑒 −2𝑥 , 𝑦ℎ′ = −𝐴𝑒 −𝑥 − 2𝐵𝑒 −2𝑥
𝑟(𝑥) = 12𝑥 2
Let 𝑦𝑝 = 𝐶𝑥 2 + 𝐷 + 𝐸, then 𝑦𝑝′ = 2𝐶𝑥 + 𝐷 and 𝑦𝑝′′ = 2𝐶
Substitute 𝑦𝑝′′ , 𝑦𝑝′ , and 𝑦𝑝 into the ODE and compare the coefficients on both side we have
𝐶 = 6, 𝐷 = −18, 𝐸 = 21
∴ 𝑦 = 𝑦ℎ + 𝑦𝑝 = 𝐴𝑒 −𝑥 + 𝐵𝑒 −2𝑥 + 6𝑥 2 − 18𝑥 + 21
𝑓(𝑥) = 6𝑥 2 − 18𝑥 + 21
𝑓(1) = 9; 𝑓(2) = 9; 𝑓(3) = 21;
1 1
4. 𝑦 ′′ − (𝑥) 𝑦 ′ + (𝑥 2 ) 𝑦 = 0 with 𝑦(1) = 0.5 𝑦 ′ (1) = 1
Sol. The ODE is rearranged as: 𝑥 2 𝑦 ′′ − 𝑥𝑦 ′ + 𝑦 = 0
Let 𝑦 = 𝑥 𝑚 . Substitute into the ODE, we have
𝑚(𝑚 − 1) − 𝑚 + 1 = 0, 𝑚 = 1,1 ∴ 𝑦 = 𝐴𝑥 + 𝐵𝑥𝑙𝑛(𝑥), 𝑦 ′ = 𝐴 + [𝐵𝑙𝑛𝑥 + 𝐵]
𝑦(1) = 0.5 = 𝐴 + 0, 𝑦 ′ (1) = 1 = 𝐴 + 𝐵 ∴ 𝑦 = 0.5𝑥 + 0.5𝑥𝑙𝑛(𝑥)
𝑦(2) = 1 + ln(2);
𝑦(3) = 1.5 + 1.5ln(3);
𝑦(4) = 2 + 2ln(4);
𝑦(6) = 3 + 3ln(6);
𝑦(∞) = ∞
−1 ± √5
𝑑=
2
−𝑐±𝑖√4𝑘−𝑐 2
For oscillatory solution, 𝑐 2 − 4𝑘 < 0 and 𝜆 = 2
, 𝑦 = 𝑒 −𝑐𝑡/2 (𝐴𝑐𝑜𝑠𝜔𝑡 + 𝐵𝑠𝑖𝑛𝜔𝑡)
(*)
𝜔 √4𝑘−𝑐 2
Angular frequency 𝜔 = 0.5√4𝑘 − 𝑐 2 , natural frequency 𝑓 = =
2𝜋 4𝜋
√4𝑘−𝑐 2
(ii) 𝑓 =
4𝜋
7. 𝑦̈ (𝑡) + 𝑘𝑦(𝑡) = 𝑐𝑜𝑠(𝑡) + 3sin(2𝑡)
Sol. The homogeneous solution is 𝑦 = 𝐴𝑐𝑜𝑠(𝜔𝑡 − 𝛿), 𝜔 = √𝑘. For resonance case, the
frequency of the homogeneous solution is identical to any of the frequencies of the force
terms. Therefore when √𝑘 = 1 or √𝑘 = 2. Therefore
(i) 𝑘 = 1 or 𝑘 = 4
(ii) |𝑦(∞)| = ∞
𝑊1 𝑊2
𝑢′ = 𝑊
= −sin(𝑥)tan(𝑥), 𝑣 ′ = 𝑊
= sin(𝑥)
(9) (10%) Suppose 𝑦1 (𝑥) is the solution of the ODE: 𝑦 ′′′ + 3𝑦 ′′ + 𝑦 = 𝑟1 (𝑥), and 𝑦2 (𝑥) is
the solution of the ODE: 𝑦 ′′′ + 3𝑦 ′′ + 𝑦 = 𝑟2 (𝑥). Prove that 2𝑦1 + 3𝑦2 is the solution of the
ODE: 𝑦 ′′′ + 3𝑦 ′′ + 𝑦 = 2𝑟1 (𝑥) + 3𝑟1 (𝑥).
Proof. 𝐿(𝑦1 ) = 𝑟1 (𝑥), 𝐿(𝑦2 ) = 𝑟2 (𝑥), then 𝐿(2𝑦1 + 3𝑦2 ) = 2𝑟1 (𝑥) + 3𝑟3 (𝑥) QED
𝑑𝑦
(10) (10%) 𝑥 2 𝑦 ′′ + 𝑎𝑥𝑦 ′ + 𝑏𝑦 = 0, 𝑦 ′ ≜ 𝑑𝑥, Prove the ODE can be written as
𝑑𝑦
𝑦̈ + (𝑎 − 1)𝑦̇ + 𝑏𝑦 = 0 with 𝑦̇ ≜ 𝑑𝑡
and 𝑥 = 𝑒 𝑡 ,
𝑑𝑡 1
Proof. 𝑥 = 𝑒 𝑡 ⟹ 𝑡 = 𝑙𝑜𝑔(𝑥) ⟹ 𝑑𝑥 = 𝑥 = 𝑒 −𝑡
𝑑𝑦 𝑑𝑦 𝑑𝑡
𝑑𝑥
= 𝑑𝑡 𝑑𝑥
= 𝑒 −𝑡 𝑦̇ (A)
𝑑2 𝑦 𝑑 𝑑𝑡
𝑑𝑥 2
= 𝑑𝑥 (𝑒 −𝑡 𝑦̇ ) 𝑑𝑥 = [𝑒 −𝑡 𝑦̈ − 𝑒 −𝑡 𝑦̇ ]𝑒 −𝑡 = 𝑒 −2𝑡 (𝑦̈ − 𝑦̇ ) (B)
Substitute Eq. (A), (B), and 𝑥 = 𝑒 𝑡 into the original ODE. We have
(𝑦̈ − 𝑦̇ ) + 𝑎𝑦̇ + 𝑏𝑦 = 0, then 𝑦̈ + (𝑎 − 1)𝑦̇ + 𝑏𝑦