girgit.org

Continuity and Differentiability

Derivatives of functions in parametric form

The big ideaIf \( x = f(t) \) and \( y = g(t) \) are both given in terms of a third variable t, then \( \frac{dy}{dx} = \frac{dy/dt}{dx/dt} = \frac{g'(t)}{f'(t)} \), as long as \( f'(t) \ne 0 \).

In simple words

Watch an ant crawling on a page. A clock is ticking. Every tick, you note how far the ant moved across and how far it moved up. To find how steep its path is, just divide "up per tick" by "across per tick". You never need to write the path as "up as a formula of across".

A third variable in charge

So far x and y were linked directly, either explicitly (\( y = f(x) \)) or implicitly (an equation in x and y). Sometimes neither is handy. Instead, both x and y are given in terms of a third variable. That third variable is the parameter, and the pair

\[ x = f(t), \qquad y = g(t) \]

is the parametric form of the relation, with t as the parameter.

A cricket ball hit at an angle is a good example. Take t as time in seconds. Suppose its distance along the ground is \( x = 20t \) metres and its height is \( y = 15t - 5t^2 \) metres. Each formula is simple. The path itself, y in terms of x, is a parabola that takes more work to write.

The formula

By the chain rule, \( \frac{dy}{dt} = \frac{dy}{dx}\cdot\frac{dx}{dt} \). Divide by \( \frac{dx}{dt} \):

\[ \frac{dy}{dx} = \frac{\;\frac{dy}{dt}\;}{\;\frac{dx}{dt}\;} = \frac{g'(t)}{f'(t)}, \qquad \text{provided } f'(t) \ne 0 \]

Notice the answer usually comes out in terms of t alone, without x or y.

Worked example 1: the cricket ball

\( x = 20t \), \( y = 15t - 5t^2 \). Then \( \frac{dx}{dt} = 20 \) and \( \frac{dy}{dt} = 15 - 10t \).

\( \frac{dy}{dx} = \dfrac{15 - 10t}{20} = \dfrac{3 - 2t}{4} \).

At \( t = 0 \) the slope is \( \frac{3}{4} \): the ball leaves the bat climbing. At \( t = 1.5 \) the slope is 0: the top of its flight. After that the slope is negative: it is coming down.

Try it: run the clock back and forth on the ball, the ellipse and the cusp, and watch the two rates.

Worked example 2: an ellipse

\( x = 2\cos t \), \( y = 3\sin t \). Then \( \frac{dx}{dt} = -2\sin t \), \( \frac{dy}{dt} = 3\cos t \), and

\[ \frac{dy}{dx} = \frac{3\cos t}{-2\sin t} = -\frac{3}{2}\cot t, \qquad \sin t \ne 0 \]

(These points satisfy \( \frac{x^2}{4} + \frac{y^2}{9} = 1 \), an ellipse.)

Worked example 3: a curve with a cusp

\( x = t^2 \), \( y = t^3 \). \( \frac{dy}{dx} = \frac{3t^2}{2t} = \frac{3t}{2} \) for \( t \ne 0 \). At \( t = 0 \), \( \frac{dx}{dt} = 0 \), and the formula cannot be used: the curve has a sharp point (a cusp) at the origin.

Worked example 4: exponentials and trig

\( x = e^t\cos t \), \( y = e^t\sin t \). Product rule: \( \frac{dx}{dt} = e^t(\cos t - \sin t) \), \( \frac{dy}{dt} = e^t(\sin t + \cos t) \).

\( \frac{dy}{dx} = \dfrac{\sin t + \cos t}{\cos t - \sin t} \), where \( \cos t \ne \sin t \). The \( e^t \) cancels.

Differentiating one function with respect to another

The same idea answers questions like "differentiate \( u(x) \) with respect to \( v(x) \)". Here x plays the part of the parameter:

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

Worked example 5

Differentiate \( \tan x \) with respect to \( \sec x \). \( \frac{d}{dx}\tan x = \sec^2 x \), \( \frac{d}{dx}\sec x = \sec x\tan x \). So \( \frac{du}{dv} = \frac{\sec^2 x}{\sec x\tan x} = \frac{\sec x}{\tan x} = \operatorname{cosec} x \).

Don't mix these up

  • It is \( \frac{dy/dt}{dx/dt} \): y on top. Swapping gives \( \frac{dx}{dy} \), the reciprocal.
  • The formula fails where \( \frac{dx}{dt} = 0 \). There the tangent may be vertical, or the curve may have a cusp.

Try it. Find \( \frac{dy}{dx} \): (a) \( x = 3t^2 \), \( y = 6t \); (b) \( x = \sin t \), \( y = \cos 2t \); (c) \( x = \sec\theta \), \( y = \tan\theta \).

Answer
(a) \( \frac{6}{6t} = \frac{1}{t} \). (b) \( \frac{-2\sin 2t}{\cos t} = \frac{-4\sin t\cos t}{\cos t} = -4\sin t \). (c) \( \frac{\sec^2\theta}{\sec\theta\tan\theta} = \frac{\sec\theta}{\tan\theta} = \operatorname{cosec}\theta \).

Words to know

Parameter
A third variable (often t or θ) in terms of which both x and y are given.
Parametric form
\( x = f(t) \), \( y = g(t) \): a curve described by where it is at each value of t.
Parametric derivative
\( \frac{dy}{dx} = \frac{g'(t)}{f'(t)} \), when \( f'(t) \ne 0 \).
Cusp
A sharp point on a curve where the direction reverses.

If \( x = t^3 \) and \( y = t^2 \), what is \( \frac{dy}{dx} \)?

  1. \( \frac{3t}{2} \)
  2. \( \frac{2}{3t} \)
  3. \( 6t^3 \)

For a ball with \( x = 10t \), \( y = 20t - 5t^2 \), when does it reach its highest point?

  1. \( t = 4 \)
  2. \( t = 2 \)
  3. When \( \frac{dx}{dt} = 0 \)

What is the derivative of \( x^2 \) with respect to \( x^3 \)?

  1. \( \frac{2}{3x} \)
  2. \( \frac{3x}{2} \)
  3. \( 6x^3 \)