UNIHIVE

Study Hub UNIPORT MTH 205

MTH 205 · Elementary Differential Equations

Linear first-order equations and Bernoulli's equation

The integrating factor method for y′ + P(x)y = Q(x), and Bernoulli's equation reduced to linear form.

Our notes

2 min read

Linear first-order equations

Standard form: dy/dx + P(x) y = Q(x).
Integrating factor: μ = e^(∫P dx). Then (μy)′ = μQ, so y = (1/μ)[∫ μQ dx + C].

Example 1. dy/dx + y/x = x² (x > 0).

  • μ = e^(∫dx/x) = x.
  • (xy)′ = x³ → xy = x⁴/4 + C → y = x³/4 + C/x.

Check: y′ = 3x²/4 − C/x²; y/x = x²/4 + C/x²; sum = x² ✓.

Example 2. dy/dx + 2y = 4, y(0) = 0.

  • μ = e^(2x); (ye^(2x))′ = 4e^(2x) → ye^(2x) = 2e^(2x) + C → y = 2 + Ce^(−2x); y(0) = 0 → C = −2.
  • y = 2(1 − e^(−2x)): rises towards 2 (a steady state).

Check: y′ = 4e^(−2x); y′ + 2y = 4e^(−2x) + 4 − 4e^(−2x) = 4 ✓.

Example 3. x dy/dx − 2y = x³ (x > 0). Standard form: y′ − (2/x)y = x². μ = e^(−2 ln x) = x⁻².
(y/x²)′ = 1 → y/x² = x + C → y = x³ + Cx². Check: xy′ − 2y = x(3x² + 2Cx) − 2x³ − 2Cx² = x³ ✓.

Bernoulli's equation

dy/dx + P(x)y = Q(x)yⁿ (n ≠ 0, 1). Substitute v = y^(1−n); then dv/dx = (1 − n)y^(−n) dy/dx and the equation becomes linear in v:
dv/dx + (1 − n)P v = (1 − n)Q.

Example 4. dy/dx + y = y².

  • n = 2: v = y⁻¹, dv/dx = −y⁻² dy/dx. Divide the ODE by y²: y⁻²y′ + y⁻¹ = 1 → −v′ + v = 1 → v′ − v = −1.
  • μ = e^(−x): (ve^(−x))′ = −e^(−x) → ve^(−x) = e^(−x) + C → v = 1 + Ce^x.
  • y = 1/(1 + Ce^x).

Check: y′ = −Ce^x/(1 + Ce^x)²; y′ + y = [−Ce^x + 1 + Ce^x]/(1 + Ce^x)² = 1/(1 + Ce^x)² = y² ✓.
This is the logistic shape (with C > 0 the solution falls from near 1 towards 0 as x grows).

Riccati's equation (brief)

y′ = P + Qy + Ry². If one solution y₁ is known, y = y₁ + 1/v turns it into a linear equation in v.

Exams usually ask: solve linear first-order equations (with an IVP); solve a Bernoulli equation with the right substitution.

Common mistake: using the integrating factor before writing the equation in standard form. The coefficient of dy/dx must be 1 first.

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 205 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.