Skip to content

Optimization / Maxima, Minima, and Constraints

Simulation loading

Open Model Lab is preparing the live lab, controls, and graph surface for this concept.

Wrap-up

What you learned

Recommended next
Open concept testCheck whether the core ideas are ready without leaving this concept.
Read next
Derivative as Slope / Local Rate of ChangeReview the local-slope signal behind the maximum

Key takeaway

  1. A fixed 24 meter perimeter links width and height by h = 12 - w.
  2. The objective A(w) = w(12 - w) is the rectangle area after the constraint has removed the extra variable.
  3. The derivative sign tells which direction improves the area, and A'(w) = 0 marks the square maximum.
  4. The widest rectangle does not win because extra width eventually costs too much height.

Common misconception

The largest width is not the largest area; under a fixed perimeter, width and height trade off, so the product peaks at the balanced square.

On this bench, making the width larger always forces the height smaller because the perimeter stays fixed at 24 meters.

  1. Perimeter constraint

    Fixes the total perimeter, so choosing a width immediately fixes the matching height.

  2. Objective function

    Rewrites the rectangle area using the perimeter constraint so the whole optimization problem depends on one variable.

  3. Local area slope

    Tells whether making the rectangle a little wider would increase area, decrease area, or land at the turning point.

Why it behaves this way

Explanation

Optimization becomes easier to understand when the shape, the constraint, and the objective graph all respond to one choice. On this bench the perimeter is fixed at 24 meters, so choosing the width automatically fixes the height, the rectangle, the area, and the point on the graph.

That is why the square maximum is not a trick to memorize. On the narrow side, gaining width helps more than the lost height hurts. Past the square, the lost height hurts more than the extra width helps. The best rectangle sits at the balance point where the objective curve reaches its peak and the local area slope is zero.

Key ideas

01With perimeter 24 m, width and height are linked by h = 12 - w, so one width choice already determines the whole rectangle.
02The objective graph A(w) = w(12 - w) is the same rectangle problem written in one variable, so its peak is the best possible area under this constraint.
03A'(w) tells you which direction improves the area: positive means making the rectangle wider still helps, negative means you have gone past the best shape, and zero marks the turning point.

Worked examples

Worked examples

Open examples when you want to see the same idea walked through step by step.

Frozen walkthrough

Step through the frozen example

Frozen walkthrough
Use the width slider, the rectangle, and the graphs together. First read the forced height from the perimeter, then read the area, then use the slope graph to decide whether wider would help or hurt.

Supporter unlocks saved study tools, exact-state sharing, and the richer review surfaces that support this guided flow.

View plans
Example 1 of 2
Frozen valuesUsing frozen parameters

At the current width of meters, what height does the fixed perimeter force, and what area does that give?

Rectangle width

3.2 m

Rectangle height

8.8 m

1. Use the fixed-perimeter constraint

With , the fixed half-perimeter is .

2. Find the matching height

At , the matching height is .

3. Compute the area from width times height

So .

Current area under the constraint

This rectangle is still 7.84 square meters below the best case, and making it wider would move it toward the peak.

Quick test

Loading saved test state.

Bench tools and share links

Keep stable concept links and exact-state sharing tucked away until you actually need to relaunch or share the bench.

Try this setup

Jump to a named bench state or copy the one you are looking at now. Shared links reopen the same controls, graph, overlays, and compare context.

This page restored the shared setup into the live bench.

Current bench

Too narrow preset

This bench is currently showing one of the concept's authored presets.

Open default bench

Saved setups

Saved setups are a Supporter study tool. Stable concept links still work for everyone.

Checking saved setup access

Open Model Lab is resolving whether this bench can save locally, sync to an account, or open Supporter-only compare tools.

Copy current setup

Exact-state sharing is part of Supporter. Stable concept and section links still stay available.

Stable links

Progress and next steps

Keep progress signals, starter-track handoffs, and review prompts available without letting them compete with the live lesson flow.

Progress

Loading progress

Loading saved concept progress for this browser or synced account before showing completion status.