Steply

A rectangle has an area of 64 ft². Find the smallest perimeter.

Step by step, with the reason for every step · Optimization · Calculus 1

Step by step

The question

Question: A rectangle has an area of 64 ft².

Find the smallest perimeter.

1 Draw and name

Call the sides x and y.

x = one side
y = the other side

2 Write the perimeter

The perimeter is two x sides and two y sides.

P = 2x + 2y

3 Use only one letter

Two letters.

The area gives the link: x times y is 64.

xy = 64

So y = 64 over x.

y = 64x

Put it in place of y.

P = 2x + 2 × 64x

Now we have P = 2x + 128 over x.

= 2x + 128x

4 Which x make sense

A length is positive: x is more than 0.

x > 0 =

5 Slope = 0

The smallest value is where the slope is 0.

2x gives 2.

128/x is 128x to the power −1, which gives −128/x².

P′(x) = 2 − 128x2
128x = 128x−1 → −128x−2

Set it to 0, and move the fraction across.

128x2 = 2

Times both sides by x², so they stay equal.

128 = 2x2

Divide by 2.

x2 = 64

x squared is 64, so x is 8.

Minus 8 squared is also 64, but x must be positive.

x = 8 (not −8)

Careful!

A length cannot be negative.

Only x = 8 is allowed.

Careful: not x = −8 ✗

6 Make sure it is the smallest

Before 8, the slope is negative: going down.

After it, positive: going up.

Down, then up: the bottom.

A minimum.

P′(7) = −0.61 < 0 ↘, P′(9) = 0.42 > 0 ↗

7 Answer the question

The other side: 64/8 is 8.

y = 648 = 8

So the smallest perimeter is 32 ft.

The rectangle is a square!

P(8) = 2 × 8 + 2 × 8 = 32 ft

8 Check

Let's check with x a bit smaller: 7 gives 32.29.

x = 7: P = 32.29

And x = 9 gives 32.22.

Both are bigger than 32.

Right!

x = 9: P = 32.22

Let's look back.

First: draw and name.

Then: write the perimeter.

Then: use only one letter.

Then: which x make sense.

Then: slope = 0.

Then: make sure it is the smallest.

Then: answer the question.

Last: check.

Answer
P(8) = 2 × 8 + 2 × 8 = 32 ft

Your turn

Try this one yourself, then check:

Show the answer
smallest perimeter = 20 ft

More from Optimization

The whole lesson: Optimization →