Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Differentiate Parametric Curves

When xx and yy are both given through a parameter tt, the slope dydx\frac{dy}{dx} is the ratio of the two rates, dydt\frac{dy}{dt} over dxdt\frac{dx}{dt}. The second derivative needs one more division by dxdt\frac{dx}{dt}, not a ratio of second derivatives.

Recognize the task

The curve is given as x=x(t)x = x(t), y=y(t)y = y(t): a circle x=cos⁡tx = \cos t, y=sin⁡ty = \sin t; a cusp x=t2x = t^2, y=t3y = t^3; a cycloid x=t−sin⁡tx = t - \sin t, y=1−cos⁡ty = 1 - \cos t. The question asks for the slope, the tangent line or the concavity at a value of tt. Test: no equation links xx and yy directly; both depend on a third letter.
The lesson introduces these curves under Differentiation Techniques; the formula is the chain rule written in Leibniz form.

Two ways to do it

Ratio of the two ratesusual choice
dydx=dy/dtdx/dt,dxdt≠0\frac{dy}{dx} = \frac{dy/dt}{dx/dt}, \qquad \frac{dx}{dt} \neq 0
The parametric first derivative. Works for every parametric curve, including ones that loop or cross themselves.
Eliminate the parameterwhen t cancels easily
x=t2,  y=t3  ⇒  y=x3/2 (t≥0)x = t^2,\; y = t^3 \;\Rightarrow\; y = x^{3/2}\ (t \ge 0)
Only when tt can be removed. Signs and branches need care: the eliminated form often covers only part of the curve.

Steps

StepOn x=cos⁡tx = \cos t, y=sin⁡ty = \sin t at t=π6t = \frac{\pi}{6}
1Differentiate x with respect to t. Here a trig derivative.Trig derivative rules ↗dxdt=−sin⁡t\frac{dx}{dt} = -\sin t
2Differentiate y with respect to t. Keep the two derivatives on separate lines so they do not get swapped.Trig derivative rules ↗dydt=cos⁡t\frac{dy}{dt} = \cos t
3Divide: dy/dt on top, dx/dt below. This is the parametric first derivative. Note where dxdt=0\frac{dx}{dt} = 0: there the tangent is vertical (if dydt≠0\frac{dy}{dt} \neq 0).dydx=cos⁡t−sin⁡t=−cot⁡t\frac{dy}{dx} = \frac{\cos t}{-\sin t} = -\cot t
4Substitute the value of t. For a tangent line you also need the point: compute x(t)x(t) and y(t)y(t) at the same tt.dydx∣t=π/6=−3\frac{dy}{dx}\big|_{t=\pi/6} = -\sqrt{3} at the point (32,12)\left(\frac{\sqrt{3}}{2}, \frac{1}{2}\right)
5For the second derivative, differentiate dy/dx with respect to t and divide by dx/dt again. dydx\frac{dy}{dx} is a function of tt, so the parametric second derivative is ddt[dydx]÷dxdt\frac{d}{dt}\left[\frac{dy}{dx}\right] \div \frac{dx}{dt}.d2ydx2=csc⁡2t−sin⁡t=−1sin⁡3t\frac{d^2y}{dx^2} = \frac{\csc^2 t}{-\sin t} = -\frac{1}{\sin^3 t}

Worked examples

Example 1 · slope on the unit circle

first derivative
x=cos⁡t,y=sin⁡tx = \cos t,\quad y = \sin t
slope at t=π6t = \frac{\pi}{6}
dxdt=−sin⁡t,dydt=cos⁡t\frac{dx}{dt} = -\sin t,\quad \frac{dy}{dt} = \cos t
differentiate each coordinate
dydx=cos⁡t−sin⁡t=−cot⁡t\frac{dy}{dx} = \frac{\cos t}{-\sin t} = -\cot t
yy-rate over xx-rate
dydx∣π/6=−3\frac{dy}{dx}\big|_{\pi/6} = -\sqrt{3}
perpendicular to the radius of slope 13\frac{1}{\sqrt{3}}

Example 2 · tangent line to a cusp curve

tangent line
x=t2,y=t3x = t^2,\quad y = t^3
tangent at t=2t = 2
dydx=3t22t=3t2=3\frac{dy}{dx} = \frac{3t^2}{2t} = \frac{3t}{2} = 3
ratio, then t=2t = 2
(x,y)=(4,8)(x, y) = (4, 8)
the point at t=2t = 2
y−8=3(x−4)  ⇒  y=3x−4y - 8 = 3(x - 4) \;\Rightarrow\; y = 3x - 4
point-slope form

Example 3 · concavity of a cycloid

second derivative
x=t−sin⁡t,y=1−cos⁡tx = t - \sin t,\quad y = 1 - \cos t
concavity at t=π2t = \frac{\pi}{2}
dydx=sin⁡t1−cos⁡t\frac{dy}{dx} = \frac{\sin t}{1 - \cos t}
first derivative
ddt[dydx]=cos⁡t−1(1−cos⁡t)2=−11−cos⁡t\frac{d}{dt}\left[\frac{dy}{dx}\right] = \frac{\cos t - 1}{(1 - \cos t)^2} = -\frac{1}{1 - \cos t}
quotient rule; cos⁡2t+sin⁡2t=1\cos^2 t + \sin^2 t = 1
d2ydx2=−1(1−cos⁡t)2\frac{d^2y}{dx^2} = -\frac{1}{(1 - \cos t)^2}
divide by dxdt=1−cos⁡t\frac{dx}{dt} = 1 - \cos t
d2ydx2∣π/2=−1<0\frac{d^2y}{dx^2}\big|_{\pi/2} = -1 < 0
concave down, as an arch should be

See it happen

Think of tt as time and of the point as moving along the curve. dxdt\frac{dx}{dt} is its sideways speed and dydt\frac{dy}{dt} its upward speed, so the slope of the path is rise per run, and the dtdt cancels. It does not cancel a second time: d2ydx2\frac{d^2y}{dx^2} is how fast the slope changes per unit of xx, so you divide by dxdt\frac{dx}{dt} once more.

Common mistakes

Flipping the ratio

✗ dydx=dx/dtdy/dt\frac{dy}{dx} = \frac{dx/dt}{dy/dt}
✓ dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt}
At t=π4t = \frac{\pi}{4} on the circle both orders give −1-1, so a check there catches nothing. Test at t=π6t = \frac{\pi}{6} instead.

Dividing the second derivatives

✗ d2ydx2=d2y/dt2d2x/dt2\frac{d^2y}{dx^2} = \frac{d^2y/dt^2}{d^2x/dt^2}
✓ d2ydx2=ddt[dydx]dx/dt\frac{d^2y}{dx^2} = \frac{\frac{d}{dt}\left[\frac{dy}{dx}\right]}{dx/dt}

Using t as the x-coordinate of the point

✗ tangent at t=2t = 2 passes through (2, ⋅ )(2, \,\cdot\,)
✓ the point is (x(2),y(2))=(4,8)(x(2), y(2)) = (4, 8)

Reading dx/dt = 0 as "no tangent"

✗ at t=0t = 0 on the circle the slope is undefined, so there is no tangent
✓ the tangent is vertical there, since dydt≠0\frac{dy}{dt} \neq 0