Two dimensions. In two dimensions, every rotation is of the form

Similar documents
Chapter 17. Orthogonal Matrices and Symmetries of Space

Lectures notes on orthogonal matrices (with exercises) Linear Algebra II - Spring 2004 by D. Klain

Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

5.3 The Cross Product in R 3

Chapter 6. Orthogonality

Lecture L3 - Vectors, Matrices and Coordinate Transformations

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

Similarity and Diagonalization. Similar Matrices

v 1 v 3 u v = (( 1)4 (3)2, [1(4) ( 2)2], 1(3) ( 2)( 1)) = ( 10, 8, 1) (d) u (v w) = (u w)v (u v)w (Relationship between dot and cross product)

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

[1] Diagonal factorization

1 Symmetries of regular polyhedra

Section V.3: Dot Product

Geometric description of the cross product of the vectors u and v. The cross product of two vectors is a vector! u x v is perpendicular to u and v

Figure 1.1 Vector A and Vector F

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Vector Math Computer Graphics Scott D. Anderson

5. Orthogonal matrices

Unified Lecture # 4 Vectors

Linear Algebra Review. Vectors

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

by the matrix A results in a vector which is a reflection of the given

LINEAR ALGEBRA W W L CHEN

MATH APPLIED MATRIX THEORY

Rotation Matrices and Homogeneous Transformations

Orthogonal Projections

Eigenvalues and Eigenvectors

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

ISOMETRIES OF R n KEITH CONRAD

Lecture 14: Section 3.3

Linear Algebra Notes

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors

Inner Product Spaces and Orthogonality

Review Jeopardy. Blue vs. Orange. Review Jeopardy

Orthogonal Diagonalization of Symmetric Matrices

Elementary Linear Algebra

Geometric Transformations

x = + x 2 + x

α = u v. In other words, Orthogonal Projection

LINEAR ALGEBRA. September 23, 2010

MAT 1341: REVIEW II SANGHOON BAEK

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus

8 Square matrices continued: Determinants

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi

Chapter 6. Linear Transformation. 6.1 Intro. to Linear Transformation

University of Lille I PC first year list of exercises n 7. Review

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

The Vector or Cross Product

Vector Algebra II: Scalar and Vector Products

The Matrix Elements of a 3 3 Orthogonal Matrix Revisited

NOTES ON LINEAR TRANSFORMATIONS

6. Vectors Scott Surgent (surgent@asu.edu)

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

3. Let A and B be two n n orthogonal matrices. Then prove that AB and BA are both orthogonal matrices. Prove a similar result for unitary matrices.

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

Identifying second degree equations

521493S Computer Graphics. Exercise 2 & course schedule change

Systems of Linear Equations

Section Inner Products and Norms

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

3. INNER PRODUCT SPACES

LS.6 Solution Matrices

Notes on Determinant

Numerical Analysis Lecture Notes

Applied Linear Algebra

Vector and Matrix Norms

Cross product and determinants (Sect. 12.4) Two main ways to introduce the cross product

Section 1.1. Introduction to R n

Chapter 20. Vector Spaces and Bases

Name: Section Registered In:

Section 9.5: Equations of Lines and Planes

Inner Product Spaces

Computing Orthonormal Sets in 2D, 3D, and 4D

APPLICATIONS. are symmetric, but. are not.

Dot product and vector projections (Sect. 12.3) There are two main ways to introduce the dot product

Math 241, Exam 1 Information.

TWO-DIMENSIONAL TRANSFORMATION

Elasticity Theory Basics

1 VECTOR SPACES AND SUBSPACES

Introduction to Matrix Algebra

9 Multiplication of Vectors: The Scalar or Dot Product

13.4 THE CROSS PRODUCT

Chapter 4. Moment - the tendency of a force to rotate an object

Vector Algebra. Addition: (A + B) + C = A + (B + C) (associative) Subtraction: A B = A + (-B)

Inner product. Definition of inner product

1.3. DOT PRODUCT If θ is the angle (between 0 and π) between two non-zero vectors u and v,

Analysis of Stresses and Strains

Equations Involving Lines and Planes Standard equations for lines in space

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.

BALTIC OLYMPIAD IN INFORMATICS Stockholm, April 18-22, 2009 Page 1 of?? ENG rectangle. Rectangle

The Determinant: a Means to Calculate Volume

THREE DIMENSIONAL GEOMETRY

