AP Calculus AB • Contextual Applications of Differentiation

Solving Related Rates Problems

Use implicit differentiation with respect to time to connect the changing rates of interrelated quantities.

AP Calculus AB illustration with a smooth curve, infinity sign, and measuring ruler
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The study of how changing quantities influence one another has been central to mathematics and the sciences since the invention of calculus in the late seventeenth century. When Isaac Newton and Gottfried Wilhelm Leibniz independently developed the tools of differentiation and integration, they were motivated in large part by physical problems—planetary motion, fluid flow, and projectile trajectories—in which multiple quantities change simultaneously and are linked by geometric or physical constraints. The idea that you could differentiate an equation relating two or more variables with respect to a single parameter, typically time, became one of the most practical applications of the chain rule. Today we call these scenarios related rates problems, and they remain a cornerstone of introductory calculus courses because they bridge the gap between abstract differentiation techniques and real-world modeling.

1687 • Newton's Principia

Newton publishes the Principia Mathematica, using "fluxions" (rates of change) to describe how planetary positions and velocities relate through gravitational laws—arguably the first systematic treatment of related rates.

1748 • Euler's Analytica

Leonhard Euler formalizes the function concept and employs implicit differentiation to analyze curves whose equations involve multiple variables, laying algebraic groundwork for the related-rates technique.

1797 • Lagrange's Théorie des Fonctions

Lagrange introduces the prime notation f′(x) and systematically applies the chain rule, making the differentiation of composite and implicitly defined functions far more accessible to students and practitioners.

1960s • Modern Calculus Curriculum

The "New Math" reforms and the rise of the AP Calculus program embed related rates problems as a standard topic, emphasizing the translation of verbal descriptions into differential equations and their interpretation.

The central question that related rates problems address is deceptively simple: if I know how fast one quantity is changing, how fast is a related quantity changing at a specific instant? Answering this requires recognizing the geometric or physical equation that ties the variables together, applying the chain rule to differentiate implicitly with respect to time, and then substituting known values to isolate the desired rate. Mastering this technique equips you to tackle a wide range of AP Calculus AB free-response and multiple-choice questions that assess your ability to model dynamic situations mathematically.

SECTION 2

Core Principles & Definitions

Before diving into computations, it is essential to internalize the foundational ideas that make related rates problems work. Each of these principles reflects a deeper calculus concept—the chain rule, implicit differentiation, or the interpretation of derivatives as instantaneous rates—applied to a scenario in which multiple quantities evolve together over time.

1

Everything Is a Function of Time

In a related rates problem, every variable that changes is implicitly a function of t. Even if the original equation (e.g., the Pythagorean theorem) contains no t, each variable depends on time, so differentiation requires the chain rule.
2

The Linking Equation

A geometric, trigonometric, or algebraic equation relates the changing quantities. This equation must hold for all instants of time, not just the moment in question. Identifying the correct equation is the most critical—and often most challenging—step.
3

Implicit Differentiation with Respect to t

Differentiating both sides of the linking equation with respect to t transforms the static equation into one that relates the rates dx/dt, dy/dt, etc. The chain rule is applied to every term.
4

Substitute at the Specific Instant

After differentiating, plug in the known values of all variables and rates at the given instant. Never substitute numerical values before differentiating—doing so destroys the functional dependence on time and eliminates the very rates you need.
5

Interpret and Verify

The answer is a rate (units per time). Check that the sign makes physical sense: a positive rate means the quantity is increasing, and a negative rate means it is decreasing. Also verify that the magnitude is reasonable in context.
✦

KEY TAKEAWAY

Think of a related rates problem like a complex machine with interlocking gears: when one gear (variable) turns, every connected gear turns as well, and the chain rule tells you exactly how the rotational speeds relate. The linking equation is the blueprint of the machine, and differentiating with respect to time is like reading off the gear ratios.

SECTION 3

Visual Explanation — The Ladder Problem

