Steply

A farmer has 80 m of fence to make a rectangle next to a river. Find…

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

Step by step

The question

Question: A farmer has 80 m of fence to make a rectangle next to a river.

Find the largest area.

1 Name the unknown

The river is one side: no fence there.

Call each side that touches the river x.

x = each side touching the river

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

Together they are 80 m.

x + x + side = 80

So the side across is 80 − 2x.

80 − 2x = the side across

2 Write the area

Area is one side times the other.

A(x) = x(80 − 2x)

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

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

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

A′(x) = 80 − 4x

Set it equal to 0.

80 − 4x = 0

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

4x = 80

To remove times 4, we divide by 4.

x = 804

80 divided by 4 is 20.

x = 20

4 Is it the biggest?

Before 20 the slope is positive: going up.

After it, negative: going down.

Up, then down: a maximum.

A′(19) = 4 > 0 ↗, A′(21) = −4 < 0 ↘

Careful!

x is only one side.

The question asks for the area.

Careful: x = 20 is not the answer yet

5 Answer the question

The other side is 40.

across = 80 − 2 × 20 = 40

So the largest area is 800 m².

A(20) = 20 × 40 = 800 m²

6 Check

Let's check with x a bit smaller: 19 gives 798.

x = 19: 19 × 42 = 798

And x = 21 gives 798.

Both are smaller than 800.

Right!

x = 21: 21 × 38 = 798

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(20) = 20 × 40 = 800 m²

Your turn

Try this one yourself, then check:

Show the answer
largest area = 98 m²

More from Maximum, minimum and optimization

The whole lesson: Maximum, minimum and optimization →