Tutorials › AP Calculus › Rectangles with Changing Dimensions

Related Rates Models · Tutorial 285 of 999

Rectangles with Changing Dimensions

Use the rectangle’s changing dimensions and the product rule to relate side rates to rates of area and perimeter.

Intermediate 9 min read

What You'll Learn

  • Differentiate the area formula when both side lengths depend on time
  • Differentiate the perimeter formula and account for its factor of two
  • Find an unknown side rate from a specified area rate
  • Find an unknown side rate from a specified perimeter rate
  • Interpret positive and negative rates with appropriate units
  • Check calculations by substituting rates back into the differentiated formula

Why Changing Dimensions Matter

A rectangle can change shape as its length and width change. Even when the dimensions change at different rates, the rectangle’s area and perimeter each have an instantaneous rate of change.

The key is to treat the length and width as quantities that depend on time. Differentiating the area and perimeter formulas with respect to time then connects the rates of the dimensions to the rates of the overall measurements.

Key idea: If \(L\) and \(W\) vary with time, then \(A=LW\) and \(P=2L+2W\) also vary with time. Their rates are not found by simply adding the side rates: area requires the product rule, and perimeter contains a factor of two.

Variables, Rates, and Units

Let \(L(t)\) be a rectangle’s length and \(W(t)\) its width at time \(t\). Both dimensions are assumed to be differentiable functions of time, and both remain positive while they describe a rectangle. Its area and perimeter are

$$ A(t)=L(t)W(t), \qquad P(t)=2L(t)+2W(t). $$

A rate such as \(\frac{dL}{dt}\) describes how the length changes per unit of time at a particular instant. A positive rate means the dimension is increasing at that instant; a negative rate means it is decreasing. If lengths are measured in meters and time in minutes, then \(\frac{dL}{dt}\) has units of meters per minute, while \(\frac{dA}{dt}\) has units of square meters per minute.

The notation \(L'\), \(W'\), \(A'\), and \(P'\) in this tutorial means differentiation with respect to time. In particular, the prime on \(L\) here represents \(\frac{dL}{dt}\), not a derivative with respect to the length.

Differentiating Area and Perimeter

The area is a product of two time-dependent quantities. By the product rule, its rate is

$$ \frac{dA}{dt} = W\frac{dL}{dt} + L\frac{dW}{dt}. $$

Each term accounts for one side’s contribution to the area’s change. For example, if the width is momentarily fixed, only the first term remains. If the length is momentarily fixed, only the second term remains. When both sides change, both contributions must be included.

Perimeter is a sum of the two side lengths, each counted twice. Differentiating gives

$$ \frac{dP}{dt} = 2\frac{dL}{dt} + 2\frac{dW}{dt}. $$

These formulas relate instantaneous rates at the same time. To find an unknown side rate, use the dimensions and known rates at the instant in question, substitute them into the appropriate equation, and solve.

Why the Area Formula Uses the Product Rule

The product rule can be justified directly from the definition of a derivative. Suppose \(L\) and \(W\) are differentiable functions of time. For a small time change \(h\), the change in their product can be written by adding and subtracting \(L(t+h)W(t)\):

$$ \begin{aligned} L(t+h)W(t+h)-L(t)W(t) &=L(t+h)\bigl(W(t+h)-W(t)\bigr)\\ &\quad+W(t)\bigl(L(t+h)-L(t)\bigr). \end{aligned} $$

Divide both sides by \(h\), then take the limit as \(h\) approaches zero. Differentiability ensures that \(L(t+h)\) approaches \(L(t)\), and the difference quotients for \(L\) and \(W\) approach their derivatives. Therefore,

$$ \begin{aligned} \frac{d}{dt}(LW) &=\lim_{h\to 0}\frac{L(t+h)W(t+h)-L(t)W(t)}{h}\\ &=L(t)\frac{dW}{dt}+W(t)\frac{dL}{dt}. \end{aligned} $$

