Cauchy-Schwarz inequality
There are two forms of this inequality:
- ∑ni=1aibi≤√∑ni=1a2i√∑ni=1b2i - the common and
- |⟨x,y⟩|≤∥x∥∥y∥- the rare but more general
TODO: More general version http://math.stackexchange.com/questions/1357968/cauchy-schwarz-inequality-proof-but-not-the-usual-one
- Update: Cauchy-Schwarz inequality for inner product spaces is a proof of the second form - note that ∥x∥:=√⟨x,x⟩ is the norm induced by the inner product Alec (talk) 13:04, 4 April 2017 (UTC)
Contents
[hide]Statement
For any a1,...,an,b1,...,bn∈R
n∑i=1aibi≤√n∑i=1a2i√n∑i=1b2i
Proof
Basis for argument
Consider first the function f:R→R
If f(x)≥0
As we want f(x)≥0
In the first case (repeated solutions) we require b2−4ac=0
In the second case we require b2−4ac<0
Conclusion of first argument
We conclude from this that if a quadratic ax2+bx+c
Core of argument
In the basis we required a function, f(x)
Take n∑i=1(ait+bi)2
- n∑i=1(ait+bi)2=n∑i=1(a2it2+2taibi+b2i)=t2n∑i=1a2i+2tn∑i=1aibi+n∑i=1b2i- which is a quadratic in t
- ∀ai,bi,t∈R (ait+bi)2≥0, so n∑i=1(ait+bi)2≥0- our quadratic in tis ≥0
Using the above this means b2−4ac≤0
- a=n∑i=1a2i
- b=2n∑i=1aibi
- c=n∑i=1b2i
Conclusion of argument
4(n∑i=1aibi)2−4(n∑i=1a2i)(n∑i=1b2i)≤0
But as x≤|x|
⟺n∑i=1aibi≤√n∑i=1a2i√n∑i=1b2i
QED