Derivatives · Class 12 · Lesson 12

Parametric differentiation: divide one rate by another.

Short answer

If \(x = f(t)\) and \(y = g(t)\), then \(\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt}\), as long as \(\dfrac{dx}{dt} \ne 0\).

For the parabola \(x = at^2\), \(y = 2at\): \(\dfrac{dy}{dt} = 2a\) and \(\dfrac{dx}{dt} = 2at\), so \(\dfrac{dy}{dx} = \dfrac{1}{t}\).

Class 12HSC & CBSEEngineering
01

Curves described by a third variable

Some curves are easier to describe by saying where a moving point is at each moment. Instead of one equation linking \(x\) and \(y\), you get two equations, \(x = f(t)\) and \(y = g(t)\), and the third variable \(t\) is called the parameter. It is often a time or an angle.

For example, \(x = a\cos t\), \(y = a\sin t\) traces the circle \(x^2 + y^2 = a^2\) as \(t\) runs from 0 to \(2\pi\). You can check this: \(x^2 + y^2 = a^2(\cos^2 t + \sin^2 t) = a^2\). To find the slope of such a curve you don't need to get rid of \(t\) at all.

Parametric derivative

\[\frac{dy}{dx} = \frac{dy/dt}{dx/dt}, \qquad \text{provided } \frac{dx}{dt} \ne 0\]

Why it works. Along the curve, \(y\) depends on \(x\), and \(x\) depends on \(t\). The chain rule says \(\dfrac{dy}{dt} = \dfrac{dy}{dx}\cdot\dfrac{dx}{dt}\). Divide both sides by \(\dfrac{dx}{dt}\) and you have the formula. In everyday terms: if a small change in \(t\) moves the point by \(\Delta x\) across and \(\Delta y\) up, the slope is \(\dfrac{\Delta y}{\Delta x} = \dfrac{\Delta y/\Delta t}{\Delta x/\Delta t}\), and letting \(\Delta t \to 0\) gives the same result.

Two special cases are worth spotting. If \(\dfrac{dy}{dt} = 0\) while \(\dfrac{dx}{dt} \ne 0\), the tangent is horizontal. If \(\dfrac{dx}{dt} = 0\) while \(\dfrac{dy}{dt} \ne 0\), the tangent is vertical and the slope is undefined.

02

The method and standard curves

  1. Differentiate \(x\) with respect to \(t\).
  2. Differentiate \(y\) with respect to \(t\).
  3. Divide \(\dfrac{dy}{dt}\) by \(\dfrac{dx}{dt}\), and simplify. Trig answers usually simplify with a double-angle or half-angle identity.
  4. For a slope at a point, substitute the value of \(t\) at the end.
CurveParametric form\(\dfrac{dy}{dx}\)
Parabola \(y^2 = 4ax\)\(x = at^2,\ y = 2at\)\(\dfrac{1}{t}\)
Circle \(x^2 + y^2 = a^2\)\(x = a\cos t,\ y = a\sin t\)\(-\cot t\)
Rectangular hyperbola \(xy = c^2\)\(x = ct,\ y = \dfrac{c}{t}\)\(-\dfrac{1}{t^2}\)
Astroid \(x^{2/3} + y^{2/3} = a^{2/3}\)\(x = a\cos^3 t,\ y = a\sin^3 t\)\(-\tan t\)
Cycloid\(x = a(\theta - \sin\theta),\ y = a(1 - \cos\theta)\)\(\cot\dfrac{\theta}{2}\)
03

Differentiating one function with respect to another

Questions sometimes ask for the derivative of \(\sin x\) with respect to \(\cos x\). This is parametric differentiation in disguise: call \(u = \sin x\) and \(v = \cos x\), and treat \(x\) as the parameter.

Derivative of u with respect to v

\[\frac{du}{dv} = \frac{du/dx}{dv/dx}\]

So \(\dfrac{d(\sin x)}{d(\cos x)} = \dfrac{\cos x}{-\sin x} = -\cot x\). The function in the denominator of the question, the one you differentiate "with respect to", always goes in the denominator of the answer.

04

Solved examples

Example 1: The parabola

Easy