Since the rectangle’s area is \(A=LW\), this establishes the area-rate formula. The perimeter formula follows by differentiating each term of \(P=2L+2W\): the derivative of a constant multiple is the same constant times the derivative.

Theorem: If the side lengths \(L(t)\) and \(W(t)\) are differentiable, then \(\frac{dA}{dt}=W\frac{dL}{dt}+L\frac{dW}{dt}\) and \(\frac{dP}{dt}=2\frac{dL}{dt}+2\frac{dW}{dt}\). The formulas apply at any time when the dimensions and their rates are defined.

Finding an Unknown Side Rate from Area

If the area rate and both side lengths are known at an instant, the area equation can be rearranged to solve for either side rate. For instance, provided \(L\ne 0\),

$$ \frac{dW}{dt} = \frac{\frac{dA}{dt}-W\frac{dL}{dt}}{L}. $$

The denominator is the current length, not a rate. This rearrangement is valid for a rectangle because its length is positive.

Worked Example: Find the Width Rate from an Area Rate

At an instant, a rectangle is \(10\) meters long and \(4\) meters wide. Its length is increasing at \(0.3\) meters per minute, and its area is increasing at \(5\) square meters per minute. Find the width rate.

Start with the area-rate equation:

$$ \frac{dA}{dt} = W\frac{dL}{dt} + L\frac{dW}{dt}. $$

Substitute the values at this instant, keeping the units:

$$ 5\ \frac{\text{m}^2}{\text{min}} = (4\ \text{m})(0.3\ \text{m/min}) + (10\ \text{m})\frac{dW}{dt}. $$

The first contribution is \(4(0.3)=1.2\) square meters per minute. Subtract it from both sides:

$$ 3.8\ \frac{\text{m}^2}{\text{min}} = (10\ \text{m})\frac{dW}{dt}. $$

Divide by \(10\) meters:

$$ \frac{dW}{dt} = 0.38\ \text{m/min}. $$

The positive sign means the width is increasing. Check by substituting the answer into the rate equation: \(4(0.3)+10(0.38)=1.2+3.8=5\) square meters per minute, which matches the stated area rate.

Finding an Unknown Side Rate from Perimeter

The perimeter equation is linear in the two side lengths. If the perimeter rate and one side rate are known, the other side rate follows by isolating it in \(\frac{dP}{dt}=2\frac{dL}{dt}+2\frac{dW}{dt}\). The factor of two remains in the rate equation because each changing side contributes to two sides of the rectangle’s boundary.

Worked Example: Find the Width Rate from a Perimeter Rate

At an instant, a rectangle is \(8\) feet long and \(5\) feet wide. Its length is decreasing at \(0.2\) feet per second, while its perimeter is increasing at \(1.2\) feet per second. Find the width rate.

A decreasing length has a negative rate, so \(\frac{dL}{dt}=-0.2\) feet per second. Apply the perimeter-rate equation:

$$ \frac{dP}{dt} = 2\frac{dL}{dt} + 2\frac{dW}{dt}. $$

Substitute the given rates:

$$ 1.2\ \text{ft/s} = 2(-0.2\ \text{ft/s}) + 2\frac{dW}{dt}. $$

Evaluate the first term and add \(0.4\) feet per second to both sides:

$$ 1.2\ \text{ft/s} = -0.4\ \text{ft/s} + 2\frac{dW}{dt}, $$ $$ 1.6\ \text{ft/s} = 2\frac{dW}{dt}. $$

Divide by \(2\):

$$ \frac{dW}{dt}=0.8\ \text{ft/s}. $$

The width is increasing. Check the perimeter rate: \(2(-0.2)+2(0.8)=-0.4+1.6=1.2\) feet per second, as specified.

When Both Side Rates Are Known

Sometimes a problem gives both side rates and asks how quickly area or perimeter is changing. Substitute both rates into the relevant formula. The signs matter: a decreasing dimension contributes a negative term, while an increasing one contributes a positive term. The total can be positive, negative, or zero.

