Ragnarok7
- 50
- 0
This is from section I 4.9 of Apostol's Calculus Volume 1. The book states the Cauchy-Schwarz inequality as follows:
$$\left(\sum_{k=1}^na_kb_k\right)^2\leq\left(\sum_{k=1}^na_k^2\right)\left(\sum_{k=1}^nb_k^2\right)$$
Then it asks you to show that equality holds in the above if and only if there is a real number $$x$$ such that $$a_kx+b_k=0$$ for every $$k=1,2,\ldots,n$$.
The "if" direction is easy, but I'm not sure how to get the "only if" - i.e., that such an $$x$$ implies equality. There are proofs of this online involving vectors and linear algebra, but I am wondering if it can be done without that, as the book has not introduced such things yet. For the record, the way the Cauchy-Schwarz inequality was proved in the book itself is as follows:
We have $$\sum_{k=1}^n(a_kx+b_k)^2\geq0$$ for every real $$x$$ because a sum of squares can never be negative. This may be written in the form $$Ax^2+2Bx+C\geq0$$, where $$A=\sum_{k=1}^na_k^2$$, $$B=\sum_{k=1}^na_kb_k$$, and $$C=\sum_{k=1}^nb_k^2$$. We wish to prove that $$B^2\leq AC$$. If $$A=0$$, then each $$a_k=0$$, so $$B=0$$ and the result is trivial. If $$A\neq 0$$, we may complete the square and write
$$Ax^2+2Bx+C=A\left(x+\frac{B}{A}\right)^2+\frac{AC-B^2}{A}$$.
The right side has its smallest value when $$x=-B/A$$. Putting $$x=-B/A$$ in the above, we obtain $$B^2\leq AC$$.
$$\left(\sum_{k=1}^na_kb_k\right)^2\leq\left(\sum_{k=1}^na_k^2\right)\left(\sum_{k=1}^nb_k^2\right)$$
Then it asks you to show that equality holds in the above if and only if there is a real number $$x$$ such that $$a_kx+b_k=0$$ for every $$k=1,2,\ldots,n$$.
The "if" direction is easy, but I'm not sure how to get the "only if" - i.e., that such an $$x$$ implies equality. There are proofs of this online involving vectors and linear algebra, but I am wondering if it can be done without that, as the book has not introduced such things yet. For the record, the way the Cauchy-Schwarz inequality was proved in the book itself is as follows:
We have $$\sum_{k=1}^n(a_kx+b_k)^2\geq0$$ for every real $$x$$ because a sum of squares can never be negative. This may be written in the form $$Ax^2+2Bx+C\geq0$$, where $$A=\sum_{k=1}^na_k^2$$, $$B=\sum_{k=1}^na_kb_k$$, and $$C=\sum_{k=1}^nb_k^2$$. We wish to prove that $$B^2\leq AC$$. If $$A=0$$, then each $$a_k=0$$, so $$B=0$$ and the result is trivial. If $$A\neq 0$$, we may complete the square and write
$$Ax^2+2Bx+C=A\left(x+\frac{B}{A}\right)^2+\frac{AC-B^2}{A}$$.
The right side has its smallest value when $$x=-B/A$$. Putting $$x=-B/A$$ in the above, we obtain $$B^2\leq AC$$.