MTH 340 · Ordinary Differential Equation
Our notes
2 min readBoundary-value problems
Conditions at two points (the ends of a beam or rod). Unlike IVPs, a BVP may have no solution, one, or infinitely many.
Worked example. y″ + y = 0:
- y(0) = 0, y(π/2) = 1: y = C₁ cos x + C₂ sin x, C₁ = 0, C₂ = 1: one solution, y = sin x.
- y(0) = 0, y(π) = 0: C₁ = 0, and C₂ sin π = 0 holds for every C₂: infinitely many.
- y(0) = 0, y(π) = 1: C₂ sin π = 0 ≠ 1: none.
Eigenvalue problems
For which λ does y″ + λy = 0, y(0) = 0, y(L) = 0 have a non-zero solution?
- λ < 0 (λ = −μ²): y = C₁cosh μx + C₂sinh μx; conditions force C₁ = C₂ = 0. Only the zero solution.
- λ = 0: y = C₁ + C₂x; again only zero.
- λ > 0 (λ = μ²): y = C₁cos μx + C₂sin μx; y(0) = 0 gives C₁ = 0; y(L) = 0 needs sin μL = 0, μ = nπ/L.
Eigenvalues λₙ = (nπ/L)², eigenfunctions yₙ = sin(nπx/L), n = 1, 2, 3, ...
These are the shapes of a vibrating guitar string (the harmonics in PHY 115) and the modes of heat flow in a rod.
Sturm-Liouville form
(p(x)y′)′ + q(x)y + λr(x)y = 0 on [a, b], with separated boundary conditions α₁y(a) + α₂y′(a) = 0, β₁y(b) + β₂y′(b) = 0, and p > 0, r > 0.
Any equation y″ + P y′ + (Q + λR)y = 0 can be put in this form by multiplying by p = e^(∫P dx).
Worked example. Bessel-type x²y″ + xy′ + (λx² − ν²)y = 0: divide by x: (xy′)′ − (ν²/x)y + λxy = 0, so p = x, r = x.
Properties of regular Sturm-Liouville problems
- The eigenvalues are real and can be ordered λ₁ < λ₂ < ... → ∞.
- Each eigenvalue has (up to a constant) one eigenfunction; the nth has n − 1 zeros inside (a, b).
- Eigenfunctions for different eigenvalues are orthogonal with weight r: ∫ₐᵇ yₘyₙ r dx = 0 for m ≠ n.
Check. ∫₀^L sin(mπx/L) sin(nπx/L) dx = 0 for m ≠ n, and L/2 for m = n.
Eigenfunction expansions (Fourier series)
A reasonable function on [a, b] can be expanded as f = Σ cₙyₙ with cₙ = ∫ f yₙ r dx / ∫ yₙ² r dx. For yₙ = sin(nπx/L) this is the Fourier sine series: cₙ = (2/L)∫₀^L f(x) sin(nπx/L) dx.
Worked example. f(x) = 1 on (0, π): cₙ = (2/π)∫₀^π sin nx dx = (2/π)(1 − cos nπ)/n, which is 4/(nπ) for odd n and 0 for even n. So 1 = (4/π)(sin x + sin 3x/3 + sin 5x/5 + ...) on (0, π).
This is how PDEs such as the heat and wave equations are solved by separation of variables (the next course).
Exams usually ask: decide whether a BVP has none, one or many solutions; find the eigenvalues and eigenfunctions of y″ + λy = 0 with given end conditions (including y′ conditions); put an equation in Sturm-Liouville form; prove or use orthogonality; expand a simple function.
Common mistake: skipping the cases λ < 0 and λ = 0. You must show they give only the zero solution (or find the eigenvalue they give: with y′(0) = y′(L) = 0, λ = 0 is an eigenvalue, with eigenfunction 1).
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Differential Equations - Boundary Value Problems
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
NOUN course book (PDF, about 1.4 MB). Nigerian course book (2011): existence and uniqueness, linear systems, Sturm-Liouville problems and stability.
(opens nou.edu.ng in a new tab)
-
Differential Equations - Eigenvalues and Eigenfunctions
Paul's Online Notes: worked examples step by step. About 0.5 MB a page.
(opens tutorial.math.lamar.edu in a new tab)
-
Sturm–Liouville theory
(opens en.wikipedia.org in a new tab)
Wikipedia, Sturm–Liouville theory, CC BY-SA 4.0 · licence
-
Boundary value problem
(opens en.wikipedia.org in a new tab)
Wikipedia, Boundary value problem, 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
-
Trench, Elementary Differential Equations (free edition)
A whole free textbook (PDF from the page). Strong on existence and uniqueness, linear theory, Cauchy-Euler, series and Frobenius, Laplace and boundary-value problems.
(opens digitalcommons.trinity.edu in a new tab)
William F. Trench, Elementary Differential Equations, CC BY-NC-SA 3.0 · licence
Watch
-
Boundary Value Problem (Boundary value problems for differential equations)
5 min · ≈ 23 MB · about ₦13
(opens youtube.com in a new tab)
-
Eigenfunction Eigenvalue Problem
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
PDE 101: Separation of Variables! ...or how I learned to stop worrying and solve Laplace's equation
50 min · ≈ 225 MB · about ₦126
(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.