Show worked solution
Worked solution
State the target
This is the Cauchy–Schwarz inequality in three dimensions. We prove it via an exact identity.
Expand the left product
We multiply out the two brackets, giving nine terms.
Expand the right square
We square the linear combination, obtaining three squared terms and three cross terms.
Form the difference
We compute the left minus the right and hope to recognise a sum of squares.
Cancel the matching squares
These three terms appear on both sides and disappear in the difference.
Write the surviving terms
Six mixed square terms remain, minus twice the three cross terms.
Group into three pairs
Each pair of square terms is matched with a cross term to complete a square.
Write as three squares
This is Lagrange's identity: the difference is exactly a sum of three squares.
Use non-negativity
Each square is non-negative, so their sum is non-negative.
Deduce
Since D is a sum of squares, it is at least 0.
Rearrange
D\ge0 is exactly the required inequality.
State equality condition
Equality needs all three squares to vanish, which means (a,b,c) and (x,y,z) are proportional.
Interpret geometrically
Cauchy–Schwarz becomes an equality precisely when the two vectors are parallel.
Verify an example
Checking a=(1,2,2), x=(2,1,2): left is 9\times9=81, right is (2+2+4)^2=64, and 81\ge64.
Conclude
Therefore the inequality holds for all real numbers, with equality iff the vectors are proportional.