∫Calc Practice
Home›Calculus 1›Optimization›Problem 3.89

Optimization

Problem 3.89 · medium

A farmer has 120 m of fencing to enclose a rectangular pen. What dimensions maximize the area, and what is the maximum area?
  1. Let the sides be x and y. Then 2x + 2y = 120, so y = 60 − x, and the area is A(x) = x(60 − x) for 0 < x < 60.
  2. \[ \frac{d}{d x} x \left(60.0 - x\right) = 60.0 - 2 x \]
    A'(x).✓ Proved
  3. \[ \left. 60.0 - 2 x \right|_{\substack{ x=30.0 }} = 0 \]
    A'(x) = 0 at x = 30.0000000000000.✓ Proved
  4. \[ \frac{d^{2}}{d x^{2}} x \left(60.0 - x\right) = -2 \]
    A'' < 0, so this is a maximum.✓ Proved
  5. \[ \left. x \left(60.0 - x\right) \right|_{\substack{ x=30.0 }} = 900.0 \]
    A square 30.0000000000000 m by 30.0000000000000 m.✓ Proved
Answer \( 900.0 \)

Lines: 4 proved, 1 not checked. The answer was also checked a second way, without looking at the solution. The explanation has not been reviewed yet.

The full receipt
LineStatusChecked byDetail
1Not checked—a sentence; read, not computed
2✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
4✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
5✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0the objective sampled at 200,001 points of its interval tops out at the same value

Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence, not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by generator:structured/optimization, checked 2026-09-26 with SymPy 1.14.0.