An example when
We have a unit sphere . We wish to optimize . To find the largest and smallest value of . It can be graphed as follows: We wish to maximize . .
Note: because that is what we stated in the problem. So the max value of is 1. More accurately, and max occurs at . If we minimize , and min occurs at . Notice that the minimum and maximum values of were the eigenvalues of , and the corresponding normalized eigenvectors gave their locations.
Constrained Optimization
If , is a real symmetric matrix, with eigenvalues and associated normalized eigenvectors Also, Then max value of attained at Then min value of attained at
Proof
Repeated Eigenvalue
If we have repeated eigenvalues then, the min and max values are found using the same prosses. The locations are the span of all the normalized eigenvectors of the corresponding min or max eigenvalue.