Proving the Cauchy-Schwarz Inequality

  • Thread starter Thread starter VertexOperator
  • Start date Start date
  • Tags Tags
    Inequality
Click For Summary

Homework Help Overview

The discussion revolves around proving the Cauchy-Schwarz inequality, specifically the form involving sums of squares and their relationship to the average of the variables. Participants express uncertainty about how to approach the proof and explore different methods of reasoning.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants suggest trying specific cases, such as n=2, and consider using induction. There are discussions about the implications of certain inequalities and the relationship between sums and products of the variables. Some participants explore the application of the Cauchy-Schwarz inequality itself.

Discussion Status

The discussion is active, with participants sharing their thoughts and attempts. Some have proposed specific inequalities and are questioning their validity. Guidance has been offered regarding the application of the Cauchy-Schwarz inequality and the identification of sequences needed for the proof.

Contextual Notes

Participants mention feeling intimidated by the notation and the complexity of the proof. There is a recognition of the need to clarify assumptions and definitions related to the inequality being discussed.

VertexOperator
Messages
79
Reaction score
0

Homework Statement



Prove that:

Homework Equations



\sum_{k=1}^{n}x_{k}^{2}\geq \frac{1}{n}\left ( \sum_{k=1}^{n}x_{k} \right )^{2}

The Attempt at a Solution



I am not sure what to do to be honest. But it looks like the Cauchy–Schwarz inequality to me.
 
Physics news on Phys.org


Oh come on. I'm sure there are things you can try. For example, solve the case n=2. Or try induction. Or something.
 


micromass said:
Oh come on. I'm sure there are things you can try. For example, solve the case n=2. Or try induction. Or something.

Sigma is intimidating :(
But I will try doing it.
 


VertexOperator said:
Sigma is intimidating :(
But I will try doing it.

Yes, I agree that it is intimidating. That is why I usually do some special cases first like n=2 and n=3 to get a feeling for the proof!
 


I got 2x_{1}^{2}+2x_{2}^{2}\geq x_{1}^{2}+2x_{1}x_{2}+x_{2}^{2}
 


VertexOperator said:
I got 2x_{1}^{2}+2x_{2}^{2}\geq x_{1}^{2}+2x_{1}x_{2}+x_{2}^{2}

Do you see why this is true?
 


micromass said:
Do you see why this is true?

Is it because \left ( x_{1}^{2}+x_{2}^{2} \right )\geq 2x_{1}x_{2}
But why is this true?
PS: Is it because \left ( x_{1}-x_{2} \right )^{2}\geq 0 \therefore \left ( x_{1}^{2}+x_{2}^{2} \right )\geq 2x_{1}x_{2}
 


Do I just do normal induction from here?
 


After thinking a little bit about it, you won't need induction at all.

Basically, you need to prove that

\sum_{k=1}^n x_k \leq \sqrt{n}\sqrt{\sum_{k=1}^n x_k^2}

You were completely right that this resembled Cauchy-Schwarz. So, try to apply Cauchy-Schwarz somewhere.

Of course, for that inequality, you need two sequences. The sequence (x_1,...,x_n) is one of them, what is the other?
 
  • #10


micromass said:
After thinking a little bit about it, you won't need induction at all.

Basically, you need to prove that

\sum_{k=1}^n x_k \leq \sqrt{n}\sqrt{\sum_{k=1}^n x_k^2}

You were completely right that this resembled Cauchy-Schwarz. So, try to apply Cauchy-Schwarz somewhere.

Of course, for that inequality, you need two sequences. The sequence (x_1,...,x_n) is one of them, what is the other?

Is it x_{1}^{2},...,x_{n}^{2} ?

And thank you a lot for the help. I didn't think about squarerooting both sides :( I really need to learn to recognized this stuff.
 
  • #11


No, it's not that.

Think of a very easy (constant) sequence.
 
  • #12


micromass said:
No, it's not that.

Think of a very easy (constant) sequence.

Although this question can be done using the CS Inequality, it can be done this way too:
a^2+b^2 \geq 2ab

[We need to sub into a and b, all the combinations of 2 numbers from the set \ \ x_1, \ x_2, \ x_2 \ \dots, \ x_n

x_1^2+x_1^2 \geq 2x_1 x_2

x_1^2+x_3^2 \geq 2x_1x_3

.
.
.

x_1^2+x_n^2 \geq 2x_1x_n

x_2^2+x_3^2 \geq 2x_2 x_3

And so on, then we add these inequalities side by side.

(n-1)(x_1^2+x_2^2 \dots + x_n^2) \geq 2(x_1x_2+x_1x_3+ \dots)

n(x_1^2+x_2^2+\dots+x_n^2) \geq x_1^2+x_2^2+\dots + x_n^2 + 2(x_1x_2+\dots

The RHS is the expanded form of:

n\sum_{k=1}^{n} x_k^2 \geq \left(\sum_{k=1}^{n}x_k \right)^2

\sum_{k=1}^{n} x_k^2 \geq \frac{1}{n}\left(\sum_{k=1}^{n}x_k \right)^2
 
  • #13


Could you please show me how you would do it using the CS inequality?
 
  • #14


You need to show that\sum_{k=1}^n x_k \leq \sqrt{n}\sqrt{\sum_{k=1}^n x_k^2}

The CS inequality gives something like

\sum_{k=1}^n x_ky_k \leq ...

If I use the same x_k in both inequalities above, then what does the corresponding y_k need to be?
 
  • #15


micromass said:
You need to show that


\sum_{k=1}^n x_k \leq \sqrt{n}\sqrt{\sum_{k=1}^n x_k^2}

The CS inequality gives something like

\sum_{k=1}^n x_ky_k \leq ...

If I use the same x_k in both inequalities above, then what does the corresponding y_k need to be?

Ok, thank you. I will try to do it now.
 

Similar threads

Replies
12
Views
2K
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
10
Views
2K