Unit 3 · Lesson 6 of 7

Constrained optimization

A constraint turns a design question into one variable

A river supplies one side of an enclosure. Decide how to distribute a fixed amount of fencing to maximize useful area.

What you'll be able to do
  • Set up the model and calculate its area at the chosen dimension.
  • Connect the equation to the changing visual.
  • Explain the assumptions and identify a misleading interpretation.
Predict before exploring

What will change if you increase fence allocated to each short side? Predict the direction, then explain the response.

A model you can changeMove one control at a time.
Rectangle sides 7.5 and -2.5 meters; geometry changes at constant perimeter7.5 m15 mBoth dimensions respond to x
Short side x (m) versus Enclosed area (m²). Area. Selected area at the chosen dimension: 112.5 m². The maximum is 112.5 m² at x=7.5 m. Derive the constraint before differentiating the objective.0056.257.5112.515Enclosed area (m²)Short side x (m)
Area

area at the chosen dimension
Set up before calculating

Symbolic relationship

2x+y=30,A=x(30−2x),A′=30−4x=02x+y=30,\quad A=x(30-2x),\quad A'=30-4x=0

Dimensions and units

[R]=m2,[q1]=m[R]=\mathrm{m^2},\qquad [q_{1}]=\mathrm{m}

Keep the stated units on every input. Ratios, counts, angles in radians, interest factors, and exponents are dimensionless. Add or compare quantities only when their units and reference dates agree.

Fence allocated to each short sideq1=(7.5 m)q_{1}=\left(7.5\,\mathrm{m}\right)

The result is reported in m². Convert inputs to the model’s unit system before evaluating.

A(7.5)=7.5(30−2(7.5))=112.5 m2,x∗=7.5 mA(7.5)=7.5(30-2(7.5))=112.5\,\mathrm{m^2},\quad x_*=7.5\,\mathrm m

The maximum is 112.5 m² at x=7.5x=7.5 m. Derive the constraint before differentiating the objective.

Assumptions, units, and limits

A river forms one side, so 30 m of fence encloses only three sides. Feasible x is between 0 and 15 m.

The controls specify a new scenario. Curves are calculated from the equations; physical illustrations are schematic.

01

From the situation to an equation

Write the perimeter constraint first and eliminate one dimension. Differentiate the resulting area function, test the feasible endpoints, and verify the critical point is a maximum. The physical domain excludes negative side lengths.

2x+y=30,A=x(30−2x),A′=30−4x=02x+y=30,\quad A=x(30-2x),\quad A'=30-4x=0
02

Keep the reasoning visible

A′′=−4<0A''=-4<0

The maximum is 112.5 m² at x=7.5x=7.5 m. Derive the constraint before differentiating the objective.

03

What makes this model useful?

A river forms one side, so 30 m of fence encloses only three sides. Feasible x is between 0 and 15 m.

A different fencing arrangement creates a different constraint. Four-sided fencing would have a different optimum.

A worked example

Calculate the starting scenario

  1. Use fence allocated to each short side = 7.5 m.
  2. Set up before calculating

    Symbolic relationship

    2x+y=30,A=x(30−2x),A′=30−4x=02x+y=30,\quad A=x(30-2x),\quad A'=30-4x=0

    Dimensions and units

    [R]=m2,[q1]=m[R]=\mathrm{m^2},\qquad [q_{1}]=\mathrm{m}

    Keep the stated units on every input. Ratios, counts, angles in radians, interest factors, and exponents are dimensionless. Add or compare quantities only when their units and reference dates agree.

    Fence allocated to each short sideq1=(7.5 m)q_{1}=\left(7.5\,\mathrm{m}\right)

    The result is reported in m². Convert inputs to the model’s unit system before evaluating.

    A(7.5)=7.5(30−2(7.5))=112.5 m2,x∗=7.5 mA(7.5)=7.5(30-2(7.5))=112.5\,\mathrm{m^2},\quad x_*=7.5\,\mathrm m
  3. The maximum is 112.5 m² at x=7.5x=7.5 m. Derive the constraint before differentiating the objective. The checked quantity is area at the chosen dimension.
Make the idea your own

Calculate, compare, and explain

