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. Summary of steps to solve: Write the Auxillary Equation (AE) Solve AE to find the Complementary Function (CF) Find the Particular Integral (PI) Find the complete general solution Find the Particular Solution (if applicable) Particular Integral πππ + ππ + π = π e.g. π = π¨πππ π + π©πππ π e.g. π = π¨πππ π + π©πππ π + X CF + PI Some things you’ll need to know: 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 π₯ (π΄ + π΅π₯) π¦ = π πΌπ₯ (π΄πππ π½π₯ + π΅π πππ½π₯) Special cases of the Complementary Function: ππ¦ There is a quick solution for the CF if the equation has no ππ₯ term: Equation: π2 π¦ ππ₯ 2 π2 π¦ ππ₯ 2 Complementary Function + π2 π¦ = 0 π¦ = π΄πππ (ππ₯) + π΅π ππ(ππ₯) − π2 π¦ = 0 π¦ = π΄πππ β(ππ₯) + π΅π ππβ(ππ₯) Useful general forms for the Right Hand Side: 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 as before. © H Jackson 2013 / Academic Skills 1 Examples: 1. If the RHS of the equation is 0, then you only need to find the CF – that will be the final answer. e.g. Solve the differential equation π π π π ππ −π π π π π + ππ = π π2 − 5π + 6 = 0 (π − 2)(π − 3) = 0 ∴ π1 = 2, π2 = 3 Step 1: Use the coefficients to write the AE: Step 2: Solve AE to find CF: Real & different roots so we use the 1st form of the CF. π = π¨πππ + π©πππ Complementary Function: If you were given initial conditions you could also find A and B but if not this is the final answer to the question. 2. If the RHS is a function then you need to do all the steps and find the Complete Solution. π π π π π e.g. Solve the differential equation π ππ − π π π + ππ = πππ − πππ + ππ, given that when π = π, π = π πππ π π π π =π Step 1: Use the coefficients to write the AE: Step 2: Solve AE to find CF: π2 − 3π + 2 = 0 (π − 2)(π − 1) = 0 ∴ π1 = 2, π2 = 1 Real & different roots so we use the 1st form of the CF. π = π¨πππ + π©ππ Complementary Function: This time there is a function on the right hand side (RHS) so we continue on to find the PI. We need to decide which general form of the RHS to use (by looking at the table above). Step 3: Find the PI Looking at the RHS, π(π₯) = 2π₯ 2 − 10π₯ + 10, so (from the table) we assume the general form: π = πͺππ + π«π + π¬ ππ¦ Differentiate to get: ππ₯ = 2πΆπ₯ + π· π2 π¦ ππ₯ 2 = 2πΆ Now substitute the above into the original equation: Original: π2 π¦ ππ₯ 2 ππ¦ − 3 ππ₯ + 2π¦ = 2π₯ 2 − 10π₯ + 10 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 © H Jackson 2013 / Academic Skills 2 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 Nos: π = ππ − ππ + π Therefore, Particular Integral Step 4: Write the complete general solution: The complete General Solution is CF+PI π = π¨πππ + π©ππ + ππ − ππ + π So we have: Step 5: Find the particular solution: In this question we have been given the initial conditions (when π₯ = 0, π¦ = 3 πππ we can continue on to find A and B and write the particular solution. So far we know that: ππ₯ = 7) so π¦ = π΄π 2π₯ + π΅π π₯ + π₯ 2 − 2π₯ + 1 ππ¦ Therefore: ππ¦ ππ₯ = 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 / Academic Skills π = ππππ − πππ + ππ − ππ + π 3 e.g. Solve the differential equation π π π π ππ −π Step 1: Use the coefficients to write the AE: Step 2: Solve AE to find CF: π π π π + πππ = ππππππ π2 − 7π + 12 = 0 (π − 3)(π − 4) = 0 ∴ π1 = 3, π2 = 4 Real & different roots so we use the 1st form of the CF. π = π¨πππ + π©πππ Complementary Function: Step 3: Find the PI Looking at the RHS, π(π₯) = 2π ππ3π₯, so we assume the general form: π¦ = πΆπππ 3π₯ + π·π ππ3π₯ Differentiate to get: ππ¦ ππ₯ = −3πΆπ ππ3π₯ + 3π·πππ 3π₯ π2 π¦ ππ₯ 2 = −9πΆπππ 3π₯ − 9π·π ππ3π₯ The trick here is to simplify and say: π2 π¦ ππ₯ 2 = −9(πΆπππ 3π₯ + π·π ππ3π₯) = −9π¦ π2 π¦ π2 π¦ First substitute ππ₯ 2 = −9π¦ into the original equation: ππ₯ 2 ππ¦ − 7 ππ₯ + 12π¦ = 2π ππ3π₯ ππ¦ −9π¦ − 7 ππ₯ + 12π¦ = 2π ππ3π₯ 3π¦ − 7 ππ¦ ππ₯ = 2π ππ3π₯ ππ¦ Next substitute π¦ and ππ₯ in: → 3(πΆπππ 3π₯ + π·π ππ3π₯) − 7(−3πΆπ ππ3π₯ + 3π·πππ 3π₯) = 2π ππ3π₯ → 3πΆπππ 3π₯ + 3π·π ππ3π₯ + 21πΆπ ππ3π₯ − 21π·πππ 3π₯ = 2π ππ3π₯ → (3πΆ − 21π·)πππ 3π₯ + (21πΆ + 3π·)π ππ3π₯ = 2π ππ3π₯ Equate coefficients of π ππ3π₯: Equate coefficients of πππ 3π₯: 21πΆ + 3π· = 2 3πΆ − 21π· = 0 Solve these equations simultaneously to find: Particular Integral π 7 1 πΆ = 75 and π· = 75 π π = ππ πππππ + ππ πππππ Step 4: Write the complete general solution: The complete General Solution is CF+PI So we have: π π π = π¨πππ + π©πππ + ππ πππππ + ππ πππππ n.b. if we had been given initial conditions we could now find A and B. © H Jackson 2013 / Academic Skills 4