Quaternions 2 AUI Course Denbigh Starkey

Size: px
Start display at page:

Download "Quaternions 2 AUI Course Denbigh Starkey"

Transcription

1 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. LERP 9

2 1. Background This is a continuation of my previous set of notes, where I defined quaternions and showed how to use them to do rotations around an arbitrary axis through the origin. So I ll assume here that you understand these concepts and that I don t need to reintroduce the notation. Quaternions were originally created by Sir William Rowan Hamilton on October 16, 1843, when he was working on ways to extend the complex plane into a complex cube. 1 He came up with his three complex axes system while he was walking along the Royal Canal to the Royal Irish Academy where he had a Council meeting, and he carved the equation that lies at the heart of quaternion theory i 2 = j 2 = k 2 = ijk = -1 into the Brougham Bridge. Hamilton describes this event twenty years later in a letter to his son, which can be read at dge.html. This equation, along with the three equations ij = k jk = i ki = j are now called Hamilton s rules. He published a number of papers on quaternions, many of which are available on the Web including his November 1843 paper On a new Species of Imaginary Quantities connected with a theory of Quaternions which is at html. This is a fun paper to read, given the amazing amount of new material that he published there, particularly since he presented it only four weeks after he first though of the idea. I also find it impressive that he requested permission to present this paper on October 16, the day that he first though of the Hamilton rules. 1 He had been trying to add just one extra imaginary axis, but the math hadn t worked out. 2