The classic sliding ladder problem is the quintessential related rates scenario and an ideal vehicle for visual understanding. A ladder of fixed length leans against a vertical wall; its base slides away from the wall at a known rate. We want to determine how fast the top of the ladder descends along the wall at a particular moment. The diagram below illustrates the geometry and the direction of each rate.

WallGroundL (constant)TopBasey(t)x(t)dx/dt > 0dy/dt < 0x² + y² = L²
The ladder of fixed length L connects the wall to the ground. As the base (cyan dot) moves to the right with rate dx/dt > 0, the top (pink dot) slides down with rate dy/dt < 0. The Pythagorean relationship x² + y² = L² is the linking equation.

Notice several things in the diagram. First, x(t) and y(t) are both functions of time even though the Pythagorean theorem is a purely geometric statement. Second, the ladder length L is a constant, so its derivative with respect to time is zero—this is precisely what generates a relationship between dx/dt and dy/dt. Third, the sign convention is physically meaningful: the base moves to the right (positive dx/dt) while the top slides down (negative dy/dt), consistent with the fact that the two rates must have opposite signs for the ladder's length to remain constant.

SECTION 4

Mathematical Framework

Every related rates problem reduces to the same calculus machinery: start with an equation relating the variables, differentiate implicitly with respect to t using the chain rule, and then solve algebraically for the unknown rate. Below are the key equations that appear most frequently on the AP Calculus AB exam.

CHAIN RULE (IMPLICIT IN t)

d/dt[f(u(t))]=f′(u)⋅du/dtd/dt [f(u(t))] = f′(u) · du/dt

If u is any quantity that depends on time, differentiating a function of u with respect to t produces f′(u) multiplied by du/dt. This is the engine behind every related rates derivation.

PYTHAGOREAN RELATION

x2+y2=L2⟹2x(dx/dt)+2y(dy/dt)=0x² + y² = L² ⟹ 2x(dx/dt) + 2y(dy/dt) = 0

Used in ladder and distance problems. Because L is constant, the right side is zero after differentiation.

VOLUME OF A CONE

V=(1/3)πr2h⟹dV/dt=(π/3)[2rh(dr/dt)+r2(dh/dt)]V = (1/3)πr²h ⟹ dV/dt = (π/3)[2rh(dr/dt) + r²(dh/dt)]

Appears in conical tank or sand pile problems. If the radius and height maintain a fixed ratio (similar triangles), substitute r = kh before differentiating to reduce the number of variables.

TRIGONOMETRIC RELATION

tanθ=y/x⟹sec2θ⋅(dθ/dt)=[x(dy/dt)−y(dx/dt)]/x2tan θ = y/x ⟹ sec²θ · (dθ/dt) = [x(dy/dt) − y(dx/dt)] / x²

Frequently used when an angle changes as lengths change—e.g., the angle of elevation from a fixed point to a moving object. Remember to apply the quotient rule on the right side.

⚠

Common Pitfall

Never plug in numerical values for variables before differentiating. If you substitute x = 6 before taking d/dt, the term involving dx/dt vanishes entirely because the derivative of a constant is zero. Always differentiate the general equation first, then substitute the snapshot values.

A clear inverted conical tank fills from a pipe, with a widening horizontal water surface.As water rises in a conical tank, its surface radius and depth increase together. Similar triangles express r in terms of h before the volume equation is differentiated.

SECTION 5

Step-by-Step Strategy & Problem Types

While related rates problems can involve an enormous variety of physical contexts—expanding balloons, draining tanks, moving shadows—the solution strategy is remarkably uniform. The flowchart below codifies the five-step process, and the table that follows categorizes the most common problem types by their linking equations.

