Quaternions and their applications
|
|
- Raymond Weaver
- 6 years ago
- Views:
Transcription
1 Quaternions and their applications Ramachandran Subramanian February 20, 2014
2 Jack B. Kuipers. Quaternions and Rotation Sequences. university press, New Jersey, 1998 Princeton
3 Outline 1 Background 2 Introduction 3 Review of rotation operations - matrix approach 4 Rotation operations - quaternion approach 5 An example 6 Conclusion
4 Similarity between complex numbers and 2D vectors The set of two numbers (1, 1) can be used to represent either a vector a = 1ˆ ı + 1ˆ j or a complex number A = 1 + 1ˆ ı Addition of two complex numbers A(1, 1) and B(0, 1) is similar to addition of two vectors a(1, 1) and b(0, 1) Multiplication of two complex numbers is similar to rotation of a vector about an axis passing through the origin e.g., C = A B = 1 + 1ˆ ı (Note: arg(b) = 90 ) 2D vectors : complex numbers :: 3D vectors :? This problem troubled William Rowan Hamilton for many years 1 of 21
5 The solution He tried using sets of three numbers (triplets) to achieve similar properties to 3D vectors In the case of multiplication of 2 complex numbers, the corresponding rotation of the 2D vector was always about the z-axis passing through the origin The first problem he faced with the rotation of 3D vectors was finding the axis about which the rotation would take place (if he multiplied 2 triplets) The second problem was there was no easy way to associate an angle to a triplet In 1843, when he was walking along the Royal canal, he was struck with this sudden idea that he needed sets of four numbers to solve all his problems He etched his famous rule on a nearby bridge: ı 2 = j 2 = k 2 = ı jk = 1 (1) 2 of 21
6 Definition of a quaternion A quaternion is defined as: q = q 0 + q i.e., a scalar + a vector!!! (where q = q 1ˆ ı + q 2ˆ j + q 3ˆk) We need to define further rules for quaternion operations. Let p = p 0 + p 1ˆ ı + p 2ˆ j + p 3ˆk and q = q0 + q 1ˆ ı + q 2ˆ j + q 3ˆk be two quaternions Equality: Addition: p = q p 0 = q 0, p 1 = q 1, p 2 = q 2, p 3 = q 3 (2) q + p = (q 0 + p 0 ) + (q 1 + p 1 )ˆ ı + (q 2 + p 2 )ˆ j + (q 3 + p 3 )ˆk (3) Multiplication by a scalar: cp = cp 0 + cp 1ˆ ı + cp 2ˆ j + cp 3ˆk (4) Multiplication of two quaternions is more complicated 3 of 21
7 Multiplication of two quaternions p = p 0 + p 1ˆ ı + p 2ˆ j + p 3ˆk and q = q0 + q 1ˆ ı + q 2ˆ j + q 3ˆk ı 2 = j 2 = k 2 = ı jk = 1 From Hamilton s famous rule (eq. (1)),it follows: ı j = k = ı j; jk = ı = k j; k ı = j = ık; (5) The quaternion product pq is defined as: pq =p 0 q 0 (p 1 q 1 + p 2 q 2 + p 3 q 3 ) + p 0 (q 1ˆ ı + q 2ˆ j + q 3ˆk) + q0 (p 1ˆ ı + p 2ˆ j + p 3ˆk) + ˆ ı(p 2 q 3 p 3 q 2 ) + ˆ j(p 3 q 1 p 1 q 3 ) + ˆk(p 1 q 2 p 2 q 1 ) =p 0 q 0 p q + p 0 q + q 0 p + p q (6) 4 of 21
8 Complex conjugate, norm and inverse Complex conjugate: q = q 0 q; q + q = 2q 0 (7) Norm: Inverse: N(q) = q q = q 20 + q21 + q22 + q23 = q 2 (8) qq 1 = 1 q 1 = q q 2 (9) 5 of 21
9 Rotations in R 3 A few points to keep in mind with regards to rotations in 3 dimensions: Length of the vector remains unchanged Angle between two vectors and hence, the dot product also remain unchanged The axis of rotation itself remains unchanged as a result of the rotation Two perspectives of rotation: 1) Rotation of vector and 2) Rotation of reference frame Both perspectives yield exactly the same result but have slightly different representations 6 of 21
10 Rotation of reference frame Let P be a point whose coordinates are (x 1, y 1, z 1 ) relative to the XYZ coordinate frame We rotate the frame about the the Z axis by an angle θ Let (x 2, y 2, z 2 ) be the coordinates relative to the rotated frame Since rotation was about the Z axis, z 2 = z 1 Based on simple geometry, we can write down the following: x 2 = x 1 cos θ + y 1 sin θ y 2 = y 1 cos θ x 1 sin θ Combining all the 3 equations, we get: x 2 cos θ sin θ 0 x 1 y 2 = sin θ cos θ 0 y 1 (10) z z 1 7 of 21
11 Rotation matrix or operator Given any vector v 1 relative to XYZ coordinate frame and a vector v 2 relative to a rotated frame, the rotation matrix or operator is given as v 2 = A v 1 The rotation matrix A is orthonormal i.e., AA t = 1 and A = 1 If A 1, A 2 and A 3 represent three successive rotations,then A = A 3 A 2 A 1 represents a composite rotation Axis of the composite rotation is the eigenvector of A whose eigenvalue is 1 Angle associated with A is given by θ = cos 1 [ Tr(A) 1 2 It might be a bit tedious to construct the rotation matrix geometrically for arbitrarily chosen axis of rotation ] (11) 8 of 21
12 Questions about quaternions q = q 0 + q = q 0 + q 1ˆ ı + q 2ˆ j + q 3ˆk Can quaternions be used as alternative rotation operators? How can quaternions R 4 operate on vectors R 3 How to associate an axis of rotation with the quaternion? How to associate an angle with the quaternion? Note: We have not yet formally defined the operator and all this is speculation 9 of 21
13 Questions about quaternions q = q 0 + q = q 0 + q 1ˆ ı + q 2ˆ j + q 3ˆk Yes How can quaternions R 4 operate on vectors R 3 How to associate an axis of rotation with the quaternion? How to associate an angle with the quaternion? Note: We have not yet formally defined the operator and all this is speculation 9 of 21
14 Questions about quaternions q = q 0 + q = q 0 + q 1ˆ ı + q 2ˆ j + q 3ˆk Yes Treating vectors as pure quaternions i.e. q 0 = 0 How to associate an axis of rotation with the quaternion? How to associate an angle with the quaternion? Note: We have not yet formally defined the operator and all this is speculation 9 of 21
15 Questions about quaternions q = q 0 + q = q 0 + q 1ˆ ı + q 2ˆ j + q 3ˆk Yes Treating vectors as pure quaternions i.e. q 0 = 0 Axis of rotation u = q/ q How to associate an angle with the quaternion? Note: We have not yet formally defined the operator and all this is speculation 9 of 21
16 Questions about quaternions q = q 0 + q = q 0 + q 1ˆ ı + q 2ˆ j + q 3ˆk Yes Treating vectors as pure quaternions i.e. q 0 = 0 Axis of rotation u = q/ q q = 1 or q q 2 = 1 q = cos θ + u sin θ Note: We have not yet formally defined the operator and all this is speculation 9 of 21
17 Constructing the quaternion rotation operator Trial and error: Let v and w be vectors relative to the XYZ coordinate frame and the rotated frame respectively Case 1: q is the rotation operator w = qv = (q 0 + q)(0 + v) = q 0 0 q v + 0 q + q 0 v + q v = q v + q 0 v + q v For w to be a vector, the real part of the quaternion w must be equal to zero q v = 0 It is clear that we need an operator that takes a vector as an input and returns a vector as the output 10 of 21
18 Constructing the quaternion rotation operator Consider two general quaternions q and r and the vector v. We look at the different products qrv vqr rqv vrq qvr rvq Case 2: qvr or equvialently rvq is the rotation operator w = qvr = (q 0 + q)(0 + v)(r 0 + r) After a lot of algebra, it can shown that the real part of w is given by: If we assume q 0 = r 0, we get: r 0 (q v) q 0 (r v) + (q r) v q 0 (q + r) v + (q r) v It can be clearly seen that the real part is zero if r = q. So, we have r = r 0 + r = q 0 q = q. The quaternion rotation operator is thus given by: L q = qvq or equivalently L q = q vq 11 of 21
19 A few points to remember L q (= q vq) represents a reference frame rotation while L q (= qvq ) represents rotation of the vector If q = cos θ + u sin θ, L q rotates v by 2θ General notation for q is given by: q = cos θ 2 + u sin θ 2 (12) 12 of 21
20 Tracking transformation - matrix approach Rotate about Z axis by α Rotation matrix is given by: cos α sin α 0 A Zα = sin α cos α (13) Rotate about Y 1 axis by β Rotation matrix is given by: cos β 0 sin β A Y1 β = sin β 0 cos β (14) Y 1 Y Z Remote object β X α 13 of 21
21 Tracking transformation - matrix approach Rotate about Z axis by α Rotation matrix is given by: cos α sin α 0 A Zα = sin α cos α (13) Rotate about Y 1 axis by β Rotation matrix is given by: cos β 0 sin β A Y1 β = sin β 0 cos β (14) Remote object β X α Y 1 X 1 Y Z 13 of 21
22 Tracking transformation - matrix approach Rotate about Z axis by α Rotation matrix is given by: cos α sin α 0 A Zα = sin α cos α (13) Rotate about Y 1 axis by β Rotation matrix is given by: cos β 0 sin β A Y1 β = sin β 0 cos β (14) Remote object X 2 β X α Y 1 X 1 Y Z 2 Z 13 of 21
23 Tracking transformation - matrix approach The composite rotation matrix (using eqs. (13) and (14)) is given by: cos β 0 sin β cos α sin α 0 A vθ = sin α cos α 0 sin β 0 cos β cos α cos β sin α cos β sin β = sin α cos α 0 (15) cos α sin β sin α sin β cos β Next step is to find the axis v and the angle θ associated with this composite rotation matrix 14 of 21
24 Finding the composite axis of rotation Let v = x 1ˆ ı + y 1ˆ j + z 1ˆk and since the axis remains unchanged under the composite rotation, we have x 1 y 1 z 1 v = A v v cos α cos β sin α cos β sin β = sin α cos α 0 cos α sin β sin α sin β cos β Rewriting in equation form, we have: x 1 y 1 z 1 (16) x 1 (cos α cos β 1) + y 1 sin α cos β z 1 sin β = 0 (17) x 1 sin α + y 1 (cos α 1) + z 1 0 = 0 (18) x 1 cos α sin β + y 1 sin α sin β + z 1 (cos β 1) = 0 (19) 15 of 21
25 Solving the equations To solve the homogeneous equations, let x 1 = k Eq. (18) yields y 1 = k sin α cos α 1 After substituting x 1 and y 1 in eq. (19) and solving, we get z 1 = sin β cos β 1 After a bit of simplifying, we get ( v = sin α 2 sin β 2, cos α 2 sin β 2, sin α 2 cos β ) 2 We already know from eq. ((11)) [ ] Tr(A) 1 θ = cos 1 2 [ ] cos α cos β + cos α + cos β 1 = cos 1 2 [ = 2 cos 1 cos α 2 cos β ] 2 (20) (21) 16 of 21
26 Summary of matrix approach Composite rotation parameters: v = sin α 2 sin β + cos 2ˆ ı α 2 sin β 2 ˆ j + sin α 2 cos β 2 ˆk (22) [ θ = 2 cos 1 cos α 2 cos β ] (23) 2 17 of 21
27 Tracking transformation - quaternion approach Rotate about Z axis by α Quaternion associated with the rotation operator (L q = q vq) is given by (using eq. (12)): q = cos α 2 + ˆk sin α 2 (24) Remote object X 2 β X α Y 1 X 1 Rotate about Y 1 axis by β Quaternion associated with this rotation is given by: Y Z Z 2 p = cos β 2 + ˆ j sin β 2 (25) 18 of 21
28 Tracking transformation - quaternion approach Quaternion associated with the composite rotation is given by: r = qp ( = cos α 2 + ˆk sin α ) ( cos β ˆ j sin β ) 2 = cos α 2 cos β 2 sin α 2 sin β 2ˆ ı + cos α 2 sin β 2 ˆ j + sin α 2 cos β 2 ˆk (26) We can directly read off the composite rotation parameters from the above as: v = sin α 2 sin β + cos 2ˆ ı α 2 sin β 2 ˆ j + sin α 2 cos β 2 ˆk (27) [ θ = 2 cos 1 cos α 2 cos β ] (28) 2 Eqs. (22), (23) match exactly with eqs. (27) and (28) 19 of 21
29 Quaternions in molecular simulations For MD simulations, it can be shown that choosing a random orientation for molecule reduces to choosing a random unit quaternion on the surface of a sphere For MC simulations, we require small changes to orientations and we do so by a random rotation. This can be achieved by choosing from 1 p(v) = exp( 1 2 v 2 / 2 ) (2π) 3/2 3 Let q old, q new and q rot be the quaternions associated with the old orientation, new orientation and the rotation respectively. We can write q new = q rot q old where q rot = cos v + v sin v 1 Karney J. Mol. Graph. Mod. 25, (2007) 20 of 21
30 Concluding remarks Quaternions are primarily used to perform complex rotation operations quickly and efficiently They provide immediate information about the angle of rotation and the axis Can easily convert from direction cosines, euler angles and rotation matrices to quaternions and vice-versa Few areas of application include a) Aerospace industry b) Computer graphics/gaming industry and c) Molecular simulations 21 of 21
Course 2BA1: Hilary Term 2007 Section 8: Quaternions and Rotations
Course BA1: Hilary Term 007 Section 8: Quaternions and Rotations David R. Wilkins Copyright c David R. Wilkins 005 Contents 8 Quaternions and Rotations 1 8.1 Quaternions............................ 1 8.
More informationsin(α + θ) = sin α cos θ + cos α sin θ cos(α + θ) = cos α cos θ sin α sin θ
Rotations in the 2D Plane Trigonometric addition formulas: sin(α + θ) = sin α cos θ + cos α sin θ cos(α + θ) = cos α cos θ sin α sin θ Rotate coordinates by angle θ: 1. Start with x = r cos α y = r sin
More informationECS 178 Course Notes QUATERNIONS
ECS 178 Course Notes QUATERNIONS Kenneth I. Joy Institute for Data Analysis and Visualization Department of Computer Science University of California, Davis Overview The quaternion number system was discovered
More informationThe Quaternions. The Quaternions. John Huerta. Department of Mathematics UC Riverside. Cal State Stanislaus
John Huerta Department of Mathematics UC Riverside Cal State Stanislaus The Complex Numbers The complex numbers C form a plane. Their operations are very related to two dimensional geometry. In particular,
More informationLinear Algebra: Matrix Eigenvalue Problems
CHAPTER8 Linear Algebra: Matrix Eigenvalue Problems Chapter 8 p1 A matrix eigenvalue problem considers the vector equation (1) Ax = λx. 8.0 Linear Algebra: Matrix Eigenvalue Problems Here A is a given
More informationCourse MA2C02, Hilary Term 2010 Section 4: Vectors and Quaternions
Course MA2C02, Hilary Term 2010 Section 4: Vectors and Quaternions David R. Wilkins Copyright c David R. Wilkins 2000 2010 Contents 4 Vectors and Quaternions 47 4.1 Vectors...............................
More informationQuaternions. Basilio Bona. Semester 1, DAUIN Politecnico di Torino. B. Bona (DAUIN) Quaternions Semester 1, / 40
Quaternions Basilio Bona DAUIN Politecnico di Torino Semester 1, 2016-2017 B. Bona (DAUIN) Quaternions Semester 1, 2016-2017 1 / 40 Introduction Complex numbers with unit norm can be used as rotation operators
More informationThe Quaternions & Octonions: A Basic introduction to Their Algebras. By: Kyle McAllister. Boise State University
The Quaternions & Octonions: A Basic introduction to Their Algebras By: Kyle McAllister Boise State University McAllister The Quaternions and Octonions have a storied history, one with a restless supporter,
More informationWhy Transforms? Want to animate objects and camera Translations Rotations Shears And more.. Want to be able to use projection transforms
Why Transforms? Want to animate objects and camera Translations Rotations Shears And more.. Want to be able to use projection transforms ITCS 3050:Game Engine Programming 1 Geometric Transformations Implementing
More informationLinear Algebra & Geometry why is linear algebra useful in computer vision?
Linear Algebra & Geometry why is linear algebra useful in computer vision? References: -Any book on linear algebra! -[HZ] chapters 2, 4 Some of the slides in this lecture are courtesy to Prof. Octavia
More informationA = 3 B = A 1 1 matrix is the same as a number or scalar, 3 = [3].
Appendix : A Very Brief Linear ALgebra Review Introduction Linear Algebra, also known as matrix theory, is an important element of all branches of mathematics Very often in this course we study the shapes
More informationLie Algebra of Unit Tangent Bundle in Minkowski 3-Space
INTERNATIONAL ELECTRONIC JOURNAL OF GEOMETRY VOLUME 12 NO. 1 PAGE 1 (2019) Lie Algebra of Unit Tangent Bundle in Minkowski 3-Space Murat Bekar (Communicated by Levent Kula ) ABSTRACT In this paper, a one-to-one
More informationVector Operations. Vector Operations. Graphical Operations. Component Operations. ( ) ˆk
Vector Operations Vector Operations ME 202 Multiplication by a scalar Addition/subtraction Scalar multiplication (dot product) Vector multiplication (cross product) 1 2 Graphical Operations Component Operations
More informationReview of Linear Algebra
Review of Linear Algebra Definitions An m n (read "m by n") matrix, is a rectangular array of entries, where m is the number of rows and n the number of columns. 2 Definitions (Con t) A is square if m=
More informationA VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 2010
A VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 00 Introduction Linear Algebra, also known as matrix theory, is an important element of all branches of mathematics
More informationVectors. September 2, 2015
Vectors September 2, 2015 Our basic notion of a vector is as a displacement, directed from one point of Euclidean space to another, and therefore having direction and magnitude. We will write vectors in
More informationIntroduction to quaternions
. Introduction Introduction to uaternions Invented and developed by William Hamilton in 843, uaternions are essentially a generalization of complex numbers to four dimensions (one real dimension, three
More informationQuaternion Algebras. Edgar Elliott. May 1, 2016
Quaternion Algebras Edgar Elliott May 1, 2016 Copyright (C) 2016 Edgar Elliott. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License,
More informationQUATERNIONS AND ROTATIONS
QUATERNIONS AND ROTATIONS SVANTE JANSON 1. Introduction The purpose of this note is to show some well-known relations between quaternions and the Lie groups SO(3) and SO(4) (rotations in R 3 and R 4 )
More information12.3 Dot Products, 12.4 Cross Products
12.3 Dot Products, 12.4 Cross Products How do we multiply vectors? How to multiply vectors is not at all obvious, and in fact, there are two different ways to make sense of vector multiplication, each
More informationComplex Numbers and Quaternions for Calc III
Complex Numbers and Quaternions for Calc III Taylor Dupuy September, 009 Contents 1 Introduction 1 Two Ways of Looking at Complex Numbers 1 3 Geometry of Complex Numbers 4 Quaternions 5 4.1 Connection
More informationLinear Algebra & Geometry why is linear algebra useful in computer vision?
Linear Algebra & Geometry why is linear algebra useful in computer vision? References: -Any book on linear algebra! -[HZ] chapters 2, 4 Some of the slides in this lecture are courtesy to Prof. Octavia
More informationQuaternion and Rotation
Quaternion and Rotation Com S 477/577 Notes) Yan-Bin Jia Sep 5, 017 1 Introduction Up until now we have learned that a rotation in R 3 about an axis through the origin can be represented by a 3 3 orthogonal
More informationChapter 2 Math Fundamentals
Chapter 2 Math Fundamentals Part 5 2.8 Quaternions 1 Outline 2.8.1 Representations and Notation 2.7.2 Quaternion Multiplication 2.7.3 Other Quaternion Operations 2.7.4 Representing 3D Rotations 2.7.5 Attitude
More information(3.1) a 2nd-order vector differential equation, as the two 1st-order vector differential equations (3.3)
Chapter 3 Kinematics As noted in the Introduction, the study of dynamics can be decomposed into the study of kinematics and kinetics. For the translational motion of a particle of mass m, this decomposition
More informationLecture 7. Quaternions
Matthew T. Mason Mechanics of Manipulation Spring 2012 Today s outline Motivation Motivation have nice geometrical interpretation. have advantages in representing rotation. are cool. Even if you don t
More informationPage 52. Lecture 3: Inner Product Spaces Dual Spaces, Dirac Notation, and Adjoints Date Revised: 2008/10/03 Date Given: 2008/10/03
Page 5 Lecture : Inner Product Spaces Dual Spaces, Dirac Notation, and Adjoints Date Revised: 008/10/0 Date Given: 008/10/0 Inner Product Spaces: Definitions Section. Mathematical Preliminaries: Inner
More informationRemark 3.2. The cross product only makes sense in R 3.
3. Cross product Definition 3.1. Let v and w be two vectors in R 3. The cross product of v and w, denoted v w, is the vector defined as follows: the length of v w is the area of the parallelogram with
More informationRotational motion of a rigid body spinning around a rotational axis ˆn;
Physics 106a, Caltech 15 November, 2018 Lecture 14: Rotations The motion of solid bodies So far, we have been studying the motion of point particles, which are essentially just translational. Bodies with
More informationA Linear Model for MRG and Quaternion Operator
International Mathematical Forum, 3, 008, no. 15, 713-719 A Linear Model for MRG and Quaternion Operator Şakir İşleyen Department of Mathematics Faculty of Arts and Sciences Yüzüncü Yil University, 65080
More informationChapter 2. Linear Algebra. rather simple and learning them will eventually allow us to explain the strange results of
Chapter 2 Linear Algebra In this chapter, we study the formal structure that provides the background for quantum mechanics. The basic ideas of the mathematical machinery, linear algebra, are rather simple
More informationPHYS 705: Classical Mechanics. Rigid Body Motion Introduction + Math Review
1 PHYS 705: Classical Mechanics Rigid Body Motion Introduction + Math Review 2 How to describe a rigid body? Rigid Body - a system of point particles fixed in space i r ij j subject to a holonomic constraint:
More informationj=1 u 1jv 1j. 1/ 2 Lemma 1. An orthogonal set of vectors must be linearly independent.
Lecture Notes: Orthogonal and Symmetric Matrices Yufei Tao Department of Computer Science and Engineering Chinese University of Hong Kong taoyf@cse.cuhk.edu.hk Orthogonal Matrix Definition. Let u = [u
More informationLinear Algebra (Review) Volker Tresp 2018
Linear Algebra (Review) Volker Tresp 2018 1 Vectors k, M, N are scalars A one-dimensional array c is a column vector. Thus in two dimensions, ( ) c1 c = c 2 c i is the i-th component of c c T = (c 1, c
More informationLinear Algebra Methods for Data Mining
Linear Algebra Methods for Data Mining Saara Hyvönen, Saara.Hyvonen@cs.helsinki.fi Spring 2007 1. Basic Linear Algebra Linear Algebra Methods for Data Mining, Spring 2007, University of Helsinki Example
More information8. Diagonalization.
8. Diagonalization 8.1. Matrix Representations of Linear Transformations Matrix of A Linear Operator with Respect to A Basis We know that every linear transformation T: R n R m has an associated standard
More informationQuaternions and Groups
Quaternions and Groups Rich Schwartz October 16, 2014 1 What is a Quaternion? A quaternion is a symbol of the form a+bi+cj +dk, where a,b,c,d are real numbers and i,j,k are special symbols that obey the
More information(1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3
Math 127 Introduction and Review (1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3 MATH 127 Introduction to Calculus III
More informationA Note on the Eigenvalues and Eigenvectors of Leslie matrices. Ralph Howard Department of Mathematics University of South Carolina
A Note on the Eigenvalues and Eigenvectors of Leslie matrices Ralph Howard Department of Mathematics University of South Carolina Vectors and Matrices A size n vector, v, is a list of n numbers put in
More informationVector Products. x y = x 1 y 1 +x 2 y 2 +x 3 y 3. It is a single, real number. The dot product can be interpreted as. x. y. cos φ,
Quaternions 1 Vector Products Definition: Let x = (x 1,x 2,x 3 ) and y = (y 1,y 2,y 3 ) be vectors. The dot product (also called scalar product or inner product) of x and y is defined as It is a single,
More informationHomework 2. Solutions T =
Homework. s Let {e x, e y, e z } be an orthonormal basis in E. Consider the following ordered triples: a) {e x, e x + e y, 5e z }, b) {e y, e x, 5e z }, c) {e y, e x, e z }, d) {e y, e x, 5e z }, e) {
More informationLecture 5: 3-D Rotation Matrices.
3.7 Transformation Matri and Stiffness Matri in Three- Dimensional Space. The displacement vector d is a real vector entit. It is independent of the frame used to define it. d = d i + d j + d k = dˆ iˆ+
More informationWorksheet 1.3: Introduction to the Dot and Cross Products
Boise State Math 275 (Ultman Worksheet 1.3: Introduction to the Dot and Cross Products From the Toolbox (what you need from previous classes Trigonometry: Sine and cosine functions. Vectors: Know what
More informationMTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education
MTH 3 Linear Algebra Study Guide Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education June 3, ii Contents Table of Contents iii Matrix Algebra. Real Life
More information1 9/5 Matrices, vectors, and their applications
1 9/5 Matrices, vectors, and their applications Algebra: study of objects and operations on them. Linear algebra: object: matrices and vectors. operations: addition, multiplication etc. Algorithms/Geometric
More informationChapter 8. Rigid transformations
Chapter 8. Rigid transformations We are about to start drawing figures in 3D. There are no built-in routines for this purpose in PostScript, and we shall have to start more or less from scratch in extending
More informationThe VQM-Group and its Applications
International Journal of Algebra, Vol. 2, 2008, no. 19, 905-918 The VQM-Group and its Applications Michael Aristidou Digipen Institute of Technology Department of Mathematics 5001, 150th Ave., NE Redmond,
More informationGeometric Fundamentals in Robotics Quaternions
Geometric Fundamentals in Robotics Quaternions Basilio Bona DAUIN-Politecnico di Torino July 2009 Basilio Bona (DAUIN-Politecnico di Torino) Quaternions July 2009 1 / 47 Introduction Quaternions were discovered
More informationarxiv: v1 [math.ds] 18 Nov 2008
arxiv:0811.2889v1 [math.ds] 18 Nov 2008 Abstract Quaternions And Dynamics Basile Graf basile.graf@epfl.ch February, 2007 We give a simple and self contained introduction to quaternions and their practical
More informationLecture 11. Linear systems: Cholesky method. Eigensystems: Terminology. Jacobi transformations QR transformation
Lecture Cholesky method QR decomposition Terminology Linear systems: Eigensystems: Jacobi transformations QR transformation Cholesky method: For a symmetric positive definite matrix, one can do an LU decomposition
More informationVector calculus background
Vector calculus background Jiří Lebl January 18, 2017 This class is really the vector calculus that you haven t really gotten to in Calc III. Let us start with a very quick review of the concepts from
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY Chemistry 5.76 Revised February, 1982 NOTES ON MATRIX METHODS
MASSACHUSETTS INSTITUTE OF TECHNOLOGY Chemistry 5.76 Revised February, 198 NOTES ON MATRIX METHODS 1. Matrix Algebra Margenau and Murphy, The Mathematics of Physics and Chemistry, Chapter 10, give almost
More informationContents. 1 Vectors, Lines and Planes 1. 2 Gaussian Elimination Matrices Vector Spaces and Subspaces 124
Matrices Math 220 Copyright 2016 Pinaki Das This document is freely redistributable under the terms of the GNU Free Documentation License For more information, visit http://wwwgnuorg/copyleft/fdlhtml Contents
More informationwe must pay attention to the role of the coordinate system w.r.t. which we perform a tform
linear SO... we will want to represent the geometr of points in space we will often want to perform (rigid) transformations to these objects to position them translate rotate or move them in an animation
More informationA (Mostly) Linear Algebraic Introduction to Quaternions
A (Mostly) Linear Algebraic Introduction to Quaternions Joe McMahon Program in Applied Mathematics University of Arizona Fall 23 1 Some History 1.1 Hamilton s Discovery and Subsequent Vandalism Having
More informationQuaternions. Mike Bailey. Computer Graphics Quaternions.pptx
1 Quaternions This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License Mike Bailey mjb@cs.oregonstate.edu Quaternions.pptx A Useful Concept: Spherical
More informationThis appendix provides a very basic introduction to linear algebra concepts.
APPENDIX Basic Linear Algebra Concepts This appendix provides a very basic introduction to linear algebra concepts. Some of these concepts are intentionally presented here in a somewhat simplified (not
More informationwe must pay attention to the role of the coordinate system w.r.t. which we perform a tform
linear SO... we will want to represent the geometr of points in space we will often want to perform (rigid) transformations to these objects to position them translate rotate or move them in an animation
More informationLinear Algebra and Matrices
Linear Algebra and Matrices 4 Overview In this chapter we studying true matrix operations, not element operations as was done in earlier chapters. Working with MAT- LAB functions should now be fairly routine.
More informationVector Algebra August 2013
Vector Algebra 12.1 12.2 28 August 2013 What is a Vector? A vector (denoted or v) is a mathematical object possessing both: direction and magnitude also called length (denoted ). Vectors are often represented
More informationQuaternions 2 AUI Course Denbigh Starkey
Quaternions 2 AUI Course Denbigh Starkey 1. Background 2 2. Some Basic Quaternion Math 4 3. The Justification of the Quaternion Rotation Formula 5 4. Interpolation between two Unit Quaternions SLERP vs.
More informationPolarization Optics. N. Fressengeas
Polarization Optics N. Fressengeas Laboratoire Matériaux Optiques, Photonique et Systèmes Unité de Recherche commune à l Université de Lorraine et à Supélec Download this document from http://arche.univ-lorraine.fr/
More informationSection 13.4 The Cross Product
Section 13.4 The Cross Product Multiplying Vectors 2 In this section we consider the more technical multiplication which can be defined on vectors in 3-space (but not vectors in 2-space). 1. Basic Definitions
More informationCHAPTER 4 VECTORS. Before we go any further, we must talk about vectors. They are such a useful tool for
CHAPTER 4 VECTORS Before we go any further, we must talk about vectors. They are such a useful tool for the things to come. The concept of a vector is deeply rooted in the understanding of physical mechanics
More information22.3. Repeated Eigenvalues and Symmetric Matrices. Introduction. Prerequisites. Learning Outcomes
Repeated Eigenvalues and Symmetric Matrices. Introduction In this Section we further develop the theory of eigenvalues and eigenvectors in two distinct directions. Firstly we look at matrices where one
More informationChapter 1. Rigid Body Kinematics. 1.1 Introduction
Chapter 1 Rigid Body Kinematics 1.1 Introduction This chapter builds up the basic language and tools to describe the motion of a rigid body this is called rigid body kinematics. This material will be the
More informationVectors To begin, let us describe an element of the state space as a point with numerical coordinates, that is x 1. x 2. x =
Linear Algebra Review Vectors To begin, let us describe an element of the state space as a point with numerical coordinates, that is x 1 x x = 2. x n Vectors of up to three dimensions are easy to diagram.
More informationVectors. J.R. Wilson. September 28, 2017
Vectors J.R. Wilson September 28, 2017 This chapter introduces vectors that are used in many areas of physics (needed for classical physics this year). One complication is that a number of different forms
More informationProperties of Linear Transformations from R n to R m
Properties of Linear Transformations from R n to R m MATH 322, Linear Algebra I J. Robert Buchanan Department of Mathematics Spring 2015 Topic Overview Relationship between the properties of a matrix transformation
More information[POLS 8500] Review of Linear Algebra, Probability and Information Theory
[POLS 8500] Review of Linear Algebra, Probability and Information Theory Professor Jason Anastasopoulos ljanastas@uga.edu January 12, 2017 For today... Basic linear algebra. Basic probability. Programming
More informationSums of four squares and Waring s Problem Brandon Lukas
Sums of four squares and Waring s Problem Brandon Lukas Introduction The four-square theorem states that every natural number can be represented as the sum of at most four integer squares. Look at the
More informationVectors. J.R. Wilson. September 27, 2018
Vectors J.R. Wilson September 27, 2018 This chapter introduces vectors that are used in many areas of physics (needed for classical physics this year). One complication is that a number of different forms
More informationDS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.
DS-GA 1002 Lecture notes 0 Fall 2016 Linear Algebra These notes provide a review of basic concepts in linear algebra. 1 Vector spaces You are no doubt familiar with vectors in R 2 or R 3, i.e. [ ] 1.1
More informationAnnouncements Monday, November 13
Announcements Monday, November 13 The third midterm is on this Friday, November 17 The exam covers 31, 32, 51, 52, 53, and 55 About half the problems will be conceptual, and the other half computational
More informationMath Problem set # 7
Math 128 - Problem set # 7 Clifford algebras. April 8, 2004 due April 22 Because of disruptions due the the Jewish holidays and surgery on my knee there will be no class next week (April 13 or 15). (Doctor
More informationLinear algebra. S. Richard
Linear algebra S. Richard Fall Semester 2014 and Spring Semester 2015 2 Contents Introduction 5 0.1 Motivation.................................. 5 1 Geometric setting 7 1.1 The Euclidean space R n..........................
More informationQuantum Computing Lecture 2. Review of Linear Algebra
Quantum Computing Lecture 2 Review of Linear Algebra Maris Ozols Linear algebra States of a quantum system form a vector space and their transformations are described by linear operators Vector spaces
More informationEcon Slides from Lecture 7
Econ 205 Sobel Econ 205 - Slides from Lecture 7 Joel Sobel August 31, 2010 Linear Algebra: Main Theory A linear combination of a collection of vectors {x 1,..., x k } is a vector of the form k λ ix i for
More informationMobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti
Mobile Robotics 1 A Compact Course on Linear Algebra Giorgio Grisetti SA-1 Vectors Arrays of numbers They represent a point in a n dimensional space 2 Vectors: Scalar Product Scalar-Vector Product Changes
More informationSpecial Lecture - The Octionions
Special Lecture - The Octionions March 15, 2013 1 R 1.1 Definition Not much needs to be said here. From the God given natural numbers, we algebraically build Z and Q. Then create a topology from the distance
More informationAppendix Composite Point Rotation Sequences
Appendix Composite Point Rotation Sequences A. Euler Rotations In Chap. 6 we considered composite Euler rotations comprising individual rotations about the x, y and z axes such as R γ,x R β,y R α,z and
More informationLinear Algebra Practice Problems
Math 7, Professor Ramras Linear Algebra Practice Problems () Consider the following system of linear equations in the variables x, y, and z, in which the constants a and b are real numbers. x y + z = a
More informationGetting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1
1 Rows first, columns second. Remember that. R then C. 1 A matrix is a set of real or complex numbers arranged in a rectangular array. They can be any size and shape (provided they are rectangular). A
More informationUE SPM-PHY-S Polarization Optics
UE SPM-PHY-S07-101 Polarization Optics N. Fressengeas Laboratoire Matériaux Optiques, Photonique et Systèmes Unité de Recherche commune à l Université Paul Verlaine Metz et à Supélec Document à télécharger
More information32 +( 2) ( 4) ( 2)
Math 241 Exam 1 Sample 2 Solutions 1. (a) If ā = 3î 2ĵ+1ˆk and b = 4î+0ĵ 2ˆk, find the sine and cosine of the angle θ between [10 pts] ā and b. We know that ā b = ā b cosθ and so cosθ = ā b ā b = (3)(
More information1 Readings. 2 Unitary Operators. C/CS/Phys C191 Unitaries and Quantum Gates 9/22/09 Fall 2009 Lecture 8
C/CS/Phys C191 Unitaries and Quantum Gates 9//09 Fall 009 Lecture 8 1 Readings Benenti, Casati, and Strini: Classical circuits and computation Ch.1.,.6 Quantum Gates Ch. 3.-3.4 Kaye et al: Ch. 1.1-1.5,
More informationTopic 2-2: Derivatives of Vector Functions. Textbook: Section 13.2, 13.4
Topic 2-2: Derivatives of Vector Functions Textbook: Section 13.2, 13.4 Warm-Up: Parametrization of Circles Each of the following vector functions describe the position of an object traveling around the
More informationDot product. The dot product is an inner product on a coordinate vector space (Definition 1, Theorem
Dot product The dot product is an inner product on a coordinate vector space (Definition 1, Theorem 1). Definition 1 Given vectors v and u in n-dimensional space, the dot product is defined as, n v u v
More informationThe Cross Product. Philippe B. Laval. Spring 2012 KSU. Philippe B. Laval (KSU) The Cross Product Spring /
The Cross Product Philippe B Laval KSU Spring 2012 Philippe B Laval (KSU) The Cross Product Spring 2012 1 / 15 Introduction The cross product is the second multiplication operation between vectors we will
More information2.20 Fall 2018 Math Review
2.20 Fall 2018 Math Review September 10, 2018 These notes are to help you through the math used in this class. This is just a refresher, so if you never learned one of these topics you should look more
More informationSplit Quaternions and Particles in (2+1)-Space
Split and Particles in (2+1)-Space Merab GOGBERASHVILI Javakhishvili State University & Andronikashvili Institute of Physics Tbilisi, Georgia Plan of the talk Split Split Usually geometry is thought to
More informationEEL6667: Homework #1 Solutions
EEL6667: Homework #1 Solutions Problem 1: Note: homework1.nb is a Mathematica notebook that solves many of the problems in this homework. (a) See homework1.nb. (b) See homework1.nb. Problem :[raig, Exercise.14
More informationImage Registration Lecture 2: Vectors and Matrices
Image Registration Lecture 2: Vectors and Matrices Prof. Charlene Tsai Lecture Overview Vectors Matrices Basics Orthogonal matrices Singular Value Decomposition (SVD) 2 1 Preliminary Comments Some of this
More information3.024 Electrical, Optical, and Magnetic Properties of Materials Spring 2012 Recitation 1. Office Hours: MWF 9am-10am or by appointment
Adam Floyd Hannon Office Hours: MWF 9am-10am or by e-mail appointment Topic Outline 1. a. Fourier Transform & b. Fourier Series 2. Linear Algebra Review 3. Eigenvalue/Eigenvector Problems 1. a. Fourier
More informationSystems of Linear ODEs
P a g e 1 Systems of Linear ODEs Systems of ordinary differential equations can be solved in much the same way as discrete dynamical systems if the differential equations are linear. We will focus here
More informationCE 530 Molecular Simulation
CE 530 Molecular Simulation Lecture 7 Beyond Atoms: Simulating Molecules David A. Kofke Department of Chemical Engineering SUNY Buffalo kofke@eng.buffalo.edu Review Fundamentals units, properties, statistical
More informationLeandra Vicci. Microelectronic Systems Laboratory. Department of Computer Science. University of North Carolina at Chapel Hill. 27 April 2001.
Quaternions and Rotations in 3-Space: The Algebra and its Geometric Interpretation Leandra Vicci Microelectronic Systems Laboratory Department of Computer Science University of North Carolina at Chapel
More informationThere are two things that are particularly nice about the first basis
Orthogonality and the Gram-Schmidt Process In Chapter 4, we spent a great deal of time studying the problem of finding a basis for a vector space We know that a basis for a vector space can potentially
More informationLinear vector spaces and subspaces.
Math 2051 W2008 Margo Kondratieva Week 1 Linear vector spaces and subspaces. Section 1.1 The notion of a linear vector space. For the purpose of these notes we regard (m 1)-matrices as m-dimensional vectors,
More informationFind the component form of with initial point A(1, 3) and terminal point B(1, 3). Component form = 1 1, 3 ( 3) (x 1., y 1. ) = (1, 3) = 0, 6 Subtract.
Express a Vector in Component Form Find the component form of with initial point A(1, 3) and terminal point B(1, 3). = x 2 x 1, y 2 y 1 Component form = 1 1, 3 ( 3) (x 1, y 1 ) = (1, 3) and ( x 2, y 2
More information