Unit 9 · Topic 9.2 · BC

Parametric second derivatives

Builds on the slope of a parametric curve, the chain rule and concavity. 12 minutes.

  1. Example 1Find the first derivative with respect to x
  2. Example 2Differentiate the slope with respect to the parameter
  3. Example 3Convert to the second derivative with respect to x
  4. Example 4Interpret the result at a valid point

A parametric curve gives both coordinates of a point as functions of a parameter \(t\): \(x=x(t)\) and \(y=y(t)\). Topic 9.1 found its slope \(\frac{dy}{dx}\) as a function of \(t\). This topic finds the second derivative, which topic 3.6 defines as the derivative of the slope with respect to \(x\):

\[\frac{d^2y}{dx^2}=\frac{d}{dx}\left(\frac{dy}{dx}\right)\]

Its sign tells which way the curve bends. The slope is a formula in \(t\), not in \(x\), so the question is how to differentiate it with respect to \(x\).

The second derivative as a slope

Above, the unit circle with an orange point that moves counterclockwise around it, as two arrowheads on the circle show, an orange tangent line through the point, and a small triangle at the point: a horizontal leg for dx/dt, a vertical leg for dy/dt and an orange long side along the tangent. The point starts at the lower left, at t = −2π/3, where it moves to the right and down, so the horizontal leg is green and the vertical leg red. Below, a graph of the slope m against x for the half of the circle that contains the point, with the matching orange point straight below the upper one, an orange tangent line, and a triangle with the same horizontal leg and a green vertical leg for dm/dt. On the lower half of the circle the graph rises from left to right. A button moves the point to (1, 0), where the tangent is vertical and the lower graph has no orange point; another moves it onto the upper half, where the horizontal legs turn red and the lower graph falls from left to right.

Figure 1The orange point moves counterclockwise around the circle \(x=\cos t\), \(y=\sin t\), and the arrowheads show its direction. The lower graph plots the slope \(m\) against \(x\) for the half of the circle that contains the point. Each graph has an orange point and tangent line. Its triangle has an orange long side and legs for \(\frac{dx}{dt}\) and for \(\frac{dy}{dt}\) or \(\frac{dm}{dt}\). A leg is green where it points to the right or up and red where it points to the left or down.

In Figure 1, the orange point moves counterclockwise around the circle \(x=\cos t\), \(y=\sin t\) as \(t\) increases. The small triangle at the point has a horizontal leg for \(\frac{dx}{dt}\) and a vertical leg for \(\frac{dy}{dt}\), drawn at the same scale. Its long side therefore lies along the orange tangent line, whose slope is the ratio of the legs (topic 9.1).

This page writes \(\cy{m}\) for that slope. The lower graph plots \(m\) against \(x\) for the half of the circle that contains the point. Near the point, that half is the graph of a function of \(x\). The lower graph is the graph of its derivative, so the slope of the lower graph is \(\frac{d^2y}{dx^2}\). The triangle on the lower graph has the same horizontal leg. Its vertical leg is for \(\frac{dm}{dt}\), the rate at which the slope changes with \(t\).

Move the point with the slider under Figure 1. Wherever the lower triangle is shown, its long side lies along the tangent line of the lower graph. The slope of that line, \(\frac{d^2y}{dx^2}\), therefore appears to be the ratio of the legs, \(\frac{dm}{dt}\) divided by \(\frac{dx}{dt}\).

To see why, suppose that \(\frac{dx}{dt}\) is continuous and not 0 at some \(t\). Then it keeps its sign on an interval around that \(t\), as in topic 5.7. On that interval, \(x\) only rises or only falls, by the Increasing/Decreasing Test (topic 5.3), so each \(x\) comes from one \(t\). Then \(t\) is a function of \(x\), and the inverse function rule (topic 3.3) gives \(\frac{dt}{dx}=1\big/\frac{dx}{dt}\). A quantity \(q\) that is a differentiable function of \(t\) is then a function of \(x\), and by the chain rule (topic 3.1)

\[\frac{dq}{dx}=\frac{dq}{dt}\cdot\frac{dt}{dx}=\frac{dq/dt}{dx/dt}\]

With \(q=y\), this is the slope of topic 9.1. If \(x\) and \(y\) are twice differentiable, the quotient rule makes \(m\) differentiable in \(t\), because \(\frac{dx}{dt}\neq0\). With \(q=m\), the same formula gives the second derivative: \(\frac{d^2y}{dx^2}\) is \(\frac{dm}{dt}\) divided by \(\frac{dx}{dt}\).

