Why This Matters
In the real world, quantities change simultaneously. When you inflate a balloon, its radius, surface area, and volume all increase at the same time -- but at different rates. Related rates problems use calculus to connect these different rates of change through the equations that link the quantities.
The technique is straightforward: find an equation relating the quantities, differentiate both sides with respect to time using the chain rule, then plug in the known values and rates to solve for the unknown rate. Every term involving a changing quantity picks up a "d/dt" factor -- this is implicit differentiation with respect to time.
Understanding differential relationships between variables is crucial in physics (velocity, acceleration, forces), engineering (flow rates, temperature changes), economics (growth rates, inflation), and any field where multiple quantities change together. Related rates problems train you to translate real-world scenarios into mathematical equations and extract useful information.
Define Terms
Visual Model
The full process at a glance. Click Start tour to walk through each step.
Related rates: connect an equation, differentiate with respect to time, substitute known values, solve for the unknown rate.
Code Example
// Related rates: expanding circle
// A = pi * r^2
// dA/dt = 2 * pi * r * (dr/dt)
function circleAreaRate(r, drdt) {
return 2 * Math.PI * r * drdt;
}
console.log("Expanding circle: dr/dt = 2 cm/s");
const drdt = 2;
for (const r of [1, 2, 5, 10]) {
const dAdt = circleAreaRate(r, drdt);
console.log(`r = ${r} cm: dA/dt = ${dAdt.toFixed(2)} sq cm/s`);
}
// Related rates: filling a cone
// V = (1/3) * pi * r^2 * h
// If cone has fixed ratio r/h = 1/3 (r = h/3):
// V = (1/3) * pi * (h/3)^2 * h = pi * h^3 / 27
// dV/dt = pi * h^2 / 9 * (dh/dt)
// Solving for dh/dt: dh/dt = 9 * dV/dt / (pi * h^2)
console.log("\nFilling a cone: dV/dt = 10 cubic cm/s");
const dVdt = 10;
for (const h of [2, 5, 10, 20]) {
const dhdt = (9 * dVdt) / (Math.PI * h * h);
console.log(`h = ${h} cm: dh/dt = ${dhdt.toFixed(4)} cm/s`);
}
console.log("Notice: water level rises slower as cone widens!");
// Numerical verification
function verifyRelatedRate(quantityFn, paramFn, t, dt = 0.0001) {
// quantityFn(paramFn(t)) vs quantityFn(paramFn(t + dt))
const q1 = quantityFn(paramFn(t));
const q2 = quantityFn(paramFn(t + dt));
return (q2 - q1) / dt;
}
// If r(t) = 2t, A(r) = pi*r^2, at t=2.5 (r=5)
const numericalDAdt = verifyRelatedRate(
r => Math.PI * r * r, // A(r)
t => 2 * t, // r(t) with dr/dt = 2
2.5 // t where r = 5
);
console.log(`\nNumerical dA/dt at r=5: ${numericalDAdt.toFixed(2)}`); // ~62.83Interactive Experiment
Try these exercises:
- An expanding sphere: V = (4/3)pir^3. If dr/dt = 0.5 cm/s, how fast is the volume changing when r = 10?
- A ladder slides down a wall: x^2 + y^2 = L^2. If the base moves at 1 m/s, how fast does the top slide down when x = 6 (L = 10)?
- Modify the cone example to use a different ratio r/h = 1/2. How does the rate of height change compare?
- Two cars leave an intersection at right angles. If one goes 30 mph north and the other 40 mph east, how fast is the distance between them increasing after 1 hour?
- Plot dA/dt vs r for the expanding circle. Why is the relationship linear?
Quick Quiz
Coding Challenge
Write a function called `circleRates` that takes the current radius r and the rate of radius change drdt. Return an object with the rate of change of the area (dAdt) and the rate of change of the circumference (dCdt). Use A = pi*r^2 (so dA/dt = 2*pi*r*dr/dt) and C = 2*pi*r (so dC/dt = 2*pi*dr/dt). Round both values to 4 decimal places.
Real-World Usage
Related rates appear in many practical applications:
- Physics: Calculating how fast shadows lengthen as the sun sets, or how fast pressure changes in an expanding gas.
- Engineering: Determining flow rates in pipes, heat dissipation rates in cooling systems, and stress propagation in materials under load.
- Medicine: Modeling how fast a drug concentration changes in the bloodstream based on dosage rate and metabolism rate.
- Economics: Connecting inflation rate, money supply growth rate, and GDP growth rate through economic models.
- Aerospace: Computing how fast the distance to a target changes based on velocities and trajectories of two moving objects.