MTH 250 · Elementary Differential Equations
Our notes
2 min readLinear 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
-
Best pick Calculus Volume 2, 4.5 First-Order Linear Equations
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 2, 4.5 First-Order Linear Equations, CC BY-NC-SA 4.0 · licence
-
Integrating factor
(opens en.wikipedia.org in a new tab)
Wikipedia, Integrating factor, CC BY-SA 4.0 · licence
-
Linear differential equation
(opens en.wikipedia.org in a new tab)
Wikipedia, Linear differential equation, CC BY-SA 4.0 · licence
-
Bernoulli differential equation
(opens en.wikipedia.org in a new tab)
Wikipedia, Bernoulli 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
-
How to Solve First Order Linear Differential Equations
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Bernoulli's Equation For Differential Equations
20 min · ≈ 90 MB · about ₦51
(opens youtube.com in a new tab)
-
The Bernoulli Equation // Substitutions in Differential Equations
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Bernoulli's Equation For Differential Equation 1: Meaning and How to Solve Bernoulli's Equation.
53 min · ≈ 239 MB · about ₦134
(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.