The formula needs \(\frac{dx}{dt}\neq0\). Use the first button under Figure 1 to move the point to \((1,0)\), where \(\frac{dx}{dt}=-\sin 0=0\). The horizontal leg of the triangle on the circle shrinks to nothing, and the tangent line turns vertical. The slope has no value there, so the lower graph has no orange point, and the graph rises without bound as \(x\) approaches 1. Near \((1,0)\), vertical lines close to its left meet the circle twice, so the curve there is not the graph of a function of \(x\).

Differentiate the slope, then divide

The slope \(m=\frac{dy/dt}{dx/dt}\) is a quotient of two functions of \(t\), so \(\frac{dm}{dt}\) usually needs the quotient rule (topic 2.9). A factor that the top and the bottom share can cancel first, where it is not 0. The derivative of a quotient is not the quotient of the derivatives, so \(\frac{dm}{dt}\) is not \(\frac{d^2y}{dt^2}\big/\frac{d^2x}{dt^2}\). Then divide \(\frac{dm}{dt}\) by the first derivative \(\frac{dx}{dt}\), not by \(\frac{d^2x}{dt^2}\).

For the circle, \(\frac{dx}{dt}=-\sin t\) and \(\frac{dy}{dt}=\cos t\), so \(m=-\cot t\) wherever \(\sin t\neq0\). Its derivative is \(\frac{dm}{dt}=\csc^2t\) (topic 2.10), and division by \(\frac{dx}{dt}\) gives

\[\frac{d^2y}{dx^2}=\frac{\csc^2t}{-\sin t}=-\frac{1}{\sin^3t}\]

At the start of Figure 1, \(t=-\frac{2\pi}{3}\) and \(\sin t=-\frac{\sqrt3}{2}\), so \(\frac{d^2y}{dx^2}=\frac{8}{3\sqrt3}\), which the readouts under Figure 1 round to 1.54.

Concavity and the direction of motion

Near a point where \(\frac{dx}{dt}\neq0\), the curve is the graph of a function of \(x\), so the Concavity Test (topic 5.6) applies to it. On an interval of \(t\) where \(\frac{d^2y}{dx^2}>0\), the curve is concave up and lies above its tangent lines. Where \(\frac{d^2y}{dx^2}<0\), it is concave down and lies below them.

Division by \(\frac{dx}{dt}\) can change the sign. Where the point moves to the right, \(\frac{dx}{dt}>0\), so \(\frac{d^2y}{dx^2}\) has the sign of \(\frac{dm}{dt}\). Where it moves to the left, the two signs are opposite. For the circle, \(\frac{dm}{dt}=\csc^2t\) is positive wherever \(\sin t\neq0\), so the vertical leg of the lower triangle is green wherever it appears. On the lower half, the point moves to the right, so the circle is concave up.

Use the second button to move the point onto the upper half. Both horizontal legs turn red, because \(x\) decreases. The lower graph now plots the slopes of the upper half, and the long side of its triangle falls from left to right. The slope still increases with \(t\), but it decreases as \(x\) increases, so \(\frac{d^2y}{dx^2}<0\) and the upper half is concave down.

The circle has opposite concavities on the two sides of \((1,0)\). Yet \((1,0)\) is not a point of inflection, because near it the curve is not the graph of a function of \(x\). Where the curve is such a graph, a change in the sign of \(\frac{d^2y}{dx^2}\) gives a point of inflection (topic 5.6). Where both rates are 0, the formula for \(m\) gives \(\frac00\), so the shape of the curve there needs another method.

Example 1

Find the first derivative with respect to x

A curve is defined by \(x=\sin t\) and \(y=\cos 2t\) for \(-\frac{\pi}{2}<t<\frac{\pi}{2}\). Find \(\dfrac{dy}{dx}\) in terms of \(t\).

Solution

Both coordinates are differentiable, and \(\frac{dx}{dt}=\cos t\) is continuous and positive for \(-\frac{\pi}{2}<t<\frac{\pi}{2}\), so the slope exists at every point. The rate of \(y\) needs the chain rule:

\[\frac{dx}{dt}=\cos t,\qquad \frac{dy}{dt}=-2\sin 2t\]

The slope is the rate of \(y\) divided by the rate of \(x\). With \(\sin 2t=2\sin t\cos t\), the factor \(\cos t\) cancels, because it is not 0:

\[\begin{aligned}\frac{dy}{dx}&=\frac{-2\sin 2t}{\cos t}=\frac{-4\sin t\cos t}{\cos t}\\&=-4\sin t\end{aligned}\]

