Tutorials › Calculus I › Sliding Ladder Constraints

Related Rates Problems · Tutorial 649 of 1495

Sliding Ladder Constraints

Use the fixed right-triangle geometry of a sliding ladder to calculate the related instantaneous rates of its endpoints.

Intermediate 9 min read

What You'll Learn

  • Define the horizontal and vertical distances for a ladder sliding against a wall
  • Write the fixed-length constraint before differentiating
  • Derive the signed relation between the foot's speed and the top's speed
  • Find either endpoint's rate from the ladder's position and the other endpoint's rate
  • Check the geometry, signs, and units of a ladder related-rates calculation

Introduction

A ladder leaning against a vertical wall forms a right triangle with the wall and the floor. As the ladder slides, its foot moves horizontally and its top moves vertically. These motions are linked: the ladder's length stays fixed, so the two endpoint rates cannot vary independently.

The useful starting point is not a rate formula but the geometric constraint. Once the distances are defined and the fixed-length relation is written down, differentiating that relation with respect to time gives the link between the rates. The position of the ladder matters: the same horizontal speed can correspond to different vertical speeds at different angles.

Set Up the Ladder Model

Assume the floor and wall meet at a right angle, and the ladder is rigid, straight, and of fixed length \(L\). Let \(x(t)\) be the horizontal distance from the wall to the foot of the ladder at time \(t\), and let \(y(t)\) be the vertical height of its top above the floor. We consider positions where the ladder touches both the floor and wall, so \(x(t)>0\) and \(y(t)>0\).

The ladder is the hypotenuse of a right triangle whose legs have lengths \(x(t)\) and \(y(t)\). The Pythagorean theorem therefore gives the constraint

$$ x(t)^2+y(t)^2=L^2. $$

Here \(L\) is constant, while \(x\) and \(y\) change over time. In related-rates notation, their instantaneous rates are \(\frac{dx}{dt}\) and \(\frac{dy}{dt}\). A positive value of \(\frac{dx}{dt}\) means the foot moves away from the wall; a negative value means it moves toward the wall. A positive value of \(\frac{dy}{dt}\) means the top rises; a negative value means it descends.

Definition: In the sliding-ladder model, \(x\) is the foot's horizontal distance from the wall, \(y\) is the top's height, and \(L\) is the ladder's fixed length. Their geometric constraint is \(x^2+y^2=L^2\).

Derive the Rate Relation

Differentiate the constraint with respect to time. Since \(x\) and \(y\) are functions of \(t\), the chain rule applies to both squared terms. Since \(L\) is fixed, the derivative of \(L^2\) is zero.

$$ \frac{d}{dt}(x^2)+\frac{d}{dt}(y^2)=\frac{d}{dt}(L^2) $$
$$ 2x\frac{dx}{dt}+2y\frac{dy}{dt}=0. $$

Dividing by \(2\) gives the rate equation. Because \(y>0\) for the positions considered, we can also solve it for the top's rate. Because \(x>0\), we can solve it for the foot's rate as well.

$$ x\frac{dx}{dt}+y\frac{dy}{dt}=0, \qquad \frac{dy}{dt}=-\frac{x}{y}\frac{dx}{dt}, \qquad \frac{dx}{dt}=-\frac{y}{x}\frac{dy}{dt}. $$
Rate relation: At any position with \(x>0\) and \(y>0\), the rates satisfy \(x\frac{dx}{dt}+y\frac{dy}{dt}=0\). The minus sign in the solved forms records that, while the ladder slides with both endpoints in contact, one endpoint rises as the other moves away from the wall.

This derivation explains why the rate relation works: it follows by differentiating the geometric equation that must hold at every instant. It is not a separate physical law or an approximation. The relation is instantaneous, so when a problem supplies a particular position and rate, substitute those values into the differentiated equation.

A Reliable Calculation Sequence

