Interactive · 5 questions
Linear optimization is one of the most simple techniques in inequalities, but it can be unbelievably powerful in maximizing and minimizing expressions. First I'll discuss what linear optimization is, and then apply it to several problems which get quite difficult.
Observe the following graph (of ): It's clearly a line.
Where is the -coordinate maximal and minimal?
The basic principle of linear optimization is, given a linear expression, it achieves its maximum/minimum at one of the "extreme" points on its domain!
For example, we can determine the minimal and maximal values of on . But the technique is more powerful than that: It works on any number of variables if the expression is linear in all of them!
For example, let's do the following:
Maximize the expression where are in the interval .
How do we use linear optimization? isn't linear, it's cubic because of the term!
Temporarily fix : Now is linear in , so it achieves a maximum either when ! The same goes for . Basically this means that we only need to check when to figure out the optimization.
(And of course, if we test these, we'll find the maximum is achieved at . )
Now we will do a difficult but very amazing problem:
Let be real numbers with sum . Let be the set of all ordered pairs with . Compute the maximal value of .
What do you notice about the expression we want to maximize?
The expression is linear in each . But it's not that simple, because each value of is dependent on the others, since they all sum to one. So we can't just try optimizing by setting ...
However, there is something we can try doing to get rid of all this dependency- Fix all the 's except for some and some , and let those vary. Then will be constant, so this will be a linear expression!
How can we choose such ?
If , we can't perform this trick because an term ruins the linearity of everything. So we need .
Now suppose we choose such with constant sum . Then by linear optimization, the expression we want to maximize is some linear function of so the maximum occurs when one of them equals zero (we don't know which one).
The miracle is we can keep repeating this! If any exist with , there is no reason to set one of to not equal zero! This means a large number of zeroes...
We can take advantage of this easily. Let be the set of all with . Then for all , with , we need by the reasons mentioned. This means is basically a big divisibility chain!
Let's go back to the problem now. How do we maximize ?
By Newton, since the expression is a second symmetric sum in the elements of , it is at most .
This easily simplifies to which we maximize by setting to be large. Since each element of divides the elements larger than it, we see is maximized at in which and the maximum is .
Equality comes from setting
Now, I will briefly touch into a related topic. There is something called linear approximation with tangent lines, or the tangent line trick. The idea is as follows:
We approximate the blue graph, which is , with a tangent (green) line, which is . For small values of , this is a very accurate approximation, and as a result it is also a very strong inequality! (This is where the famous comes from!) Essentially we use calculus to find a tangent line and use it to bound things, and it works best on a very restricted interval.
This isn't exactly linear optimization, so I won't go into too much detail over it. But it's cool because we can use it to prove inequalities like the following:
Let be reals with sum one. Show that .
Or more difficult ones, like
Let be positive reals with sum three. Show that
To prove the line is in fact a tangent we usually just use calculus...
Note: There is something called linear programming where we try to maximize expressions in some region. If you're interested, see this