Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

kevinlui's site

7239 views

8.1 Dot Products and Orthogonal Sets

Definition: Suppose that u=(u1,,un)u=(u_1,\ldots,u_n) and v=(v1,,vn)v=(v_1,\ldots,v_n) are both vectors in Rn\mathbb{R}^n. Then the dot product of uu and vv is uv=u1v1++unvnu\cdot v = u_1v_1+\ldots+u_nv_n.

Theorem: Let u,v,wu,v,w be in Rn\mathbb{R}^n. Then the dot product has the following properties:

  • (Symmetry) uv=vuu\cdot v = v\cdot u,

  • (Linearity) (cu+v)w=cuw+vw(cu+v)\cdot w = cu\cdot w + v\cdot w,

  • (Positive Definite) uu0u\cdot u\geq 0 for all uu, and uu=0u\cdot u=0 if and and only if u=0u=0.

Definition: Let xx be a vector in Rn\mathbb{R}^n, then the norm of xx is given by x=xx\|x\|=\sqrt{x\cdot x}. Note that cx=cx\|cx\|=|c|\|x\|.

For two vectors uu and vv, the distance between uu and vv is given by uv\|u-v\|.

Definition: Let uu and vv be vectors in Rn\mathbb{R}^n are orthogonal if uv=0u\cdot v=0.

Theorem: (Pythagorean Theorem) Suppose that uu and vv are in Rn\mathbb{R}^n. Then u+v2=u2+v2\|u+v\|^2=\|u\|^2+\|v\|^2 if and only if uv=0u\cdot v=0.

Theorem: (Triangle Inequality) If uu and vv are in Rn\mathbb{R}^n, then u+vu+v\|u+v\|\leq \|u\|+\|v\|.

Definition: Let SS be a subspace of Rn\mathbb{R}^n. A vector uu is orthogonal to SS if it is orthogonal to every vector in SS. The set of all vectors orthogonal to SS is called the orthogonal complement of SS and is denoted SS^\perp.

The orthogonal complement to a subspace is also a subspace.

Theorem: Let B={v1,,vn}B=\{v_1,\ldots,v_n\} be a basis for a subspace SS. Then uSu\in S^\perp (uu is orthogonal to SS) if and only if uu is orthogonal to each viv_i.

Example: Let s1=(1,0,1)s_1=(1,0,-1) and s2=(1,1,1)s_2=(1,1,1) and SS be the span of s1s_1 and s2s_2. Is u=(1,1,1)Su=(-1,1,1)\in S^\perp? What is a basis for SS^\perp?

Definition: A set of vectors VV in Rn\mathbb{R}^n form an orthogonal set the vectors are pairwise orthogonal. This means that if viv_i and vjv_j are distinct vectors in VV, then vivj=0v_i\cdot v_j=0.

Example:

  • Is the standard basis an orthogonal set?

  • What's a basis that is not orthogonal?

Theorem: An orthogonal set of nonzero vectors is linearly independent.

Definition: A basis that is orthogonal as a set is called an orthogonal basis. A basis that is orthogonal as a set and is comprised of vectors of norm 1 is called an orthonormal basis.

Theorem: Let SS be a subspace with orthogonal basis {v1,,vk}\{v_1,\ldots,v_k\}. Then any vector sSs\in S can be written as a linear combination v=c1v1++ckvkv=c_1v_1+\ldots+c_kv_k with ci=vis/vi2c_i=v_i\cdot s/\|v_i\|^2.

Example: (THIS IS A BAD EXAMPLE. TURNS OUT NOT TO BE ORTHOGONAL.) Let v1=(2,1,1),v2=(1,1,3),v3=(4,7,1)v_1=(-2,1,1), v_2=(1,-1,-3), v_3=(4,7,-1). Write (3,1,5)(3,-1,5) as a linear combination of viv_i.

For finite dimensional spaces, we have that (S)=S(S^\perp)^\perp=S. Use this to show that every subspace is the null space of some matrix.