12.07.2015 Views

Chapter 4 General Vector Spaces Face Recognition ( Ṣ共 彐嬀)

Chapter 4 General Vector Spaces Face Recognition ( Ṣ共 彐嬀)

Chapter 4 General Vector Spaces Face Recognition ( Ṣ共 彐嬀)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ExampleLA 04_53 v 1 = (1 0 0), v 2 = (2 1 0), v 3 = (3 2 1) (1)(2)u1u2 v v12 (1, 0, 0) proj(2,1,0) (2,1,0) (1,0,0)u 1v2v2(((1,0,0)(1,0,0)vu21uu11)u)1(1,0,0) (2,1,0) (2,0,0) (0,1,0) ( u1)(3') u3 v3 proju 1v3 (0,2,1) ( u1)(Not u2)(3) u3 v3 proju 1v3 proju 2v3 (0,0,1)( u1, u2) 1 4 8 2 0 1A 0 5 5 3 8 6 From Example 4, orthonormal basis {q 1 , q 2 , q 3 }: 1 2 3 2 4 5 2 4 1 , , 0, , , , , , , , 0, 14 14 14 7 7 7 7 21 21QR-Decomposition (1/2)uu u 12212 LA 04_553 Then by Theorem 4.20: u 1 = (u 1 · q 1 ) q 1 + (u 1 · q 2 ) q 2 +(u 1 · q 3 ) q 3 = (u 1 · q 1 ) q 1 = 14q 1 u 2 = (u 2 · q 1 ) q 1 + (u 2 · q 2 ) q 2 + (u 2 · q 3 ) q 3 =2 14 q q172 u 3 = (u 3 · q 1 ) q 1 + (u 3 · q 2 ) q 2 + (u 3 · q 3 ) q 3 =2 14 q q1 7 q2213Example 4: {(1, 2, 0, 3), (4, 0, 5, 8), (8, 1, 5, 6)} linearlyindependent in R 4 a basis for a 3-dim subspace.Construct an orthonormal basis for V.• Solution: Let v 1 = (1, 2, 0, 3), v 2 = (4, 0, 5, 8), v 3 = (8, 1, 5, 6).LA 04_54uuu123vvv123 (1, 2, 0, 3)projproju 1u 1vv23(2,proj 4, 5,u 2v32)(4,1, 0, 2)• The set {(1, 2, 0, 3), (2, – 4, 5, 2), (4, 1, 0, – 2)} orthogonal:Check 1 of 2: (1, 2, 0, 3) · (2, – 4, 5, 2) = 2 – 8 + 0 + 6 = 0(1, 2, 0, 3) 12 22 02 32 14, (2, 4, 5, 2) 7, (4,1, 0, 2) 21• Orthonormal basis 114,214,0,314 , 27,47,57,27 , 421,121,0,221 QR-Decomposition (2/2)LA 04_5614 21 1 4 8 2 4 1 14 2 14 2 14 A 2 0 1 1 2 3 0 5 5 5 0 0 0 0 21 3 8 6 7 3 2 2 14 7 21 uu u 14 7 21 0 7 7 QR1274 Theorem: If A R mn has linearly independent columnvectors, then A = QR, where Q is an mn matrix withorthonormal column vectors and R is an nn invertibleupper triangular matrix. One of top 10 algorithms in the 20th century (computeeigenvalue in chapter 5 by QR algorithm, check courseweb site)ttt

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!