MTH 205 · Elementary Differential Equations
Our notes
2 min readSeparable equations
Form: dy/dx = g(x)h(y). Separate and integrate: ∫ dy/h(y) = ∫ g(x) dx + C.
Example 1. dy/dx = xy, y(0) = 2.
∫ dy/y = ∫ x dx → ln|y| = x²/2 + C → y = Ae^(x²/2). y(0) = 2 → A = 2.
y = 2e^(x²/2). Check: y′ = 2x e^(x²/2) = x·y ✓.
Example 2. dy/dx = y², y(0) = 1.
∫ y⁻² dy = ∫ dx → −1/y = x + C; at x = 0, y = 1 → C = −1.
y = 1/(1 − x). Check: y′ = 1/(1 − x)² = y² ✓. The solution blows up at x = 1: nonlinear equations can do this.
Example 3. dy/dx = (1 + y²)/(1 + x²).
∫ dy/(1 + y²) = ∫ dx/(1 + x²) → tan⁻¹ y = tan⁻¹ x + C.
Lost solutions: dividing by h(y) loses any constant solution with h(y) = 0 (in Example 1, y = 0 is a solution included when A = 0).
Homogeneous equations
A function f(x, y) is homogeneous of degree n if f(tx, ty) = tⁿ f(x, y). The ODE dy/dx = f(x, y) is homogeneous if f can be written as a function of y/x.
Method: put y = vx, so dy/dx = v + x dv/dx; the equation becomes separable in v and x.
Example 4. dy/dx = (x + y)/x = 1 + y/x.
v + x dv/dx = 1 + v → x dv/dx = 1 → v = ln|x| + C.
y = x ln|x| + Cx.
Check: y′ = ln|x| + 1 + C; (x + y)/x = 1 + ln|x| + C ✓.
Example 5. dy/dx = (x² + y²)/(xy).
= x/y + y/x → v + xv′ = 1/v + v → xv′ = 1/v → v dv = dx/x → v²/2 = ln|x| + C.
y² = 2x² ln|x| + Cx² (writing 2C as C).
Check: differentiate: 2yy′ = 4x ln|x| + 2x + 2Cx; so y′ = (2x ln|x| + x + Cx)/y; and (x² + y²)/(xy) = (x² + 2x² ln|x| + Cx²)/(xy) = (x + 2x ln|x| + Cx)/y ✓.
Equations reducible to homogeneous form
dy/dx = (a₁x + b₁y + c₁)/(a₂x + b₂y + c₂): shift the origin to where the two lines meet (x = X + h, y = Y + k) to remove the constants.
Exams usually ask: solve separable IVPs; test for homogeneity and solve with y = vx.
Common mistake: forgetting the constant of integration until the end, then adding it in the wrong place (e.g. y = 2e^(x²/2) + C instead of fixing the multiplier). Put C in when you integrate.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Calculus Volume 2, 4.3 Separable Equations
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 2, 4.3 Separable Equations, CC BY-NC-SA 4.0 · licence
-
Separation of variables
(opens en.wikipedia.org in a new tab)
Wikipedia, Separation of variables, CC BY-SA 4.0 · licence
-
Homogeneous differential equation
(opens en.wikipedia.org in a new tab)
Wikipedia, Homogeneous differential equation, CC BY-SA 4.0 · licence
-
NOUN MTH 302: Elementary Differential Equations
NOUN course book (PDF, about 0.3 MB, 54 pages). First-order to Sturm-Liouville problems.
(opens nou.edu.ng in a new tab)
Watch
-
Separable First Order Differential Equations - Basic Introduction
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Separable First-Order Differential Equations
7 min · ≈ 32 MB · about ₦18
(opens youtube.com in a new tab)
-
How To Solve First Order Homogeneous Differential Equation
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Differential Equations Introduction: Definition, Order, Degree, Homogeneity, Linear & Non Linear ODE
32 min · ≈ 144 MB · about ₦81
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.