MTH 340 · Ordinary Differential Equation
Our notes
2 min readWords
- An ordinary differential equation (ODE) links an unknown function of one variable with its derivatives. (With several variables and partial derivatives it is a PDE.)
- Order: the highest derivative present. Degree: the power of the highest derivative once the equation is free of radicals and fractions in the derivatives.
- Linear (order n): aₙ(x)y⁽ⁿ⁾ + ... + a₁(x)y′ + a₀(x)y = g(x): y and its derivatives appear only to the first power, not multiplied together, and not inside functions. Homogeneous if g = 0.
| Equation | Order | Degree | Linear? |
|---|---|---|---|
| y′ + xy = sin x | 1 | 1 | yes |
| y″ + 3y′ + 2y = 0 | 2 | 1 | yes |
| (y″)³ + y′ = x | 2 | 3 | no |
| y″ + sin y = 0 (pendulum) | 2 | 1 | no |
| y′ = y² | 1 | 1 | no |
Solutions
- A solution on an interval is a function that satisfies the equation identically there.
- General solution: contains n independent arbitrary constants for an nth-order equation (y = C₁e^x + C₂e^(−x) for y″ = y).
- Particular solution: constants fixed by conditions.
- Singular solution: a solution not obtained from the general solution for any value of the constants (for (y′)² − xy′ + y = 0, the general solution is y = Cx − C², and y = x²/4 is singular: it is the envelope of those lines).
- Initial-value problem (IVP): conditions at one point (y(x₀), y′(x₀), ...). Boundary-value problem (BVP): conditions at two or more points.
Worked example (checking a solution). Is y = e^(2x) − 3e^(−x) a solution of y″ − y′ − 2y = 0? y′ = 2e^(2x) + 3e^(−x), y″ = 4e^(2x) − 3e^(−x). Then y″ − y′ − 2y = (4 − 2 − 2)e^(2x) + (−3 − 3 + 6)e^(−x) = 0 ✓.
Forming an ODE (eliminating constants)
Differentiate as many times as there are constants, then eliminate them.
Worked example. Family y = Cx². y′ = 2Cx, so C = y′/(2x) and y = (y′/(2x))x², giving xy′ = 2y (first order: one constant).
Worked example. y = Ae^x + Be^(2x). y′ = Ae^x + 2Be^(2x), y″ = Ae^x + 4Be^(2x). Then y″ − 3y′ + 2y = A(1 − 3 + 2)e^x + B(4 − 6 + 2)e^(2x) = 0: y″ − 3y′ + 2y = 0.
Direction fields
For y′ = f(x, y), draw short segments of slope f(x, y) at grid points; solution curves follow them. Isoclines are curves where f(x, y) is constant. This shows the behaviour (for example that all solutions of y′ = −y + 1 approach y = 1) without solving.
Exams usually ask: state order, degree and linearity of given equations; verify a solution; form an ODE by eliminating constants; define general, particular and singular solutions; IVP versus BVP.
Common mistake: giving the degree of an equation like y″ + sin(y′) = 0. It has no degree: the derivative sits inside a function, so it is not a polynomial in the derivatives.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Calculus Volume 2, 4.1 Basics of Differential Equations
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 2, 4.1 Basics of Differential Equations, CC BY-NC-SA 4.0 · licence
-
Differential Equations - Definitions
Paul's Online Notes: worked examples step by step. About 0.5 MB a page.
(opens tutorial.math.lamar.edu in a new tab)
-
NOUN MTH 421: Ordinary Differential Equations (course guide and units)
NOUN course book (PDF, about 1.2 MB). Nigerian course book: first-order methods, second-order linear equations, variation of parameters and higher order.
(opens nou.edu.ng in a new tab)
-
Ordinary differential equation
(opens en.wikipedia.org in a new tab)
Wikipedia, Ordinary differential equation, CC BY-SA 4.0 · licence
-
Lebl, Notes on Diffy Qs: Differential Equations for Engineers
A whole free textbook: read online or download the PDF (about 4 MB). Every MTH 340 topic, with exercises and answers.
(opens jirka.org in a new tab)
Jiří Lebl, Notes on Diffy Qs, CC BY-NC-SA 4.0 · licence
Watch
-
Introduction to Differential Equations
5 min · ≈ 23 MB · about ₦13
(opens youtube.com in a new tab)
-
Classification of Differential Equations
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
Differential equations, a tourist's guide | DE1
27 min · ≈ 122 MB · about ₦69
(opens youtube.com in a new tab)
-
Overview of Differential Equations
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Lec 1 | MIT 18.03 Differential Equations, Spring 2006
49 min · ≈ 221 MB · about ₦124
(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.