Numeric checks allow 1% rounding error. Values near zero use a small absolute tolerance. Work through the setup before opening a solution.

Calculate and explain

Rebuild the starting calculation

Calculate the area at the chosen dimension using fence allocated to each short side 7.5 m. State the meaning of its sign and units.

Checked quantity: area at the chosen dimension · m². Follow the definition for finite-cutoff and numerical-model questions.

Hint

Write the perimeter constraint first and eliminate one dimension. Differentiate the resulting area function, test the feasible endpoints, and verify the critical point is a maximum. The physical domain excludes negative side lengths.

Explore the visual solution
Rectangle sides 7.5 and -2.5 meters; geometry changes at constant perimeter7.5 m15 mBoth dimensions respond to x
Short side x (m) versus Enclosed area (m²). Area. Selected area at the chosen dimension: 112.5 m². The maximum is 112.5 m² at x=7.5 m. Derive the constraint before differentiating the objective.0056.257.5112.515Enclosed area (m²)Short side x (m)
Area

area at the chosen dimension
Set up before calculating

Symbolic relationship

2x+y=30,A=x(30−2x),A′=30−4x=02x+y=30,\quad A=x(30-2x),\quad A'=30-4x=0

Dimensions and units

[R]=m2,[q1]=m[R]=\mathrm{m^2},\qquad [q_{1}]=\mathrm{m}

Keep the stated units on every input. Ratios, counts, angles in radians, interest factors, and exponents are dimensionless. Add or compare quantities only when their units and reference dates agree.

Fence allocated to each short sideq1=(7.5 m)q_{1}=\left(7.5\,\mathrm{m}\right)

The result is reported in m². Convert inputs to the model’s unit system before evaluating.

A(7.5)=7.5(30−2(7.5))=112.5 m2,x∗=7.5 mA(7.5)=7.5(30-2(7.5))=112.5\,\mathrm{m^2},\quad x_*=7.5\,\mathrm m

The maximum is 112.5 m² at x=7.5x=7.5 m. Derive the constraint before differentiating the objective.

Assumptions, units, and limits

A river forms one side, so 30 m of fence encloses only three sides. Feasible x is between 0 and 15 m.

The controls specify a new scenario. Curves are calculated from the equations; physical illustrations are schematic.

Walk through the assumptions

What we assumed: A river forms one side, so 30 m of fence encloses only three sides. Feasible x is between 0 and 15 m.

What changes: Treat the domain, timing, and constraints as part of the model. If an input leaves the stated range or the governing relationship changes, the original result is no longer justified. Rebuild the equation with the changed condition, then compare predictions while holding the other inputs fixed.

The controls explore variations. These written steps retain the original question's inputs.

Write the perimeter constraint first and eliminate one dimension. Differentiate the resulting area function, test the feasible endpoints, and verify the critical point is a maximum. The physical domain excludes negative side lengths.

2x+y=30,A=x(30−2x),A′=30−4x=02x+y=30,\quad A=x(30-2x),\quad A'=30-4x=0
Calculate and explain

Apply the idea to a new scenario

Allocate x=5x=5 m to each short side; find enclosed area and compare with the optimum.

Checked quantity: area at the chosen dimension · m². Follow the definition for finite-cutoff and numerical-model questions.

Hint

Write the perimeter constraint first and eliminate one dimension. Differentiate the resulting area function, test the feasible endpoints, and verify the critical point is a maximum. The physical domain excludes negative side lengths.

Explore the visual solution
Rectangle sides 5 and 0 meters; geometry changes at constant perimeter5 m20 mBoth dimensions respond to x
Short side x (m) versus Enclosed area (m²). Area. Selected area at the chosen dimension: 100 m². The maximum is 112.5 m² at x=7.5 m. Derive the constraint before differentiating the objective.0056.257.5112.515Enclosed area (m²)Short side x (m)
Area

area at the chosen dimension
Set up before calculating

Symbolic relationship

2x+y=30,A=x(30−2x),A′=30−4x=02x+y=30,\quad A=x(30-2x),\quad A'=30-4x=0

Dimensions and units

[R]=m2,[q1]=m[R]=\mathrm{m^2},\qquad [q_{1}]=\mathrm{m}

