Unit 7 · Topic 7.2 · about 30 minutes · 7 parts · 12 scored checks, 4 of them multiple choice

AP Calculus AB 7.2: Verifying Solutions for Differential Equations

Unit 7: 5 to 10% of the multiple-choice section

What you'll be able to do

  • Verify that a function, or a whole family of functions with a constant in it, solves a given differential equation by differentiating and substituting.

Key vocabulary

TermWhat it meansThe exam trap
Differential equationAn equation that relates a function of an independent variable to one or more of the function's derivatives, such as dydx=2y−2.Read which variable is independent and which is the function before you differentiate anything.
Solution of a differential equationA function that, with its derivatives substituted in, makes the equation true for every input in an interval.Treat the check as a claim about every input on the interval, and simplify each side as an expression rather than plugging in a single value.
VerifyTo show a proposed function is a solution by differentiating it, substituting into the equation, and simplifying until both sides match.Work on each side separately; writing the equation as true before you have shown it assumes the result you are checking.
Family of solutionsA set of solutions written with one arbitrary constant, so that each value of the constant gives one function in the set.Where the constant sits depends on the equation, so verify a family with the constant kept as a letter before trusting it.
Four temperature curves of the form T = 20 + C e to the (-0.1t), for t from 0 to 30 minutes, with C = 70, 40, 0 and -15. The curves with C = 70 and C = 40 start at 90 and 60 and fall toward 20, C = 0 is the horizontal line T = 20, and C = -15 starts at 5 and rises toward 20.Tap to open the picture full size

Part 1 Think first Which model of the cooling coffee is right?

Make a guess before the lesson starts. Committing to an answer, even a wrong one, helps the right one stick.

Predict first

A cup of coffee at 90 degrees Celsius sits in a 20-degree room. Newton's law of cooling says its temperature T changes at the rate dTdt=−0.1(T−20) degrees per minute, where t is in minutes. Two friends propose models: T=20+70e−0.1t and T=90−7t. Both start at 90 degrees, and both cool at 7 degrees per minute at t=0. Which model obeys the law of cooling?

In short. A function is a solution of a differential equation when substituting the function and its derivatives into the equation makes the two sides equal for every input in an interval.

  • To verify, differentiate, substitute into both sides, and simplify until the two sides are the same expression. You never have to solve the equation to do this.
  • Keep any constant as a letter while you check, so one calculation tests a whole family of functions at once.
  • A differential equation may have infinitely many solutions, often one for each value of a constant, but some have fewer and some have none.

Part 2 Learn it Three short ideas, each checked as you go

7a. A solution makes the equation true at every input

A differential equation relates a function to its derivatives. A solution is a function that makes the equation true for every input in an interval, not just at one point.

To verify a solution, differentiate it, substitute the function and its derivative into the equation, and simplify each side until the two sides are the same expression.

Take dydx=2y−2 and the function y=3e2x+1.

  • Left side: dydx=6e2x, by the chain rule.
  • Right side: 2y−2=2(3e2x+1)−2=6e2x.

The two sides are the same expression, so they agree at every x, and y=3e2x+1 is a solution.

Now try y=2x+4. Its derivative is 2, and 2y−2=4x+6. Those are equal only when x=−1. One matching point is not enough, so y=2x+4 is not a solution.

An equation with a second derivative works the same way: find d2ydx2 as well, and substitute everything the equation names. You never have to solve the equation to check a proposed answer.

Quick check · Calculate

No calculator. For what constant k is y=kx3 a solution of xdydx−y=8x3?

7b. A constant can give infinitely many solutions

Keep a constant as a letter when you differentiate, and one calculation checks a whole family of functions.

The coffee from the start cools by dTdt=−0.1(T−20). Try T=20+Ce−0.1t, where C is any constant.

  • Left side: dTdt=−0.1Ce−0.1t.
  • Right side: −0.1(T−20)=−0.1(Ce−0.1t)=−0.1Ce−0.1t.

