Read · 2 min
Optimization is determining minima and maxima of a function. This is one of the many useful practical applications of calculus.
Given a function on a closed interval that is differentiable on the open interval , the Extreme Value Theorem states that there exist values and in such that for all . We call the value the maximum value of of on and the minimum value of on .
The values of and must be one of the following:
Case 1: a boundary value, i.e. or
Case 2: a value in the interval but not a boundary such that
Case 3: a value in the interval but not a boundary such that is undefined (this is not a concern if is differentiable.
So, to determine the minimum and maximum values of a function , we do the following:
-
Take the derivative of .
-
Solve the derivative on the interval and see if it is at any value in the interval. Use algebra to identify zeros of .
-
, , and any values found in Step 2 are what we call "critical values." Identify all critical values.
-
Find the value of at every critical value.
-
The minimum of the values found in Step 4 is the global minimum of on . The maximum found in Step 4 is the global maximum of on .
Example: (disclaimer: this does not represent real-world finance) Suppose that I have 1000 dollars and I have two options for my money:
Option 1: A future contract which will return 1.2 times the amount of money I put into it.
Option 2: A friend who is willing to give you if you pay him dollars. (Your friend loves calculus and is doing this almost solely for the purpose of teaching you calculus).
I want to maximize my money received at the end, assuming all my money must go into either Option 1 or Option 2.
Solution: Let be the amount of money put into Option 2. Then is the money I receive. I want to find the maxima of on . The derivative is This has a zero at .
So, our critical values are 0, and 1000. Evaluating at each value, we find , , and . So, since is the largest of those, that means 1283.33 is the maximum amount of money I can have at the end, and it is achieved when I invest into Option 2 and into Option 1.
This is only one way this technique can be applied!

