Educerie

Educerie · AP · Calculus

Unit 9 Parametric Equations, Polar Coordinates, and Vector-Valued Functions · 9.2 Second Derivatives of Parametric Equations

BC only. This topic is on the Calculus BC exam and not on the AB exam.

Big ideas: CHA (Change): the second derivative says how the slope itself is changing. For a parametric curve it takes one extra step, because everything is still measured against tt.

The question this unit answers: How do you do calculus on curves that move, spiral or loop, where yy is not a single function of xx?

Where it is examined: Section I multiple choice: "if x=t2+1x = t^{2} + 1 and y=t3−3ty = t^{3} - 3t, what is d2ydx2\dfrac{d^{2}y}{dx^{2}} at t=2t = 2?" or a question on where the curve is concave up. In Section II it is a justification part: "Find d2ydx2\dfrac{d^{2}y}{dx^{2}} and say whether the curve is concave up or down at t=3t = 3." It is one of the most common places to lose a point on a BC curve question.


AP Calculus AB and BC 9.2

Second Derivatives of Parametric Equations

How do you do calculus on curves that move, spiral or loop, where yy is not a single function of xx?

What you will learn

  • Know that d2y ÷ dx2 is the derivative of dy ÷ dx with respect to t, divided by dx ÷ dt
  • Understand why dividing second derivatives in t is wrong
  • Understand how the sign of d2y ÷ dx2 gives concavity, maxima, minima and inflection points

You must be able to

  1. Calculate d2y ÷ dx2 for a parametric curve and evaluate it at a value of t
  2. Decide concavity at a point and give the sign as the reason
  3. Justify a relative maximum or minimum at a horizontal tangent
  4. Show a sign change to justify a point of inflection
  5. Evaluate a messy second derivative on the calculator to three places

1The formula

Start with the slope. Call it m=dydxm = \dfrac{dy}{dx}, a function of tt. By the chain rule, dmdt=dmdx⋅dxdt\dfrac{dm}{dt} = \dfrac{dm}{dx}\cdot\dfrac{dx}{dt}. Solve for dmdx\dfrac{dm}{dx}, which is d2ydx2\dfrac{d^{2}y}{dx^{2}}.

d2ydx2=ddt(dydx)dxdt,dxdt≠0differentiate the slope with respect to t, then divide by dx/dt\frac{d^{2}y}{dx^{2}} = \frac{\dfrac{d}{dt}\left(\dfrac{dy}{dx}\right)}{\dfrac{dx}{dt}}, \qquad \frac{dx}{dt} \neq 0 \qquad \textcolor{#838c91}{\text{differentiate the slope with respect to t, then divide by dx/dt}}

Follow the same three steps every time.

  1. Find the slope, dydx=dy/dtdx/dt\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt}, as an expression in tt.
  2. Differentiate that expression with respect to tt. It is a quotient, so you often need the quotient rule or the chain rule.
  3. Divide by dxdt\dfrac{dx}{dt}.

d2ydx2\dfrac{d^{2}y}{dx^{2}} is not d2y/dt2d2x/dt2\dfrac{d^{2}y/dt^{2}}{d^{2}x/dt^{2}}, and it is not ddt(dydx)\dfrac{d}{dt}\left(\dfrac{dy}{dx}\right) alone. The last division by dxdt\dfrac{dx}{dt} is part of the answer.

2A worked example

The curve from 9.1: x=t2+1x = t^{2} + 1, y=t3−3ty = t^{3} - 3t.

