Ça se prononce « Cauchy »
Proof of the Cauchy-Schwarz Inequality: ∣x⋅y∣≤∣x∣∣y∣
Proof
We will prove this by induction.
Base case R2
Let x, y∈R2 be (x1,x2) and (y1,y2) respectively.
Start with ∣x⋅y∣ and note that:
∣x⋅y∣2=x12y12+2x1x2y1y2+x22y22≤(x12y12+2x1x2y1y2+x22y22)+(x1y2−x2y1)2=x12y12+x12y22+x12y22+x22y22=(x12+x22)(y12+y22)=(∣x∣∣y∣)2
Since both ∣x⋅y∣ and ∣x∣∣y∣ are positive and the square root is an increasing function, we have:
∣x⋅y∣≤∣x∣∣y∣
which proves the base case.
Induction Step:
Let x, y∈Rn be (x1,…,xn) and (y1,…,yn) respectively.
Assume ∣x⋅y∣≤∣x∣∣y∣. We will then show that this also works for x′, y′∈Rn+1, where (x1,…,xn,xn+1) and (y1,…,yn,yn+1) respectively
By our assumption:
∣x⋅y∣(x⋅y)2(x1y1+…xnyn)2≤∣x∣∣y∣≤x⋅xy⋅y≤x12+⋯+xn2y12+⋯+yn2
Consider ∣x′⋅y′∣2:
=(x′⋅y′)22=(x′⋅y′)2=(x1y1+…xnyn+xn+1yn+1)2=(x⋅y+xn+1yn+1)2=(x⋅y)2+2xn+1yn+1(x⋅y)+(xn+1yn+1)2
And (∣x′∣∣y′∣)2:
=(x′⋅x′y′⋅y′)2=(x′⋅x′)(y′⋅y′)=(x12+⋯+xn2+xn+12)(y12+⋯+yn2+yn+12)=(x⋅x+xn+12)(y⋅y+yn+12)=(x⋅x)(y⋅y)+yn+12(x⋅x)+xn+12(y⋅y)+xn+12yn+12
Note that:
∣x′⋅y′∣2≤∣x′⋅y′∣2+∣(yn+1x−xn+1y)∣2=∣x′⋅y′∣2+yn+12(x⋅x)−2xn+1yn+1(x⋅y)+xn+12(y⋅y)=(x⋅y)2+2xn+1yn+1(x⋅y)+(xn+1yn+1)2+yn+12(x⋅x)−2xn+1yn+1(x⋅y)+xn+12(y⋅y)=(x⋅y)2+(xn+1yn+1)2+yn+12(x⋅x)+xn+12(y⋅y)=(x⋅x)(y⋅y)+yn+12(x⋅x)+xn+12(y⋅y)+xn+12yn+12=(∣x′∣∣y′∣)2
But since the sqaure root is an increasing function and both ∣x′⋅y′∣ and ∣x′∣∣y′∣ are positive, ∣x′⋅y′∣2≤(∣x′∣∣y′∣)2 means that ∣x′⋅y′∣≤∣x′∣∣y′∣
So we have shown that if we assume ∣x⋅y∣≤∣x∣∣y∣ for x,y∈Rn then ∣x′⋅y′∣≤∣x′∣∣y′∣ for x′,y′∈Rn+1 as desired.
By induction, our proof is finished.