A farmer is enclosing her fruit trees with an existing wall and 120m of chicken wir...

Check the final answer first, then review the worked steps.

Answer

\(L = 60, W = 30\)

Work

Constraint: $2x + L = 120 \implies L = 120 - 2x$
Area: $A(x) = x(120 - 2x) = 120x - 2x^2$
$A'(x) = 120 - 4x = 0 \implies x = 30$
$L = 120 - 2(30) = 60$

Step-by-step solution

Let $x$ be the width and $L$ be the length. The perimeter constraint is $2x + L = 120$, so $L = 120 - 2x$. The area $A = x(120 - 2x) = 120x - 2x^2$. The maximum occurs at $x = -b/(2a) = -120/(2 \cdot -2) = 30$. Then $L = 120 - 2(30) = 60$.