Tutorials › Calculus I › Spotlight Beam and Shadow Speed

Related Rates Problems · Tutorial 655 of 1495

Spotlight Beam and Shadow Speed

Use similar triangles to relate a moving person’s position to the tip of the shadow, then differentiate the relation to find the tip’s speed.

Intermediate 9 min read

What You'll Learn

  • Set up similar triangles for a spotlight, a person, and the person’s shadow.
  • Distinguish the person’s distance from the lamp from the shadow tip’s position.
  • Derive a rate equation for the shadow tip using differentiation with respect to time.
  • Interpret positive and negative rates as motion away from or toward the spotlight.
  • Check a shadow-speed calculation with geometry, signs, and units.

How a Moving Person Moves a Shadow Tip

A fixed spotlight shines across level ground while a person walks along that ground. The person’s shadow changes length, and the tip of the shadow moves too. The tip does not generally move at the same speed as the person: its speed depends on the heights of the spotlight and the person.

Similar triangles provide the geometric relationship between the person’s position and the shadow tip. Differentiating that relationship with respect to time then gives the shadow tip’s speed. Careful variable definitions matter: the shadow’s length and the shadow tip’s position are different quantities.

Set Up the Geometry

Place the spotlight at a fixed point on the ground, and measure horizontal distances from its base in the direction the beam shines. Let \(H\) be the height of the spotlight and \(h\) the person’s height, with \(H>h>0\). Let \(x\) be the person’s distance from the spotlight’s base, and let \(s\) be the position of the shadow tip, measured from that same base.

Assume the person is between the spotlight and the shadow tip, so \(0<x<s\). The length of the person’s shadow is therefore \(s-x\), not \(s\). Treat \(H\) and \(h\) as constant, while \(x\) and \(s\) may change with time.

The beam from the top of the spotlight to the shadow tip forms a large right triangle. The beam from the top of the person’s head to the shadow tip forms a smaller right triangle. These triangles are similar: both have a right angle where they meet the ground, and both share the angle made by the light beam and the ground. Their corresponding vertical and horizontal sides are \(H,s\) for the large triangle and \(h,s-x\) for the small one.

$$ \frac{H}{s}=\frac{h}{s-x}. $$

This equation relates the heights and horizontal distances. To find a speed, first rearrange it into a convenient constraint between \(x\) and \(s\).

Derive the Shadow-Tip Rate

Cross-multiplying the similar-triangle equation gives \(H(s-x)=hs\). Expanding and collecting the terms involving \(s\) gives the position relationship below.

$$ Hs-Hx=hs $$
$$ (H-h)s=Hx. $$

Because \(H\) and \(h\) are fixed, differentiate both sides with respect to time. The quantities \(x\) and \(s\) depend on time, so their derivatives are their signed velocities along the ground.

$$ (H-h)\frac{ds}{dt}=H\frac{dx}{dt}. $$

Since \(H>h\), division by \(H-h\) is valid. The resulting formula gives the shadow tip’s velocity in terms of the person’s velocity.

Theorem: For a fixed spotlight of height \(H\), a person of constant height \(h\), and positions \(0<x<s\) measured along the same ground line, where \(H>h>0\), the shadow-tip position satisfies \(\displaystyle \frac{ds}{dt}=\frac{H}{H-h}\frac{dx}{dt}\). Positive rates indicate motion away from the spotlight; negative rates indicate motion toward it.

The multiplier \(H/(H-h)\) is greater than \(1\), because \(H>H-h>0\). Thus, when the person walks away from the spotlight, the shadow tip moves away faster than the person. When the person walks toward the spotlight, both signed velocities are negative, and the tip moves toward the spotlight faster in magnitude.

Why the Rate Formula Works

The derivation follows from the similar-triangle constraint, rather than from an assumption about how fast the shadow moves. Here is the complete chain of reasoning:

1
Match corresponding sides.
The large triangle has height \(H\) and base \(s\); the small one has height \(h\) and base \(s-x\). Similarity gives \(H/s=h/(s-x)\).
2
Rearrange the constraint.
Cross-multiplying gives \(H(s-x)=hs\), hence \((H-h)s=Hx\).
3
Differentiate with respect to time.
As \(H\) and \(h\) are constant, differentiating gives \((H-h)\,ds/dt=H\,dx/dt\).
4
Isolate the requested rate.
Dividing by the positive quantity \(H-h\) gives \(ds/dt=[H/(H-h)]\,dx/dt\).

This is an example of differentiating a constraint with respect to time. The geometry supplies the constraint; differentiation converts it into a relationship between instantaneous rates. The rate equation applies while the stated arrangement holds and the heights remain fixed. If the person’s height or the spotlight’s height changes, extra derivative terms would be needed.

Worked Examples

Worked Example: A Person Walking Away from the Spotlight

A spotlight is \(6\) metres above the ground. A \(2\)-metre-tall person walks away from its base at \(1.5\) metres per second. Find the shadow tip’s speed. At the instant considered, the person is \(8\) metres from the base.

Here \(H=6\), \(h=2\), \(x=8\), and \(dx/dt=1.5\). First find the shadow length from the geometric constraint:

$$ s=\frac{H}{H-h}x =\frac{6}{6-2}(8) =\frac{6}{4}(8) =12\text{ m}. $$

The shadow length is \(s-x=12-8=4\) metres. Now use the rate formula:

$$ \frac{ds}{dt} =\frac{6}{6-2}(1.5) =\frac{6}{4}(1.5) =1.5(1.5) =2.25\text{ m/s}. $$

