How do you check whether a given function is a solution of a differential equation?
Topic 7.2 Verifying Solutions for Differential Equations: verify that a proposed function satisfies a differential equation by substitution.
A focused answer to AP Calculus AB Topic 7.2, verifying that a proposed function solves a differential equation by differentiating and substituting into both sides, with worked checks of general and particular solutions.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this topic is asking
The College Board (Topic 7.2) asks you to verify that a given function is a solution of a differential equation. You differentiate the proposed function, substitute it (and its derivative) into the equation, and check that both sides are equal as an identity.
The verification method
A worked verification
General versus particular solutions
A differential equation usually has a family of solutions involving an arbitrary constant (the general solution); fixing the constant with an initial condition gives one particular solution. Verification works for both. In the worked example, the constant cancelled, confirming that the whole family solves the equation. When a specific function is claimed (no free constant) and an initial condition is stated, you verify both that it satisfies the equation and that it passes through the required point. This mirrors the distinction made when solving by separation of variables in the later topics.
Why verification is a separate, scoreable skill
Verification is examined on its own because it tests whether you understand what "solution" means: a function that, together with its derivative, makes the equation an identity. It is also a useful check after solving, since substituting your answer back catches algebra errors. The marks come from showing the substitution into both sides and the simplification, not just asserting the result. The most common error is differentiating incorrectly, especially forgetting the chain rule on an exponential like , which then makes the two sides fail to match even for a correct solution. Differentiate carefully, then substitute fully.
Verifying solutions of higher-order equations
Some verification problems involve a second derivative, for example checking that solves . The method is unchanged: differentiate as many times as the equation requires, substitute and all its needed derivatives, and confirm the equation holds identically. For , , and matches the right side, so it is a solution. The discipline is simply to compute every derivative the equation mentions before substituting, and to keep the chain rule and product rule accurate through the higher derivatives, where errors are easier to make.
Using verification as a confidence check
Beyond being its own question type, verification is the most reliable way to check work after solving a differential equation. Once you have produced a candidate solution by separation of variables, differentiating it and substituting into the original equation confirms whether the algebra was correct. If the two sides do not match, you have caught an error before it costs marks elsewhere. Because differentiation is generally more dependable than the integration and algebra involved in solving, this back-substitution is a cheap and powerful safeguard. Treat it as the final step of any solve, not only as a standalone task.
Exam-style practice questions
Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AP 2021 (style)1 marksSection I (multiple choice, no calculator). Which function satisfies ? (A) (B) (C) (D) Show worked answer →
The correct answer is (B), .
If then , which matches. For (D), gives .
AP 2023 (style)3 marksSection II (free response, no calculator). Show that is a solution of the differential equation , and find .Show worked answer →
A 3-point verification question.
(2 points) Differentiate: . Compute the right side: . Both sides equal , so satisfies the equation.
(1 point) .
Related dot points
- Topic 7.1 Modeling Situations with Differential Equations: write a differential equation from a verbal description of a rate of change.
A focused answer to AP Calculus AB Topic 7.1, translating verbal descriptions of rates of change into differential equations, including proportionality and combined-rate models, with worked translations.
- Topic 7.6 Finding General Solutions Using Separation of Variables: solve a separable differential equation for the general solution.
A focused answer to AP Calculus AB Topic 7.6, solving separable differential equations by separating variables and integrating both sides to find the general solution, with worked examples and the constant of integration.
- Topic 7.7 Finding Particular Solutions Using Initial Conditions and Separation of Variables: solve an initial value problem by separation and applying the initial condition.
A focused answer to AP Calculus AB Topic 7.7, solving initial value problems by separating variables, integrating, and using the initial condition to find the constant, with worked examples and the domain of the particular solution.
- Topic 7.8 Exponential Models with Differential Equations: derive and apply the exponential growth and decay model from a proportional-rate differential equation.
A focused answer to AP Calculus AB Topic 7.8, deriving the exponential model from a proportional-rate differential equation and applying it to growth, decay and half-life problems, with worked examples.
- Topic 3.6 Calculating Higher-Order Derivatives: find second and higher-order derivatives and interpret their notation.
A focused answer to AP Calculus AB Topic 3.6, on second and higher-order derivatives, their notation, how to compute them by differentiating repeatedly, and what the second derivative means physically, with worked examples.
Sources & how we know this
- AP Calculus AB and BC Course and Exam Description — College Board (2020)