Through a third variable
x = f(t), y = g(t): dy/dx = (dy/dt) ÷ (dx/dt).
A curve traced in time
A point moves round a circle: at time θ it is at x = a cos θ, y = a sin θ. Neither x nor y is given in terms of the other: both are given in terms of a third variable, θ.
To find the slope dy/dx of the circle, do we first need y as a function of x?
What this lesson covers
The idea
If x = f(t) and y = g(t), then dy/dx = (dy/dt)/(dx/dt), provided dx/dt ≠ 0; the result is in terms of the parameter only.
A curve traced in time
A point moves round a circle: at time θ it is at x = a cos θ, y = a sin θ. Neither x nor y is given in terms of the other: both are given in terms of a third variable, θ.
To find the slope dy/dx of the circle, do we first need y as a function of x?
- yes, solve for y first
- no, the rates with respect to θ are enough
Slide the parameter
Slide the parameter to move the point along each curve. The panel shows dx/dθ (or dx/dt), dy/dθ and the slope of the tangent. Find the formula for dy/dx that matches the slope at every point.
Divide the two rates
A relation x = f(t), y = g(t) is in parametric form with t as a parameter. By the chain rule, dy/dt = (dy/dx) · (dx/dt), so dy/dx = (dy/dt) / (dx/dt) = g′(t)/f′(t), whenever dx/dt ≠ 0.
Circle: dx/dθ = −a sin θ, dy/dθ = a cos θ, so dy/dx = −cot θ. Parabola: dx/dt = 2at, dy/dt = 2a, so dy/dx = 1/t.
Note that dy/dx is expressed in terms of the parameter only, without directly involving the main variables x and y.
Notes
x = f(t), y = g(t): dy/dx = (dy/dt) ÷ (dx/dt), provided dx/dt ≠ 0. The answer is in terms of the parameter.
Check yourself
x = at², y = 2at. At t = 2, dy/dx = ?
x = a cos θ, y = a sin θ. What is dy/dx at θ = π/4?
Answer: -1
−cot (π/4) = −1. On the circle at 45°, the tangent slopes down at 45°.
When is the formula dy/dx = (dy/dt)/(dx/dt) not usable?
- 2. That is t itself. dy/dx = 1/t.
- 1/2 — correct. Right: 1/t = 1/2.
- 4a. dy/dx = (2a)/(2at) = 1/t; a cancels.
- when dx/dt = 0 — correct. Right. Then we would divide by zero; on the circle this happens at θ = 0 and θ = π, where the tangent is vertical.
- when dy/dt = 0. Then dy/dx = 0: a horizontal tangent. That is fine.
- when t is negative. The sign of t does not matter.