DECOMPOSING SL 2 (R)

Introduction to Matrices for Engineers

Section 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj

Affine Transformations

Transcription:

4. Orthogonal transformations and Rotations A matrix is defined to be orthogonal if the entries are real and (1) A A = I. Condition (1) says that the gram matrix of the sequence of vectors formed by the columns of A is the identity, so the columns are an orthonormal frame. An orthogonal matrix defines an orthogonal transformation by mutiplying column vectors on the left. Condition (1) also shows that A is a rigid motion preserving angles and distances. A matrix satisfying (1) preserves the dot product; the dot product of two vectors is the same before and after an orthogonal transformation. This can be written as Av Aw = v w for all vectors v and w. This is true by the definition (1) of orthogonal matrix since Av Aw = (Av) Aw = v A Aw = v Iw = v w = v w. Thus lengths and angles are preserved, since they can be written in terms of dot products. The orthogonal transformation are a group since we can multiply two of them and get an orthogonal transformation. This is because if A and B are orthogonal, then A A = I and B B = I. So (AB) AB = B A AB = I, showing that AB is also orthogonal. Likewise we can take the inverse of an orthogonal transformation to get an orthogonal transformation. Orthogonal transformations have determinant 1 or 1 since by (1) and properties of determinant, (det A) 2 = det(a ) det A = det(a A) = det I = 1. 4.1. The rotation group. Orthogonal transformations with determinant 1 are called rotations, since they have a fixed axis. This is discussed in more detail below. The rotations also form a group. If we think of an orthogonal matrix A as a frame A = (v 1, v 2, v 3 ), then the determinant is the scalar triple product v 1 (v 2 v 3 ). The frame is right handed if the triple product is 1 and left handed if it is -1. The frame is the image of the right handed standard frame (e 1, e 2, e 3 ) = I under the transformation A. Thus A preserves orientation (right-handedness) if the determinant is 1. 1

2 4.1.1. Rotations and cross products. Rotations are orthogonal transformations which preserve orientation. This is equivalent to the fact that they preserve the vector cross product: (2) A(v w) = Av Aw, for all rotations A and vectors v and w. Recall the right hand rule in the definition of the cross product (fig 1). The cross product is defined in terms of lengths and angles and right-handedness, all of which remain unchanged after rotation. Figure 1. The geometric definition of the cross product. The direction of v w is determined by the right hand rule. The fingers of the right hand should point from v to w and the thumb in the direction of the cross-product. The length of the cross product is v w sin θ. 4.1.2. Two dimensions. In two dimensions, every rotation is of the form ( ) cos θ sin θ (3) R(θ) =. sin θ cos θ Note that R(θ)R(φ) = R(θ + φ) = R(φ)R(θ), so that rotations in two dimension commute. 4.1.3. Three dimensions. In three dimensions, matrices for rotation about coordinate axes have a form related to the 2 dimensional rotation matrices: Rotation about the x axis 1 R x (θ) = cos θ sin θ sin θ cos θ

3 Rotation about the y axis cos θ sin θ R y (θ) = 1 sin θ cos θ Rotation about the z axis cos θ sin θ R z (θ) = sin θ cos θ. 1 All rotations are counterclockwise about the axis indicated in the subscript. The rotations R z (θ), are exactly the ones that leave the vector e 3 = (,, 1) fixed and can be identified with rotation in the xy plane. Similarly for R x and R y. The rotations R x (θ) commute, R x (θ)r x (φ) = R x (θ + φ) = R x (φ)r x (θ). Similarly rotations R y (θ) commute and rotations R z (θ) commute. In general, however, rotations in three dimensions do not commute. For example, R x (π)r z (π/2) = 1 1 1 but R z (π/2)r x (π) = 1 1 1 Since rotations form a group we can get other rotations by multiplying together rotations of the form R x, R y, and R z. It can be shown that any rotation A can be written as a product of three rotations about the y and z axes, (4) A = R z (α)r y (γ)r z (δ). The angles α, γ, δ are called Euler angles for the rotation A. The proof that any rotation A can be written as above in terms of Euler angles relies on a simple fact. Any unit vector u can be written in terms of spherical coordinates as sin φ cos θ (5) u = sin φ sin θ cos φ, and u can be obtained from e 3 by two rotations (6) u = R z (θ)r y (φ)e 3. 4.2. Complex form of a rotation. In dimension 2 it is convenient to use complex numbers to write rotations. Rotation by an angle θ is given by (7) ζ e iθ ζ. where ζ = x + iy. Writing ζ = x iy the rotation ( ) ( ) ( ) x cos θ sin θ x y sin θ cos θ y