The positive sign means the tip moves away from the spotlight. Check the geometry: \(H/s=6/12=1/2\), and \(h/(s-x)=2/4=1/2\). Check the differentiated constraint: \((6-2)(2.25)=4(2.25)=9\), while \(6(1.5)=9\). Both sides agree, and the rate has units of metres per second.

Worked Example: A Person Walking Toward the Spotlight

A \(1.5\)-metre-tall person walks toward a spotlight that is \(5\) metres high. The person’s velocity is \(-0.8\) metres per second, where the positive direction is away from the spotlight. Find the shadow tip’s velocity when the person is \(7\) metres from the base.

The negative sign in \(dx/dt=-0.8\) indicates that the person is moving toward the spotlight. The position constraint gives

$$ s=\frac{H}{H-h}x =\frac{5}{5-1.5}(7) =\frac{5}{3.5}(7) =\frac{10}{7}(7) =10\text{ m}. $$

The shadow length is \(s-x=10-7=3\) metres. Its tip’s velocity is

$$ \frac{ds}{dt} =\frac{5}{5-1.5}(-0.8) =\frac{10}{7}(-0.8) =\frac{10}{7}\left(-\frac{4}{5}\right) =-\frac{8}{7}\text{ m/s}. $$

The negative result means the tip is moving toward the spotlight; its speed is \(8/7\) metres per second. Check the similar triangles: \(5/10=1/2\), and \(1.5/3=1/2\). Check the rate equation: \((5-1.5)(-8/7)=3.5(-8/7)=-4\), while \(5(-0.8)=-4\). The signed rates agree.

Worked Example: Find the Person’s Speed from the Shadow Tip

A spotlight is \(9\) metres high and a person is \(3\) metres tall. At one instant, the shadow tip moves away from the spotlight at \(3\) metres per second. Find the person’s velocity and the shadow tip’s position if the person is \(12\) metres from the base.

First use the position constraint to find \(s\):

$$ s=\frac{9}{9-3}(12) =\frac{9}{6}(12) =\frac{3}{2}(12) =18\text{ m}. $$

The shadow length is \(18-12=6\) metres. To find the person’s velocity, rearrange the rate equation:

$$ \frac{dx}{dt} =\frac{H-h}{H}\frac{ds}{dt} =\frac{9-3}{9}(3) =\frac{6}{9}(3) =\frac{2}{3}(3) =2\text{ m/s}. $$

The positive sign means the person is walking away from the spotlight. Check the geometry: \(9/18=1/2\), and \(3/6=1/2\). Check the rate equation: \((9-3)(3)=6(3)=18\), and \(9(2)=18\). The constraint and its derivative are both satisfied.

A Common Mistake: Confusing Shadow Length with Tip Position

The shadow length is \(s-x\), while the tip’s position from the spotlight is \(s\). They do not have the same rate. For the first example, the rearranged geometric constraint also gives the shadow length directly:

$$ s-x=\frac{h}{H-h}x. $$

Using \(H=6\), \(h=2\), and \(dx/dt=1.5\), a tempting but incorrect calculation is to treat the rate of shadow-length change as the tip’s velocity:

$$ \frac{d(s-x)}{dt} =\frac{2}{6-2}(1.5) =0.75\text{ m/s}. $$

This \(0.75\) metres per second is the rate at which the shadow length increases, not the rate at which the tip moves from the spotlight. Since the tip position is the person’s position plus the shadow length, differentiate \(s=x+(s-x)\):

$$ \frac{ds}{dt} =\frac{dx}{dt}+\frac{d(s-x)}{dt} =1.5+0.75 =2.25\text{ m/s}. $$

This agrees with the rate formula. The correction is to identify the requested quantity precisely before differentiating or interpreting a rate.

Interpreting and Checking the Result

A related-rates answer should make sense in the geometry, in its sign, and in its units. Here, \(H/(H-h)\) is a positive dimensionless factor greater than \(1\). Therefore the tip and person move in the same direction, and the tip’s speed is greater than the person’s speed. A negative velocity means motion toward the spotlight, not a negative physical speed.

The equation also passes a dimensional check. Both \(H\) and \(H-h\) are lengths, so their ratio has no units. Multiplying that ratio by \(dx/dt\), measured in distance per time, gives \(ds/dt\) in distance per time. If a calculated rate has units of length, or if it points in the wrong direction, revisit the definitions and the sign convention.

Key takeaway: Similar triangles give \((H-h)s=Hx\). With constant heights, differentiating this constraint gives \(\displaystyle \frac{ds}{dt}=\frac{H}{H-h}\frac{dx}{dt}\). Keep the person’s position, the shadow length, and the shadow-tip position distinct.

Check Your Understanding

Use signed velocities, with the positive direction pointing away from the spotlight.

  1. A \(4\)-metre-high spotlight illuminates a \(1\)-metre-tall person. Write the similar-triangle equation using \(x\) for the person’s position and \(s\) for the tip’s position.
  2. For that spotlight and person, what is the ratio between the shadow tip’s velocity and the person’s velocity?
  3. A \(6\)-metre-high spotlight illuminates a \(2\)-metre-tall person walking away at \(0.5\) metres per second. Find the shadow tip’s velocity.
  4. If the person walks toward the spotlight, what sign should \(dx/dt\) have? What does the sign of \(ds/dt\) indicate in this setup?
  5. Explain why the rate of change of shadow length is not, by itself, the velocity of the shadow tip.

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