Question
Related rates in a rectangle with diagonal growth
Original question: I've noticed a discrepancy in my knowledge when solving the following two problems A rectangle expands with time. The diagonal of the rectangle increases at a rate of 1in/hr and length increases at a rate of in/hr. How fast is its width increasing when the width is in and length is 8 in? Solution Let the rect diagonal be hypotenuse (z), length be adjacent (x) and width be opposite (y) Per Pythagorean theorem, we get Differentiating them with respect to time (t)
2) = \frac{d}{dt} (x^Expert Verified Solution
Key concept: This is a classic related-rates setup: a right triangle hidden inside a rectangle, with the diagonal, length, and width all changing over time. The key is to connect the variables with Pythagorean theorem and differentiate correctly.
Step by step
Set up the relationship
Let the rectangle’s length be , width be , and diagonal be . Because the diagonal forms a right triangle with the sides, we use
This is the only geometric equation you need. The given rates are in/hr and in/hr. You are asked for when and is the given width value from the problem statement.
Before differentiating, make sure every symbol is a function of time. That is what makes this a related-rates problem rather than a static geometry problem.
Differentiate with respect to time
Differentiate both sides of with respect to :
Now divide by 2:
This step is where many students get confused. There is no isolated term; the derivative of is by the chain rule. The variable stays attached to its derivative.
Solve for the width rate
Rearrange to isolate :
so
If the width is in and the length is in, then the diagonal is
Substitute:
So the width is increasing at .
Why the marked step matters
The confusion usually comes from skipping the chain rule. When a side length changes with time, its square changes as well, so the derivative must include the variable itself. The same logic works for any related-rates problem involving area, volume, or geometry inside a right triangle.
Pitfall alert
A common mistake is to treat as instead of . That drops the current width value and gives the wrong rate. Another frequent error is using the diagonal formula correctly but forgetting to compute from the actual side lengths before substituting the rates. Always solve for the missing geometric quantity first, then plug into the differentiated equation.
Try different conditions
If the problem instead asked: “The diagonal increases at 1 in/hr, the length increases at 1/4 in/hr, and the width is 6 in while the length is 8 in. Find the width rate,” the method is identical. Use , differentiate, and substitute . The only change is the numerical value of , which makes the final rate computable. If the width were different, the same formula would still apply, but the answer would change because the denominator is .
Further reading
Pythagorean theorem, chain rule, related rates
FAQ
How do I relate the diagonal, length, and width in a changing rectangle?
Use the Pythagorean theorem: z^2 = x^2 + y^2, where z is the diagonal, x is the length, and y is the width. Then differentiate with respect to time.
Why does the derivative of y squared include y times dy dt?
Because y is changing with time, the chain rule gives d/dt(y^2) = 2y(dy/dt), not just 2(dy/dt). The variable itself must stay attached to its rate of change.