Find \(\dfrac{dy}{dx}\) if \(x = at^2\), \(y = 2at\).

  1. \(\dfrac{dx}{dt} = 2at\) and \(\dfrac{dy}{dt} = 2a\).
  2. \(\dfrac{dy}{dx} = \dfrac{2a}{2at}\).
  3. Check: these points satisfy \(y^2 = 4ax\), and implicit differentiation gives \(\dfrac{dy}{dx} = \dfrac{2a}{y} = \dfrac{2a}{2at}\), the same.

Answer\(\dfrac{dy}{dx} = \dfrac{1}{t}\)

Example 2: The circle

Easy

Find \(\dfrac{dy}{dx}\) if \(x = a\cos t\), \(y = a\sin t\), and the slope at \(t = \dfrac{\pi}{4}\).

  1. \(\dfrac{dx}{dt} = -a\sin t\) and \(\dfrac{dy}{dt} = a\cos t\).
  2. \(\dfrac{dy}{dx} = \dfrac{a\cos t}{-a\sin t} = -\cot t\).
  3. At \(t = \dfrac{\pi}{4}\): \(-\cot\dfrac{\pi}{4} = -1\).

Answer\(\dfrac{dy}{dx} = -\cot t\); slope \(-1\) at \(t = \dfrac{\pi}{4}\)

Example 3: The astroid

Medium

Find \(\dfrac{dy}{dx}\) if \(x = a\cos^3 t\), \(y = a\sin^3 t\).

  1. Chain rule: \(\dfrac{dx}{dt} = 3a\cos^2 t\cdot(-\sin t)\), that is \(-3a\cos^2 t\sin t\).
  2. \(\dfrac{dy}{dt} = 3a\sin^2 t\cos t\).
  3. Divide and cancel \(3a\sin t\cos t\): \(\dfrac{dy}{dx} = \dfrac{\sin t}{-\cos t}\).

Answer\(\dfrac{dy}{dx} = -\tan t\)

Example 4: The cycloid

Exam level

If \(x = a(\theta - \sin\theta)\), \(y = a(1 - \cos\theta)\), show that \(\dfrac{dy}{dx} = \cot\dfrac{\theta}{2}\).

  1. \(\dfrac{dx}{d\theta} = a(1 - \cos\theta) = 2a\sin^2\dfrac{\theta}{2}\), using \(1 - \cos\theta = 2\sin^2\dfrac{\theta}{2}\).
  2. \(\dfrac{dy}{d\theta} = a\sin\theta = 2a\sin\dfrac{\theta}{2}\cos\dfrac{\theta}{2}\).
  3. Divide: \(\dfrac{dy}{dx} = \dfrac{2a\sin\frac{\theta}{2}\cos\frac{\theta}{2}}{2a\sin^2\frac{\theta}{2}} = \dfrac{\cos\frac{\theta}{2}}{\sin\frac{\theta}{2}}\).
  4. Watch the sign inside the brackets. With \(x = a(\theta + \sin\theta)\) instead, the same steps give \(\tan\dfrac{\theta}{2}\) (Practice Q3).

Answer\(\dfrac{dy}{dx} = \cot\dfrac{\theta}{2}\)

Example 5: A board favourite

Exam level

If \(x = a(\cos t + t\sin t)\) and \(y = a(\sin t - t\cos t)\), find \(\dfrac{dy}{dx}\).

  1. The product rule on \(t\sin t\) gives \(\sin t + t\cos t\). So \(\dfrac{dx}{dt} = a(-\sin t + \sin t + t\cos t)\), which is \(at\cos t\).
  2. The product rule on \(t\cos t\) gives \(\cos t - t\sin t\). So \(\dfrac{dy}{dt} = a(\cos t - \cos t + t\sin t)\), which is \(at\sin t\).
  3. Divide: \(\dfrac{at\sin t}{at\cos t}\).

Answer\(\dfrac{dy}{dx} = \tan t\)

Example 6: Slope at a given value of t

Medium

A curve is given by \(x = t^2 - 1\), \(y = t^3 - t\). Find the slope of the tangent at \(t = 2\), and the values of \(t\) where the tangent is horizontal.

  1. \(\dfrac{dx}{dt} = 2t\), \(\dfrac{dy}{dt} = 3t^2 - 1\), so \(\dfrac{dy}{dx} = \dfrac{3t^2 - 1}{2t}\).
  2. At \(t = 2\): \(\dfrac{11}{4}\). The point is \((3, 6)\).
  3. Horizontal tangent: \(3t^2 - 1 = 0\) (and \(2t \ne 0\) there), so \(t = \pm\dfrac{1}{\sqrt{3}}\).