Step 1: Draw & LabelSketch the scenario; assign variablesStep 2: Write the Linking EquationRelate the variables (geometry, trig, etc.)Step 3: Differentiate Implicitly w.r.t. tApply chain rule to every variableStep 4: Substitute Known ValuesPlug in rates and variable values at the instantStep 5: Solve & InterpretIsolate the unknown rate; check sign & unitsFive-Step Related Rates Strategy
Follow these five steps in order for every related rates problem. The most common source of errors is skipping Step 1 (drawing a clear diagram with labeled variables) or substituting numbers before completing Step 3.

Common Problem Types

Problem TypeLinking EquationKey Consideration
Ladder / Distancex² + y² = L²L is constant; dL/dt = 0
Expanding Sphere / BalloonV = (4/3)πr³ or S = 4πr²Often only one variable; straightforward chain rule
Conical TankV = (1/3)πr²h with r = khUse similar triangles to eliminate r before differentiating
Shadow / Angle of Elevationtan θ = y/x or similar trigDifferentiate trig functions carefully; keep track of sec²θ
Area of Expanding ShapeA = πr², A = s², A = (1/2)bh, etc.May involve product rule if two dimensions change independently

Frequently tested related rates scenarios on the AP Calculus AB exam

A three-part studio scene showing a wall spotlight, overhead camera, and point-light wall shadow.Similar triangles connect a 6 ft person, a wall 20 ft from the light, and the shadow height. Differentiate with respect to time to find how the shadow changes as the person moves.

Similar triangles connect a 6 ft person, a wall 20 ft from the light, and the shadow height. Differentiate with respect to time to find how the shadow changes as the person moves.Similar triangles connect a 6 ft person, a wall 20 ft from the light, and the shadow height. Differentiate with respect to time to find how the shadow changes as the person moves.

SECTION 6

Worked Example — Conical Sand Pile

Sand is poured onto a pile at a rate of 3 ft³/min. The pile maintains the shape of a right circular cone whose height is always equal to twice its base radius. How fast is the height of the pile increasing when the height is 4 ft?

Conical Sand Pile

  1. 1

    Step 1 — Draw and Label Variables

    We sketch a cone with base radius r and height h. Both r and h are functions of time t. We are given dV/dt = 3 ft³/min and that h = 2r (i.e., r = h/2). We want dh/dt when h = 4.
  2. 2

    Step 2 — Write the Linking Equation

    The volume of a cone is V = (1/3)πr²h. Since the cone's proportions are fixed with r = h/2, we eliminate r: V = (1/3)π(h/2)²h = (1/3)π(h²/4)h = πh³/12.
    V = πh³/12
  3. 3

    Step 3 — Differentiate Implicitly with Respect to t

    Applying the chain rule: dV/dt = (π/12) × 3h² × (dh/dt) = (πh²/4)(dh/dt).
    dV/dt = (πh²/4)(dh/dt)
  4. 4

    Step 4 — Substitute Known Values

    Substitute dV/dt = 3 and h = 4: 3 = (π(4)²/4)(dh/dt) = (16π/4)(dh/dt) = 4π(dh/dt).
  5. 5

    Step 5 — Solve and Interpret

    Solving for dh/dt: dh/dt = 3/(4π) ft/min ≈ 0.239 ft/min. Since dh/dt is positive, the height is increasing—consistent with sand being added to the pile.
    dh/dt = 3/(4π) ft/min ≈ 0.239 ft/min

A cone context photograph beside two idealized cones at a common scale, with heights 2 and 4 and radii 1 and 2. The model uses h=2r and gives dh/dt=3/(4π).For an idealized cone with h=2 r, adding 3 ft³/min at h=4 ft raises the height at 3/(4π)ft/min. The photo is qualitative; h=2r applies only to the separate idealized cone construction.

SECTION 7

Common Pitfalls & Exam Tips

Related rates problems are among the most nuanced on the AP Calculus AB exam because errors can creep in at multiple stages—from misidentifying the linking equation to confusing signs or units. The table below contrasts frequent mistakes with the correct approaches, and the key takeaway offers a mental model for avoiding these traps on test day.