dydx=3t2−32t=32(t−1t)step 1: the slope\frac{dy}{dx} = \frac{3t^{2} - 3}{2t} = \frac{3}{2}\left(t - \frac{1}{t}\right) \qquad \textcolor{#838c91}{\text{step 1: the slope}}ddt(dydx)=32(1+1t2)step 2: differentiate with respect to t\frac{d}{dt}\left(\frac{dy}{dx}\right) = \frac{3}{2}\left(1 + \frac{1}{t^{2}}\right) \qquad \textcolor{#838c91}{\text{step 2: differentiate with respect to t}}d2ydx2=32(1+1t2)2t=3(t2+1)4t3step 3: divide by dx/dt = 2t\frac{d^{2}y}{dx^{2}} = \frac{\tfrac{3}{2}\left(1 + \tfrac{1}{t^{2}}\right)}{2t} = \frac{3\left(t^{2} + 1\right)}{4t^{3}} \qquad \textcolor{#838c91}{\text{step 3: divide by dx/dt = 2t}}

At t=2t = 2: d2ydx2=3(5)4(8)=1532\dfrac{d^{2}y}{dx^{2}} = \dfrac{3(5)}{4(8)} = \dfrac{15}{32}. It is positive, so the curve is concave up at t=2t = 2.

To see why step 3 matters, try the wrong shortcut. Dividing d2ydt2=6t\dfrac{d^{2}y}{dt^{2}} = 6t by d2xdt2=2\dfrac{d^{2}x}{dt^{2}} = 2 gives 3t3t, which is 6 at t=2t = 2. The true value is 1532\dfrac{15}{32}. The two do not agree.

3Reading concavity

The sign of d2ydx2=3(t2+1)4t3\dfrac{d^{2}y}{dx^{2}} = \dfrac{3(t^{2} + 1)}{4t^{3}} is the sign of t3t^{3}, because t2+1t^{2} + 1 is always positive.

  • For t>0t > 0 the second derivative is positive: concave up.
  • For t<0t < 0 it is negative: concave down.
  • At t=0t = 0 it is undefined, since dxdt=0\dfrac{dx}{dt} = 0 there. That is the leftmost point of the loop in Figure 1 of 9.1, where the tangent is vertical.

Concavity here is the shape of yy against xx. It is not about the direction the point moves.

Look at the lower half of the loop (t>0t > 0) in 9.1. It bends like a cup, and it is concave up whether the point moves right or left.

The formula for d2ydx2\dfrac{d^{2}y}{dx^{2}} is valid even where dxdt<0\dfrac{dx}{dt} < 0. Do not change the sign of your answer because the curve is moving to the left.

A local maximum or minimum. At a horizontal tangent, dydx=0\dfrac{dy}{dx} = 0, the sign of d2ydx2\dfrac{d^{2}y}{dx^{2}} decides.

  • At t=1t = 1, the point is (2,−2)(2, -2). d2ydx2=3(2)4(1)=32>0\dfrac{d^{2}y}{dx^{2}} = \dfrac{3(2)}{4(1)} = \dfrac{3}{2} > 0. Concave up, so a relative minimum of yy.
  • At t=−1t = -1, the point is (2,2)(2, 2). d2ydx2=3(2)4(−1)=−32<0\dfrac{d^{2}y}{dx^{2}} = \dfrac{3(2)}{4(-1)} = -\dfrac{3}{2} < 0. Concave down, so a relative maximum of yy.

That matches the picture of the loop: the top at (2,2)(2, 2) is a maximum and the bottom at (2,−2)(2, -2) is a minimum.

A sound justification names the quantity and its sign: "dydx=0\dfrac{dy}{dx} = 0 and d2ydx2>0\dfrac{d^{2}y}{dx^{2}} > 0 at t=1t = 1, so yy has a relative minimum there."

4A point of inflection

Example: x=etx = e^{t}, y=t2y = t^{2}, shown in Figure 1.

dydx=2tet=2te−t\frac{dy}{dx} = \frac{2t}{e^{t}} = 2te^{-t}ddt(dydx)=2e−t−2te−t=2(1−t)e−tproduct rule\frac{d}{dt}\left(\frac{dy}{dx}\right) = 2e^{-t} - 2te^{-t} = 2(1 - t)e^{-t} \qquad \textcolor{#838c91}{\text{product rule}}d2ydx2=2(1−t)e−tet=2(1−t)e−2t\frac{d^{2}y}{dx^{2}} = \frac{2(1 - t)e^{-t}}{e^{t}} = 2(1 - t)e^{-2t}

The factor e−2te^{-2t} is always positive. So the sign is the sign of 1−t1 - t.

  • For t<1t < 1: positive, concave up.
  • For t>1t > 1: negative, concave down.
  • At t=1t = 1 the second derivative changes sign, and dxdt=e≠0\dfrac{dx}{dt} = e \neq 0. So there is a point of inflection at t=1t = 1, the point (e,1)(e, 1).
The curve x = e to the t, y = t squared, which is y = (ln x) squared. It is concave up for x less than e and concave down for x greater than e, with a point of inflection at t = 1, the point (e, 1) 2 4 6 8 10 1 2 3 4 5 6 0 y x t = 1 concave up concave down
Figure 1 · The curve x = eᵗ, y = t²: concave up for x < e, concave down for x > e, with a point of inflection at t = 1

A point of inflection needs a change of sign of d2ydx2\dfrac{d^{2}y}{dx^{2}}. Finding that it is zero is not enough. Say the sign changes, and say on which side each sign holds.

You can check this answer without calculus on tt. Since t=ln⁡xt = \ln x, the curve is y=(ln⁡x)2y = (\ln x)^{2}. Then y′=2ln⁡xxy' = \dfrac{2\ln x}{x} and y′′=2−2ln⁡xx2y'' = \dfrac{2 - 2\ln x}{x^{2}}, which is zero at x=ex = e. The sign change happens there, as before.

5More examples with trigonometry and logarithms

An ellipse. x=3cos⁡tx = 3\cos t, y=2sin⁡ty = 2\sin t, for 0<t<π0 < t < \pi, the upper half.

dydx=2cos⁡t−3sin⁡t=−23cot⁡t\frac{dy}{dx} = \frac{2\cos t}{-3\sin t} = -\frac{2}{3}\cot tddt(dydx)=−23(−csc⁡2t)=23csc⁡2t\frac{d}{dt}\left(\frac{dy}{dx}\right) = -\frac{2}{3}\left(-\csc^{2} t\right) = \frac{2}{3}\csc^{2} td2ydx2=23csc⁡2t−3sin⁡t=−29csc⁡3t\frac{d^{2}y}{dx^{2}} = \frac{\tfrac{2}{3}\csc^{2} t}{-3\sin t} = -\frac{2}{9}\csc^{3} t

On 0<t<π0 < t < \pi, sin⁡t>0\sin t > 0, so csc⁡3t>0\csc^{3} t > 0 and d2ydx2<0\dfrac{d^{2}y}{dx^{2}} < 0. The top half of the ellipse is concave down, as it should be. At t=π2t = \dfrac{\pi}{2}, the top of the ellipse, the value is −29-\dfrac{2}{9}.

A logarithm. x=t2x = t^{2}, y=ln⁡ty = \ln t, for t>0t > 0.

dydx=1/t2t=12t2\frac{dy}{dx} = \frac{1/t}{2t} = \frac{1}{2t^{2}}ddt(dydx)=−1t3\frac{d}{dt}\left(\frac{dy}{dx}\right) = -\frac{1}{t^{3}}d2ydx2=−1/t32t=−12t4\frac{d^{2}y}{dx^{2}} = \frac{-1/t^{3}}{2t} = -\frac{1}{2t^{4}}

This is always negative, so the curve is always concave down. Check: t=xt = \sqrt{x}, so y=12ln⁡xy = \tfrac{1}{2}\ln x, which has y′′=−12x2=−12t4y'' = -\dfrac{1}{2x^{2}} = -\dfrac{1}{2t^{4}}.

6Using the calculator

A second derivative can be messy. The exam allows a calculator on some parts.

Example (invented). x=t3+tx = t^{3} + t, y=sin⁡ty = \sin t. Find d2ydx2\dfrac{d^{2}y}{dx^{2}} at t=1t = 1.

dydx=cos⁡t3t2+1\frac{dy}{dx} = \frac{\cos t}{3t^{2} + 1}d2ydx2=13t2+1⋅ddt(cos⁡t3t2+1)\frac{d^{2}y}{dx^{2}} = \frac{1}{3t^{2} + 1}\cdot\frac{d}{dt}\left(\frac{\cos t}{3t^{2} + 1}\right)d2ydx2∣t=1≈−0.103three decimal places\frac{d^{2}y}{dx^{2}}\bigg|_{t = 1} \approx -0.103 \qquad \textcolor{#838c91}{\text{three decimal places}}
  • Write the structure by hand, then let the calculator evaluate the number. The expression in the middle line is your setup.
  • If you do enter a numerical derivative of dydx\dfrac{dy}{dx} at t=1t = 1, remember to divide by dxdt(1)=4\dfrac{dx}{dt}(1) = 4.
  • Give three decimal places.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.