Mistake Master
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.
Read all 12 steps as text
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.
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.
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.
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.
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\).
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.
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.
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\).
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.
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.
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.
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.