Common PitfallCorrect Approach
Substituting numerical values before differentiating, which eliminates the rate termsAlways differentiate the general equation first, then substitute the snapshot values
Forgetting the chain rule—writing d(x²)/dt = 2x instead of 2x(dx/dt)Every variable is a function of t; each differentiation produces a dx/dt, dy/dt, etc.
Using the wrong geometric formula (e.g., volume of a cylinder for a cone)Read the problem carefully; sketch the geometry and confirm the formula before proceeding
Ignoring sign conventions—reporting a positive rate when the quantity is decreasingA decreasing quantity has a negative rate; include the sign and state its meaning in context
Failing to reduce the number of variables using constraints (e.g., similar triangles)Before differentiating, use any given proportional relationships to express V, A, etc., in terms of a single variable
Dropping units from the final answerAlways include units (e.g., ft/s, cm²/min); the AP exam expects them in free-response answers

Pitfall vs. Correct Approach for Related Rates

🎯

EXAM STRATEGY

On the AP exam, think of related rates problems as a four-lane highway: each lane is a step (equation, differentiate, substitute, solve). If you merge into the 'substitute' lane too early—before differentiating—you'll lose the rate information you need. Discipline yourself to stay in the correct lane by writing each step on a separate line, clearly labeling what you are doing. Graders award partial credit for correct intermediate work, so showing the differentiated equation even if you make a later arithmetic error can still earn you points.

SECTION 8

Connection to Advanced Topics

Related rates problems in AP Calculus AB are restricted to single-variable implicit differentiation with respect to time, but the underlying idea—that differentiation encodes how changes propagate through a network of dependent variables—scales dramatically in more advanced mathematics. Understanding where the AB-level technique sits in the broader landscape can deepen your conceptual appreciation and prepare you for future coursework.

AP Calculus AB (This Course)Advanced Extensions
Differentiate implicitly with respect to a single parameter tMultivariable calculus uses partial derivatives and the total derivative (chain rule for several variables) to handle functions of multiple independent parameters
One linking equation relating two or three variablesDifferential equations model systems with many interacting rates simultaneously—e.g., predator-prey models, electrical circuits
Solve for an instantaneous rate at a single momentIn physics and engineering, you solve for rate functions over time intervals, leading to systems of ODEs and numerical methods like Euler's method
Constants come from fixed geometry (e.g., ladder length)Constraint optimization (Lagrange multipliers) generalizes the idea of a fixed constraint linking variables to optimization in higher dimensions

How related rates ideas extend beyond AP Calculus AB

If you continue to AP Calculus BC, you will encounter parametric equations and polar coordinates, both of which involve differentiating interrelated quantities—effectively related-rates reasoning applied to curves described by a parameter. In multivariable calculus, the multivariable chain rule generalizes the single-parameter chain rule you use here: if z = f(x, y) and both x and y depend on t, then dz/dt = (∂f/∂x)(dx/dt) + (∂f/∂y)(dy/dt). This is precisely the related-rates formula in a more general notation, confirming that the skills you build now form the conceptual foundation for much of what follows.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A 10-foot ladder leans against a wall. As the base slides away from the wall, a student substitutes x = 6 and y = 8 into the equation x² + y² = 100 before differentiating with respect to time. Which of the following best describes the consequence of this error?
  • A. The differentiated equation becomes 0 = 0, which provides no information about the rates.
  • B. The differentiated equation produces the correct rates but with opposite signs.
  • C. The differentiated equation yields dy/dt = −dx/dt, which is always true.
  • D. The student obtains a valid equation relating dx/dt and dy/dt, but only at that specific instant.
  • E. The student obtains an equation with an extra constant term that can simply be subtracted out.
