Physics I / Extrema and optimization
Practice question · Put in order

A farmer has 100 m of fence for a rectangular pen against a river (no fence needed on the river side). Order the optimization workflow.

Hints
  1. Optimization is a pipeline: model → constraint → single-variable function → critical point → verify.
  2. The constraint is what lets you eliminate yy, without it, "maximize area" has no answer.
Show the answer
  1. Name variables: width xx, length yy, area A=xyA = xy
  2. Encode the constraint: 2x+y=1002x + y = 100
  3. Substitute to get one variable: A(x)=x(1002x)A(x) = x(100 - 2x)
  4. Set A(x)=1004x=0A'(x) = 100 - 4x = 0, giving x=25x = 25
  5. Confirm it is a maximum and report 25×5025 \times 50 m
Why

Every optimization problem walks these same five steps; only the story changes. Note the punchline y=2xy = 2x: the free river side lets the pen stretch twice as long as it is deep.

Read the lesson: Extrema and optimization →

Practise Extrema and optimization

The app has 10 more questions on this lesson, and keeps your place in the course. Physics I is free to start.

More questions on Extrema and optimization