1
Define the distances.
Use \(x\) for the foot's distance from the wall and \(y\) for the top's height.
2
Write the fixed-length equation.
Use \(x^2+y^2=L^2\), with the ladder length \(L\) constant.
3
Differentiate with respect to time.
Apply the chain rule to \(x(t)\) and \(y(t)\), and set the derivative of \(L^2\) equal to zero.
4
Substitute the instant's data.
Use the position and known rate at the specified instant to solve for the requested rate.
5
Check the result.
Confirm the position satisfies the triangle equation and the rates satisfy the differentiated constraint.

Worked Examples

Worked Example: The Foot Moves Away from the Wall

A \(13\)-ft ladder has its foot \(5\) ft from the wall. At that instant, the foot moves away from the wall at \(2\) ft/s. Find the rate at which the top moves.

First check the position. The height is determined by the fixed-length equation:

$$ 5^2+y^2=13^2 $$
$$ 25+y^2=169,\qquad y^2=144,\qquad y=12\text{ ft}. $$

The positive root is used because the top is above the floor. The given foot rate is \(\frac{dx}{dt}=2\text{ ft/s}\). Substitute \(x=5\), \(y=12\), and this rate into \(x\frac{dx}{dt}+y\frac{dy}{dt}=0\):

$$ 5(2)+12\frac{dy}{dt}=0 $$
$$ 10+12\frac{dy}{dt}=0,\qquad \frac{dy}{dt}=-\frac{10}{12}=-\frac{5}{6}\text{ ft/s}. $$

The negative sign means the top descends. Check the geometry: \(5^2+12^2=25+144=169=13^2\). Check the rates in the differentiated constraint: \(5(2)+12(-5/6)=10-10=0\). Both checks hold, so the top moves downward at \(5/6\) ft/s.

Worked Example: The Top Descends and the Foot Moves

A \(10\)-ft ladder has its foot \(6\) ft from the wall. At a particular instant, its top is descending at \(3\) ft/s. Find the foot's rate, including its direction.

Find the height from the constraint:

$$ 6^2+y^2=10^2 $$
$$ 36+y^2=100,\qquad y^2=64,\qquad y=8\text{ ft}. $$

Since the top descends, its signed rate is \(\frac{dy}{dt}=-3\text{ ft/s}\). Use the differentiated constraint:

$$ 6\frac{dx}{dt}+8(-3)=0 $$
$$ 6\frac{dx}{dt}-24=0,\qquad 6\frac{dx}{dt}=24,\qquad \frac{dx}{dt}=4\text{ ft/s}. $$

The positive answer means the foot moves away from the wall. Check the position: \(6^2+8^2=36+64=100=10^2\). Check the rates: \(6(4)+8(-3)=24-24=0\). Thus the foot moves away at \(4\) ft/s as the top descends at \(3\) ft/s.

Worked Example: The Foot Moves Toward the Wall

A \(25\)-ft ladder has its foot \(15\) ft from the wall. The foot is moving toward the wall at \(4\) ft/s. Find the rate at which the top moves.

Moving toward the wall means the horizontal distance is decreasing, so \(\frac{dx}{dt}=-4\text{ ft/s}\). First determine the top's height:

$$ 15^2+y^2=25^2 $$
$$ 225+y^2=625,\qquad y^2=400,\qquad y=20\text{ ft}. $$

Substitute into the rate equation:

$$ 15(-4)+20\frac{dy}{dt}=0 $$
$$ -60+20\frac{dy}{dt}=0,\qquad 20\frac{dy}{dt}=60,\qquad \frac{dy}{dt}=3\text{ ft/s}. $$

The positive sign means the top rises. Check the geometry: \(15^2+20^2=225+400=625=25^2\). Check the rate equation: \(15(-4)+20(3)=-60+60=0\). The top rises at \(3\) ft/s.

Signs, Units, and Interpretation

