UNIHIVE

Study Hub UNIPORT MTH 250

MTH 250 · Elementary Differential Equations

Separable and homogeneous first-order equations

Separating variables, solving and checking, and homogeneous equations by the substitution y = vx.

Our notes

2 min read

Separable 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

Watch

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.

All MTH 250 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.