Skip to content

Business Mathematics and Basic Statistics · Ch 15 — Differential Equations

Verifying a Solution of a Differential Equation

5

Verifying a Solution of a Differential Equation

Whether a solution was reached by variable separation (§4) or was simply given as a candidate function to check, the same direct test confirms whether it genuinely satisfies a differential equation: differentiate the candidate solution, then substitute both the candidate and its derivative(s) back into the original differential equation, and confirm the two sides become identical.

Method:

  1. If the candidate solution is given explicitly as y=f(x)y = f(x), differentiate directly. If it is given implicitly as a relation between xx and yy (e.g. y2=4axy^2 = 4ax), differentiate implicitly with respect to xx, remembering that ddx(y2)=2ydydx\dfrac{d}{dx}(y^2) = 2y\dfrac{dy}{dx} by the chain rule.
  2. Substitute the resulting expression for dydx\dfrac{dy}{dx} (and d2ydx2\dfrac{d^2y}{dx^2}, if the differential equation is second order) into the differential equation.
  3. If any arbitrary constant from the candidate solution still appears after substitution, use the original relation to express that constant in terms of xx and yy, and substitute it out too — the final check should confirm an identity that holds for every xx, with no leftover constant unless the differential equation itself was stated to still contain one.
  4. Confirm the left side and right side of the differential equation match exactly. If they do, the candidate genuinely is a solution; if they do not, either the candidate or the differentiation contains an error.

Illustration: verify that y=kxy=kx (for any constant kk) solves xdydx=yx\dfrac{dy}{dx}=y. Differentiating, dydx=k\dfrac{dy}{dx}=k. Substituting into the left side of the differential equation, x⋅k=kxx\cdot k = kx, which is exactly yy (the right side) — the identity holds for every xx and every kk, so y=kxy=kx is confirmed as the general solution.

Note

Verification Is Not an Optional Extra Step …

Definition 7Verifying a solution

Differentiating a candidate solution (implicitly, if needed) and substituting the result back into the differential equation, eliminating any leftover arbitrary constant via the original relation, to c …