Differentiate a parametric curve
A parametric curve is the path of a point whose coordinates are both functions of a third variable \(t\), the parameter. At each value of \(t\) in an interval, the point is at
and \(x=x(t)\), \(y=y(t)\) are the parametric equations of the curve. As \(t\) increases, the point traces the curve, and \(t\) often stands for time. The curve can turn back and cross itself, so it need not be the graph of a function. This topic finds its slope, its tangent lines and its direction of motion from the rates \(dx/dt\) and \(dy/dt\).
The slope is a ratio of two rates
A curve that runs to the right along the bottom, turns up at the right, and runs back to the left along the top. An orange point sits on the upper part near the turn, and a faint dot a little farther along to the left. An orange chord joins them, with a red horizontal leg for the change in x and a green vertical leg for the change in y. A faint line through the orange point is the tangent line. Buttons shrink the step, so that the chord turns onto the tangent line, and move the point to the rightmost point of the curve, where the tangent line is vertical.
In Figure 1, the orange chord joins the points at the parameter values \(t\) and \(t+\Delta t\), a step \(\Delta t\) apart. A horizontal leg and a vertical leg complete a right triangle, and the legs show the changes \(\Delta x\) and \(\Delta y\) in the coordinates. The chord's slope is \(\Delta y/\Delta x\). Divide its top and bottom by \(\Delta t\):
Let \(x\) and \(y\) be differentiable at \(t\). As \(\Delta t\) approaches 0, the top and the bottom on the right approach \(dy/dt\) and \(dx/dt\), by the definition of the derivative. Suppose that \(dx/dt\ne0\). Then, by the definition of a limit, \(\Delta x/\Delta t\ne0\) for \(\Delta t\) close enough to 0, so the chord has a slope. By the quotient law for limits, that slope approaches \(dy/dt\) divided by \(dx/dt\). The argument also covers \(\Delta t<0\), where the point at \(t+\Delta t\) comes before the point at \(t\).
The tangent line at the point is the line through it whose slope is this limit, as for the graph of a function. Its slope is written \(\cy{dy/dx}\), so \(\cy{dy/dx}=\frac{dy/dt}{dx/dt}\). Shrink the step in Figure 1. The chord turns onto the faint tangent line, and its slope approaches the slope of the tangent. Where the curve is the graph of a differentiable function of \(x\), the chain rule \(\frac{dy}{dt}=\frac{dy}{dx}\cdot\frac{dx}{dt}\) gives the same formula.
The slope depends on \(t\), so each value \(t_0\) gives a point and a slope. The tangent line at \(t_0\) passes through \(\big(x(t_0),y(t_0)\big)\) with the slope \(m\) that \(dy/dx\) has at \(t_0\), so in point-slope form it is \(y-y(t_0)=m(x-x(t_0))\). The point and the slope must come from the same value of \(t\).
The argument needs \(dx/dt\ne0\). Use the button under Figure 1 to move the point to where \(dx/dt=0\). Then shrink the step. The horizontal leg shrinks faster than the vertical leg, so the chord turns toward the vertical. The tangent line there is vertical, and a vertical line has no slope.
Horizontal and vertical tangents
A figure eight lying on its side, with two loops that meet at the origin. Arrowheads on the curve show the direction of motion: around the right loop clockwise and around the left loop counterclockwise. An orange point on the curve carries a small triangle with a horizontal leg dx over dt and a vertical leg dy over dt, and an orange tangent line. A button replaces t by minus t, which turns the arrowheads around while the curve stays the same.
In Figure 2, a point traces a figure eight on its side, with \(x=2\sin t\) and \(y=\sin 2t\) for \(0\le t<2\pi\). The triangle at the orange point has a horizontal leg \(dx/dt\) and a vertical leg \(dy/dt\), drawn to the same scale. Its long side therefore has the slope of the tangent line.
If \(dy/dt=0\) and \(dx/dt\ne0\), the formula gives \(dy/dx=0\), so the tangent line is horizontal. In Figure 2, this happens at the top and the bottom of each loop, where the vertical leg shrinks to nothing. If \(dx/dt=0\) and \(dy/dt\ne0\), divide \(\Delta x\) by \(\Delta y\) instead:
As \(\Delta t\) approaches 0, the bottom approaches \(dy/dt\ne0\), which keeps \(\Delta y\ne0\), and the top approaches 0. The quotient therefore approaches 0, so the chords approach a vertical line, and the tangent line is vertical. In Figure 2, this happens at the points farthest left and right. To find these tangents, solve \(dy/dt=0\) and \(dx/dt=0\) separately. At each solution, check that the other rate is not 0.
If both rates are 0 at \(t_0\), the point stops for an instant, and neither test decides. The curve can come to a sharp point there, called a cusp, and its tangent line, if it has one, can point in any direction. Suppose that \(dx/dt\ne0\) for every other \(t\) near \(t_0\). The chord slope from \(t_0\) to \(t_0+\Delta t\) is a quotient whose top and bottom approach 0. Their derivatives with respect to \(\Delta t\) are the rates at \(t_0+\Delta t\). By L’Hôpital’s rule, if \(dy/dx\) approaches a number as \(t\) approaches \(t_0\), so do the chord slopes, and that number is the tangent's slope.
Direction and repeated points
The arrowheads in Figure 2 show the direction in which the point moves as \(t\) increases. The signs of the rates give this direction at each instant. If \(dx/dt>0\), then \(x\) increases, so the point moves to the right. If \(dy/dt>0\), it moves up, and a negative rate means left or down.
The point passes through the origin twice, at \(t=0\) and at \(t=\pi\), so the origin is a repeated point of the curve. The rates \(dx/dt=2\cos t\) and \(dy/dt=2\cos 2t\) are both 2 at \(t=0\), so the point moves to the right and up. At \(t=\pi\), they are \(-2\) and 2, so it moves to the left and up. The curve therefore has two tangent lines at the origin, of slopes 1 and \(-1\).
The curve can reach a point given by its coordinates at several values of \(t\), or at none. To find these values, solve the equations for \(x\) and \(y\) together. Then find the slope at each value separately, because the slopes can differ.
Use the button under Figure 2 to replace \(t\) by \(-t\). The equations \(x=-2\sin t\) and \(y=-\sin 2t\) trace the same figure eight in the opposite direction, so the arrowheads turn around. An equation in \(x\) and \(y\) describes only the path. The direction, the timing and the number of passes come from the parametric equations and the interval of \(t\).
Example 1
Calculate the slope of a parametric curve
A curve is defined by \(x=2\cos t\) and \(y=3\sin t\). Find \(\dfrac{dy}{dx}\) in terms of \(t\), and find the slope of the curve at \(t=\dfrac{\pi}{4}\).
Solution
Both coordinates are differentiable for every \(t\), with rates
The formula needs \(dx/dt\ne0\), so it holds wherever \(\sin t\ne0\). There, divide the rate of \(y\) by the rate of \(x\):
At \(t=\frac{\pi}{4}\), \(\sin t\ne0\) and \(\cot t=1\), so the slope is \(-\frac32\). As a check, every point satisfies \(\frac{x^2}{4}+\frac{y^2}{9}=1\), because \(\cos^2t+\sin^2t=1\). Implicit differentiation of this equation gives \(\frac{dy}{dx}=-\frac{9x}{4y}\), which is \(-\frac32\) at the point \(\big(\sqrt2,\frac{3\sqrt2}{2}\big)\).
Example 2
Find the point and tangent line
A curve is defined by \(x=t^2-1\) and \(y=\dfrac1t\) for \(t>0\). Find an equation of the line tangent to the curve at the point where \(t=2\).
Solution
Both coordinates are differentiable for \(t>0\). The point and the slope must both come from \(t=2\), so the point is
The rates are \(dx/dt=2t\) and \(dy/dt=-1/t^2\). At \(t=2\) they are 4 and \(-\frac14\), and \(dx/dt\ne0\), so the slope is
The line through \(\big(3,\frac12\big)\) with this slope is
Example 3
Locate horizontal and vertical tangents
Find the points on the curve \(x=t^3-3t^2+7\), \(y=t^2+1\) at which the tangent line is horizontal or vertical.
The curve x = t cubed minus 3t squared plus 7, y = t squared plus 1 on a grid. It comes in from the left along the bottom to a sharp point at (7, 1), turns back up to the left to (3, 5), where a short orange segment marks a vertical tangent, and then rises to the right. A second orange segment through (7, 1) has slope minus one third. An orange point with a small triangle of its two rates moves along the curve.
Solution
Both coordinates are polynomials, so they are differentiable for every \(t\). Their rates are
The rate \(dy/dt\) is 0 only at \(t=0\), and \(dx/dt\) is 0 at \(t=0\) and at \(t=2\). At \(t=2\), \(dy/dt=4\ne0\), so the tangent at the point \((3,5)\) where \(t=2\) is vertical. At \(t=0\), both rates are 0, so neither test decides at the point \((7,1)\). For \(t\ne0\), the factor \(t\) cancels:
As \(t\) approaches 0, this approaches \(\frac{2}{3(-2)}=-\frac13\), and \(dx/dt\ne0\) for every other \(t\) near 0. The tangent at \((7,1)\), the cusp in Figure 3, therefore has slope \(-\frac13\). The curve has a vertical tangent at \((3,5)\) and no horizontal tangent.
Example 4
Interpret direction and repeated points
A particle moves in the \(xy\)-plane so that its position at time \(t\), for \(-3\le t\le 3\), is \(\big(t^3-4t,\ t^2+1\big)\). Find every time at which the particle is at the point \((0,5)\). At each of these times, find the direction of motion and the slope of the path.
Solution
The particle is at \((0,5)\) when both coordinates match at the same \(t\). The equation \(t^3-4t=0\) factors as \(t(t-2)(t+2)=0\), so \(t=0\), 2 or \(-2\). The equation \(t^2+1=5\) gives \(t=2\) or \(-2\). Only \(t=-2\) and \(t=2\) solve both. Each lies in the interval, so the particle passes through \((0,5)\) twice. Both coordinates are polynomials, with rates \(dx/dt=3t^2-4\) and \(dy/dt=2t\):
At \(t=-2\), the particle moves to the right and down, and the slope of the path is \(\frac{-4}{8}=-\frac12\). At \(t=2\), it moves to the right and up, and the slope is \(\frac12\). The path crosses itself at \((0,5)\), with a different tangent line for each pass.
Each example is one of the four skills of topic 9.1 in Which & Why: AP Calculus.