

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A level notes that I made during class and converted to latex format
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


If a first-order ODE can be written as dy dx = f (x)g(y), separate the variables and integrate both
sides:
Z 1 g(y) dy =
f (x) dx
Example: Solve
dy dx = xy, given y = 2 when x = 0. Z 1 y dy =
x dx =⇒ ln |y| = x^2 2
Using y = 2 at x = 0: A = 2. So y = 2ex (^2) / 2 .
For equations of the form dy dx
Integrating Factor Method
R (^) P (x) dx .
(μy).
μQ(x) dx.
Example: Solve
dy dx
2 y x = x^2.
P (x) =
x , so μ = e
R (^2) /x dx = e2 ln^ x^ = x^2.
Multiply: d dx (x^2 y) = x^4. Integrate: x^2 y = x^5 5
x^2
The general form is:
a d^2 y dx^2
The general solution = complementary function (CF) + particular integral (PI).
The CF solves the homogeneous equation (where f (x) = 0). Try y = emx, which gives the auxiliary equation: am^2 + bm + c = 0
Three Cases for the CF Case 1 – Two distinct real roots m 1 ̸= m 2 :
yCF = Aem^1 x^ + Bem^2 x
Case 2 – Repeated root m 1 = m 2 = m:
yCF = (A + Bx)emx
Case 3 – Complex conjugate roots m = p ± qi:
yCF = epx(A cos qx + B sin qx)
The PI is a specific solution to the full equation with f (x) ̸= 0. You guess the form of the PI based on f (x):
f (x) type Trial PI form Constant k y = λ Polynomial degree n
y = λnxn^ + · · · + λ 0 (full polynomial)
keαx^ y = λeαx k cos ωx or k sin ωx y = λ cos ωx + μ sin ωx (include both!)
When the Trial PI Clashes with the CF If your trial PI has the same form as a term in the CF, it will give 0 = 0 when substituted
Solve d^2 y dx^2
dy dx
CF: Auxiliary equation m^2 − 5 m + 6 = 0 ⇒ (m − 2)(m − 3) = 0 ⇒ m = 2, 3.
yCF = Ae^2 x^ + Be^3 x
PI: Try y = λex. Then y′^ = λex, y′′^ = λex.
Substituting: λex^ − 5 λex^ + 6λex^ = 2ex^ ⇒ 2 λex^ = 2ex^ ⇒ λ = 1.
yP I = ex
General solution: y = Ae^2 x^ + Be^3 x^ + ex