Math Core

Lesson 5.2 · Parametric, Polar and Vector-Valued Functions

Second derivatives of parametric equations

The first derivative dydx\dfrac{dy}{dx} tells you which way a parametric curve is heading. The second derivative d2ydx2\dfrac{d^2y}{dx^2} tells you how it bends: concave up or concave down. For parametric curves there is one extra step that trips up many students, and this lesson is about getting it right.

Why you can't just differentiate twice with respect to t

The second derivative d2ydx2\dfrac{d^2y}{dx^2} is the derivative of dydx\dfrac{dy}{dx} with respect to xx. But for a parametric curve, dydx\dfrac{dy}{dx} comes out as an expression in tt. You can differentiate it with respect to tt easily, and that gives ddt(dydx)\dfrac{d}{dt}\left(\dfrac{dy}{dx}\right), which is a rate per unit of tt, not per unit of xx.

To convert, use the same trick as for the first derivative. If ww is any quantity that depends on tt, then

dwdx=dw/dtdx/dt.\frac{dw}{dx} = \frac{dw/dt}{dx/dt}.

Apply that with w=dydxw = \dfrac{dy}{dx}.

Second derivative of a parametric curve

If x=x(t)x = x(t) and y=y(t)y = y(t) are twice differentiable and dxdt≠0\dfrac{dx}{dt} \ne 0, then

d2ydx2=ddt(dydx)dxdt.\frac{d^2y}{dx^2} = \frac{\dfrac{d}{dt}\left(\dfrac{dy}{dx}\right)}{\dfrac{dx}{dt}}.

Three steps: find dydx\dfrac{dy}{dx} as a function of tt; differentiate that with respect to tt; divide by dxdt\dfrac{dx}{dt}.

Common mistake

The most common mistake is stopping after step 2. ddt(dydx)\dfrac{d}{dt}\left(\dfrac{dy}{dx}\right) is not the second derivative. You must divide by dxdt\dfrac{dx}{dt} again. Another wrong shortcut is d2y/dt2d2x/dt2\dfrac{d^2y/dt^2}{d^2x/dt^2}, which has no justification and usually gives the wrong value.

Working through the steps

Worked example: The looping curve from the last lesson

For x=t2x = t^2, y=t3−3ty = t^3 - 3t, find d2ydx2\dfrac{d^2y}{dx^2} and decide whether the curve is concave up or down at t=1t = 1 and at t=−1t = -1.

Step 1. dydx=3t2−32t\dfrac{dy}{dx} = \dfrac{3t^2 - 3}{2t}. It helps to split this before differentiating:

dydx=32t−32t−1.\frac{dy}{dx} = \frac{3}{2}t - \frac{3}{2}t^{-1}.

Step 2. Differentiate with respect to tt:

ddt(dydx)=32+32t−2=3t2+32t2.\frac{d}{dt}\left(\frac{dy}{dx}\right) = \frac{3}{2} + \frac{3}{2}t^{-2} = \frac{3t^2 + 3}{2t^2}.

Step 3. Divide by dxdt=2t\dfrac{dx}{dt} = 2t:

d2ydx2=3t2+32t2⋅12t=3t2+34t3.\frac{d^2y}{dx^2} = \frac{3t^2 + 3}{2t^2} \cdot \frac{1}{2t} = \frac{3t^2 + 3}{4t^3}.

At t=1t = 1: 64=32>0\dfrac{6}{4} = \dfrac{3}{2} > 0, so the curve is concave up at (1,−2)(1, -2). At t=−1t = -1: 6−4=−32\dfrac{6}{-4} = -\dfrac{3}{2}, so it is concave down at (1,2)(1, 2).

That matches the picture: the point (1,−2)(1, -2) is the bottom of the loop, which cups upward, and (1,2)(1, 2) is the top, which cups downward.

x = t², y = t³ − 3t for −2 ≤ t ≤ 2. The branch traced for t > 0, through (1, −2), is concave up; the branch for t < 0, through (1, 2), is concave down.Open in grapher →

Notice that the numerator 3t2+33t^2 + 3 is always positive, so the sign of d2ydx2\dfrac{d^2y}{dx^2} is the sign of t3t^3. The whole branch with t>0t > 0 is concave up and the whole branch with t<0t < 0 is concave down.

Trig parametrizations

Worked example: A point on an ellipse

For x=2cos⁡tx = 2\cos t, y=3sin⁡ty = 3\sin t, find d2ydx2\dfrac{d^2y}{dx^2} at t=π6t = \dfrac{\pi}{6}.

