The Cauchy-Schwarz inequality in is
Here the Euclidean norm is induced by the dot product. If , the result is immediate. If , the squared Euclidean norm of the component of perpendicular to is nonnegative:
Rearrangement proves the Cauchy-Schwarz inequality. Equality holds precisely when and are linearly dependent, including the cases of a zero vector.
Expanding the squared Euclidean norm and using the Cauchy-Schwarz inequality gives
Taking nonnegative square roots gives the triangle inequality. Applying the triangle inequality once more gives
Subtract the two constraints to obtain . The Cauchy-Schwarz inequality gives . Since , division and squaring give the distance bound from two hyperplane constraints
If and , the intersection is empty. If and , the constraints describe the same hyperplane. Its points satisfy , with equality at . The fraction involving is undefined in this case and cannot be used.
If , both equations are satisfied by every when , and otherwise there is no solution. These degenerate cases distinguish an inconsistent constraint from a repeated one.
Apply the triangle inequality to the path from through to :
This is one direction of the reverse triangle inequality. A second application of the triangle inequality, this time through , gives
The resulting four-point triangle inequality follows without any assumptions on coincidences among the four points.

Articles by others on the same topic (0)

There are currently no matching articles.