Proof of the Cauchy Shwarz inequality

Click For Summary

Discussion Overview

The discussion revolves around the proof of the Cauchy-Schwarz inequality within the context of linear vector spaces, specifically focusing on the steps involved in the proof and the implications of choosing specific values for variables in the proof process.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant questions whether choosing a specific value for the variable u in the proof leads to a loss of generality.
  • Another participant argues that the inequality holds for all values of u, including the chosen one, and suggests that the proof should instead use w=x-uy.
  • A different viewpoint emphasizes the need to minimize the right-hand side of the inequality by choosing an appropriate u, leading to a specific value for u that is derived from taking the derivative.
  • Another participant points out the necessity of choosing the argument of u to ensure that certain terms remain real and negative, which aids in minimizing the right-hand side.
  • One participant introduces an alternative proof involving a variable t and discusses the properties of a quadratic equation to demonstrate the Cauchy-Schwarz inequality.
  • A later reply references the same proof involving the variable t and provides a detailed mathematical formulation, including the roots of a polynomial related to the inequality.

Areas of Agreement / Disagreement

Participants express differing views on the implications of choosing specific values for u and the correctness of certain steps in the proof. There is no consensus on the best approach or the correctness of all claims made.

Contextual Notes

Some participants note missing signs and potential errors in earlier claims, but the discussion remains focused on exploring the proof without resolving these issues definitively.

fa2209
Messages
23
Reaction score
0
My mathematical methods for theoretical physics course recently began looking at linear vector spaces. We defined the Banach and Hilbert Spaces and proved the Cauchy-Shwarz Inequality. There's one step in this proof that I can't really follow (in red):

consider: w=x+uy (i'll drop the emboldening of vectors now to save time)

0 <= <x,x> + <uy,x> + <x,uy> + <uy,uy>

0 <= <x,x> + u*<y,x> + u<x,y> + u*u<y,y>

Choose u = <y,x>/<y,y>

0 <= <x,x> + (<y,x>/<y,y>)*<y,x> + (<y,x>/<y,y>)<x,y> + (<y,x>/<y,y>)2<y,y>

some manipulation here concludes the proof.

My question is that by choosing a specific u are we not losing generality?
 
Physics news on Phys.org
On the contrary, the inequailty is true for all u, including the chosen one.
Moreover, it should be w=x-uy instead.
 
The way I remember seeing it is that you want to choose u to minimize the RHS of

0 <= <x,x> + u*<y,x> + u<x,y> + u*u<y,y>

Then any other u will make the RHS larger and thus still satisfy the inequality.
So take the derivative wrt u* to get

0 <= 0 + <y,x> + 0 + u<y,y>

==> u = - <y,x> / <y,y>

(You can check that extremizing wrt u gives a consistent result)

==> 0 <= <x,x> - 2<y,x><x,y>/<y,y> + <y,x><x,y>/<y,y>

==> <y,x><x,y> <= <x,x><y,y>
 
Last edited:
fa2209 said:
0 <= <x,x> + <uy,x> + <x,uy> + <uy,uy>

0 <= <x,x> + u*<y,x> + u<x,y> + u*u<y,y>

Choose u = <y,x>/<y,y>
You need to choose u to minimize the right-hand side. To do this, you need to choose Arg u=-Arg (u<x,y>)+π, because this makes u<x,y> real and negative. (Note that u*<y,x> + u<x,y>=2 Re (u<x,y>).) Then you find the value of |u| that makes the right-hand side as small as possible. It looks like you're trying to do both of these things at once. There's nothing wrong with that, but it makes it more difficult to see that we're just trying to minimize the right-hand side. You also got the sign wrong.

fa2209 said:
My question is that by choosing a specific u are we not losing generality?
No. The proof goes like this:
Let x and y be arbitrary vectors. Then for any complex number u, we have 0≤ <x+uy,+uy>. In particular, this inequality holds when u=(the value that minimizes the right-hand side), and in that case, it can be simplified to the inequality we're trying to prove.​
We haven't lost any generality since x and y are still arbitrary.
 
Last edited:
Ah, I get it. Yeah, sorry for the missing sign. Thanks a lot for your help, guys!
 
one clever proof introduces a variable t, and looks at (a+tb).(a+tb) = |a+tb|^2 and uses that this is always non negative. I.e. the graph is a parabola that does not cross the x-axis except to touch it at most once. In particular it has one or no real roots. Since it is a quadratic equation in t, that means the discriminant of the equation is non positive. that is the cauchy schwartz inequality, as i recall, unless i screwed it up. that looks like the same proof above, which minimizes a quadratic.
 
I actually saw that proof (the one mathwonk is talking about) for the first time less than a week ago. (Note that my inner product is antilinear in the first variable and linear in the second).

<br /> \begin{align*}\label{eq:cbst}<br /> 0 &amp;\leq \langle x+ty,x+ty\rangle=\langle x,x\rangle+t\langle x,y\rangle+t^*\langle y,x\rangle+|t|^2\langle y,y\rangle\nn\\<br /> &amp;= \|x\|^2+2\operatorname{Re}(t\langle x,y\rangle)+|t|^2\|y\|^2<br /> \end{align*}<br />

The choice \operatorname{Arg} t=-\operatorname{Arg}(t\langle x,y\rangle)+\pi turns this into

0\leq\|x\|^2-2|t||\langle x,y\rangle|+|t|^2\|y\|^2

Now consider the polynomial p, defined by

p(z)=\|y\|^2 z^2-2|\langle x,y\rangle|z+\|x\|^2

Its roots are

\frac{|\langle x,y\rangle|}{\|y\|^2}\pm\frac{1}{\|y\|^2}\sqrt{\frac{|\langle x,y\rangle|^2}{\|y\|^2}-\|x\|^2}

The clever trick is to note that since p is a second degree polynomial and p(z)≥0 when z is real, p can't have more than one real root, but if the quantity under the square root above is positive, it has two! So, we must have

\frac{|\langle x,y\rangle|^2}{\|y\|^2}-\|x\|^2\leq 0
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 8 ·
Replies
8
Views
5K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K