As a check, \(\cos 2t=1-2\sin^2t\), so the curve is the parabola \(y=1-2x^2\) for \(-1<x<1\). Its slope is \(-4x\), which is \(-4\sin t\).

Example 2

Differentiate the slope with respect to the parameter

A curve is defined by \(x=t^3+2t\) and \(y=t^2\). Find \(\dfrac{d}{dt}\left(\dfrac{dy}{dx}\right)\) in terms of \(t\).

Solution

Both coordinates are polynomials, with \(\frac{dx}{dt}=3t^2+2\) and \(\frac{dy}{dt}=2t\). The rate \(\frac{dx}{dt}\) is positive for every \(t\), so the slope exists at every point:

\[\frac{dy}{dx}=\frac{2t}{3t^2+2}\]

No factor cancels, so differentiate the slope with the quotient rule, with \(2t\) on top and \(3t^2+2\) at the bottom:

\[\begin{aligned}\frac{d}{dt}\left(\frac{dy}{dx}\right)&=\frac{2\left(3t^2+2\right)-2t\cdot 6t}{\left(3t^2+2\right)^2}\\&=\frac{4-6t^2}{\left(3t^2+2\right)^2}\end{aligned}\]

This is the rate at which the slope changes per unit of \(t\), not yet per unit of \(x\).

Example 3

Convert to the second derivative with respect to x

A curve is defined by \(x=e^{2t}\) and \(y=e^{-t}\). Find \(\dfrac{d^2y}{dx^2}\) in terms of \(t\).

Solution

Both coordinates are twice differentiable for every \(t\), and \(\frac{dx}{dt}=2e^{2t}\) is never 0. The slope, and its derivative with respect to \(t\), are

\[\begin{aligned}\frac{dy}{dx}&=\frac{-e^{-t}}{2e^{2t}}=-\tfrac12e^{-3t}\\\frac{d}{dt}\left(\frac{dy}{dx}\right)&=\tfrac32e^{-3t}\end{aligned}\]

The second derivative is a rate per unit of \(x\), so divide this rate per unit of \(t\) by \(\frac{dx}{dt}\):

\[\frac{d^2y}{dx^2}=\frac{\frac32e^{-3t}}{2e^{2t}}=\frac34e^{-5t}\]

As a check, \(e^{-t}=\left(e^{2t}\right)^{-1/2}\), so the curve is \(y=x^{-1/2}\) for \(x>0\). The power rule gives \(\frac{d^2y}{dx^2}=\frac34x^{-5/2}\), which is \(\frac34e^{-5t}\).

Example 4

Interpret the result at a valid point

A curve is defined by \(x=t^2\) and \(y=t^3-3t\). Is the curve concave up or concave down at the point where \(t=-1\)? Find the value of \(t\) at which \(\dfrac{d^2y}{dx^2}\) does not exist, and describe the curve near that point.

Solution

Here \(\frac{dx}{dt}=2t\) and \(\frac{dy}{dt}=3t^2-3\), so where \(t\neq0\)

\[\frac{dy}{dx}=\frac{3t^2-3}{2t}=\frac32\left(t-\frac1t\right)\]

Its derivative with respect to \(t\) is

\[\frac{d}{dt}\left(\frac{dy}{dx}\right)=\frac32\left(1+\frac{1}{t^2}\right)\]

Division by \(\frac{dx}{dt}=2t\) gives

\[\frac{d^2y}{dx^2}=\frac{3\left(t^2+1\right)}{4t^3}\]

The numerator is positive and \(4t^3\) has the sign of \(t\). At \(t=-1\), \(\frac{dx}{dt}=-2\neq0\) and \(\frac{d}{dt}\left(\frac{dy}{dx}\right)=3\), so \(\frac{d^2y}{dx^2}=\frac{3}{-2}=-\frac32\). It is negative there, as for every \(t<0\), so the curve is concave down at \((1,2)\).

At \(t=0\), \(\frac{dx}{dt}=0\), so \(\frac{d^2y}{dx^2}\) does not exist. Because \(\frac{dy}{dt}=-3\) there, the tangent at the origin is vertical (topic 9.1). Each \(x>0\) comes from \(t=\sqrt x\) and from \(t=-\sqrt x\), so near the origin the curve is not the graph of a function of \(x\). Its upper branch, where \(t<0\), is concave down and its lower branch concave up, but the origin is not a point of inflection.

Each example is one of the four skills of topic 9.2 in Which & Why: AP Calculus.