Keep the stated units on every input. Ratios, counts, angles in radians, interest factors, and exponents are dimensionless. Add or compare quantities only when their units and reference dates agree.

Fence allocated to each short sideq1=(5 m)q_{1}=\left(5\,\mathrm{m}\right)

The result is reported in m². Convert inputs to the model’s unit system before evaluating.

A(5)=5(30−2(5))=100 m2,x∗=7.5 mA(5)=5(30-2(5))=100\,\mathrm{m^2},\quad x_*=7.5\,\mathrm m

The maximum is 112.5 m² at x=7.5x=7.5 m. Derive the constraint before differentiating the objective.

Assumptions, units, and limits

A river forms one side, so 30 m of fence encloses only three sides. Feasible x is between 0 and 15 m.

The controls specify a new scenario. Curves are calculated from the equations; physical illustrations are schematic.

Walk through the assumptions

What we assumed: A river forms one side, so 30 m of fence encloses only three sides. Feasible x is between 0 and 15 m.

What changes: Treat the domain, timing, and constraints as part of the model. If an input leaves the stated range or the governing relationship changes, the original result is no longer justified. Rebuild the equation with the changed condition, then compare predictions while holding the other inputs fixed.

The controls explore variations. These written steps retain the original question's inputs.

Write the perimeter constraint first and eliminate one dimension. Differentiate the resulting area function, test the feasible endpoints, and verify the critical point is a maximum. The physical domain excludes negative side lengths.

2x+y=30,A=x(30−2x),A′=30−4x=02x+y=30,\quad A=x(30-2x),\quad A'=30-4x=0
Challenge the interpretation

Which explanation survives the model?

Choose the statement you can justify, then use the visual to explain why the others fail.

Test it with the visual
Rectangle sides 7.5 and -2.5 meters; geometry changes at constant perimeter7.5 m15 mBoth dimensions respond to x
Short side x (m) versus Enclosed area (m²). Area. Selected area at the chosen dimension: 112.5 m². The maximum is 112.5 m² at x=7.5 m. Derive the constraint before differentiating the objective.0056.257.5112.515Enclosed area (m²)Short side x (m)
Area

area at the chosen dimension
Set up before calculating

Symbolic relationship

2x+y=30,A=x(30−2x),A′=30−4x=02x+y=30,\quad A=x(30-2x),\quad A'=30-4x=0

Dimensions and units

[R]=m2,[q1]=m[R]=\mathrm{m^2},\qquad [q_{1}]=\mathrm{m}

Keep the stated units on every input. Ratios, counts, angles in radians, interest factors, and exponents are dimensionless. Add or compare quantities only when their units and reference dates agree.

Fence allocated to each short sideq1=(7.5 m)q_{1}=\left(7.5\,\mathrm{m}\right)

The result is reported in m². Convert inputs to the model’s unit system before evaluating.

A(7.5)=7.5(30−2(7.5))=112.5 m2,x∗=7.5 mA(7.5)=7.5(30-2(7.5))=112.5\,\mathrm{m^2},\quad x_*=7.5\,\mathrm m

The maximum is 112.5 m² at x=7.5x=7.5 m. Derive the constraint before differentiating the objective.

Assumptions, units, and limits

A river forms one side, so 30 m of fence encloses only three sides. Feasible x is between 0 and 15 m.

The controls specify a new scenario. Curves are calculated from the equations; physical illustrations are schematic.

The reasoning. Write the perimeter constraint first and eliminate one dimension. Differentiate the resulting area function, test the feasible endpoints, and verify the critical point is a maximum. The physical domain excludes negative side lengths.

Synthesis challenge

Compare two scenarios and defend the difference

First calculate scenario A. Then change only fence allocated to each short side from 7.5 m to 10 m. Predict the direction, calculate scenario B, and find the signed difference B − A in the model’s reported quantity (m²). Explain whether a proportionate change in the input produces a proportionate change in the output.

Other inputs: the fixed constants and assumptions stated in the model. The difference concerns the model’s displayed answer, not necessarily the graph’s vertical coordinate.