Worked Example: Calculate Both Rates of a Changing Rectangle

At an instant, a rectangle is \(12\) centimeters long and \(7\) centimeters wide. Its length is decreasing at \(0.5\) centimeters per second, and its width is increasing at \(0.2\) centimeters per second. Find the rates of change of area and perimeter.

First record the signed side rates: \(\frac{dL}{dt}=-0.5\) centimeters per second and \(\frac{dW}{dt}=0.2\) centimeters per second. For area, substitute into the product-rule formula:

$$ \begin{aligned} \frac{dA}{dt} &= W\frac{dL}{dt} + L\frac{dW}{dt}\\ &= (7\ \text{cm})(-0.5\ \text{cm/s}) + (12\ \text{cm})(0.2\ \text{cm/s})\\ &= -3.5\ \text{cm}^2/\text{s} + 2.4\ \text{cm}^2/\text{s}\\ &= -1.1\ \text{cm}^2/\text{s}. \end{aligned} $$

Thus the area is decreasing at \(1.1\) square centimeters per second. For perimeter:

$$ \begin{aligned} \frac{dP}{dt} &= 2\frac{dL}{dt} + 2\frac{dW}{dt}\\ &= 2(-0.5\ \text{cm/s}) + 2(0.2\ \text{cm/s})\\ &= -1.0\ \text{cm/s} + 0.4\ \text{cm/s}\\ &= -0.6\ \text{cm/s}. \end{aligned} $$

The perimeter is decreasing at \(0.6\) centimeters per second. Check the area calculation: the length change contributes \(-3.5\) square centimeters per second, and the width change contributes \(2.4\), for a total of \(-1.1\). Check the perimeter calculation: twice the sum of the side rates is \(2(-0.5+0.2)=-0.6\) centimeters per second.

A Common Mistake: Losing the Factor of Two

A frequent error is to differentiate \(P=2L+2W\) as though \(P=L+W\). For example, in the perimeter example above, that incorrect calculation would give

$$ \frac{dP}{dt} \mathrel{\text{(incorrect)}} = \frac{dL}{dt}+\frac{dW}{dt} = -0.2+0.8 = 0.6\ \text{ft/s}. $$

This is not the stated perimeter rate. The perimeter includes two lengths and two widths, so each side rate must be counted twice:

$$ \frac{dP}{dt} = 2(-0.2)+2(0.8) = -0.4+1.6 = 1.2\ \text{ft/s}. $$

A separate area error is to add the side rates directly. They have units of length per time, while an area rate has units of area per time. The product-rule terms \(W\frac{dL}{dt}\) and \(L\frac{dW}{dt}\) correctly produce area per time.

Choosing and Checking the Equation

Before solving, identify what quantity is changing and use its formula. For an area rate, use the product-rule equation; for a perimeter rate, use the sum with both factors of two. Then keep track of signed rates and units through the algebra. A negative answer for an unknown rate is meaningful: it says that side is decreasing at the instant.

A final substitution is an effective check. Put the calculated rate back into the differentiated relationship and verify that it reproduces the given rate. This catches sign errors, missing factors, and arithmetic mistakes.

Check Your Understanding

Use the dimensions and rates at the stated instant in each question. Include appropriate units and interpret the sign of any rate you find.

  1. A rectangle has length \(6\) meters and width \(3\) meters. Its length increases at \(0.4\) meters per second and its area increases at \(4.2\) square meters per second. Find the width rate.
  2. A rectangle’s length increases at \(0.3\) feet per minute and its width decreases at \(0.1\) feet per minute. Find its perimeter rate.
  3. Explain why the area-rate equation has two terms, while the perimeter-rate equation has a factor of two on each side rate.
  4. A calculated width rate is negative. What does that sign mean, and how could you check whether the calculation is consistent with a stated area rate?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: 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