← Return to Adventure Map

Optimization

The Hook

The best possible outcome.

What is it?

Using derivatives to find the maximum or minimum values of a function.

Time Travel (History)

Fermat developed early methods for maxima and minima before Newton fully formalized calculus.

Cheat Code

The peak of the mountain has a slope of zero.

Practice This Now!

The Field Guide

In Plain English: If you throw a ball in the air, at the very highest point, it stops moving up for a split second before falling down. Its speed (derivative) is zero. We use this to find the best price, max profit, or min cost.

In The Real World: Packaging Design. Calculating the dimensions of a soda can that holds the most liquid but uses the least amount of aluminum (minimizing surface area).

How To Do It

  1. Write an equation for the thing you want to maximize/minimize.
  2. Take the derivative of that equation.
  3. Set the derivative equal to zero and solve for x (Critical Points).
  4. Check those points to see which gives the best result.

Booby Trap!

Forgetting to check the endpoints. Sometimes the best answer is at the very beginning or very end, not at the peak in the middle.

Real World Challenge
"You have 20 meters of fence to build a rectangular chicken coop against a barn (so you only need 3 sides). What width gives the maximum area?"
The Logic: Perimeter: 2w + l = 20 -> l = 20 - 2w. Area = w * l = w(20 - 2w) = 20w - 2w². Derivative is 20 - 4w. Set to 0. 20 = 4w. w = 5. Max width is 5m.

Training Drills

Max Point
_ . _ / \ / \ Slope = 0
Top of the curve.