Verifying Solutions, Second Derivatives and Tangent-Line Estimates

AP Calculus AB · Unit 7 — Differential Equations

Verifying a solution

A function is a solution of a differential equation when substituting it and its derivatives makes the equation an identity for every $x$ in the domain. To verify that $y=3e^{2x}-x-\frac12$ solves $\dfrac{dy}{dx}=2y+2x$: left side $y'=6e^{2x}-1$; right side $2\left(3e^{2x}-x-\frac12\right)+2x=6e^{2x}-1$. The two sides agree identically, so it is a solution. Checking at a single point is not a verification, and neither is solving the equation from scratch.

The second derivative from the equation

Given $\dfrac{dy}{dx}=F(x,y)$, differentiate both sides with respect to $x$, remembering that every $y$ carries a factor $\dfrac{dy}{dx}$, then replace $\dfrac{dy}{dx}$ by $F(x,y)$ so that the result contains only $x$ and $y$. Example: $\dfrac{dy}{dx}=x-y$ gives $\dfrac{d^2y}{dx^2}=1-\dfrac{dy}{dx}=1-(x-y)=1-x+y$.

Tangent-line estimate and its direction

The equation hands you the slope at the initial point. With $y(1)=2$ and $\dfrac{dy}{dx}=x-y$: slope $1-2=-1$, tangent line $y=2-(x-1)$, so $y(1.2)\approx1.8$. Over- or underestimate comes from $\dfrac{d^2y}{dx^2}$ at the point: $1-1+2=2\gt0$, so the solution curve is concave up there, the tangent line lies below the curve, and $1.8$ is an underestimate. The rubric wants all three: the sign of $\dfrac{d^2y}{dx^2}$, the word "concave", and the conclusion.

Worked example: tangent line, second derivative and verification

Given the differential equation $\dfrac{dy}{dx}=x^2-y$ and let $f$ be the solution with $f(1)=3$. (a) Write the equation of the tangent line at $(1,3)$ and use it to estimate $f(1.1)$. (b) Find $\dfrac{d^2y}{dx^2}$ in terms of $x$ and $y$. (c) Is the estimate in (a) an overestimate or an underestimate? Explain. (d) Verify that $y=x^2-2x+2+Ce^{-x}$ is a solution for every constant $C$.

Solution

(a) The slope at $(1,3)$: $1^2-3=-2$. Tangent line $y=3-2(x-1)$, so $f(1.1)\approx3-2(0.1)=2.8$.

(b) $\dfrac{d^2y}{dx^2}=2x-\dfrac{dy}{dx}=2x-(x^2-y)=2x-x^2+y$.

(c) At $(1,3)$: $\dfrac{d^2y}{dx^2}=2-1+3=4\gt0$. Since $\dfrac{d^2y}{dx^2}\gt0$ at $(1,3)$, the graph of $f$ is concave up near $x=1$, so the tangent line lies below the curve and $2.8$ is an underestimate of $f(1.1)$.

(d) $y'=2x-2-Ce^{-x}$. Right side: $x^2-y=x^2-(x^2-2x+2+Ce^{-x})=2x-2-Ce^{-x}$. The two sides are equal for every $x$ and every $C$, so this is a solution.

Common mistake

One: a second derivative that still contains $\dfrac{dy}{dx}$ — when the problem says “in terms of $x$ and $y$” you must substitute back; leaving it as is loses marks even if it is correct. Two: concluding over/underestimate without stating the sign of $\dfrac{d^2y}{dx^2}$ and the words “concave up/down” — writing only “underestimate” earns 0 reasoning marks. Three: evaluating $\dfrac{d^2y}{dx^2}$ at the point by substituting only $x$ and forgetting $y$ — the formula has both variables. Four: “verifying a solution” by testing $x=0$: being right at one point says nothing.

Key takeaway

Verification = substitute, and both sides coincide for all $x$. Second derivative = differentiate the equation and then substitute $\dfrac{dy}{dx}$ back. For the tangent line, take the slope straight from the equation; over or under is decided by the sign of $\dfrac{d^2y}{dx^2}$ at the starting point, and you must write the sign, the word “concave”, and the conclusion.

← Exponential Models in Context · All AP Calculus AB lessons · Practice AP Calculus AB questions (free, instant scoring) · Average Value and Motion Revisited →