Show answer (A)
Answer: A. Substituting x = 6 and y = 8 gives 36 + 64 = 100, which simplifies to 100 = 100. Differentiating this constant equation yields 0 = 0, eliminating all rate information. Choice B is wrong because no rates appear at all, so sign reversal is irrelevant. Choice C is incorrect because dy/dt = −dx/dt is not generally true (the correct relation is x(dx/dt) = −y(dy/dt)). Choice D incorrectly claims a valid rate equation results. Choice E is wrong because no meaningful equation with rates is produced. The lesson is clear: always differentiate the general equation before substituting numerical values.

Question 2: BASIC CALCULATION

A spherical balloon is inflated so that its volume increases at a constant rate of 50 cm³/s. What is the rate of change of the radius when the radius is 5 cm? (Volume of a sphere: V = (4/3)πr³)
  • A. 1/(π) cm/s
  • B. 1/(2π) cm/s
  • C. 2/(5π) cm/s
  • D. 5/(2π) cm/s
  • E. 50/(π) cm/s
Show answer (B)
Answer: B. Differentiate V = (4/3)πr³ with respect to t: dV/dt = 4πr²(dr/dt). Substituting dV/dt = 50 and r = 5: 50 = 4π(25)(dr/dt) = 100π(dr/dt), so dr/dt = 50/(100π) = 1/(2π) cm/s. Choice A (1/π) is twice the correct value, resulting from forgetting the factor of 4 in the derivative. Choice C (2/(5π)) comes from an arithmetic error. Choice D (5/(2π)) results from dividing by 4π instead of 100π. Choice E (50/π) results from dividing 50 by π alone, i.e., neglecting the 4r² factor entirely in the derivative.

Question 3: INTERMEDIATE

A 13-foot ladder leans against a vertical wall. The foot of the ladder is pulled away from the wall at 2 ft/s. How fast is the top of the ladder sliding down the wall when the foot is 5 ft from the wall?
  • A. −5/6 ft/s
  • B. −12/5 ft/s
  • C. −10/13 ft/s
  • D. 5/6 ft/s
  • E. −5/12 ft/s
Show answer (A)
Answer: A. The linking equation is x² + y² = 13² = 169. Differentiating: 2x(dx/dt) + 2y(dy/dt) = 0. When x = 5, y = √(169 − 25) = √144 = 12. Substituting x = 5, y = 12, dx/dt = 2: 2(5)(2) + 2(12)(dy/dt) = 0 → 20 + 24(dy/dt) = 0 → dy/dt = −20/24 = −5/6 ft/s. The negative sign indicates the top is sliding down. Choice B (−12/5) results from swapping x and y. Choice C (−10/13) comes from dividing by 2(13) instead of 2(12). Choice D (5/6) has the wrong sign—the top is descending, not rising. Choice E (−5/12) results from using dx/dt = 1 instead of 2.

Question 4: APPLIED

5 pts
Water is being pumped into a conical tank at a rate of 2 m³/min. The tank has a height of 6 m and a top radius of 3 m (so the radius at any height h is r = h/2 by similar triangles). A valve at the bottom simultaneously drains water at a rate of 0.5 m³/min. (a) Write an expression for the net rate of change of the volume of water in the tank, dV/dt. (b) Express V as a function of h only. (c) Find dh/dt when the water height is h = 2 m. (d) Is the water level rising or falling at that instant? Justify your answer. (e) At what height h would the water level be rising at exactly 1/(π) m/min?
Show answer
Rubric (5 points): Point 1 — Part (a): The net rate of volume change is dV/dt = 2 − 0.5 = 1.5 m³/min. One point for correctly computing the net rate as inflow minus outflow. Point 2 — Part (b): Since r = h/2, V = (1/3)πr²h = (1/3)π(h/2)²h = (1/3)π(h³/4) = πh³/12. One point for correctly using similar triangles and simplifying. Point 3 — Part (c): Differentiate: dV/dt = (πh²/4)(dh/dt). Substitute dV/dt = 1.5 and h = 2: 1.5 = (π(4)/4)(dh/dt) = π(dh/dt), so dh/dt = 1.5/π = 3/(2π) m/min. One point for correct differentiation and substitution. Point 4 — Part (d): Since dh/dt = 3/(2π) > 0, the water level is rising at that instant. Justification: the net volume inflow is positive (1.5 m³/min), so volume is increasing, which means the height must also be increasing. One point for correct conclusion with justification. Point 5 — Part (e): Set dh/dt = 1/π in the equation 1.5 = (πh²/4)(1/π) = h²/4. Then h² = 6, so h = √6 m ≈ 2.449 m. One point for correctly solving for h.