The sides match for every t and every value of C. So this one equation has infinitely many solutions, one for each C. The graph at the top shows four of them. C=70 is the coffee starting at 90 degrees, and C=−15 is an iced drink at 5 degrees warming toward the room. C=0 gives T=20, a drink already at room temperature, which stays there.

Where the constant can go depends on the equation. Adding 5 to these solutions gives T=25+Ce−0.1t, and then the right side is −0.1Ce−0.1t−0.5, which no longer matches the derivative. A family is a solution only after you have verified it.

Quick check · Sort it

No calculator. Each card is a function. Tap a card, then tap whether it is a solution of dydx=−2y.

Solves it

Does not solve it

7c. Many solutions is common, not guaranteed

The careful statement is that a differential equation may have infinitely many solutions. Most of the equations in this unit do, because a constant in the solution can take any value. Not every equation does.

Some solutions are constant functions. For dydx=3y−6, the function y=2 has derivative 0, and 3(2)−6=0, so it works. A constant is easy to miss because it does not look like the other members of a family.

A solution also only has to work on an interval. y=x solves dydx=12y for x>0, even though it is not defined for x<0.

So do not decide how many solutions an equation has by its look. Verify the candidates you are given, and let the algebra say which ones work.

Quick check · Multiple choice

No calculator. Which of these functions is a solution of dydx=12−3y?

Part 3 Watch it done Verifying a whole family at once

Watch each step, then finish the last one yourself.

Determine which values of the constant C make y=x2+Cx a solution of xdydx+y=3x2 for x>0.

Predict first

Before the steps open: for how many values of C do you expect y=x2+Cx to be a solution?

  1. Step 1 · Differentiate

    Write y=x2+Cx−1. The power rule gives dydx=2x−Cx−2=2x−Cx2.

  2. Why this step?

    Why keep C as a letter instead of picking a number for it?

    A number checks one function. With the letter, a single calculation checks every member of the family, which is exactly what the problem asks.

  3. Step 2 · Build the first term of the left side

    xdydx=x(2x−Cx2)=2x2−Cx.

  4. Your step · Fill the statement

    No calculator. Finish it. Tap a blank, then tap an answer.

    Add y to get the whole left side: xdydx+y=(2x2−Cx)+ = . Compare it with the right side, 3x2: the equation holds for every x>0 for .

Part 4 Try it A family, then a second derivative

Try it · Decide and justify

No calculator. A classmate says y=Ce3x is a solution of dydx=3y only when C=1. Is the classmate right?

Which reason supports your answer?

Try it · Calculate

No calculator. For what positive constant k is y=sin⁡(kx) a solution of d2ydx2+9y=0?

Part 5 Explain it Write it as a free-response answer

Free response on the exam is written by hand, so do this one on paper. Nothing you type here leaves the page. When you are done, open the model answer and score yourself against each point.

Free response is 50% of the exam score. This one is shaped like Question 5, from free-response Part B (calculator not permitted).

Free-response practice · Question 5 style

No calculator. A pot of soup is set to cool in a kitchen kept at 25 degrees Celsius. The temperature of the soup, T degrees Celsius after t minutes, changes according to the differential equation dTdt=−0.2(T−25).

(a) Verify that T=25+75e−0.2t is a solution of the differential equation.

(b) Verify that T=25+Ce−0.2t is a solution for every constant C. Explain what this tells you about the number of solutions of the differential equation.

(c) A classmate proposes T=100e−0.2t, which also gives a starting temperature of 100 degrees Celsius. Determine whether this function is a solution of the differential equation. Justify your answer.

Model answer

(a) dTdt=75(−0.2)e−0.2t=−15e−0.2t. Also −0.2(T−25)=−0.2(75e−0.2t)=−15e−0.2t. The two sides are equal for every t, so T=25+75e−0.2t is a solution.

(b) dTdt=−0.2Ce−0.2t, and −0.2(T−25)=−0.2(Ce−0.2t)=−0.2Ce−0.2t. The sides are equal for every t and every constant C, so the differential equation has infinitely many solutions, one for each value of C.