AnswerSlope \(\dfrac{11}{4}\) at \((3, 6)\); horizontal at \(t = \pm\dfrac{1}{\sqrt{3}}\)

Example 7: One function with respect to another

Medium

Differentiate \(\sin^2 x\) with respect to \(e^{\cos x}\).

  1. Let \(u = \sin^2 x\) and \(v = e^{\cos x}\).
  2. \(\dfrac{du}{dx} = 2\sin x\cos x\) and \(\dfrac{dv}{dx} = e^{\cos x}\cdot(-\sin x)\).
  3. \(\dfrac{du}{dv} = \dfrac{2\sin x\cos x}{-\sin x\,e^{\cos x}}\). Cancel \(\sin x\).

Answer\(\dfrac{du}{dv} = -\dfrac{2\cos x}{e^{\cos x}}\)

Example 8: Inverse trig with respect to inverse trig

Exam level

Differentiate \(\tan^{-1}\dfrac{2x}{1 - x^2}\) with respect to \(\sin^{-1}\dfrac{2x}{1 + x^2}\), for \(-1 < x < 1\).

  1. Put \(x = \tan\theta\) with \(-\dfrac{\pi}{4} < \theta < \dfrac{\pi}{4}\), so \(2\theta\) lies between \(-\dfrac{\pi}{2}\) and \(\dfrac{\pi}{2}\).
  2. \(\dfrac{2x}{1 - x^2} = \tan 2\theta\), so \(u = \tan^{-1}(\tan 2\theta) = 2\theta\).
  3. \(\dfrac{2x}{1 + x^2} = \sin 2\theta\), so \(v = \sin^{-1}(\sin 2\theta) = 2\theta\).
  4. So \(u = v\) on this interval, and \(\dfrac{du}{dv} = 1\). The inverse trig lesson explains these substitutions.

Answer\(\dfrac{du}{dv} = 1\)

Vipul Sir's tip

Students often try to eliminate \(t\) and get a single equation in \(x\) and \(y\) first. Don't, unless the question asks for it. Differentiating each part with respect to \(t\) is shorter, and the answer in terms of \(t\) is exactly what the examiner wants.

05

A note on the second derivative

To find \(\dfrac{d^2y}{dx^2}\), differentiate \(\dfrac{dy}{dx}\) (which is in terms of \(t\)) with respect to \(t\), then multiply by \(\dfrac{dt}{dx}\):

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

For the circle, \(\dfrac{dy}{dx} = -\cot t\), so \(\dfrac{d}{dt}(-\cot t) = \operatorname{cosec}^2 t\), and \(\dfrac{dt}{dx} = -\dfrac{1}{a\sin t}\). Multiplying gives \(\dfrac{d^2y}{dx^2} = -\dfrac{1}{a\sin^3 t}\). More worked examples are in higher-order derivatives.

06

Common mistakes

1. Dividing the wrong way round

\(\dfrac{dy}{dx}\) is \(\dfrac{dy/dt}{dx/dt}\), with \(y\) on top. For the parabola \(x = at^2\), \(y = 2at\), the upside-down version gives \(t\), but the slope is \(\dfrac{1}{t}\).

2. Dividing second derivatives

\(\dfrac{d^2y}{dx^2}\) is not \(\dfrac{d^2y/dt^2}{d^2x/dt^2}\). For the parabola, that would give \(\dfrac{0}{2a} = 0\). The correct value is \(-\dfrac{1}{2at^3}\), using the method above.

3. Ignoring a zero in dx/dt

For the circle at \(t = 0\), \(\dfrac{dx}{dt} = -a\sin 0 = 0\) and \(\dfrac{dy}{dt} = a\). The slope is undefined: the tangent at \((a, 0)\) is the vertical line \(x = a\). Check \(\dfrac{dx}{dt}\) before you divide.

07

Practice questions

Try each one on paper before you open the answer.

Q1Find \(\dfrac{dy}{dx}\) if \(x = 2t^2\), \(y = t^4\).