Question 5: CRITICAL THINKING

3 pts
A spotlight on the ground is aimed at a wall 20 ft away. A person 6 ft tall walks from the spotlight toward the wall at 4 ft/s. Let x be the person's distance from the spotlight and s be the height of the person's shadow on the wall. (a) Using similar triangles, show that s = 120/x. (b) Find ds/dt when x = 10 ft and interpret the sign of your result. (c) Explain, without further computation, what happens to the shadow as x → 0⁺ (i.e., as the person is very near the spotlight). Why does the model break down?
Show answer
Rubric (3 points): Point 1 — Part (a): The spotlight is a point source on the ground at the origin, the person of height 6 ft stands at distance x from the spotlight, and the wall is 20 ft from the spotlight. The light ray travels from the spotlight over the top of the person's head and hits the wall. By similar triangles, the person's height and distance from the spotlight are proportional to the shadow's height and the wall's distance from the spotlight: 6/x = s/20, so s = 120/x. One point for a correct similar-triangle setup and algebraic derivation. Point 2 — Part (b): Differentiate s = 120x⁻¹ with respect to t: ds/dt = −120x⁻² · (dx/dt). The person walks toward the wall, so x is increasing and dx/dt = 4 ft/s. At x = 10: ds/dt = −120/(10)² × 4 = −4.8 ft/s. The negative sign indicates the shadow is shrinking (getting shorter on the wall) as the person moves toward the wall. This makes physical sense: when the person is close to the spotlight, the shadow is very tall, and as the person moves away from the spotlight toward the wall, the shadow becomes shorter. One point for correct differentiation, substitution, and sign interpretation. Point 3 — Part (c): As x → 0⁺, s = 120/x → +∞, so the model predicts the shadow grows without bound. Likewise, |ds/dt| = 480/x² → +∞, meaning the shadow's rate of change also becomes infinite. This is physically impossible: the wall has finite dimensions, so no shadow can be infinitely tall. The point-source projection model breaks down near x = 0 because it treats the spotlight as a dimensionless geometric point and the wall as an infinite plane. In reality, the light source has a nonzero size, the wall is finite, and diffraction and penumbra effects prevent the shadow from growing arbitrarily large. One point for a correct limiting argument (both s → ∞ and |ds/dt| → ∞) and a meaningful explanation of why the model fails.

SUMMARY

Summary

Summary

Related rates problems ask you to determine the rate of change of one quantity given the rate of change of another, where the quantities are connected by a linking equation (Pythagorean theorem, volume formula, trigonometric identity, etc.). The solution method follows a consistent five-step procedure: (1) draw and label a diagram with variables, (2) write the linking equation relating all changing quantities, (3) differentiate implicitly with respect to time using the chain rule, (4) substitute known values at the specific instant, and (5) solve for the unknown rate and interpret its sign and units.

The most critical rule is to never substitute numerical values before differentiating—doing so eliminates the rate terms entirely. When multiple variables appear in the linking equation but a geometric constraint (such as similar triangles) reduces the number of independent variables, use that constraint to simplify the equation before differentiating. Common problem types include ladder/distance, expanding volume, conical tank, and angle of elevation scenarios. These skills extend directly into multivariable calculus and differential equations, where systems of interacting rates are analyzed with the same foundational logic.

Varsity Tutors • AP Calculus AB • Solving Related Rates Problems