Optimization

Sign up free to unlock this topic

Kindergarten is free, and guests can try one sample topic in every other grade. A free parent or teacher account opens every topic from Kindergarten to Grade 12 and saves progress. No credit card.

Try the free sample: The accounting equation · Have a class or homeroom code? Join here

Lesson: Optimization

What it is

Optimization finds the biggest or smallest value of something. Write the quantity as a function of one variable (use the constraint to remove the others), find where the derivative is 0, and check that point (and the endpoints) to confirm the maximum or minimum.

Why it matters

Businesses minimize cost and maximize profit; engineers minimize material. Calculus finds the best choice exactly instead of by trial and error.

Key words

Objective function
What you want to maximize or minimize.
Constraint
The fixed condition, like a total length.
Critical point
Where the derivative is 0 or undefined.

Worked examples

Example 1. Two positive numbers add to 40. Maximize their product.

  1. P(x) = x(40 − x) = 40x − x².
  2. P′(x) = 40 − 2x = 0 → x = 20.
  3. Maximum product: 20 × 20 = 400.

Example 2. An open box from a 30 cm square sheet: what cut x maximizes volume?

  1. V = x(30 − 2x)².
  2. V′ = (30 − 2x)(30 − 6x) = 0 → x = 15 or x = 5.
  3. x = 15 leaves no box, so x = 5 cm.

💡 Tip: Always ask whether the critical point makes sense in the real situation.

Zero2Hero — Zéro2Héros