Explore the comparison and worked solution
Rectangle sides 7.5 and -2.5 meters; geometry changes at constant perimeter7.5 m15 mBoth dimensions respond to x
Short side x (m) versus Enclosed area (m²). Area. Selected area at the chosen dimension: 112.5 m². The maximum is 112.5 m² at x=7.5 m. Derive the constraint before differentiating the objective.0056.257.5112.515Enclosed area (m²)Short side x (m)
Area

area at the chosen dimension
Set up before calculating

Symbolic relationship

2x+y=30,A=x(30−2x),A′=30−4x=02x+y=30,\quad A=x(30-2x),\quad A'=30-4x=0

Dimensions and units

[R]=m2,[q1]=m[R]=\mathrm{m^2},\qquad [q_{1}]=\mathrm{m}

Keep the stated units on every input. Ratios, counts, angles in radians, interest factors, and exponents are dimensionless. Add or compare quantities only when their units and reference dates agree.

Fence allocated to each short sideq1=(7.5 m)q_{1}=\left(7.5\,\mathrm{m}\right)

The result is reported in m². Convert inputs to the model’s unit system before evaluating.

A(7.5)=7.5(30−2(7.5))=112.5 m2,x∗=7.5 mA(7.5)=7.5(30-2(7.5))=112.5\,\mathrm{m^2},\quad x_*=7.5\,\mathrm m

The maximum is 112.5 m² at x=7.5x=7.5 m. Derive the constraint before differentiating the objective.

Assumptions, units, and limits

A river forms one side, so 30 m of fence encloses only three sides. Feasible x is between 0 and 15 m.

The controls specify a new scenario. Curves are calculated from the equations; physical illustrations are schematic.

Set up before calculating

Symbolic relationship

2x+y=30,A=x(30−2x),A′=30−4x=02x+y=30,\quad A=x(30-2x),\quad A'=30-4x=0

Dimensions and units

[R]=m2,[q1]=m[R]=\mathrm{m^2},\qquad [q_{1}]=\mathrm{m}

Keep the stated units on every input. Ratios, counts, angles in radians, interest factors, and exponents are dimensionless. Add or compare quantities only when their units and reference dates agree.

Fence allocated to each short sideq1=(7.5 m)q_{1}=\left(7.5\,\mathrm{m}\right)

The result is reported in m². Convert inputs to the model’s unit system before evaluating.

  1. Evaluate the symbolic relationship using scenario A, keeping the displayed units on its inputs.A(7.5)=7.5(30−2(7.5))=112.5 m2,x∗=7.5 mA(7.5)=7.5(30-2(7.5))=112.5\,\mathrm{m^2},\quad x_*=7.5\,\mathrm m
  2. Change only the selected input and recompute scenario B.A(10)=10(30−2(10))=100 m2,x∗=7.5 mA(10)=10(30-2(10))=100\,\mathrm{m^2},\quad x_*=7.5\,\mathrm m
  3. Subtract like quantities.ΔR=RB−RA=(100 m2)−(112.5 m2)=(−12.5 m2)\Delta R=R_B-R_A=\left(100\,\mathrm{m^2}\right)-\left(112.5\,\mathrm{m^2}\right)=\left(-12.5\,\mathrm{m^2}\right)

The maximum is 112.5 m² at x=7.5 m. Derive the constraint before differentiating the objective.

Walk through the assumptions

What we assumed: A river forms one side, so 30 m of fence encloses only three sides. Feasible x is between 0 and 15 m.

What changes: Treat the domain, timing, and constraints as part of the model. If an input leaves the stated range or the governing relationship changes, the original result is no longer justified. Rebuild the equation with the changed condition, then compare predictions while holding the other inputs fixed.

Walk through the assumptions

What we assumed: A river forms one side, so 30 m of fence encloses only three sides. Feasible x is between 0 and 15 m.

What changes: Treat the domain, timing, and constraints as part of the model. If an input leaves the stated range or the governing relationship changes, the original result is no longer justified. Rebuild the equation with the changed condition, then compare predictions while holding the other inputs fixed.

Your learning path

Can you explain the connection?

Mark complete when you can set up the calculation and explain what the visual is showing. Opening a page never completes it automatically.

Completion is saved on this browser. This is separate from account practice progress.