Optimization
- To find a maximum or minimum in some interval, take the derivative, and check all points where the derivative is 0, or undefined, or at the ends of the interval
Multiple Variables
- For multiple variables, find where the Gradient is
- Note that the Gradient being
does not necessarily imply that that point is a local extrema, since it could be a saddle point - This can be difficult since in general, you will get a non-linear system of equations
- Note that the Gradient being
- To figure out if the critical point is a local max or min or saddle point (these tests are on the formula sheet):
- If
and then is a local min - If
and then is a local max - If
then is a saddle point - If
then you're cooked (degenerate critical point)
- If
is the Hessian Matrix - When finding absolute min/max, make sure to find the min/max of the entire boundary
- You might have to use Lagrange Multipliers
- You could also turn the function into a Parametric Equations