21. Orthonormal Bases

21. Orthonormal Bases

21. Orthonormal Bases The canonical/standard basis 011 001 001 B C B C B C B0C B1C B0C e1 = B.C ; e2 = B.C ; : : : ; en = B.C B.C B.C B.C @.A @.A @.A 0 0 1 has many useful properties. • Each of the standard basis vectors has unit length: q p T jjeijj = ei ei = ei ei = 1: • The standard basis vectors are orthogonal (in other words, at right angles or perpendicular). T ei ej = ei ej = 0 when i 6= j This is summarized by ( 1 i = j eT e = δ = ; i j ij 0 i 6= j where δij is the Kronecker delta. Notice that the Kronecker delta gives the entries of the identity matrix. Given column vectors v and w, we have seen that the dot product v w is the same as the matrix multiplication vT w. This is the inner product on n T R . We can also form the outer product vw , which gives a square matrix. 1 The outer product on the standard basis vectors is interesting. Set T Π1 = e1e1 011 B C B0C = B.C 1 0 ::: 0 B.C @.A 0 01 0 ::: 01 B C B0 0 ::: 0C = B. .C B. .C @. .A 0 0 ::: 0 . T Πn = enen 001 B C B0C = B.C 0 0 ::: 1 B.C @.A 1 00 0 ::: 01 B C B0 0 ::: 0C = B. .C B. .C @. .A 0 0 ::: 1 In short, Πi is the diagonal square matrix with a 1 in the ith diagonal position and zeros everywhere else. 1 T T T Notice that ΠiΠj = eiei ejej = eiδijej . Then: ( Π i = j Π Π = i : i j 0 i 6= j Moreover, for a diagonal matrix D with diagonal entries λ1; : : : ; λn, we can write D = λ1Π1 + ::: + λnΠn: Other bases that share these properties should behave in many of the same ways as the standard basis. As such, we will study: 1This is reminiscent of an older notation, where vectors are written in juxtaposition. This is called a `dyadic tensor,' and is still used in some applications. 2 • Orthogonal bases fv1; : : : ; vng: vi vj = 0 if i 6= j In other words, all vectors in the basis are perpendicular. • Orthonormal bases fu1; : : : ; ung: ui uj = δij: In addition to being orthogonal, each vector has unit length. n Suppose T = fu1; : : : ; ung is an orthonormal basis for R . Since T is a basis, we can write any vector v uniquely as a linear combination of the vectors in T : 1 n v = c u1 + : : : c un: Since T is orthonormal, there is a very easy way to find the coefficients of this linear combination. By taking the dot product of v with any of the vectors in T , we get: 1 i n v ui = c u1 ui + ::: + c ui ui + ::: + c un ui = c1 · 0 + ::: + ci · 1 + ::: + cn · 0 = ci; i ) c = v ui ) v = (v u1)u1 + ::: + (v un)un X = (v ui)ui: i This proves the theorem: Theorem. For an orthonormal basis fu1; : : : ; ung, any vector v can be ex- pressed X v = (v ui)ui: i Relating Orthonormal Bases Suppose T = fu1; : : : ; ung and R = fw1; : : : ; wng are two orthonormal bases n for R . Then: 3 w1 = (w1 u1)u1 + ::: + (w1 un)un . wn = (wn u1)u1 + ::: + (wn un)un X ) wi = uj(uj wi) j As such, the matrix for the change of basis from T to R is given by j P = (Pi ) = (uj wi): Consider the product PP T in this case. T j X (PP )k = (uj wi)(wi uk) i X T T = (uj wi)(wi uk) i " # T X T = uj (wiwi ) uk i T = uj Inuk (∗) T = uj uk = δjk: In the equality (∗) is explained below. So assuming (∗) holds, we have shown T that PP = In, which implies that P T = P −1: P T The equality in the line (∗) says that i wiwi = In. To see this, we P T j examine ( i wiwi )v for an arbitrary vector v. We can find constants c P j such that v = j c wj, so that: X T X T X j ( wiwi )v = ( wiwi )( c wj) i i j X j X T = c wiwi wj j i X j X = c wiδij j i X j = c wj since all terms with i 6= j vanish j = v: 4 P T Then as a linear transformation, i wiwi = In fixes every vector, and thus must be the identity In. Definition A matrix P is orthogonal if P −1 = P T . Then to summarize, Theorem. A change of basis matrix P relating two orthonormal bases is an orthogonal matrix. i.e. P −1 = P T : 3 Example Consider R with the orthonormal basis 8 0 2 1 0 1 0 1 19 > p 0 p > <> 6 3 => B p1 C B p1 C B p−1 C S = u1 = B C ; u2 = B C ; u3 = B C : @ 6 A @ 2 A @ 3 A > p−1 p1 p1 > : 6 2 3 ; Let R be the standard basis fe1; e2; e3g. Since we are changing from the standard basis to a new basis, then the columns of the change of basis matrix are exactly the images of the standard basis vectors. Then the change of basis matrix from R to S is given by: 0 1 e1 u1 e1 u2 e1 u3 j B C P = (Pi ) = (ejui) = @e2 u1 e2 u2 e2 u3A e3 u1 e3 u2 e3 u3 0 p2 0 p1 1 6 3 B p1 p1 p−1 C = u1 u2 u3 = B C : @ 6 2 3 A p−1 p1 p1 6 2 3 From our theorem, we observe that: 0 T 1 u1 −1 T B T C P = P = @u2 A T u3 0 p2 p1 p−1 1 6 6 6 B 1 1 C = B 0 p p C : @ 2 2 A p1 p−1 p1 3 3 3 5 T We can check that P P = In by a lengthy computation, or more simply, notice that 0uT 1 1 T B T C (P P )ij = @u2 A u1 u2 u3 T u3 01 0 01 B C = @0 1 0A : 0 0 1 We are using orthonormality of the ui for the matrix multiplication above. Orthonormal Change of Basis and Diagonal Matrices. Suppose D is a diagonal matrix, and we use an orthogonal matrix P to change to a new basis. Then the matrix M of D in the new basis is: M = P DP −1 = P DP T : Now we calculate the transpose of M. M T = (P DP T )T = (P T )T DT P T = P DP T = M So we see the matrix P DP T is symmetric! References • Hefferon, Chapter Three, Section V: Change of Basis Wikipedia: • Orthogonal Matrix • Diagonalizable Matrix • Similar Matrix 6 Review Questions ! λ 0 1. Let D = 1 . 0 λ2 i: Write D in terms of the vectors e1 and e2, and their transposes. ! a b ii: Suppose P = is invertible. Show that D is similar to c d ! 1 λ1ad − λ2bc (λ1 − λ2)bd M = : ad − bc (λ1 − λ2)ac −λ1bc + λ2ad iii: Suppose the vectors a b and c d are orthogonal. What can you say about M in this case? 2. Suppose S = fv1; : : : ; vng is an orthogonal (not orthonormal) basis for n P i R . Then we can write any vector v as v = i c vi for some constants ci. Find a formula for the constants ci in terms of v and the vectors in S. 3 3. Let u; v be independent vectors in R , and P = spanfu; vg be the plane spanned by u and v. ? u·v i: Is the vector v = v − u·u u in the plane P ? ii: What is the angle between v? and u? iii: Given your solution to the above, how can you find a third vector perpendicular to both u and v?? 3 iv: Construct an orthonormal basis for R from u and v. v: Test your abstract formulae starting with u = 1 2 0 and v = 0 1 1 : 7.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us