(c) dTdt=−20e−0.2t, but −0.2(T−25)=−0.2(100e−0.2t−25)=−20e−0.2t+5. The two sides differ by 5 degrees Celsius per minute at every t, so T=100e−0.2t is not a solution.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself Four models of salt in a tank

Both case questions use the equation and the table. Work each model out from its formula.

Salt water flows into a tank, and the well-mixed water flows out. The amount of salt in the tank, A kilograms after t minutes, satisfies the differential equation dAdt=6−0.3A. Four students each propose a model for A.

Four proposed models for the amount of salt
ModelA(t), in kilograms
P20−20e−0.3t
Q20+15e−0.3t
R20e−0.3t
S20

Case question 1 · Multiple choice

No calculator. Which of the four models are solutions of dAdt=6−0.3A?

Case question 2 · Calculate

No calculator. For model R, the expression dAdt−(6−0.3A) has the same value at every time t. What is that value?

The rest stand on their own and do not use the case.

Check yourself · Spot the error

No calculator. A student checks whether y=4e2x−3 is a solution of dydx=2y+6. Tap the first line with a mistake.

Check yourself · Match

No calculator. Each family of functions is a solution of exactly one of these differential equations for every constant C (take x>0). Tap an equation, then the family that solves it.

Part 7 Keep it Bring back earlier ideas

Verifying leans on writing a differential equation from words and on the chain rule. Pulling both back up is what keeps them.

Bring it back · Multiple choice

No calculator. The volume V of water in a leaking tank, in liters, decreases at a rate proportional to the square root of the volume. If t is time in minutes and k is a positive constant, which differential equation models this?

Bring it back · Multiple choice

No calculator. If h(x)=sin⁡(4x2), what is h′(x)?

In three lines

  • To verify a solution, differentiate, substitute into both sides, and simplify until the sides are identical for every input.
  • Keep a constant as a letter, and one check covers a whole family: often infinitely many solutions, one for each value of C.
  • Infinitely many is common, not guaranteed: some equations have only a few solutions or none, so verify every candidate.

Exam strategy for this topic

  • Section I Part A, Multiple Choice (calculator not permitted): 29 questions in 62 minutes.
  • Section I Part B, Multiple Choice (graphing calculator required): 13 questions in 38 minutes.
  • Section II Part A, Free Response (graphing calculator required): 2 questions in 30 minutes.
  • Section II Part B, Free Response (calculator not permitted): 4 questions in 60 minutes.

When a free-response part says verify, write the derivative first, then substitute the function and its derivative into each side and simplify each side on its own until they match. Do not start from the equation as if it were already true. A final sentence such as "the two sides are equal for every t, so this is a solution" earns the conclusion.

Questions students ask

Do I have to solve the differential equation to check a solution?

No. Verifying only needs derivatives: differentiate the proposed function, substitute, and simplify. Solving an equation from scratch comes later in the unit.

Why is matching at one point not enough?

A differential equation describes the function everywhere on an interval. Two different expressions can be equal at one input and differ at all the others, like the linear coffee model that matched the cooling law only at t=0.

Does every differential equation have infinitely many solutions?

No. Many do, usually because a constant in the solution can take any value, but some have only a few and some have none. Verify each candidate rather than assuming.

Can a constant function be a solution?

Yes, when its derivative, 0, makes the equation true. For dydx=3y−6, the function y=2 works, because 3(2)−6=0.

How do I verify an equation with a second derivative?

Differentiate twice, keeping every chain rule factor, and substitute the function, its first derivative and its second derivative wherever the equation names them. Then simplify as usual.

Course alignment, for teachers

AP Calculus AB topic 7.2, Unit 7: Differential Equations.

  • Skill 3.G: Confirm that solutions are accurate and appropriate.

This lesson maps all 2 essential knowledge statements of the topic to the part that teaches each one: 2 are checked by a scored question. The map is in the lesson file.