Steply

A rectangle has a perimeter of 24 cm. Find the largest area.

Step by step, with the reason for every step · Maximum, minimum and optimization · Calculus

Step by step

The question

Question: A rectangle has a perimeter of 24 cm.

Find the largest area.

1 Name the unknown

Call the width x.

x = the width

The perimeter goes round all 4 sides: width and length, twice.

So width plus length is half of 24: 12.

width + length = 24 ÷ 2 = 12

So the length is 12 − x.

12 − x = the length

2 Write the area

Area is one side times the other.

A(x) = x(12 − x)

The x in front of the bracket multiplies every part inside.

Now we have A(x) = 12x − x².

= 12x − x2

3 Solve f′(x) = 0

The biggest area is at the top of the curve, where the slope is 0.

The power rule gives A′(x) = 12 − 2x.

A′(x) = 12 − 2x

Set it equal to 0.

12 − 2x = 0

Add 2x to both sides, so they stay equal.

2x = 12

To remove times 2, we divide by 2.

x = 122

12 divided by 2 is 6.

x = 6

4 Is it the biggest?

Before 6 the slope is positive: going up.

After it, negative: going down.

Up, then down: a maximum.

A′(5) = 2 > 0 ↗, A′(7) = −2 < 0 ↘

Careful!

x is only one side.

The question asks for the area.

Careful: x = 6 is not the answer yet

5 Answer the question

The other side is 6.

length = 12 − 6 = 6

So the largest area is 36 cm².

A(6) = 6 × 6 = 36 cm²

6 Check

Let's check with x a bit smaller: 5 gives 35.

x = 5: 5 × 7 = 35

And x = 7 gives 35.

Both are smaller than 36.

Right!

x = 7: 7 × 5 = 35

Let's look back.

First: name the unknown.

Then: write the area.

Then: solve f′(x) = 0.

Then: is it the biggest?.

Then: answer the question.

Last: check.

Answer
A(6) = 6 × 6 = 36 cm²

Your turn

Try this one yourself, then check:

Show the answer
largest area = 49 cm²

More from Maximum, minimum and optimization

The whole lesson: Maximum, minimum and optimization →