Roberto s Notes on Linear Algebra Chapter 9: Orthogonality Section 2. Orthogonal matrices

Similar documents
Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 4. Matrix products

Roberto s Notes on Linear Algebra Chapter 11: Vector spaces Section 1. Vector space axioms

Basic matrix operations

Roberto s Notes on Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3. Diagonal matrices

Eigenvalues and eigenvectors

Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 7. Inverse matrices

LINEAR ALGEBRA KNOWLEDGE SURVEY

Lecture 4: Applications of Orthogonality: QR Decompositions

Dependence and independence

Lesson 21 Not So Dramatic Quadratics

Number of solutions of a system

MITOCW ocw f99-lec17_300k

Special types of matrices

Image Registration Lecture 2: Vectors and Matrices

MATH 167: APPLIED LINEAR ALGEBRA Least-Squares

MATH 22A: LINEAR ALGEBRA Chapter 4

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

There are two things that are particularly nice about the first basis

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C =

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

Lecture 6: Lies, Inner Product Spaces, and Symmetric Matrices

Eigenvectors and Hermitian Operators

Elimination and back substitution

Math 291-2: Lecture Notes Northwestern University, Winter 2016

Using matrices to represent linear systems

Row and column spaces

base 2 4 The EXPONENT tells you how many times to write the base as a factor. Evaluate the following expressions in standard notation.

MITOCW ocw f99-lec30_300k

MITOCW ocw f99-lec05_300k

The Fundamental Theorem of Linear Algebra

MAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction

Basic methods to solve equations

Dot Products, Transposes, and Orthogonal Projections

MATH 320, WEEK 7: Matrices, Matrix Operations

Linear Algebra, Summer 2011, pt. 3

L2-7 Some very stylish matrix decompositions for solving Ax = b 10 Oct 2015

12. Perturbed Matrices

j=1 u 1jv 1j. 1/ 2 Lemma 1. An orthogonal set of vectors must be linearly independent.

A summary of factoring methods

18.06 Quiz 2 April 7, 2010 Professor Strang

MITOCW ocw f99-lec01_300k

Page 52. Lecture 3: Inner Product Spaces Dual Spaces, Dirac Notation, and Adjoints Date Revised: 2008/10/03 Date Given: 2008/10/03

1 GSW Sets of Systems

Note: Please use the actual date you accessed this material in your citation.

MITOCW ocw f99-lec16_300k

Math 416, Spring 2010 Gram-Schmidt, the QR-factorization, Orthogonal Matrices March 4, 2010 GRAM-SCHMIDT, THE QR-FACTORIZATION, ORTHOGONAL MATRICES

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

Math 123, Week 2: Matrix Operations, Inverses

Worksheet for Lecture 25 Section 6.4 Gram-Schmidt Process

CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

Math 290-2: Linear Algebra & Multivariable Calculus Northwestern University, Lecture Notes

Polynomials; Add/Subtract

Solving Quadratic & Higher Degree Equations

Vector Spaces. 9.1 Opening Remarks. Week Solvable or not solvable, that s the question. View at edx. Consider the picture

MATH 167: APPLIED LINEAR ALGEBRA Chapter 3

Linear Algebra for Beginners Open Doors to Great Careers. Richard Han

Answer Key for Exam #2

18.06SC Final Exam Solutions

Chapter 2. Matrix Arithmetic. Chapter 2

Linear Algebra- Final Exam Review

c 1 v 1 + c 2 v 2 = 0 c 1 λ 1 v 1 + c 2 λ 1 v 2 = 0

The Haar Wavelet Transform: Compression and. Reconstruction

MITOCW ocw-18_02-f07-lec02_220k

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3

PRACTICE PROBLEMS (TEST I).

MITOCW R11. Double Pendulum System

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