Step 1. dxdt=−2sin⁡t\dfrac{dx}{dt} = -2\sin t and dydt=3cos⁡t\dfrac{dy}{dt} = 3\cos t, so dydx=−32cot⁡t\dfrac{dy}{dx} = -\dfrac{3}{2}\cot t.

Step 2. ddt(−32cot⁡t)=32csc⁡2t\dfrac{d}{dt}\left(-\dfrac{3}{2}\cot t\right) = \dfrac{3}{2}\csc^2 t.

Step 3. Divide by −2sin⁡t-2\sin t:

d2ydx2=32csc⁡2t−2sin⁡t=−34csc⁡3t.\frac{d^2y}{dx^2} = \frac{\frac{3}{2}\csc^2 t}{-2\sin t} = -\frac{3}{4}\csc^3 t.

At t=π6t = \dfrac{\pi}{6}, csc⁡t=2\csc t = 2, so d2ydx2=−34(8)=−6\dfrac{d^2y}{dx^2} = -\dfrac{3}{4}(8) = -6. The point is on the top half of the ellipse, which is concave down, as expected.

Intervals of concavity

To find where a parametric curve is concave up or down, find where d2ydx2\dfrac{d^2y}{dx^2} is positive or negative as a function of tt. Be careful about the sign of dxdt\dfrac{dx}{dt}, because step 3 divides by it.

Worked example: Concavity on an interval

For x=etx = e^t, y=t2y = t^2, find the values of tt for which the curve is concave up.

Step 1. dydx=2tet=2te−t\dfrac{dy}{dx} = \dfrac{2t}{e^t} = 2te^{-t}.

Step 2. By the product rule, ddt(2te−t)=2e−t−2te−t=(2−2t)e−t\dfrac{d}{dt}\left(2te^{-t}\right) = 2e^{-t} - 2te^{-t} = (2 - 2t)e^{-t}.

Step 3. Divide by dxdt=et\dfrac{dx}{dt} = e^t:

d2ydx2=(2−2t)e−2t.\frac{d^2y}{dx^2} = (2 - 2t)e^{-2t}.

Since e−2t>0e^{-2t} > 0, the sign depends only on 2−2t2 - 2t. The curve is concave up for t<1t < 1 and concave down for t>1t > 1. It has an inflection point at t=1t = 1, the point (e,1)(e, 1).

Tip

If you can eliminate the parameter, you can check your answer. For x=etx = e^t, y=e2ty = e^{2t} you have y=x2y = x^2, so d2ydx2\dfrac{d^2y}{dx^2} should be 22 everywhere. Working it parametrically: dydx=2e2tet=2et\dfrac{dy}{dx} = \dfrac{2e^{2t}}{e^t} = 2e^t, then ddt(2et)=2et\dfrac{d}{dt}(2e^t) = 2e^t, and dividing by ete^t gives 22. It matches.

Practice

Practice 1

For x=t2x = t^2 and y=t3y = t^3, find d2ydx2\dfrac{d^2y}{dx^2} at t=2t = 2.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

A student finds d2ydx2\dfrac{d^2y}{dx^2} for x=t2x = t^2, y=t3y = t^3 at t=1t = 1 by computing ddt(dydx)\dfrac{d}{dt}\left(\dfrac{dy}{dx}\right) and gets 32\dfrac{3}{2}. What is the correct value?

Practice 3

For x=t2+1x = t^2 + 1 and y=t3+3ty = t^3 + 3t with t>0t > 0, find d2ydx2\dfrac{d^2y}{dx^2} in terms of tt.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 4

For the curve in the previous problem (x=t2+1x = t^2 + 1, y=t3+3ty = t^3 + 3t, t>0t > 0), on what interval is the curve concave down?

Practice 5

A curve is defined parametrically, and for all tt, dxdt=2t+1\dfrac{dx}{dt} = 2t + 1 and dydx=t3\dfrac{dy}{dx} = t^3. Find d2ydx2\dfrac{d^2y}{dx^2} at t=1t = 1.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

For the unit circle x=cos⁡tx = \cos t, y=sin⁡ty = \sin t, find d2ydx2\dfrac{d^2y}{dx^2} at t=π3t = \dfrac{\pi}{3}. Give an exact answer or a decimal to three places.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

For x=etx = e^t and y=e2ty = e^{2t}, find d2ydx2\dfrac{d^2y}{dx^2} at t=ln⁡3t = \ln 3.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.