Document

2nd Order Differentials Summary
Academic Skills Advice
A 2nd order differential equation is one that has a 2nd derivative in it. For example:
π‘Ž
𝑑2𝑦
𝑑𝑦
𝑑π‘₯
𝑑π‘₯
+𝑏
2
+ 𝑐𝑦 = 𝑓(π‘₯)
To solve this equation you would need to find 𝑦, which is a function of π‘₯. This summary
demonstrates a method to solve the equation. Examples are worked through overleaf.
Summary of steps to solve:
Step 1:
Step 2:
Step 3:
Step 4:
Solve the left hand side
Solve the right hand side
Add them together
Use initial conditions
Some jargon:
You will create an Auxiliary Equation (AE) π’‚π’ŽπŸ + π’ƒπ’Ž + 𝒄 = 𝟎
to help find the Complementary Function (CF)
Right hand side: You will find the Particular Integral (PI)
Add together:
You have found the complete general solution (CF+PI)
Initial conditions: You will find the Particular solution.
Left hand side:
When solving the left hand side, how you write the Complementary Function will
depend on the roots of the Auxiliary Equation that you find:
Type of roots:
Real & different
Real & equal
Complex (π‘š = 𝛼 ± 𝛽𝑖)
Complementary Function:
𝑦 = 𝐴𝑒 π‘š1 π‘₯ + 𝐡𝑒 π‘š2 π‘₯
𝑦 = 𝑒 π‘š1 π‘₯ (𝐴 + 𝐡π‘₯)
𝑦 = 𝑒 𝛼π‘₯ (π΄π‘π‘œπ‘ π›½π‘₯ + 𝐡𝑠𝑖𝑛𝛽π‘₯)
A short cut:
If your equation looks like this:
𝑑2 𝑦
π‘Ž 𝑑π‘₯ 2 + 𝑐𝑦 = 0
𝑐
𝑐
You can just write the complementary function straight down: 𝑦 = π΄π‘π‘œπ‘  (βˆšπ‘Ž π‘₯) + 𝐡𝑠𝑖𝑛(βˆšπ‘Ž π‘₯)
(Don’t worry if you can’t remember this – just stick to the 3 above)
To solve the Right Hand Side we need to identify the general form:
If:
𝑓(π‘₯) = π‘˜
𝑓(π‘₯) = π‘˜π‘₯
𝑓(π‘₯) = π‘˜π‘₯ 2
𝑓(π‘₯) = π‘˜π‘ π‘–π‘›π‘₯ π‘œπ‘Ÿ π‘˜π‘π‘œπ‘ π‘₯
𝑓(π‘₯) = π‘˜π‘ π‘–π‘›β„Žπ‘₯ π‘œπ‘Ÿ π‘˜π‘π‘œπ‘ β„Žπ‘₯
𝑓(π‘₯) = 𝑒 π‘˜π‘₯
Assume:
𝑦=𝐢
𝑦 = 𝐢π‘₯ + 𝐷
𝑦 = 𝐢π‘₯ 2 + 𝐷π‘₯ + 𝐸
𝑦 = πΆπ‘π‘œπ‘ π‘₯ + 𝐷𝑠𝑖𝑛π‘₯
𝑦 = πΆπ‘π‘œπ‘ β„Žπ‘₯ + π·π‘ π‘–π‘›β„Žπ‘₯
𝑦 = 𝐢𝑒 π‘˜π‘₯
n.b. If the general form of the RHS is already included in the CF then multiply the assumed
general form by π‘₯, then continue with this new general form.
H Jackson 2013 / 2016 / Academic Skills
1
Except where otherwise noted, this work is licensed under
http://creativecommons.org/licenses/by-nc-sa/3.0/
Step 1: Solve the left hand side
ο‚·
ο‚·
ο‚·
Use the coefficients to write the Auxiliary Equation (AE) π’‚π’ŽπŸ + π’ƒπ’Ž + 𝒄 = 𝟎
Solve AE to find π‘š1 and π‘š2
Choose the correct Complementary Function (CF)
E.g. 1 Solve the differential equation
π’…πŸ π’š
π’…π’™πŸ
βˆ’πŸ“
π’…π’š
𝒅𝒙
+ πŸ”π’š = 𝟎
Use the coefficients to write the AE:
Solve AE to find π‘š1 and π‘š2 :
π’ŽπŸ βˆ’ πŸ“π’Ž + πŸ” = 𝟎
(π‘š βˆ’ 2)(π‘š βˆ’ 3) = 0
∴ π‘š1 = 2, π‘š2 = 3
CF for β€œreal & different roots”:
π’š = π‘¨π’†πŸπ’™ + π‘©π’†πŸ‘π’™
The right hand side = 0 and there are no given initial conditions so this is the final answer to
the question.
E.g. 2 Solve the differential equation
𝒙 = 𝟎, π’š = βˆ’πŸ 𝒂𝒏𝒅
π’…π’š
𝒅𝒙
π’…πŸ π’š
π’…π’™πŸ
βˆ’πŸ’
π’…π’š
𝒅𝒙
+ πŸ‘π’š = 𝟎, given that when
=𝟏
Use the coefficients to write the AE:
Solve AE to find π‘š1 and π‘š2 :
π’ŽπŸ βˆ’ πŸ’π’Ž + πŸ‘ = 𝟎
(π‘š βˆ’ 3)(π‘š βˆ’ 1) = 0
∴ π‘š1 = 3, π‘š2 = 1
CF for β€œreal & different roots”:
π’š = π‘¨π’†πŸ‘π’™ + 𝑩𝒆𝒙
The right hand side = 0 but this time there are given initial conditions so go straight to step 4
and use the initial conditions to find A and B.
Step 4: Initial Conditions
ο‚·
ο‚·
ο‚·
𝑑𝑦
Differentiate to find 𝑑π‘₯
Substitute initial conditions in
Solve to find A and B
E.g.2 cont... We have found the CF:
Differentiate:
Substitute π‘₯ = 0, 𝑦 = βˆ’1
𝑑𝑦
Substitute π‘₯ = 0, 𝑑π‘₯ = 1
π’š = π‘¨π’†πŸ‘π’™ + 𝑩𝒆𝒙
𝑑𝑦
𝑑π‘₯
= 3𝐴𝑒 3π‘₯ + 𝐡𝑒 π‘₯
βˆ’1 = 𝐴𝑒 0 + 𝐡𝑒 0
1 = 3𝐴𝑒 0 + 𝐡𝑒 0
βˆ’1 = 𝐴 + 𝐡
1 = 3𝐴 + 𝐡
𝐴 = 1, 𝐡 = βˆ’2
Solve simultaneously:
Final answer:
β†’
β†’
π’š = π’†πŸ‘π’™ βˆ’ πŸπ’†π’™
It’s a good idea to practice a few of the above type of questions before moving on to
equations where 𝑅𝐻𝑆 β‰  0 (i.e. when there is something on the right hand side).
H Jackson 2013 / 2016 / Academic Skills
2
E.g. 3 Solve the differential equation
given that when 𝒙 = 𝟎, π’š = πŸ‘ 𝒂𝒏𝒅
π’…π’š
𝒅𝒙
Step 1: Solve the LHS:
Use the coefficients to write the AE:
Solve AE to find π‘š1 and π‘š2 :
π’…πŸ π’š
π’…π’™πŸ
βˆ’πŸ‘
π’…π’š
𝒅𝒙
+ πŸπ’š = πŸπ’™πŸ βˆ’ πŸπŸŽπ’™ + 𝟏𝟎,
=πŸ•
π‘š2 βˆ’ 3π‘š + 2 = 0
(π‘š βˆ’ 2)(π‘š βˆ’ 1) = 0
∴ π‘š1 = 2, π‘š2 = 1
π’š = π‘¨π’†πŸπ’™ + 𝑩𝒆𝒙
CF for β€œreal & different roots”:
Step 2: Solve the right hand side
ο‚·
ο‚·
ο‚·
Write down the correct assumption
Differentiate twice then substitute into original
Tidy up and find C, D etc.
Looking at the RHS, 𝑓(π‘₯) = 2π‘₯ 2 βˆ’ 10π‘₯ + 10, so (from the table) we assume the general form:
π’š = π‘ͺπ’™πŸ + 𝑫𝒙 + 𝑬
𝑑𝑦
Differentiate once:
𝑑π‘₯
= 2𝐢π‘₯ + 𝐷
𝑑2 𝑦
Differentiate again:
𝑑π‘₯ 2
= 2𝐢
Substitute into original equation:
Original:
𝑑2 𝑦
𝑑π‘₯ 2
𝑑𝑦
βˆ’ 3 𝑑π‘₯
= 2π‘₯ 2 βˆ’ 10π‘₯ + 10
+ 2𝑦
Becomes:
2𝐢 βˆ’ 3(2𝐢π‘₯ + 𝐷) + 2(𝐢π‘₯ 2 + 𝐷π‘₯ + 𝐸) = 2π‘₯ 2 βˆ’ 10π‘₯ + 10
Tidy up to get:
2𝐢 βˆ’ 6𝐢π‘₯ βˆ’ 3𝐷 + 2𝐢π‘₯ 2 + 2𝐷π‘₯ + 2𝐸 = 2π‘₯ 2 βˆ’ 10π‘₯ + 10
Now we need to solve to find C, D & E. The easiest way to do this is to equate coefficients:
Equate Coefficients to find π‘ͺ, 𝑫 & 𝑬:
π‘₯2:
2𝐢 = 2
∴𝐢=1
π‘₯:
βˆ’6𝐢 + 2𝐷 = βˆ’10
βˆ’6 + 2𝐷 = βˆ’10
2𝐷 = βˆ’4
∴ 𝐷 = βˆ’2
2𝐢 βˆ’ 3𝐷 + 2𝐸 = 10
2 + 6 + 2𝐸 = 10
2𝐸 = 2
∴𝐸=1
Constants:
Therefore, Particular Integral
H Jackson 2013 / 2016 / Academic Skills
π’š = π’™πŸ βˆ’ πŸπ’™ + 𝟏
3
Step 3: Add them together
ο‚·
𝑦 = 𝐢𝐹 + 𝑃𝐼
(complementary function + particular integral)
Complete General Solution:
π’š = π‘¨π’†πŸπ’™ + 𝑩𝒆𝒙 + π’™πŸ βˆ’ πŸπ’™ + 𝟏
Step 4: Initial Conditions
Substitute in the initial conditions to get the final answer:
We’re given that when π‘₯ = 0, 𝑦 = 3 π‘Žπ‘›π‘‘
So far we know that:
𝑑π‘₯
=7
𝑦 = 𝐴𝑒 2π‘₯ + 𝐡𝑒 π‘₯ + π‘₯ 2 βˆ’ 2π‘₯ + 1
𝑑𝑦
Differentiate:
𝑑𝑦
𝑑π‘₯
= 2𝐴𝑒 2π‘₯ + 𝐡𝑒 π‘₯ + 2π‘₯ βˆ’ 2
Substitute initial conditions into the above:
When π‘₯ = 0, 𝑦 = 3:
𝑑𝑦
When π‘₯ = 0, 𝑑π‘₯ = 7:
3=𝐴+𝐡+1
β†’
𝐴+𝐡 =2
7 = 2𝐴 + 𝐡 βˆ’ 2
β†’
2𝐴 + 𝐡 = 9
Solve simultaneously to find that, 𝐴 = 7 and 𝐡 = βˆ’5
We now have the particular solution:
H Jackson 2013 / 2016 / Academic Skills
π’š = πŸ•π’†πŸπ’™ βˆ’ πŸ“π’†π’™ + π’™πŸ βˆ’ πŸπ’™ + 𝟏
4