Let
Solve the optimization problem
The purpose of this problem is to get a feeling of the Rayleigh quotient theorem, so you are encouraged to solve it by fundamental methods rather than the theorem.
By direct calculation, the optimization is the same as
By replacing , , and , we noticed that and . That is, is a probability distribution. Now the problem is equivalent to
Under this framework, we are maxizing the weighted average of with respect to the weights . Thus, the weighted average is between the minimum value and the maximum value . Thus, the maximum value is , achieved by or .
This note can be found at Course website > Learning resources.