Steply

A farmer has 60 m of fence to make a rectangle next to a wall. Find…

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

Step by step

The question

Question: A farmer has 60 m of fence to make a rectangle next to a wall.

Find the largest area.

1 Name the unknown

The wall is one side: no fence there.

Call each side that touches the wall x.

x = each side touching the wall

The fence makes three sides: x, x, and the side across.

Together they are 60 m.

x + x + side = 60

So the side across is 60 − 2x.

60 − 2x = the side across

2 Write the area

Area is one side times the other.

A(x) = x(60 − 2x)

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

Now we have A(x) = 60x − 2x².

= 60x − 2x2

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) = 60 − 4x.

A′(x) = 60 − 4x

Set it equal to 0.

60 − 4x = 0

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

4x = 60

To remove times 4, we divide by 4.

x = 604

60 divided by 4 is 15.

x = 15

4 Is it the biggest?

Before 15 the slope is positive: going up.

After it, negative: going down.

Up, then down: a maximum.

A′(14) = 4 > 0 ↗, A′(16) = −4 < 0 ↘

Careful!

x is only one side.

The question asks for the area.

Careful: x = 15 is not the answer yet

5 Answer the question

The other side is 30.

across = 60 − 2 × 15 = 30

So the largest area is 450 m².

A(15) = 15 × 30 = 450 m²

6 Check

Let's check with x a bit smaller: 14 gives 448.

x = 14: 14 × 32 = 448

And x = 16 gives 448.

Both are smaller than 450.

Right!

x = 16: 16 × 28 = 448

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(15) = 15 × 30 = 450 m²

Your turn

Try this one yourself, then check:

Show the answer
largest area = 392 m²

More from Maximum, minimum and optimization

The whole lesson: Maximum, minimum and optimization →