Steply

A rectangular field of 800 m² is fenced on three sides. A river is…

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

Step by step

The question

Question: A rectangular field of 800 m² is fenced on three sides.

A river is the fourth side.

Find the least fencing needed.

1 Draw and name

The river is one side: no fence there.

The two sides that touch the river are x.

The side across is y.

x = each side touching the river
y = the side across

2 Write the fencing

The fence is two x sides and one y side.

L = 2x + y

3 Use only one letter

Two letters.

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

xy = 800

So y = 800 over x.

y = 800x

Put it in place of y.

L = 2x + 800x

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.

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

L′(x) = 2 − 800x2
800x = 800x−1 → −800x−2

Set it to 0, and move the fraction across.

800x2 = 2

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

800 = 2x2

Divide by 2.

x2 = 400

x squared is 400, so x is 20.

Minus 20 squared is also 400, but x must be positive.

x = 20 (not −20)

Careful!

A length cannot be negative.

Only x = 20 is allowed.

Careful: not x = −20 ✗

6 Make sure it is the smallest

Before 20, the slope is negative: going down.

After it, positive: going up.

Down, then up: the bottom.

A minimum.

L′(19) = −0.22 < 0 ↘, L′(21) = 0.19 > 0 ↗

7 Answer the question

The other side: 800/20 is 40.

y = 80020 = 40

So the least fencing is 80 m.

L(20) = 2 × 20 + 40 = 80 m

8 Check

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

x = 19: L = 80.11

And x = 21 gives 80.1.

Both are bigger than 80.

Right!

x = 21: L = 80.1

Let's look back.

First: draw and name.

Then: write the fencing.

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
L(20) = 2 × 20 + 40 = 80 m

Your turn

Try this one yourself, then check:

Show the answer
least fencing = 56 m

More from Optimization

The whole lesson: Optimization →