Show that equality holds in Cauchy-Schwarz inequality if and only if....

Click For Summary

Discussion Overview

The discussion revolves around the Cauchy-Schwarz inequality as presented in Apostol's Calculus Volume 1, specifically focusing on the conditions under which equality holds. Participants explore the implications of the inequality and the necessary conditions for equality, considering both the "if" and "only if" directions of the statement involving a real number that relates the sequences involved.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants summarize the Cauchy-Schwarz inequality and its proof as presented in the book, noting the expression for the sum of squares.
  • One participant suggests that if there exists an $x$ such that $a_kx + b_k = 0$ for all $k$, then equality in the Cauchy-Schwarz inequality holds, leading to a specific form of the sums involved.
  • Another participant clarifies that the "only if" direction requires showing that equality implies the existence of such an $x$, which they find challenging.
  • Some participants discuss the implications of $B^2 = AC$ and the conditions under which $A$ and $B$ equal zero, noting that this does not necessarily imply all $b_k$ are zero, but does imply all $a_k$ are zero.
  • One participant points out that the statement regarding equality is not entirely correct, suggesting that equality holds if and only if the vectors involved are linearly dependent, which can be expressed in terms of scalar multiples.
  • Another participant introduces an identity related to the sums that can be used to show the proportionality of the sequences when equality holds.

Areas of Agreement / Disagreement

Participants express differing views on the interpretation of the conditions for equality in the Cauchy-Schwarz inequality. While some agree on the implications of linear dependence, others challenge the completeness of the original statement regarding the existence of a specific $x$.

Contextual Notes

Some participants note that the discussion is limited by the absence of vector concepts, as the original proof in the book does not introduce linear algebra. There are also mentions of potential confusion regarding the definitions of the variables involved.

Who May Find This Useful

This discussion may be useful for students studying inequalities in mathematics, particularly those interested in the Cauchy-Schwarz inequality and its implications in various contexts, as well as those looking for alternative proofs or deeper understanding of the conditions for equality.

Ragnarok7
Messages
50
Reaction score
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$$.
 
Physics news on Phys.org
Suppose there is an $x$ such that $a_kx + b_k = 0$ for each $k$.

Thus $b_k = -a_kx$, and:

$\displaystyle \left( \sum_{k = 1}^n a_kb_k \right)^2 = x^2\left(\sum_{k=1}^n (a_k)^2 \right)^2$

(really we are squaring the sum of terms $-(a_k)^2$, but when we pull out a factor of $(-1)^2$ it goes away).

On the other hand:

$\displaystyle \left( \sum_{k=1}^n (a_k)^2 \right)\left( \sum_{k=1}^n (b_k)^2 \right)$

$\displaystyle = \left( \sum_{k=1}^n (a_k)^2 \right)\left( \sum_{k=1}^n (-a_kx)^2 \right)$

$\displaystyle = \left( \sum_{k=1}^n (a_k)^2 \right)\left( x^2\sum_{k=1}^n (a_k)^2 \right)$

$\displaystyle = x^2\left( \sum_{k=1}^n (a_k)^2 \right)^2$.

This is actually the "if" part, the "only if" part would mean showing there is such an $x$ if equality holds (I get these mixed up, sometimes, too).
 
Ragnarok said:
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$$.

Hi Ragnarok,

Note that for all real $x$,

$\displaystyle (*) \sum_{k = 1}^n (a_k x + b_k)^2 = Ax^2 + 2Bx + C$.

Suppose $B^2 = AC$. If $A = 0$, we must have $B = 0$. So $a_k = b_k = 0$ for all $k$. Consequently, for any real $x$, $a_k x + b_k = 0$ for all $k$. Now assume $A\neq 0$. Then $-\frac{B}{A}$ is the root of the polynomial $Ax^2 + 2Bx + C$, and so the left hand side of $(*)$ is zero for $x = -\frac{B}{A}$. This forces $a_k x + b_k = 0$ for all $k$.
 
Thank you both so much! Deveno, I just realized that I asked the wrong question (I shouldn't post when tired). What I meant to ask was how equality implies the given condition. That's the harder part, for me at least. So I got the "if" and "only if" right, I just asked it the other way around. Euge, you seem to have realized what I meant anyway. Thanks!
 
Last edited:
Euge said:
Suppose $B^2 = AC$. If $A = 0$, we must have $B = 0$. So $a_k = b_k = 0$ for all $k$. Consequently, for any real $x$, $a_k x + b_k = 0$ for all $k$.
The fact that $A=\sum_{k=1}^n a_k^2=0$ and $B=\sum_{k=1}^n a_kb_k=0$ does not imply that all $b_k=0$, but it does imply that all $a_k=0$. In fact, the required statement is not entirely correct: $AC=B^2$ holds iff vectors $\vec{a}=(a_1,\dots,a_n)$ and $\vec{b}=(b_1,\dots,b_n)$ are linearly dependent, which means that one of them equals the other multiplied by a scalar (possible 0). So either there exists an $x$ such that $a_kx+b_k=0$ for all $k$ (i.e., $\vec{b}=-x\vec{a}$) or there exists a $y$ such that $a_k+b_ky=0$ (i.e., $\vec{a}=-y\vec{b}$).
 
Evgeny.Makarov said:
The fact that $A=\sum_{k=1}^n a_k^2=0$ and $B=\sum_{k=1}^n a_kb_k=0$ does not imply that all $b_k=0$, but it does imply that all $a_k=0$. In fact, the required statement is not entirely correct: $AC=B^2$ holds iff vectors $\vec{a}=(a_1,\dots,a_n)$ and $\vec{b}=(b_1,\dots,b_n)$ are linearly dependent, which means that one of them equals the other multiplied by a scalar (possible 0). So either there exists an $x$ such that $a_kx+b_k=0$ for all $k$ (i.e., $\vec{b}=-x\vec{a}$) or there exists a $y$ such that $a_k+b_ky=0$ (i.e., $\vec{a}=-y\vec{b}$).

Yes I mixed up the definitions of $B$ and $C$ (First time for everything, right? :) )

Since Ragnarok wants the "only if" part without the use of vectors, start with the identity

$\displaystyle AC - B^2 = \sum_{1 \le j < k \le n} (a_j b_k - a_k b_j)^2$.

If $AC - B^2 = 0$, then for all $k < j$, $a_j b_k = a_k b_j $. Hence $a_1, a_2, \ldots a_n$ is in proportion with $b_1, b_2,\ldots, b_n$.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
2
Views
1K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
253
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K