Skip to content

Mathematics · Ch 10 — Ordinary Differential Equations

Solution of Ordinary Differential Equations

10.5

Solution of Ordinary Differential Equations

Definition 10.9 (Solution of a DE). A solution of a differential equation is an expression for the dependent variable in terms of the independent variable(s) that satisfies the equation when substituted in.

Caution.

  1. A differential equation need not have any solution at all — e.g. (y′(x))2+(y(x))2+1=0\left(y'(x)\right)^2+(y(x))^2+1=0 has no real solution, since (y′(x))2=−[(y(x))2+1]\left(y'(x)\right)^2=-\left[(y(x))^2+1\right] can never be non-negative.
  2. Even when a solution exists, it need not be unique — for example, y=e2xy=e^{2x}, y=2e2xy=2e^{2x}, and y=8e2xy=8e^{2x} are all solutions of dydx−2y=0\dfrac{dy}{dx}-2y=0; in fact every function y=ce2xy=ce^{2x} (any constant c∈Rc\in\mathbb R) is a solution. Definition 10.10 (General solution). The solution containing as many arbitrary constants as the order of the differential equation is the general solution; it captures every possible solution (arbitrary constants for an ODE, arbitrary functions for a PDE). Definition 10.11 (Particular solution). Assigning particular numerical values to the arbitrary constants of a general solution — usually determined from extra given conditions — gives a particular solution. Geometrically, the general solution of a first-order equation y′=f(x,y)y'=f(x,y) represents a one-parameter family of curves in the xyxy-plane; e.g. y=ce2xy=ce^{2x} is the general solution of dydx−2y=0\dfrac{dy}{dx}-2y=0, while y=acos⁡x+bsin⁡xy=a\cos x+b\sin x (two arbitrary constants) is the general solution of d2ydx2+y=0\dfrac{d^2y}{dx^2}+y=0 — setting a=1,b=0a=1,b=0 there gives the particular solution y=cos⁡xy=\cos x. Verification technique (worked examples). To check that a given expression solves a stated differential equation, differentiate it the required number of times and substitute back until both sides agree:
  • x2+y2=r2x^2+y^2=r^2 (one constant rr) differentiates to 2x+2ydydx=0⇒dydx=−xy2x+2y\dfrac{dy}{dx}=0\Rightarrow\dfrac{dy}{dx}=-\dfrac{x}{y} — confirming it solves dydx=−xy\dfrac{dy}{dx}=-\dfrac{x}{y}.
  • y=mx+7my=mx+\dfrac{7}{m} (m≠0m\ne0, one constant) differentiates to y′=my'=m; substituting y′=my'=m and yy back into xy′+7y′−y=0xy'+\dfrac{7}{y'}-y=0 collapses both sides to 00.
  • y=(x−2)+Ce−x3y=(x-2)+Ce^{-x^3} (one constant CC) differentiates to dydx=1−3x2Ce−x3\dfrac{dy}{dx}=1-3x^2Ce^{-x^3}; substituting into dydx+3x2y−4x3=0\dfrac{dy}{dx}+3x^2y-4x^3=0 again collapses both sides to 00 after simplification. …