#### Optimization

This topic is not too hard to understand but can give students troubles as the algebra can get a bit intimidating.

The general idea in optimization is not to just find A solution, but to find the best solution. This is done by mathematically modelling a situation and then looking for a maximum or minimum in that model. While we will only tackle "simple" scenarios this same idea is used by engineers, economists, businessman, you name it anyone who wants or needs to know the best solution. The ideas and concepts can be generalized to more complex scenarios and frankly is one of the more truly useful ideas you'll encounter in Math SL.

To find the optimal solution we need to follow the 4 general steps below.

- Write an equation for what you are trying to optimize
- If the equation from #1 has more than one variable, find an equation of constraint or in other words find an additional equation that relates the two variables.
- Use the constraint to algebraically reduce the number of variables.
- Find the max or min as appropriate.

#### Classic Example:

A farmer has 800 m of fence and wants to create the largest rectangular enclosed area possible. The farmer is also going to use the edge of a river as one side of the enclosed area. This way the farmer only needs to use fence on 3 sides of the enclosed area. What is the maximum area the farmer can enclose?

**Step 1**

The area of the is what we are trying to maximize. We can write an equation for the area:

**Step 2**

We also know that the farmer is "constrained" by only having 800 m of fencing. Which we can express in an equation as:

**Step 3**

This equation can be rearranged as $x=800-2y$ and then substituted into the area equation:

**Step 4**

Now we need to find the maximum of the area function. This can be done by graphing and then finding the maximum OR by finding the first derivative and setting it equal to zero.

The derivative of the area is given by

(4)Setting this equal to zero and solving for *y* results in $y = 200 m$ with $x = 400 m$.

#### More Examples

These will come or not. I'm feeling lazy. If folks have specific questions post them in the comments and maybe those can become examples.

3408980815

ReplyOptionsHi, I like your approach to showing solutions.

How about that classic example which explains why soft drink cans are all much the same shape?

I looked for an illustrated solution to that one, but didn't find a good site.

Payton

ReplyOptions## Post preview:

Close preview