Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Calculus · Unit 7 · Step-Through Animation

Verifying Solutions for Differential Equations

The Answer Is a Function

You'll learnto test a candidate by computing both sides of the equation separately, to see why agreement at one input proves nothing, and to finish an initial value problem by using the point you were given.

Solving an algebraic equation produces a number. Solving a differential equation produces a function, and checking one means doing something you already know how to do: differentiate the candidate, that is the left side; substitute the candidate wherever y appears, that is the right side; then ask whether the two are the same expression, for every value of the variable. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · BOTH SIDES, EVERY INPUT, EVERY GIVEN FACT · v2

Differentiate one side, substitute the other, then compare
Before you start
What you're looking at
Two boxes, one for each side of the equation. The left box differentiates the candidate; the right box substitutes it. A teal line underneath says whether they agree.
The question
Do the two sides come out as the same expression — and if a point was supplied as well, does the candidate pass through it?
Step 1 / 12

Read all 12 steps as text
Step 1

A candidate function

Solving \(x^{2} - 5x + 6 = 0\) asks which numbers make a statement true. \(\frac{dy}{dx} = 2y\) asks which functions do, and here is one to test.

Step 2

Two sides, computed separately

The equation has two sides and both depend on the candidate. Differentiate it for the left side, substitute it for the right side, then compare the two expressions.

Step 3

A candidate that does not fit

Now try \(y = 2e^{3x}\). The left side is \(6e^{3x}\) and the right side is \(4e^{3x}\) — two different expressions, so no value of \(x\) can rescue it.

Step 4

Touching at one point

\(y = e^{2x}\) is the solution through \((0, 1)\) and \(y = 1 + 2x\) is its tangent line there. They leave that point together, with the same slope, and separate at once.

Step 5

One input is not a check

Run the ledger on that line. The left side is the constant \(2\) and the right side is \(2 + 4x\), and those agree only where \(4x = 0\).

Step 6

More derivatives, same method

For \(y'' + 9y = 0\) with \(y = \sin(3x)\), the left side is the whole expression, so differentiate twice and build it. The procedure does not change.

Step 7

A whole family

\(\frac{dy}{dx} = 2y\) does not have a solution: \(y = Ce^{2x}\) passes the check for every \(C\), because the coefficient survives both operations and cancels out of the comparison.

Step 8

A point picks one member

Substituting \(x = 0\) into the family gives \(y(0) = Ce^{0} = C\), so a supplied point reads the constant off directly: \(y(0) = 1\) gives \(C = 1\).

Step 9

An initial value problem asks twice

For \(\frac{dy}{dx} = 2y\) with \(y(0) = 5\) there are two separate tests, and a candidate can pass either one alone.

Step 10

Half a check proves nothing

A student tests \(y = x^{2} + 1\) in \(\frac{dy}{dx} = 2x\), substitutes into the right side, gets \(2x\), and stops. The right side holds no \(y\), so substituting changed nothing.

Step 11

A family is not an answer

\(y = Ce^{2x}\) really does satisfy the equation, so that check passes — but the problem also supplied \(y(0) = 5\), and a family with a constant still in it is not one function.

Step 12

The routine

Differentiate the candidate, substitute it wherever \(y\) appears, and compare the two as expressions rather than as numbers at one input. Then ask whether you used the point.