(v, w) = arccos( < v, w >

Scalar multiplication and algebraic direction of a vector

MITOCW ocw f99-lec09_300k

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

UMA Putnam Talk LINEAR ALGEBRA TRICKS FOR THE PUTNAM

CS168: The Modern Algorithmic Toolbox Lecture #8: How PCA Works

Topic 14 Notes Jeremy Orloff

Solving Quadratic & Higher Degree Equations

Honors Advanced Mathematics Determinants page 1

Linear Algebra Exercises

k is a product of elementary matrices.

Vector Spaces, Orthogonality, and Linear Least Squares

#29: Logarithm review May 16, 2009

Lecture 2: Change of Basis

Calculus II. Calculus II tends to be a very difficult course for many students. There are many reasons for this.

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

ME751 Advanced Computational Multibody Dynamics

ORDERS OF ELEMENTS IN A GROUP

Singular Value Decomposition

MATH 583A REVIEW SESSION #1

Linear Algebra, Summer 2011, pt. 2

Getting Started with Communications Engineering

Review of Linear Algebra Definitions, Change of Basis, Trace, Spectral Theorem

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

(v, w) = arccos( < v, w >

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Matroids and Greedy Algorithms Date: 10/31/16

v = ( 2)

Key Point. The nth order linear homogeneous equation with constant coefficients

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 6

Name Solutions Linear Algebra; Test 3. Throughout the test simplify all answers except where stated otherwise.

I. Multiple Choice Questions (Answer any eight)

Transcription:

Roberto s Notes on Linear Algebra Chapter 9: Orthogonality Section 2 Orthogonal matrices What you need to know already: What orthogonal and orthonormal bases for subspaces are. What you can learn here: A special kind of matrices that are not pretty, but are nice! We have seen that orthogonal and orthonormal bases have some nice properties that make them worth noticing. In this section you ll see that those nice properties transfer to, and get exploited by a nice type of matrices. hat is, in this section we ll see how the property of being orthogonal a concept that was born in geometry becomes a nice property for matrices, which are algebraic objects. his interplay between algebra and geometry is another exciting aspect of linear algebra that we shall explore a little further in the next chapter. But let us not get astray. Here is the key definition. Definition An nn matrix Q is said to be orthogonal if its columns form an orthonormal basis for n, that is, if the dot product of any column with itself is 1, and any two different columns is 0. Before I say anything else, let me point out the obvious discrepancy in this definition: we call this matrix orthogonal if its columns form an orthonormal basis, NO just an orthogonal one. If it were me, I would have called these matrices orthonormal, but the first mathematicians who defined and used them probably considered this word too long and settled for the shorter word, trusting that other scholars would get and appreciate the distinction. Alas, many beginner students don t! So, keep this jargon issue in mind and make an effort to enter the club of scholars who get it! Fair warning, but what is so good about such matrices, besides the fact that they identify an orthonormal basis? In fact, we shall see soon that they identify two orthonormal bases, but that is not the main point. As I said, they are nice matrices in their own right. Here is one 3 of them for : 1 2 2 3 5 3 5 2 1 4 Q 3 5 3 5 2 5 0 3 3 5 Yuck! And you call this nice? Sure: would you like to compute its inverse? Linear Algebra Chapter 9: Orthogonality Section 2: Orthogonal matrices Page 1

hat must be a horrible exercise and I don t even know if it is invertible! If you let go of your revulsion for the strange numbers that make up the matrix and trust your brains instead, you will quickly realize the following two important facts about orthogonal matrices. Proof echnical fact Any orthogonal matrix Q is invertible. Since the columns of Q form a basis (never mind that it is a special basis), they are linearly independent. As we have seen before, that is enough to tell us that the determinant is not 0 and hence that the matrix is invertible. Oh, right! But there is more echnical fact 1 If Q is an orthogonal matrix, then Q Q. Proof If we consider the product QQ, we notice that each one of its entries is the dot product of two columns of Q. But such product is 1 if we multiply a column by itself, that is, if we are on the diagonal of the product, and 0 elsewhere. But that tells us that the product is the identity matrix and, therefore, that Q must be the inverse of Q. he same argument, in reverse, proves the second claim. Wow, that is neat indeed! I thought so. herefore, if I ask you to compute the inverse of an orthogonal matrix, all you have to do is transpose it! 1 2 2 3 5 3 5 2 1 4 3 5 3 5 2 5 0 3 3 5 So, the inverse of Q is 1 2 2 3 3 3 2 1 Q 0! 5 5 2 4 5 3 5 3 5 3 5 Yes, but there are more goodies to come: that is why I said that orthogonal matrices are not pretty, but are nice! echnical fact If Q Q, then Q is orthogonal. 1 If Q is an orthogonal matrix, then so are both and Q 1 Q What?! hat easy? Yes, and simple to prove. 1 1 1 Of course: they are the same matrix and Q Q Q Q. Yes. More good stuff to come. Linear Algebra Chapter 9: Orthogonality Section 2: Orthogonal matrices Page 2

echnical fact he determinant of an orthogonal matrix can only be 1 or -1. Wait, let me think this one through by myself. Good idea: proof sent to the Learning questions. Let s see more. Proof echnical fact If Q is an orthogonal matrix, then it preserves the dot product, in the sense that for any two vectors v and w of the proper dimension: Qv Qw v w All we need is basic properties of matrix algebra: Qv Qw Qv Qw v Q Qw v Iw v w he proof of the next one follows naturally, so I will leave it too to the Learning questions. echnical fact If Q is an orthogonal matrix, then it preserves the norm, in the sense that for any vector v of the proper dimension: Qv he last two facts may be interpreted by saying that orthogonal matrices are very gentle when multiplied on the left of other vectors. his will come in handy in what we shall learn in the next chapter. I am starting to see why orthogonal matrices are so nice! What else is there? Oh, we could say a lot more, but it is so much fun that I will leave some of the easiest discoveries for the Learning question! By the way, did you notice that this is a very theoretical section? here are applications of these properties, but guess what! We need to learn more things before we can see them? Yep! One of them is in the Learning questions, though: have fun! Wait, one more question: why do we use Q to denote an orthogonal matrix? No technical reason, really. Just a tradition. Its staying power is probably due to some of those later facts, some of which have acquired a name involving Q, such as the QR decomposition of a matrix that you will see in a later section. If I find out more, I will let you know! v Linear Algebra Chapter 9: Orthogonality Section 2: Orthogonal matrices Page 3

An orthogonal matrix is a square one whose columns form an orthonormal basis. Summary Orthogonal matrices preserve dot product and norm and have many more nice properties. Common errors to avoid Clarify the fact that an orthogonal matrix consists of an orthonormal (not just orthogonal) basis. Don t be scared by the strange values that are the entries of an orthogonal matrix: its beauty is in its properties. Learning questions for Section LA 9-2 Review questions: 1. Describe what makes a matrix orthogonal. 2. Identify two properties that make orthogonal matrices nice. Memory questions: 1. What property defines an orthogonal matrix? 3. What values can the determinant of an orthogonal matrix take? 2. What is the easiest way to check if a matrix is orthogonal? Computation questions: 3 / 4 3 / 2 1/ 4 1/ 2 3 / 2 0 1. Check that the matrix 3 / 4 1/ 2 3 / 4 is orthogonal. 2. Provide a simple reason explaining why the matrix 3 / 2 1/ 2 0 1/ 2 0 3 / 2 0 1 1 is not orthogonal. Linear Algebra Chapter 9: Orthogonality Section 2: Orthogonal matrices Page 4

1 0 0 1/ 6 0 2 / 3 1/ 2 2 / 6 3. Determine whether the matrix 0 2 / 3 1/ 2 3 / 6 0 1/ 3 0 2 / 6 provide at least two reasons for your conclusions. is orthogonal and 6. Determine all the possible values of x and y, if any, for which x 3y x 3y x 5y y y 3 y x / 3 y 5y x y 5y y is an orthogonal matrix. 2 2 1 3 3 3 2 1 2 4. Check whether the matrix A is orthogonal and then compute 3 3 3 1 2 2 3 3 3 the length of the vector Ax, where x 3 5 8. 5. Determine all the vectors that can go in the last column of the matrix.5.5.5.5.5.5.5.5.5.5.5.5 w x y z in order to make it an orthogonal matrix. 7. Given the matrix determine: a) if it is orthogonal b) its inverse 1 2 2 1 A 2 1 2 3 2 2 1 c) the length of the vector A 1 2 4, use the simplest possible method to heory questions: 1. If Q is an nn orthogonal matrix, what do its rows form for n? 6. If A is orthogonal, how many solutions does the system AX=0 have? 2. What is the simplest way to obtain the inverse of an orthogonal matrix? 3. If Q is an orthogonal matrix, what matrix is Q Q? 4. If the determinant of a 66 matrix is -1, can the matrix be orthogonal? 5. If Q is an orthogonal matrix, what is the determinant of Q 4? 7. If a matrix is orthogonal, do its rows form an orthonormal basis? 8. Is the product of two orthogonal matrices orthogonal? 9. Is the sum of two orthogonal matrices orthogonal? 10. If Q is an nn orthogonal matrix, are Q and 1 Q also orthogonal? Linear Algebra Chapter 9: Orthogonality Section 2: Orthogonal matrices Page 5

Proof questions: 1. Prove that the product of two orthogonal matrices is still orthogonal. 2. Prove that if Q is an orthogonal matrix, then Qv suitable dimension. v for any vector v of 3. Prove that if Q is an orthogonal matrix, then Qv Qw v w for any vectors v and w of suitable dimension. 4. Prove that if Q is an orthogonal matrix, then the angle between Qv and Qw is the same as the angle between v and w for any two vectors v and w of suitable dimension. 5. Prove that the determinant of an orthogonal matrix can only be 1 or -1. cos sin 6. Show that any orthogonal 22 matrix is of the form sin cos for some suitable choice of sign. Also, determine which combinations of signs provide an orthogonal matrix and which ones don t. emplated questions: 1. Pick a 33 orthogonal matrix (you may use any one presented in this section) and two 3D vectors and verify that all properties related to their dot product and angle that have been presented in this section (including the Learning questions) are true. What questions do you have for your instructor? Linear Algebra Chapter 9: Orthogonality Section 2: Orthogonal matrices Page 6