3 Quaternions have been used in a number of mathematical disciplines, and so, for example, to algebraists they can be studied as a non-abelian group 2. 2 Weirder mathematicians will remember Martin Gardner s question in Scientific American What s purple and commutes? ( although it has nothing to do with graphics. 3

4 2. Some Basic Quaternion Math If q 1 and q 2 are quaternions with q 1 = (s 1, v 1 ) and q 2 = (s 2, v 2 ), then it is simple to show that q 1 + q 2 = (s 1 + s 2, v 1 + v 2 ) q 1 q 2 = (s 1 s 2 v 1. v 2, s 1 v 2 + s 2 v 1 + v 1! v 2 ) Note that the multiplication is not commutative because of the vector cross product term. If q = (s, v) = (s, v 1, v 2, v 3 ) then the magnitude of q, q, is given by the formula q 2 = (s 2 + v v v 3 2 ) = (s 2 + v 2 ) = (s 2 + v. v) The conjugate of q is (s, -v). The inverse of q, written as usual as q -1, is given by the formula q -1 1 = q 2 (s, -v). (Note: The value (0, 0) is not a valid quaternion.) To confirm this equation, use the formula for quaternion multiplication which gives: qq -1 1 = q 2 (s 2 + v. v, sv - sv + v! -v) The scalar part in the parentheses is q 2, and the vector part is 0, so q q -1 = (1, 0) which is what we want. Note that if q = (s, v) is a unit quaternion, then q -1 is just (s, -v), the conjugate of q, which I assumed in the first set of notes. 4

5 3. The Justification for the Quaternion Rotation Formula In the first set of notes I stated that to rotate a point P by θ around an arbitrary unit axis, u, through the origin one can use the formula P = qpq -1, where q = (cos( 2! ), sin( 2! )u). Obviously I need to justify this. Before I get into this I ll need a number of equivalencies as I go through the derivation, and don t want to keep breaking off when I need them. I ll list them all here, without proofs. They are for all vectors u, v, and w, and for all angles α. Study them carefully, and ask for proofs in class for any that you cannot prove. (a) sin 2 (α) + cos 2 (α) = 1 (b) 2sin 2 (α) = 1 + sin 2 (α) cos 2 (α) (c) sin(α) = 2cos( 2! )sin( 2! ) (d) cos(α) = cos 2 ( 2! ) sin 2 ( 2! ) (e) (u + v). w = u. w + v. w (f) (u + v)! w = u! w + v! w (g) (u! v) = -(v! u) (h) (u. v) = (v. u) (i) (u! u) = 0 (j) (u. u) = 1 if u is a unit vector (k) (u! v). u = 0 (l) (u! v)! u = v (u. v)u if u is a unit vector I ll start with some basic 3D rotation math, and will then show that the result of this matches the quaternion rotation formula. I ll break it down into 2D pieces. I ll start with the picture below, where I want to rotate the vector r by θ around a unit vector n to get a new vector r R. This is equivalent to rotating the point r around n. 5

6 n n n n r r r 1 r r 2 r 1 r (n.r)n α (0,0,0) r 2 (0,0,0) r 2 (0,0,0) r-(n.r)n (0,0,0) The left hand diagram shows the plane containing r and n. I then decompose r into two vectors in the plane, r 1 which is parallel to n and r 2 which is perpendicular to n, and show this in the second diagram. If the angle between r and n is α, as shown, then r 1 has length r cos(α), which is (n. r) since n is a unit vector. It is in the direction of n, and so: r 1 = (n. r) n Next, r 2 is the same as the extra vector shown in the third diagram, and so r 1 + r 2 = r, which gives the fourth diagram since: r 2 = r (n. r) n Now instead of a single vector, r, to rotate around n, I have two, r 1 and r 2. However, r 1 is parallel to n, and so rotating it around n leaves it untouched. So I just have to rotate r 2 around n and add that result to r 1 to get the rotated vector. To do the rotation by θ we have the circle shown on the left below, which is a view looking down on n, and so n is vertical at the center of the circle. r 2 θ r 2 θ r 3 r 3 r 4 To define r 3 I ll use another vector, r 4, which lies in the plane and is at right angles to r 2, as shown in the second circle. So r 3 = cos(θ)r 2 + sin(θ)r 4. 6

7 Going back to the first figures, the length of r 2 is r sin(α), and since r 2, n, and r all lie in the same plane, r 4 is also perpendicular to r. So n! r is a vector in the direction or r 4 which has the same length as r 2. 3 Since r 2 and r 4 have the same length we get the surprisingly simple result that r 4 = n! r. Combining all of this, including that r 2 = r (n. r) n from above, we get: r 3 = (r (n. r) n)cos(θ) + (n! r)sin(θ) Now since, as discussed above, the rotated vector is this plus r 1, we have: r R = (n. r) n + (r (n. r) n)cos(θ) + (n! r)sin(θ) This finishes the general rotation formula. Now I have to show that the usual quaternion multiplication qrq -1 where q = (cos( 2! ), sin( 2! )n), r = (0, r), and q -1 = (cos( 2! ), -sin( 2! )n) gives the same result. We know that for any two quaternions: q 1 q 2 = (s 1 s 2 v 1. v 2, s 1 v 2 + s 2 v 1 + v 1! v 2 ), and so setting s = sin( 2! ) and c = cos( 2! ), to make this readable, we get: qrq -1 = (-sn.r, cr + s(n! r)) (c, -sn) = (-csn.r + csr.n + s 2 (n! r). n, s 2 (n.r)n + c 2 r + cs(n! r) cs(r! n) s 2 (n! r)! n. This might look awful, but I ll take it a piece at a time. First, the scalar part is zero because the first two parts cancel out and the third part is zero. The vector part can be rearranged into: s 2 (n.r)n + c 2 r + 2cs(n! r) s 2 (r (n.r)n) = 2s 2 (n.r)n + (c 2 s 2 )r + 2cs(n! r) = (1 + s 2 c 2 )(n.r)n + (c 2 s 2 )r + 2cs(n! r) = (n.r)n - cos(θ)(n.r)n + cos(θ)r + sin(θ)(n! r) 3 I ll assume until the end of this section that n! r is not the zero vector, because otherwise I ll need a bunch of special cases which will confuse things further. I ll handle that case when I m finished with the normal cases. 7

8 which matches the equation that I had for a 3D rotation. This just leaves the case that I ignored throughout the preceding derivation, which is when n! r = 0. For this to happen we need r = kn for some k, and I need to show that the rotation quaternion formula works correctly under these circumstances. Since r lies along n, the result of the rotation of kn should be that it isn t affected for any half angle cosine and sine, c and s. (c, sn) (0, kn) (c, -sn) = (-sk(n. n), ckn + sk(n! n)) (c, -sn) = (-sk, ckn) (c, -sn) = (-skc + skc(n. n), s 2 kn + c 2 kn csk(n! n)) = (0, (s 2 + c 2 )kn) = (0, kn) and so, as required, kn has not been affected by the transformation. 8

9 4. Interpolation Between two Unit Quaternions SLERP vs. LERP A common use of quaternions is to provide a smooth animation by interpolating between two quaternions, q 1 and q 2. There are two basic approaches to doing this interpolation, LERP and SLERP. LERP, which is linear interpolation, has the problem that the animation first speeds up and then slows down (although this could be considered an advantage in many cases) whereas SLERP (spherical linear interpolation) smoothly changes the angle between the two quaternions and so gives a steady interpolation. The descriptions of SLERP in the literature can get a bit scary, because they constantly include comments like the entire group of rotations maps onto the surface of the four-dimensional unit hypersphere. Fortunately much of this is mathematical obfuscation which can be ignored. E.g., since there are four components in a quaternion and rotations are equivalent to unit quaternions, it is obvious that they define the surface of a 4D hypersphere, just as 3D unit vectors define the surface of a 3D sphere and 2D unit vectors define a circle. The basic idea is that if we have two quaternions, q 1 and q 2, as shown in the diagrams below, q 1 q 2 q 1 q 2 then in the left diagram we are interpolating linearly since the points of the quaternions are equally separated, and in the second the angles are equal. As 9

10 a result in the LERP case (left) the rotation angles are bigger as one gets closer to the middle of the rotation, and so the rotation will speed up until the middle, and then slow down. In the SLERP case (right) the lines are interpolated around the projected circle in the sphere, and so the angular velocity will be constant. As an extra disadvantage the interpolated quaternions in the LERP case will have to be normalized, or they will not represent rotations. To produce a series of quaternions using SLERP, we use the following formula: sin((1 " t)! ) q(t) = q 1 sin(! ) where sin( t! ) + q 2, 0 t 1 sin(! ) q 1. q 2 = cos(θ). This is justified using the interpolation of vectors, and then extending into quaternions. Watt and Policarpo say that this solution is trivial, which is a bit of an exaggeration, but I ll give it as an exercise. Unfortunately, for small t increments, this solution requires many expensive calculations of sin functions, and so work has been done to find faster implementations which give the same intermediate quaternions. A pair of 2004 papers by Barrera, Hast, and Bengtsson, where the most relevant is available at compare six different ways to do incremental SLERPs on quaternions, including a complex number approach via De Moivre s formula, using Chebyshev polynomials, solving a differential equation using the Euler method, and matrix multiplication. They conclude that in general the Chebyshev approach is the most efficient, although any of the six methods are much faster than using the standard trigonometric approach. 10

sin(α + θ) = sin α cos θ + cos α sin θ cos(α + θ) = cos α cos θ sin α sin θ

sin(α + θ) = 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 information

Introduction to quaternions

Introduction 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 information

The 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 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 information

Quaternions. R. J. Renka 11/09/2015. Department of Computer Science & Engineering University of North Texas. R. J.

Quaternions. R. J. Renka 11/09/2015. Department of Computer Science & Engineering University of North Texas. R. J. Quaternions R. J. Renka Department of Computer Science & Engineering University of North Texas 11/09/2015 Definition A quaternion is an element of R 4 with three operations: addition, scalar multiplication,

More information

Why 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 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 information

Chapter 5 Trigonometric Functions of Angles

Chapter 5 Trigonometric Functions of Angles Chapter 5 Trigonometric Functions of Angles Section 3 Points on Circles Using Sine and Cosine Signs Signs I Signs (+, +) I Signs II (+, +) I Signs II (, +) (+, +) I Signs II (, +) (+, +) I III Signs II

More information

Quaternions. Mike Bailey. Computer Graphics Quaternions.pptx

Quaternions. 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 information

Spherical Trigonometry. CESAR s Booklet

Spherical Trigonometry. CESAR s Booklet It s the purpose of this booklet to deduce some formulae and equations that may come in handy when working with spherical trigonometry. The cosine-formula Math Notation A,B,C,O α! O : A,B,C α β OA: A α,β

More information

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

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 21 EECS 16A Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 21 21.1 Module Goals In this module, we introduce a family of ideas that are connected to optimization and machine learning,

More information

QUATERNIONS AND ROTATIONS

QUATERNIONS 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 information

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS 1. HW 1: Due September 4 1.1.21. Suppose v, w R n and c is a scalar. Prove that Span(v + cw, w) = Span(v, w). We must prove two things: that every element

More information

Lecture for Week 2 (Secs. 1.3 and ) Functions and Limits

Lecture for Week 2 (Secs. 1.3 and ) Functions and Limits Lecture for Week 2 (Secs. 1.3 and 2.2 2.3) Functions and Limits 1 First let s review what a function is. (See Sec. 1 of Review and Preview.) The best way to think of a function is as an imaginary machine,

More information

Contents. D. R. Wilkins. Copyright c David R. Wilkins

Contents. D. R. Wilkins. Copyright c David R. Wilkins MA232A Euclidean and Non-Euclidean Geometry School of Mathematics, Trinity College Michaelmas Term 2017 Section 5: Vector Algebra and Spherical Trigonometry D. R. Wilkins Copyright c David R. Wilkins 2015

More information

MATH 12 CLASS 2 NOTES, SEP Contents. 2. Dot product: determining the angle between two vectors 2

MATH 12 CLASS 2 NOTES, SEP Contents. 2. Dot product: determining the angle between two vectors 2 MATH 12 CLASS 2 NOTES, SEP 23 2011 Contents 1. Dot product: definition, basic properties 1 2. Dot product: determining the angle between two vectors 2 Quick links to definitions/theorems Dot product definition

More information

Course 2BA1: Hilary Term 2007 Section 8: Quaternions and Rotations

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 information

5. Vector Algebra and Spherical Trigonometry (continued)

5. Vector Algebra and Spherical Trigonometry (continued) MA232A Euclidean and Non-Euclidean Geometry School of Mathematics, Trinity College Michaelmas Term 2017 Section 5: Vector Algebra and Spherical Trigonometry David R. Wilkins 5.1. Vectors in Three-Dimensional

More information

BSc (Hons) in Computer Games Development. vi Calculate the components a, b and c of a non-zero vector that is orthogonal to

BSc (Hons) in Computer Games Development. vi Calculate the components a, b and c of a non-zero vector that is orthogonal to 1 APPLIED MATHEMATICS INSTRUCTIONS Full marks will be awarded for the correct solutions to ANY FIVE QUESTIONS. This paper will be marked out of a TOTAL MAXIMUM MARK OF 100. Credit will be given for clearly

More information

Chapter 8. Rigid transformations

Chapter 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 information

3 What You Should Know About Complex Numbers

3 What You Should Know About Complex Numbers 3 What You Should Know About Complex Numbers Life is complex it has a real part, and an imaginary part Andrew Koenig. Complex numbers are an extension of the more familiar world of real numbers that make

More information

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

Page 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 information

Vectors Part 1: Two Dimensions

Vectors Part 1: Two Dimensions Vectors Part 1: Two Dimensions Last modified: 20/02/2018 Links Scalars Vectors Definition Notation Polar Form Compass Directions Basic Vector Maths Multiply a Vector by a Scalar Unit Vectors Example Vectors

More information

Confidence intervals

Confidence intervals Confidence intervals We now want to take what we ve learned about sampling distributions and standard errors and construct confidence intervals. What are confidence intervals? Simply an interval for which

More information

Section 7.3 Double Angle Identities

Section 7.3 Double Angle Identities Section 7.3 Double Angle Identities 3 Section 7.3 Double Angle Identities Two special cases of the sum of angles identities arise often enough that we choose to state these identities separately. Identities

More information

Quaternions and Octonions

Quaternions and Octonions Quaternions and Octonions Alberto Elduque Universidad de Zaragoza 1 Real and complex numbers 2 Quaternions 3 Rotations in three-dimensional space 4 Octonions 2 / 32 1 Real and complex numbers 2 Quaternions

More information

Conceptual Explanations: Simultaneous Equations Distance, rate, and time

Conceptual Explanations: Simultaneous Equations Distance, rate, and time Conceptual Explanations: Simultaneous Equations Distance, rate, and time If you travel 30 miles per hour for 4 hours, how far do you go? A little common sense will tell you that the answer is 120 miles.

More information

Complex numbers, the exponential function, and factorization over C

Complex numbers, the exponential function, and factorization over C Complex numbers, the exponential function, and factorization over C 1 Complex Numbers Recall that for every non-zero real number x, its square x 2 = x x is always positive. Consequently, R does not contain

More information

Be fruitful and multiply Genesis 1:28

Be fruitful and multiply Genesis 1:28 Lecture 15: Quaternions: Multiplication in the Space of Mass-Points Be fruitful and multiply Genesis 1:8 15.1 Vector Spaces and Division Algebras The space of mass-points is a 4-dimensional vector space:

More information

SOLUTIONS to ECE 2026 Summer 2017 Problem Set #2

SOLUTIONS to ECE 2026 Summer 2017 Problem Set #2 SOLUTIONS to ECE 06 Summer 07 Problem Set # PROBLEM..* Put each of the following signals into the standard form x( t ) = Acos( t + ). (Standard form means that A 0, 0, and < Use the phasor addition theorem

More information

Lecture 3f Polar Form (pages )

Lecture 3f Polar Form (pages ) Lecture 3f Polar Form (pages 399-402) In the previous lecture, we saw that we can visualize a complex number as a point in the complex plane. This turns out to be remarkable useful, but we need to think

More information

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers Fry Texas A&M University! Fall 2016! Math 150 Notes! Section 1A! Page 1 Chapter 1A -- Real Numbers Math Symbols: iff or Example: Let A = {2, 4, 6, 8, 10, 12, 14, 16,...} and let B = {3, 6, 9, 12, 15, 18,

More information

Feedback D. Incorrect! Exponential functions are continuous everywhere. Look for features like square roots or denominators that could be made 0.

Feedback D. Incorrect! Exponential functions are continuous everywhere. Look for features like square roots or denominators that could be made 0. Calculus Problem Solving Drill 07: Trigonometric Limits and Continuity No. of 0 Instruction: () Read the problem statement and answer choices carefully. () Do your work on a separate sheet of paper. (3)

More information

Tutorial 2 - Learning about the Discrete Fourier Transform

Tutorial 2 - Learning about the Discrete Fourier Transform Tutorial - Learning about the Discrete Fourier Transform This tutorial will be about the Discrete Fourier Transform basis, or the DFT basis in short. What is a basis? If we google define basis, we get:

More information

A (Mostly) Linear Algebraic Introduction to Quaternions

A (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 information

Quaternion Dynamics, Part 1 Functions, Derivatives, and Integrals. Gary D. Simpson. rev 00 Dec 27, 2014.

Quaternion Dynamics, Part 1 Functions, Derivatives, and Integrals. Gary D. Simpson. rev 00 Dec 27, 2014. Quaternion Dynamics, Part 1 Functions, Derivatives, and Integrals Gary D. Simpson gsim100887@aol.com rev 00 Dec 27, 2014 Summary Definitions are presented for "quaternion functions" of a quaternion. Polynomial

More information

Chapter 8B - Trigonometric Functions (the first part)

Chapter 8B - Trigonometric Functions (the first part) Fry Texas A&M University! Spring 2016! Math 150 Notes! Section 8B-I! Page 79 Chapter 8B - Trigonometric Functions (the first part) Recall from geometry that if 2 corresponding triangles have 2 angles of

More information

3.2 Constructible Numbers

3.2 Constructible Numbers 102 CHAPTER 3. SYMMETRIES 3.2 Constructible Numbers Armed with a straightedge, a compass and two points 0 and 1 marked on an otherwise blank number-plane, the game is to see which complex numbers you can

More information

ENGINEERING MATH 1 Fall 2009 VECTOR SPACES

ENGINEERING MATH 1 Fall 2009 VECTOR SPACES ENGINEERING MATH 1 Fall 2009 VECTOR SPACES A vector space, more specifically, a real vector space (as opposed to a complex one or some even stranger ones) is any set that is closed under an operation of

More information

MA232A Euclidean and Non-Euclidean Geometry School of Mathematics, Trinity College Michaelmas Term 2017 Vector Algebra and Spherical Trigonometry

MA232A Euclidean and Non-Euclidean Geometry School of Mathematics, Trinity College Michaelmas Term 2017 Vector Algebra and Spherical Trigonometry MA232A Euclidean and Non-Euclidean Geometry School of Mathematics, Trinity College Michaelmas Term 2017 Vector Algebra and Spherical Trigonometry David R. Wilkins 3.1. Vectors in Three-Dimensional Euclidean

More information

N-CN Complex Cube and Fourth Roots of 1

N-CN Complex Cube and Fourth Roots of 1 N-CN Complex Cube and Fourth Roots of 1 Task For each odd positive integer, the only real number solution to is while for even positive integers n, x = 1 and x = 1 are solutions to x n = 1. In this problem

More information

Designing Information Devices and Systems I Discussion 2A

Designing Information Devices and Systems I Discussion 2A EECS 16A Spring 218 Designing Information Devices and Systems I Discussion 2A 1. Visualizing Matrices as Operations This problem is going to help you visualize matrices as operations. For example, when

More information

What is proof? Lesson 1

What is proof? Lesson 1 What is proof? Lesson The topic for this Math Explorer Club is mathematical proof. In this post we will go over what was covered in the first session. The word proof is a normal English word that you might

More information

VECTORS. Given two vectors! and! we can express the law of vector addition geometrically. + = Fig. 1 Geometrical definition of vector addition

VECTORS. Given two vectors! and! we can express the law of vector addition geometrically. + = Fig. 1 Geometrical definition of vector addition VECTORS Vectors in 2- D and 3- D in Euclidean space or flatland are easy compared to vectors in non- Euclidean space. In Cartesian coordinates we write a component of a vector as where the index i stands

More information

Lie Algebra of Unit Tangent Bundle in Minkowski 3-Space

Lie 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 information

1MA1 Introduction to the Maths Course

1MA1 Introduction to the Maths Course 1MA1/-1 1MA1 Introduction to the Maths Course Preamble Throughout your time as an engineering student at Oxford you will receive lectures and tuition in the range of applied mathematical tools that today

More information

Spanning, linear dependence, dimension

Spanning, linear dependence, dimension Spanning, linear dependence, dimension In the crudest possible measure of these things, the real line R and the plane R have the same size (and so does 3-space, R 3 ) That is, there is a function between

More information

Lecture 1 - Vectors. A Puzzle... Introduction. Vectors: The quest begins! TA s Information. Vectors

Lecture 1 - Vectors. A Puzzle... Introduction. Vectors: The quest begins! TA s Information. Vectors Lecture 1 - Vectors Puzzle... The sum starts at 0. Players alternate by choosing an integer from 1 to 10 and then adding it to the sum. The player who gets to 100 wins. You go first. What is the winning

More information

Understanding Quaternions: Rotations, Reflections, and Perspective Projections. Ron Goldman Department of Computer Science Rice University

Understanding Quaternions: Rotations, Reflections, and Perspective Projections. Ron Goldman Department of Computer Science Rice University Understanding Quaternions: Rotations, Reflections, and Perspective Projections Ron Goldman Department of Computer Science Rice University The invention of the calculus of quaternions is a step towards

More information

Math 24 Spring 2012 Questions (mostly) from the Textbook

Math 24 Spring 2012 Questions (mostly) from the Textbook Math 24 Spring 2012 Questions (mostly) from the Textbook 1. TRUE OR FALSE? (a) The zero vector space has no basis. (F) (b) Every vector space that is generated by a finite set has a basis. (c) Every vector

More information

Complex Numbers and Quaternions for Calc III

Complex 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 information

The Quaternions. The Quaternions. John Huerta. Department of Mathematics UC Riverside. Cal State Stanislaus

The 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 information

Group Representations

Group Representations Group Representations Alex Alemi November 5, 2012 Group Theory You ve been using it this whole time. Things I hope to cover And Introduction to Groups Representation theory Crystallagraphic Groups Continuous

More information

Course MA2C02, Hilary Term 2010 Section 4: Vectors and Quaternions

Course 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 information

An Intuitive Introduction to Motivic Homotopy Theory Vladimir Voevodsky

An Intuitive Introduction to Motivic Homotopy Theory Vladimir Voevodsky What follows is Vladimir Voevodsky s snapshot of his Fields Medal work on motivic homotopy, plus a little philosophy and from my point of view the main fun of doing mathematics Voevodsky (2002). Voevodsky

More information

STEP Support Programme. Hints and Partial Solutions for Assignment 5

STEP Support Programme. Hints and Partial Solutions for Assignment 5 STEP Support Programme Hints and Partial Solutions for Assignment 5 Warm-up 1 (i) As always, a diagram might be useful: cos θ b c and sin θ a c, so (using Pythagoras Theorem), cos 2 θ + sin 2 θ b2 + a

More information

A Learning Progression for Complex Numbers

A Learning Progression for Complex Numbers A Learning Progression for Complex Numbers In mathematics curriculum development around the world, the opportunity for students to study complex numbers in secondary schools is decreasing. Given that the

More information

Getting Started with Communications Engineering

Getting Started with Communications Engineering 1 Linear algebra is the algebra of linear equations: the term linear being used in the same sense as in linear functions, such as: which is the equation of a straight line. y ax c (0.1) Of course, if we

More information

Math 100 Sections E/F Fundamental Theorem of Algebra Extra Credit Due Monday, April 23

Math 100 Sections E/F Fundamental Theorem of Algebra Extra Credit Due Monday, April 23 Math 100 Sections E/F Fundamental Theorem of Algebra Extra Credit Due Monday, April 3 The fundamental theorem of algebra is given on p. 417 of the text. It says any polynomial has at least one complex

More information

5.4 Continuity: Preliminary Notions

5.4 Continuity: Preliminary Notions 5.4. CONTINUITY: PRELIMINARY NOTIONS 181 5.4 Continuity: Preliminary Notions 5.4.1 Definitions The American Heritage Dictionary of the English Language defines continuity as an uninterrupted succession,

More information

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2.

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2. Midterm 1 Review Comments about the midterm The midterm will consist of five questions and will test on material from the first seven lectures the material given below. No calculus either single variable

More information

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I Physics 342 Lecture 2 Linear Algebra I Lecture 2 Physics 342 Quantum Mechanics I Wednesday, January 3th, 28 From separation of variables, we move to linear algebra Roughly speaking, this is the study of

More information

The VQM-Group and its Applications

The 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 information

Linear Algebra. Min Yan

Linear Algebra. Min Yan Linear Algebra Min Yan January 2, 2018 2 Contents 1 Vector Space 7 1.1 Definition................................. 7 1.1.1 Axioms of Vector Space..................... 7 1.1.2 Consequence of Axiom......................

More information

2. FUNCTIONS AND ALGEBRA

2. FUNCTIONS AND ALGEBRA 2. FUNCTIONS AND ALGEBRA You might think of this chapter as an icebreaker. Functions are the primary participants in the game of calculus, so before we play the game we ought to get to know a few functions.

More information

Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R.

Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R. Rings 10-26-2008 A ring is an abelian group R with binary operation + ( addition ), together with a second binary operation ( multiplication ). Multiplication must be associative, and must distribute over

More information

Electro Magnetic Field Dr. Harishankar Ramachandran Department of Electrical Engineering Indian Institute of Technology Madras

Electro Magnetic Field Dr. Harishankar Ramachandran Department of Electrical Engineering Indian Institute of Technology Madras Electro Magnetic Field Dr. Harishankar Ramachandran Department of Electrical Engineering Indian Institute of Technology Madras Lecture - 7 Gauss s Law Good morning. Today, I want to discuss two or three

More information

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I Physics 342 Lecture 2 Linear Algebra I Lecture 2 Physics 342 Quantum Mechanics I Wednesday, January 27th, 21 From separation of variables, we move to linear algebra Roughly speaking, this is the study

More information

Revision History Date Version Description Author 03/06/ Initial Version Sergio Miguel Martin. Table of Contents

Revision History Date Version Description Author 03/06/ Initial Version Sergio Miguel Martin. Table of Contents Icarus Physics Engine Manual 1 - Basic Engine Operation Version 1.0 Revision History Date Version Description Author 03/06/2010 1.0 Initial Version Sergio Miguel Martin Table of Contents 1. Introduction

More information

Chapter 1. Introduction to Vectors. Po-Ning Chen, Professor. Department of Electrical and Computer Engineering. National Chiao Tung University

Chapter 1. Introduction to Vectors. Po-Ning Chen, Professor. Department of Electrical and Computer Engineering. National Chiao Tung University Chapter 1 Introduction to Vectors Po-Ning Chen, Professor Department of Electrical and Computer Engineering National Chiao Tung University Hsin Chu, Taiwan 30010, R.O.C. Notes for this course 1-1 A few

More information

Topic 4 Notes Jeremy Orloff

Topic 4 Notes Jeremy Orloff Topic 4 Notes Jeremy Orloff 4 Complex numbers and exponentials 4.1 Goals 1. Do arithmetic with complex numbers.. Define and compute: magnitude, argument and complex conjugate of a complex number. 3. Euler

More information

CHAPTER 4. APPLICATIONS AND REVIEW IN TRIGONOMETRY

CHAPTER 4. APPLICATIONS AND REVIEW IN TRIGONOMETRY CHAPTER 4. APPLICATIONS AND REVIEW IN TRIGONOMETRY In the present chapter we apply the vector algebra and the basic properties of the dot product described in the last chapter to planar geometry and trigonometry.

More information

( )( b + c) = ab + ac, but it can also be ( )( a) = ba + ca. Let s use the distributive property on a couple of

( )( b + c) = ab + ac, but it can also be ( )( a) = ba + ca. Let s use the distributive property on a couple of Factoring Review for Algebra II The saddest thing about not doing well in Algebra II is that almost any math teacher can tell you going into it what s going to trip you up. One of the first things they

More information

15. LECTURE 15. I can calculate the dot product of two vectors and interpret its meaning. I can find the projection of one vector onto another one.

15. LECTURE 15. I can calculate the dot product of two vectors and interpret its meaning. I can find the projection of one vector onto another one. 5. LECTURE 5 Objectives I can calculate the dot product of two vectors and interpret its meaning. I can find the projection of one vector onto another one. In the last few lectures, we ve learned that

More information

Quaternions and their applications

Quaternions and their applications Quaternions and their applications Ramachandran Subramanian February 20, 2014 Jack B. Kuipers. Quaternions and Rotation Sequences. university press, New Jersey, 1998 Princeton Outline 1 Background 2 Introduction

More information

Mechanics, Heat, Oscillations and Waves Prof. V. Balakrishnan Department of Physics Indian Institute of Technology, Madras

Mechanics, Heat, Oscillations and Waves Prof. V. Balakrishnan Department of Physics Indian Institute of Technology, Madras Mechanics, Heat, Oscillations and Waves Prof. V. Balakrishnan Department of Physics Indian Institute of Technology, Madras Lecture 08 Vectors in a Plane, Scalars & Pseudoscalers Let us continue today with

More information

MATH141: Calculus II Exam #4 review solutions 7/20/2017 Page 1

MATH141: Calculus II Exam #4 review solutions 7/20/2017 Page 1 MATH4: Calculus II Exam #4 review solutions 7/0/07 Page. The limaçon r = + sin θ came up on Quiz. Find the area inside the loop of it. Solution. The loop is the section of the graph in between its two

More information

Quaternions. Basilio Bona. Semester 1, DAUIN Politecnico di Torino. B. Bona (DAUIN) Quaternions Semester 1, / 40

Quaternions. 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 information

Chapter 7: Trigonometric Equations and Identities

Chapter 7: Trigonometric Equations and Identities Chapter 7: Trigonometric Equations and Identities In the last two chapters we have used basic definitions and relationships to simplify trigonometric expressions and equations. In this chapter we will

More information

Be fruitful and multiply Genesis 1:28

Be fruitful and multiply Genesis 1:28 Chapter 15: Quaternions: Multiplication in the Space of Mass-Points Be fruitful and multiply Genesis 1:8 1. Vector Spaces and Division Algebras The space of mass-points is a 4-dimensional vector space:

More information

Analytic Trigonometry. Copyright Cengage Learning. All rights reserved.

Analytic Trigonometry. Copyright Cengage Learning. All rights reserved. Analytic Trigonometry Copyright Cengage Learning. All rights reserved. 7.1 Trigonometric Identities Copyright Cengage Learning. All rights reserved. Objectives Simplifying Trigonometric Expressions Proving

More information

Ruminations on exterior algebra

Ruminations on exterior algebra Ruminations on exterior algebra 1.1 Bases, once and for all. In preparation for moving to differential forms, let s settle once and for all on a notation for the basis of a vector space V and its dual

More information

Trigonometry Exam II Review Problem Selected Answers and Solutions

Trigonometry Exam II Review Problem Selected Answers and Solutions Trigonometry Exam II Review Problem Selected Answers and Solutions 1. Solve the following trigonometric equations: (a) sin(t) = 0.2: Answer: Write y = sin(t) = 0.2. Then, use the picture to get an idea

More information

Course Notes Math 275 Boise State University. Shari Ultman

Course Notes Math 275 Boise State University. Shari Ultman Course Notes Math 275 Boise State University Shari Ultman Fall 2017 Contents 1 Vectors 1 1.1 Introduction to 3-Space & Vectors.............. 3 1.2 Working With Vectors.................... 7 1.3 Introduction

More information

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT Mathematics for Chemists 2 Lecture 14: Fourier analysis Fourier series, Fourier transform, DFT/FFT Johannes Kepler University Summer semester 2012 Lecturer: David Sevilla Fourier analysis 1/25 Remembering

More information

Hongbing Zhang October 2018

Hongbing Zhang October 2018 Exact and Intuitive Geometry Explanation: Why Does a Half-angle-rotation in Spin or Quaternion Space Correspond to the Whole-angle-rotation in Normal 3D Space? Hongbing Zhang October 2018 Abstract Why

More information

INTRODUCTION TO DIFFERENTIATION

INTRODUCTION TO DIFFERENTIATION INTRODUCTION TO DIFFERENTIATION GRADIENT OF A CURVE We have looked at the process needed for finding the gradient of a curve (or the rate of change of a curve). We have defined the gradient of a curve

More information

Hypercomplex numbers

Hypercomplex numbers Hypercomplex numbers Johanna Rämö Queen Mary, University of London j.ramo@qmul.ac.uk We have gradually expanded the set of numbers we use: first from finger counting to the whole set of positive integers,

More information

9709 MATHEMATICS. 9709/32 Paper 3, maximum raw mark 75

9709 MATHEMATICS. 9709/32 Paper 3, maximum raw mark 75 CAMBRIDGE INTERNATIONAL EXAMINATIONS GCE Advanced Level MARK SCHEME for the May/June 0 series 9709 MATHEMATICS 9709/3 Paper 3, maximum raw mark 75 This mark scheme is published as an aid to teachers and

More information

Math 016 Lessons Wimayra LUY

Math 016 Lessons Wimayra LUY Math 016 Lessons Wimayra LUY wluy@ccp.edu MATH 016 Lessons LESSON 1 Natural Numbers The set of natural numbers is given by N = {0, 1, 2, 3, 4...}. Natural numbers are used for two main reasons: 1. counting,

More information

The modulus, or absolute value, of a complex number z a bi is its distance from the origin. From Figure 3 we see that if z a bi, then.

The modulus, or absolute value, of a complex number z a bi is its distance from the origin. From Figure 3 we see that if z a bi, then. COMPLEX NUMBERS _+i _-i FIGURE Complex numbers as points in the Arg plane i _i +i -i A complex number can be represented by an expression of the form a bi, where a b are real numbers i is a symbol with

More information

!t + U " #Q. Solving Physical Problems: Pitfalls, Guidelines, and Advice

!t + U  #Q. Solving Physical Problems: Pitfalls, Guidelines, and Advice Solving Physical Problems: Pitfalls, Guidelines, and Advice Some Relations in METR 420 There are a relatively small number of mathematical and physical relations that we ve used so far in METR 420 or that

More information

CHAPTER 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 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 information

Complex Numbers. 1 Introduction. 2 Imaginary Number. December 11, Multiplication of Imaginary Number

Complex Numbers. 1 Introduction. 2 Imaginary Number. December 11, Multiplication of Imaginary Number Complex Numbers December, 206 Introduction 2 Imaginary Number In your study of mathematics, you may have noticed that some quadratic equations do not have any real number solutions. For example, try as

More information

Second quantization: where quantization and particles come from?

Second quantization: where quantization and particles come from? 110 Phys460.nb 7 Second quantization: where quantization and particles come from? 7.1. Lagrangian mechanics and canonical quantization Q: How do we quantize a general system? 7.1.1.Lagrangian Lagrangian

More information

MATH 320, WEEK 11: Eigenvalues and Eigenvectors

MATH 320, WEEK 11: Eigenvalues and Eigenvectors MATH 30, WEEK : Eigenvalues and Eigenvectors Eigenvalues and Eigenvectors We have learned about several vector spaces which naturally arise from matrix operations In particular, we have learned about the

More information

has a lot of good notes on GR and links to other pages. General Relativity Philosophy of general relativity.

has a lot of good notes on GR and links to other pages. General Relativity Philosophy of general relativity. http://preposterousuniverse.com/grnotes/ has a lot of good notes on GR and links to other pages. General Relativity Philosophy of general relativity. As with any major theory in physics, GR has been framed

More information

Dot Products, Transposes, and Orthogonal Projections

Dot Products, Transposes, and Orthogonal Projections Dot Products, Transposes, and Orthogonal Projections David Jekel November 13, 2015 Properties of Dot Products Recall that the dot product or standard inner product on R n is given by x y = x 1 y 1 + +

More information

Volume vs. Diameter. Teacher Lab Discussion. Overview. Picture, Data Table, and Graph

Volume vs. Diameter. Teacher Lab Discussion. Overview. Picture, Data Table, and Graph 5 6 7 Middle olume Length/olume vs. Diameter, Investigation page 1 of olume vs. Diameter Teacher Lab Discussion Overview Figure 1 In this experiment we investigate the relationship between the diameter

More information

Vectors Summary. can slide along the line of action. not restricted, defined by magnitude & direction but can be anywhere.

Vectors Summary. can slide along the line of action. not restricted, defined by magnitude & direction but can be anywhere. Vectors Summary A vector includes magnitude (size) and direction. Academic Skills Advice Types of vectors: Line vector: Free vector: Position vector: Unit vector (n ): can slide along the line of action.

More information

Mathematics for Graphics and Vision

Mathematics for Graphics and Vision Mathematics for Graphics and Vision Steven Mills March 3, 06 Contents Introduction 5 Scalars 6. Visualising Scalars........................ 6. Operations on Scalars...................... 6.3 A Note on

More information

Physics 2A Chapter 1 - Vectors Fall 2017

Physics 2A Chapter 1 - Vectors Fall 2017 These notes are eight pages. That includes some diagrams, but I realize reading them could get a bit tedious. So here is a quick summary: A vector quantity is one for which direction is relevant, like

More information