- #1
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:
\(\displaystyle \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 \(\displaystyle x\) such that \(\displaystyle a_kx+b_k=0\) for every \(\displaystyle 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 \(\displaystyle 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 \(\displaystyle \sum_{k=1}^n(a_kx+b_k)^2\geq0\) for every real \(\displaystyle x\) because a sum of squares can never be negative. This may be written in the form \(\displaystyle Ax^2+2Bx+C\geq0\), where \(\displaystyle A=\sum_{k=1}^na_k^2\), \(\displaystyle B=\sum_{k=1}^na_kb_k\), and \(\displaystyle C=\sum_{k=1}^nb_k^2\). We wish to prove that \(\displaystyle B^2\leq AC\). If \(\displaystyle A=0\), then each \(\displaystyle a_k=0\), so \(\displaystyle B=0\) and the result is trivial. If \(\displaystyle A\neq 0\), we may complete the square and write
\(\displaystyle 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 \(\displaystyle x=-B/A\). Putting \(\displaystyle x=-B/A\) in the above, we obtain \(\displaystyle B^2\leq AC\).
\(\displaystyle \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 \(\displaystyle x\) such that \(\displaystyle a_kx+b_k=0\) for every \(\displaystyle 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 \(\displaystyle 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 \(\displaystyle \sum_{k=1}^n(a_kx+b_k)^2\geq0\) for every real \(\displaystyle x\) because a sum of squares can never be negative. This may be written in the form \(\displaystyle Ax^2+2Bx+C\geq0\), where \(\displaystyle A=\sum_{k=1}^na_k^2\), \(\displaystyle B=\sum_{k=1}^na_kb_k\), and \(\displaystyle C=\sum_{k=1}^nb_k^2\). We wish to prove that \(\displaystyle B^2\leq AC\). If \(\displaystyle A=0\), then each \(\displaystyle a_k=0\), so \(\displaystyle B=0\) and the result is trivial. If \(\displaystyle A\neq 0\), we may complete the square and write
\(\displaystyle 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 \(\displaystyle x=-B/A\). Putting \(\displaystyle x=-B/A\) in the above, we obtain \(\displaystyle B^2\leq AC\).