AP® CALCULUS AB & BC · UNIT 7
Verifying Solutions for Differential Equations
Differentiate the proposed function, substitute into the original equation, and justify whether the equality holds on an interval. Check initial conditions separately.

1. What it means to verify a solution
A proposed solution is a function, not merely a number or a point on a graph. To verify it, differentiate the function and substitute it into the original differential equation. The resulting equality must hold at every point of the interval being considered, with all required derivatives and expressions defined.
For the equation and candidate
the check is
Here is an interval where the candidate is differentiable and the original equation is defined. You can verify a supplied function without finding a general solution. A numerical mismatch at one valid input disproves a claim on an interval containing that input; a match at one input does not prove an identity.
2. A reliable verification process
- Identify the equation, candidate and interval. Note any denominator, logarithm, root or other restriction before simplifying.
- Differentiate the proposed function. Calculate each derivative that actually appears. Use the chain or product rule where needed.
- Substitute completely. Replace every occurrence of the dependent variable and its derivatives. Keep the independent variable as the input.
- Simplify and compare. Show that both sides agree identically on the stated interval, or provide a valid counterexample.
- State the conclusion. Specify whether the candidate solves the equation and on which interval.
- For an initial value problem, check the initial condition separately. A correct starting value cannot compensate for a failed differential equation.
Both and are standard derivative notation when the independent variable is clear. Use either consistently; a prime is not an error. For a second derivative, use or .
3. Functions, families and initial value problems
| Task | Candidate or data | What to check |
|---|---|---|
| A specific function | Differentiate and substitute the full candidate into the specified equation. | |
| A family with a constant | Treat and as constants; establish which values are permitted by the original equation. | |
| An initial value problem | Check the equation and the initial value independently. | |
| Several candidates | and | Test each function against the same specified equation; one result does not decide the other. |
| A constant function | The derivative is zero. Substitute the constant into the equation to test whether it is an equilibrium solution. | |
| A restricted domain | Preserve the excluded input . Verify on an interval that avoids it. |
Two independent checks for an initial value problem
A function can satisfy the differential equation but fail the initial condition. It can also pass through the initial point while failing the equation. To verify the whole initial value problem, both tests must pass on an appropriate interval containing the initial input.
For example, satisfies , but it does not satisfy , because . The function passes both checks, as Example 6 shows.
4. Eight colorful worked examples
Example 1 · Verify an exponential solution
Verify for .
1 · Differentiate the candidate
The factor comes from the derivative of the exponent.
2 · Substitute into the right side
3 · Compare on the whole interval
Both sides agree for every real input. Therefore solves the equation on .
Example 2 · Verify a polynomial solution
Verify for .
1 · Find the derivative
The constant term differentiates to zero.
2 · Compare with the prescribed rate
The equality holds on . The candidate is a solution. In fact, every member , with a real constant , has this derivative.
Example 3 · Use the product rule before substituting
Verify for .
1 · Differentiate the full product
Differentiate both factors through the product rule.
2 · Replace the dependent variable
3 · Reorder matching terms
The expressions are identical for every real input. Thus the candidate solves the equation on .
Example 4 · Verify a second-order equation
Verify for . Higher-order extension: the same substitution method works with a second derivative; the main Unit 7 sequence emphasizes first-order equations. Trigonometric inputs are in radians.
1 · Differentiate twice
2 · Substitute both terms
Substituting into the full left side gives
The left side equals the required zero for every real input. The candidate is a solution on .
Example 5 · Reject a match that occurs at only one input
Is a solution to ?
1 · Compare the actual and required derivatives
The equation instead requires . Their equality reduces to
2 · Give a valid counterexample
At , the actual derivative is , whereas the required value is .
The equality holds only at an isolated input, not on a nontrivial interval. Therefore is not a solution on any nontrivial interval. Agreement at is insufficient.
Example 6 · Verify the equation and the initial condition
Verify for the initial value problem , .
1 · Check the differential equation
The equation holds for every real input.
2 · Check the initial value independently
The candidate satisfies the initial condition as well as the equation. It solves the initial value problem on .
Example 7 · Verify infinitely many solutions
Check the family for , where is any real constant.
1 · Keep the constant while differentiating
2 · Include the zero and negative cases
The same identity holds for every real , including , which gives the zero solution. Negative constants also give solutions. Do not divide by or and accidentally discard zero.
There are infinitely many distinct solutions in this family. If the initial value is , it selects within the family.
Example 8 · Preserve the interval of a rational solution
Verify for . If is also given, identify the maximal interval containing the initial input.
1 · Record the original restriction
The candidate is undefined at . Work on an interval excluding this input.
2 · Substitute and check the initial point
3 · State the valid interval
The candidate solves the equation on each of and . For the initial value at zero, the maximal interval is . The original function is not a solution across its undefined input, even though the differential equation itself is defined there.
5. Graphs of solution families and derivative checks
These graphs illustrate two different checks. They support the algebraic reasoning; a visual match does not replace an identity proof.
One equation, several verified solutions
One matching slope does not verify an interval
The axes use independent scales. These abstract examples have no physical units. Filled dots mark comparison values, not domain endpoints. Window edges are viewing limits; the solution-family curves and both rate lines continue beyond the windows. The second panel shows derivatives, not the original parabola.
6. Derivative rules and constant parameters
| Rule | Formula | Check |
|---|---|---|
| Product rule | Use both terms when the candidate is a product. | |
| Chain rule | Multiply by the derivative of the inner function. | |
| Exponential | Treat as constant. | |
| Sine | Use radians and include the factor . | |
| Cosine | Use radians and retain the minus sign. |
For second-order extensions: calculate both derivatives explicitly before substitution. For example, has first derivative and second derivative . The second derivative is not the square of the first derivative.
For a family: differentiate the arbitrary constant correctly and check all parameter values allowed by the equation. Showing a family consists of solutions does not, by itself, prove that it contains every possible solution.
7. Eight practice questions with complete solutions
1. Exponential decay
Is a solution to ?
Show complete solution
1 · Differentiate and substitute
2 · Conclude on an interval
Yes. The two sides agree identically on .
2. A polynomial candidate
Is a solution to ?
Show complete solution
1 · Find the derivative
2 · Compare with the original equation
Yes. This is exactly the prescribed right side, for every real input. The candidate solves the equation on .
3. Second-order verification extension
Is a solution to ? Use radians.
Show complete solution
1 · Differentiate twice
2 · Substitute into the full equation
Yes. The equality holds on .
4. Passing through an initial point is not enough
Does solve with ?
Show complete solution
1 · Test the equation
The extra constant disappears when differentiated, but remains in the original right side. The differential equation fails.
2 · Test the initial condition
The initial condition passes. The full initial value problem does not: both checks are required.
5. Find a parameter by checking a family
For which real does satisfy ? Which member satisfies ?
Show complete solution
1 · Verify the family first
Every real passes the equation check on .
2 · Apply the initial condition
The selected member is , and it passes both checks.
6. Substitute every occurrence of the function
Verify for , .
Show complete solution
1 · Compare both sides
2 · Check the starting value
The candidate satisfies the equation and the initial condition on .
7. A constant solution must not be lost
Check for , .
Show complete solution
1 · Substitute the constant
2 · Verify the initial condition
Yes. This is an equilibrium solution on . Dividing by would discard it; direct substitution into the original equation preserves it.
8. Check differentiability before claiming an identity
Does solve on an open interval containing zero?
Show complete solution
1 · Check each side of zero
For , the derivative is ; for , it is . Its square is on either of those separate intervals.
2 · Check the joining input
At zero, the left and right difference-quotient limits are and . The derivative does not exist there.
Therefore the candidate is not a solution on an open interval containing zero. It does solve the equation separately on and .
8. Common mistakes and AP-style explanations
- Chain-rule factors: differentiate the exponent or inner trigonometric argument; keep its multiplier.
- Complete substitution: replace the dependent variable on the right as well as the derivative on the left.
- Equivalent expressions: rearrange, factor or expand before deciding two expressions differ.
- Point checks: an isolated agreement is not a solution on an interval. A valid mismatch is enough to reject the claimed interval.
- Initial values: report the equation result and the initial-condition result separately.
- Domains and derivatives: an algebraic cancellation cannot make an undefined function value or missing derivative valid.
- Constants: retain the constant during differentiation and test zero or equilibrium values directly.
A clear AP-style justification
State the derivative, show the substituted right side, establish the equality on the stated interval, then give the conclusion. For an initial value problem, also show the initial-value calculation. This is a communication checklist, not a guarantee of a particular examination score.
9. Questions about verifying differential equations
Do I need to solve the differential equation first?
No. A proposed function is already supplied. Differentiate it and substitute into the original equation; finding a general solution is a different task.
Is one matching value enough?
No. The equality must hold throughout the interval. In Example 5, and agree at zero but differ at every other input.
Can I disprove a candidate using one value?
Yes, if the input belongs to the claimed interval and all expressions are defined there. A mismatch at that input disproves a universal equality on that interval.
Can the differential equation have infinitely many solutions?
Yes. For instance, every real constant gives a solution to . The initial condition can select a member of this verified family.
Can the initial condition be true while the equation is false?
Yes. The preserved candidate has , but its derivative is , not . It fails .
Is prime notation acceptable?
Yes. The notations and both describe the derivative with respect to , when that variable is clear. A second derivative can be written or .
Why do intervals matter?
A solution must have the required derivatives throughout its interval, and the original equation must be defined there. The rational candidate in Example 8 cannot be verified across , where the function is undefined.
10. Continue through Unit 7
Topic 7.1 builds an equation from a situation; this topic checks whether a given function satisfies it. Next, slope fields connect a differential equation with the local directions of its solution curves.
Keep the distinction clear: verifying an equation, verifying an initial value, and finding a solution are related tasks with different requirements.