4 is transformed into ( ) ( ( ) e iθ ζ ζ e ζ ζ iθ) which is convenient because the matrix is diagonal. The elements on the diagonal are eigenvalues of ( ) cos θ sin θ. sin θ cos θ A similar method works in three dimensions for rotation about the z axis. First perform a change of coordinates. Letting ζ = x + iy the transformation x cos θ sin θ x y sin θ cos θ y z 1 z becomes e ζ ζ iθ e iθ ζ ζ z 1 z transforming the matrix for the rotation into a diagonal matrix. entries are the eigenvalues of R z (θ). The diagonal 4.3. Eigenvalues of a rotation. First we show that the eigenvalues of an orthogonal matrix have absolute value 1. To see this, suppose (8) Av = λv for a non-zero vector v. Taking the adjoint, (9) v A = λv. Since A is real, A = A, and multiplying (8) and (9) and using the fact that A A = I get v v = λ 2 v v and hence λ 2 = 1, and thus all eigenvalues have absolute value 1. If λ is an eigenvalue of A, Av = λv for some non-zero vector v. Taking conjugate of both sides, A v = λ v. Since A is real, A = A so λ is an eigenvector corresponding to eigenvector v. It follows that the eigenvalues of an orthogonal matrix A are ±1 λ λ where λ = e iθ. The determinant of A is the product of the eigenvalues, so for a rotation matrix the first eigenvalue above is 1. There is a real eigenvector u corresponding to the eigenvalue 1. This is left as an exercise. The line though this vector u is called the axis of the rotation.. By dividing by the length, we may suppose that u above is a unit vector. As in (6) write u = Be 3 where B is a rotation. Since u is left fixed by A, ABe 3 = Be 3.

5 Thus B 1 AB leaves e 3 fixed and so B 1 AB = R z (θ) for some angle θ. We have shown that every rotation is conjugate to a rotation about the z axis. In other words, every rotation A can be written in the form A = BR z (θ)b for a rotation B and some angle θ. This is just a way of saying that by an orientation preserving change of variables we can take the z axis e 3 along the axis of the rotation A. Since A and R z (θ) are conjugate, they have the same eigenvalues, So the eigenvalues of A are 1, e iθ, e iθ, where θ is the angle of rotation. The vector u is called the axis of the rotation. If a rotation A can be written A = BR z (θ)b where Be 3 = u then we write A = R (u, θ). We can check that BR z (θ)b is the same for any choice of rotation B with Be 3 = u, so R (u, θ) is uniquely defined. 4.4. Properties of rotations. A few of the main properties of rotations are summarized here. In what follows, u is a unit vector and v and w are real vectors, and A is a rotation, (1) R (u, θ) = R ( u, θ) (11) Av Aw = v w (12) Av Aw = A(v w) (13) u (R (u, θ) v v) = (14) AR (u, θ) A 1 = R (Au, θ) (15) R (u, θ) v = cos θ (v (u v)u) + sin θ u v + (u v)u We can write (15) in a different form. If u = (a, b, c) write S u = c b c a b a Then (16) R (u, θ) = cos θ I + (1 cos θ)uu + sin θ S u The identities (11) and (12) were shown above. The proof (13) and (14) is left as an exercise. Here is a proof of (15). The idea is to change variables so that u becomes e 3 and then the formula becomes obvious. Let A be a rotation such that u = Ae 3 and let w = Av. Using (14) and applying A to both sides of the equation, it becomes R (e 3, θ) w = cos θ (w (e 3 w)e 3 ) + sin θ (e 3 w) + (e 3 w)e 3.

6 Writing w = (x, y, z) the equation becomes x x R (e 3, θ) y z = cos θ y + sin θ y x + which is clear from the definition of R (e 3, θ). Here is an example of (16). Let u = 1 3 (1, 1, 1) and θ = 2π/3. Then cos θ = 1 2 and sin θ = 3 2. Also Then (16) gives S u = 1 3 1 1 1 1 1 1 u u = 1 3 R (u, θ) = 1 1 1 We see that the rotation permutes the three coordinate axes.. z 1 1 1 1 1 1 1 1 1,.