Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

9.3: Orthogonality

( \newcommand{\kernel}{\mathrm{null}\,}\)

Using the inner product, we can now define the notion of orthogonality, prove that the Pythagorean theorem holds in any inner product space, and use the Cauchy-Schwarz inequality to prove the triangle inequality. In particular, this will show that v=v,v does indeed define a norm.

Definition 9.3.1. Two vectors u,vV are orthogonal (denoted uv) if u,v=0.

Note that the zero vector is the only vector that is orthogonal to itself. In fact, the zero vector is orthogonal to every vector vV.

Theorem 9.3.2. (Pythagorean Theorem). If u,vV, an inner product space, with uv, then defined by v:=v,v obeys

u+v2=u2+v2.

Proof. Suppose u,vV such that uv. Then
u+v2=u+v,u+v=u2+v2+u,v+v,u=u2+v2.

Note that the converse of the Pythagorean Theorem holds for real vector spaces since, in that case, u,v+v,u=2Reu,v=0.

Given two vectors u,vV with v0, we can uniquely decompose u into two pieces: one piece parallel to v and one piece orthogonal to v. This is called an orthogonal decomposition. More precisely, we have
u=u1+u2,
where u1=av and u2v for some scalar aF. To obtain such a decomposition, write u2=uu1=uav. Then, for u2 to be
orthogonal to v, we need
0=uav,v=u,vav2.
Solving for a yields a=u,v/v2 so that
u=u,vv2v+(uu,vv2v).

This decomposition is particularly useful since it allows us to provide a simple proof for the Cauchy-Schwarz inequality.

Theorem 9.3.3 (Cauchy-Schwarz inequality). Given any u,vV, we have

|u,v|uv.

Furthermore, equality holds if and only if u and v are linearly dependent, i.e., are scalar multiples of each other.

Proof. If v=0, then both sides of the inequality are zero. Hence, assume that v0, and consider the orthogonal decomposition
u=u,vv2v+w
where wv. By the Pythagorean theorem, we have
u2=u,vv2v2+w2=|u,v|2v2+w2|u,v|2v2.
Multiplying both sides by v2 and taking the square root then yields the Cauchy-Schwarz inequality.
Note that we get equality in the above arguments if and only if w=0. But, by Equation (9.3.1), this means that u and v are linearly dependent.

The Cauchy-Schwarz inequality has many different proofs. Here is another one.

Alternate Proof of Theorem 9.3.3. Given u,vV, consider the norm square of the vector u+reiθv:
0u+reiθv2=u2+r2v2+2Re(reiθu,v).
Since u,v is a complex number, one can choose θ so that eiθu,v is real. Hence, the right hand side is a parabola ar2+br+c with real coefficients. It will lie above the real axis, i.e. ar2+br+c0, if it does not have any real solutions for r. This is the case when the discriminant satisfies b24ac0. In our case this means
4|u,v|24u2v20.

Moreover, equality only holds if r can be chosen such that u+reiθv=0, which means that u and v are scalar multiples.

Now that we have proven the Cauchy-Schwarz inequality, we are finally able to verify the triangle inequality. This is the final step in showing that v=v,v does indeed define a norm. We illustrate the triangle inequality in Figure 9.3.1.

triangle inequality in R2 - Copy.png

Figure 9.3.1: The Triangle Inequality in R2

Theorem 9.3.4. (Triangle Inequality). For all u,vV we have

u+vu+v.

Proof. By a straightforward calculation, we obtain
u+v2=u+v,u+v=u,u+v,v+u,v+v,u=u,u+v,v+u,v+¯u,v=u2+v2+2Reu,v.
Note that Reu,v|u,v| so that, using the Cauchy-Schwarz inequality, we obtain
u+v2u2+v2+2uv=(u+v)2.
Taking the square root of both sides now gives the triangle inequality.

Remark 9.3.5. Note that equality holds for the triangle inequality if and only if v=ru or u=rv for some r0. Namely, equality in the proof happens only if u,v=uv, which is equivalent to u and v being scalar multiples of one another.

Theorem 9.3.6. (Parallelogram Law). Given any u,vV, we have
u+v2+uv2=2(u2+v2).

Proof. By direct calculation,
u+v2+uv2=u+v,u+v+uv,uv=u2+v2+u,v+v,u+u2+v2u,vv,u=2(u2+v2).

Remark 9.3.7. We illustrate the parallelogram law in Figure 9.3.2.

parallelogram law in R2 - Copy.jpg

Figure 9.3.2: The Parallelogram Law in R2


This page titled 9.3: Orthogonality is shared under a not declared license and was authored, remixed, and/or curated by Isaiah Lankham, Bruno Nachtergaele, & Anne Schilling.

Support Center

How can we help?