Business Mathematics and Basic Statistics · Ch 15 — Differential Equations
Verifying a Solution of a Differential Equation
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:
- If the candidate solution is given explicitly as , differentiate directly. If it is given implicitly as a relation between and (e.g. ), differentiate implicitly with respect to , remembering that by the chain rule.
- Substitute the resulting expression for (and , if the differential equation is second order) into the differential equation.
- If any arbitrary constant from the candidate solution still appears after substitution, use the original relation to express that constant in terms of and , and substitute it out too — the final check should confirm an identity that holds for every , with no leftover constant unless the differential equation itself was stated to still contain one.
- 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 (for any constant ) solves . Differentiating, . Substituting into the left side of the differential equation, , which is exactly (the right side) — the identity holds for every and every , so is confirmed as the general solution.
Verification Is Not an Optional Extra Step …
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 …