Rates should be signed before they are substituted. Words such as “away,” “toward,” “rising,” and “descending” determine whether a rate is positive or negative under the definitions of \(x\) and \(y\). For example, “the foot slides toward the wall at \(2\) ft/s” means \(\frac{dx}{dt}=-2\text{ ft/s}\), not \(+2\text{ ft/s}\). Likewise, a downward top rate is negative.

The equation \(x\frac{dx}{dt}+y\frac{dy}{dt}=0\) is dimensionally consistent. If lengths are measured in feet and time in seconds, then \(x\frac{dx}{dt}\) and \(y\frac{dy}{dt}\) both have units of square feet per second. Solving for \(\frac{dy}{dt}\) gives a length ratio \(x/y\), which has no units, multiplied by \(\frac{dx}{dt}\), a length per time. The resulting vertical rate therefore has the required units of feet per second.

The factor \(x/y\) also shows why position affects the rate. When \(y\) is small compared with \(x\), the top's rate can be large in magnitude relative to the foot's rate. When \(x\) is small compared with \(y\), the top's rate can be smaller. The formula applies at positions with \(x>0\) and \(y>0\); at a limiting position where one endpoint distance is zero, the solved formula that divides by that distance cannot be used as written.

A Common Sign Error

Return to the first example, where \(x=5\), \(y=12\), and \(\frac{dx}{dt}=2\text{ ft/s}\). A common incorrect step is to write \(\frac{dy}{dt}=\frac{x}{y}\frac{dx}{dt}\), dropping the minus sign. That gives

$$ \frac{dy}{dt}=\frac{5}{12}(2)=\frac{5}{6}\text{ ft/s}. $$

This result says the top rises while the foot moves away. Test it in the differentiated constraint:

$$ 5(2)+12\left(\frac{5}{6}\right)=10+10=20\ne 0. $$

So the proposed rates do not preserve the fixed-length constraint. The correct rearrangement is \(y\frac{dy}{dt}=-x\frac{dx}{dt}\), which gives \(\frac{dy}{dt}=-\frac{x}{y}\frac{dx}{dt}=-\frac{5}{6}\text{ ft/s}\). Substitution gives \(5(2)+12(-5/6)=0\), as required.

Why the Constraint Is the Essential Step

The ladder problem is a useful model of related rates because it separates geometry from motion. The right triangle gives a relation between positions, and differentiation turns that relation into a connection between rates. The rates are not inferred from a drawing alone: the equation specifies their precise relationship at the instant in question.

The method also clarifies what information is needed. A ladder length and one endpoint position determine the other endpoint's position by the triangle equation. To determine an endpoint's rate, one additionally needs a rate for the other endpoint at that instant. After these quantities are identified, the rate equation can be solved directly. No assumption that either endpoint moves at constant speed is required; the relation holds instant by instant as long as the ladder length remains fixed and the endpoints slide along the wall and floor.

The main practical safeguards are to keep \(L\) constant, differentiate before substituting the instant's values, assign signs from the stated directions, and verify the result in the differentiated constraint. These checks catch the most common mistakes without changing the geometric model.

Check Your Understanding

Use \(x\) for the foot's distance from the wall and \(y\) for the top's height. Give signed rates when a direction is specified.

  1. Write the fixed-length constraint for a ladder of length \(L\), and state which quantities change with time.
  2. Differentiate the constraint with respect to time to obtain the relation between \(\frac{dx}{dt}\) and \(\frac{dy}{dt}\).
  3. A \(13\)-ft ladder has its foot \(12\) ft from the wall. If the foot moves away at \(1\) ft/s, find the top's rate and check the rate equation.
  4. A \(10\)-ft ladder has its foot \(8\) ft from the wall. If the top rises at \(3\) ft/s, find whether the foot moves toward or away from the wall, and at what rate.
  5. Explain why a positive value of \(\frac{dy}{dt}\) is inconsistent with a positive value of \(\frac{dx}{dt}\) at an interior ladder position.

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon