Educerie · AP · Calculus
AP Calculus AB and BC 7.2
Verifying Solutions for Differential Equations
If someone hands you a function and says it solves a differential equation, how do you know they are right?
What you will learn
- Understand that a function is a solution when it and its derivative make the equation true for every x in the interval
- Know that a differential equation may have infinitely many solutions because the constant vanishes when differentiated
- Understand that an initial condition must be checked separately from the equation
- Know how to verify solutions given explicitly or implicitly
You must be able to
- Verify that a given function solves a differential equation by showing both sides
- Choose the solution from four functions by differentiating and comparing
- Choose the differential equation that a given function satisfies
- Check an initial condition as well as the equation
- Find the value of a constant that makes a function a solution
- Explain why one equation has infinitely many solutions
In the exam. Section I multiple choice: "which of the following is a solution to the differential equation?", or "which differential equation does this function satisfy?". The check is short, so these are often early Part A questions, but the function may need the chain, product or quotient rule, or implicit differentiation. In Section II the same check appears as a "show that" part, sometimes with an initial condition to confirm as well. Justification is the skill: the exam wants the derivative worked out and compared, not a statement that it works.
1The check, step by step
Take the equation and the function and do these in order.
- Differentiate the function to get .
- Write the left side of the equation using that derivative.
- Write the right side by putting the function in place of .
- Simplify both sides. If they are equal for all , the function is a solution.
Show both sides. A check with only "yes, it works" earns nothing.
Worked example 1. Verify that is a solution of .
The left side is and the right side is . They match, so is a solution.
Worked example 2. Verify that satisfies .
The two sides are equal, so it is a solution.
Worked example 3 (a product). Verify that is a solution of .
By the product rule:
Substitute in the left side:
This equals the right side, so it is a solution. The terms cancel. That canceling is the sign you are on the right track.
2When a function is not a solution
Checking can fail. That is a legitimate result, and a question may ask for it.
Worked example 4. Is a solution of ?
The derivative is . The right side is . The sides are and . These are equal only at and , not for all , so is not a solution.
Equal at one or two points is not enough. The sides must match at every in the interval.
3Finding the constant that makes it work
Sometimes a function has an unknown constant, and you find it by demanding that it solves the equation.
Worked example 5. For what value of is a solution of ?
Setting and dividing by , which is never zero, gives .
4Infinitely many solutions
In Worked example 1, is a solution. So is , and , and for any constant . Each has derivative .
The constant disappears when you differentiate, so the equation cannot tell the constants apart. A differential equation may have infinitely many solutions, one for each choice of the constant.
- A solution with a constant in it describes the whole family. It is called a general solution (Topic 7.6).
- A solution with a number in place of is a particular solution (Topic 7.7).
The exam can ask you to say this. "There is more than one function whose derivative is " is the idea.
5Checking an initial condition too
An initial condition such as says that the graph passes through . A function can solve the equation and still fail the condition.
Worked example 6. Verify that is the solution of with .
First the equation.
The sides are equal. Now the condition.
Both checks pass. The function is the solution that fits.
Now ask: is also a solution of the equation? Its derivative is . The right side is . The sides are equal, so yes. But , not . So solves the equation but not this problem. Two functions, one equation, one initial condition: only one of them fits.
6Implicit solutions, and other functions
A solution may be given as an equation in and rather than . Check it with implicit differentiation.
Worked example 7. Verify that satisfies wherever .
Differentiate both sides with respect to :
This is the equation. The check passes. Topic 7.6 solves this equation to get the same family of circles.
Worked example 8 (a trigonometric function). Verify that satisfies for .
The identity makes the two sides equal. The interval matters: is not defined at , so the check holds only between those values. A solution can have a restricted domain.
Worked example 9 (a logarithm). Verify that satisfies for .
The derivative is . So . The left side equals the right side for every .
7Choosing among options
In multiple choice, the quickest path is usually to test the options, not to solve.
- Which function is a solution? Differentiate each option and compare with the right side. Stop when one matches.
- Which equation does this function satisfy? Differentiate the function once. Then look for the option that rewrites in terms of and .
A shortcut for multiple choice. If the question gives an initial condition, test it first. An option that fails can be thrown out without any differentiating. If two options pass, differentiate those two only. Another shortcut: look at the form of the right side. If it is , the answer is an exponential, and if it is a function of alone, the answer is an antiderivative plus a constant.
Worked example 10. Which differential equation does satisfy?
By the product rule, . Since , this is .
The step that wins the mark is replacing by . If an option has and combined that way, it is the match.
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.