Let A and B be matrices d x d with A Positive semi-definite and B positive-definite, and b a vector of Rd
1) Show that $$max_a \frac{(a^Tb)^2}{a^TBa} = b^TB^{-1}b $$
with the maximum is reached for all vector a=cB-1b, with c ϵ R.
Hint : use Cauchy-Schwartz inequality Inequality of Cauchy-Schwartz (extension) : Let a and b be two any vectors of Rd, and B a matrix d x d positive-definite. Then we have the following results :
inequality of Cauchy-Schwartz : $$ (a^Tb)^2 ≤ (a^Ta)(b^Tb) $$ an extension of this inequality gives : $$ (a^Tb)^2 ≤ (a^TBa)(b^TB^{-1}b)$$
I can also prove this:
$$max_a \frac{(a^Tb)^2}{a^TBa} = b^TB^{-1}b ⇔ max_a B^{-1}Aa = \lambda a$$under the constraint $$a^TBa = \lambda$$
I think I need to use the lagrangian.
2) Show that
$$max_a \frac{a^TAa}{a^TBa} = \lambda_1 $$
where λ1 is the greatest eigenvalue of B-1A. Conclude that the maximum is reached for the eigenvector B-1A which is associated to λ1