\(\dfrac{dx}{dt} = 4t\), \(\dfrac{dy}{dt} = 4t^3\), so \(\dfrac{dy}{dx} = t^2\).

Q2Find \(\dfrac{dy}{dx}\) for the ellipse \(x = a\cos t\), \(y = b\sin t\).

\(\dfrac{dy}{dx} = \dfrac{b\cos t}{-a\sin t} = -\dfrac{b}{a}\cot t\).

Q3If \(x = a(\theta + \sin\theta)\), \(y = a(1 - \cos\theta)\), show that \(\dfrac{dy}{dx} = \tan\dfrac{\theta}{2}\).

\(\dfrac{dx}{d\theta} = a(1 + \cos\theta) = 2a\cos^2\dfrac{\theta}{2}\) and \(\dfrac{dy}{d\theta} = a\sin\theta = 2a\sin\dfrac{\theta}{2}\cos\dfrac{\theta}{2}\).

Dividing gives \(\dfrac{\sin(\theta/2)}{\cos(\theta/2)} = \tan\dfrac{\theta}{2}\).

Q4Find \(\dfrac{dy}{dx}\) if \(x = e^t\cos t\), \(y = e^t\sin t\), and its value at \(t = 0\).

\(\dfrac{dx}{dt} = e^t(\cos t - \sin t)\), \(\dfrac{dy}{dt} = e^t(\sin t + \cos t)\).

\(\dfrac{dy}{dx} = \dfrac{\sin t + \cos t}{\cos t - \sin t}\), which is \(1\) at \(t = 0\).

Q5Find the slope of the curve \(x = t + \dfrac{1}{t}\), \(y = t - \dfrac{1}{t}\) at \(t = 2\).

\(\dfrac{dx}{dt} = 1 - \dfrac{1}{t^2}\), \(\dfrac{dy}{dt} = 1 + \dfrac{1}{t^2}\), so \(\dfrac{dy}{dx} = \dfrac{t^2 + 1}{t^2 - 1}\).

At \(t = 2\): \(\dfrac{5}{3}\).

Q6Differentiate \(\tan x\) with respect to \(\sec x\).

\(\dfrac{d(\tan x)}{d(\sec x)} = \dfrac{\sec^2 x}{\sec x\tan x} = \dfrac{\sec x}{\tan x}\).

\(\dfrac{\sec x}{\tan x} = \dfrac{1}{\cos x}\cdot\dfrac{\cos x}{\sin x} = \operatorname{cosec} x\).

Stuck on a question?

Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.

08

Frequently asked questions

What is parametric differentiation?

Finding \(\dfrac{dy}{dx}\) when \(x\) and \(y\) are both given in terms of a third variable, the parameter \(t\). You differentiate each with respect to \(t\) and divide: \(\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt}\).

Why is dy/dx equal to (dy/dt)/(dx/dt)?

By the chain rule, \(\dfrac{dy}{dt} = \dfrac{dy}{dx}\cdot\dfrac{dx}{dt}\). Dividing both sides by \(\dfrac{dx}{dt}\), which must not be zero, gives the formula.

How do you find the second derivative of parametric equations?

Differentiate \(\dfrac{dy}{dx}\) with respect to \(t\), then multiply by \(\dfrac{dt}{dx}\), which is \(\dfrac{1}{dx/dt}\). Dividing \(\dfrac{d^2y}{dt^2}\) by \(\dfrac{d^2x}{dt^2}\) is wrong.

What does differentiating one function with respect to another mean?

It asks how fast one function changes compared with the other. For \(u(x)\) with respect to \(v(x)\), the answer is \(\dfrac{du/dx}{dv/dx}\). For example, the derivative of \(\sin x\) with respect to \(\cos x\) is \(-\cot x\).

Related lessons

← All derivatives lessons
Vipul Sir
Written by Vipul Sir

Vipul Sir has taught mathematics for over 15 years to HSC, CBSE, ICSE, IGCSE/IB, Diploma, Engineering and BSc students at VVS Classes in Goregaon and Vile Parle, Mumbai. He teaches every class himself, concepts first and exam technique second.

Class 11 & 12 Maths

Differentiation gets easy once the basics click.

Concept-first classes in small batches in Goregaon and Vile Parle, or online, for HSC, CBSE and ICSE students. Your first class is free.

WhatsApp↗