Complex Numbers and Quaternions for Calc III

Similar documents
Quaternions and Groups

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

Topic 4 Notes Jeremy Orloff

Complex numbers, the exponential function, and factorization over C

Lecture 7. Quaternions

ECS 178 Course Notes QUATERNIONS

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

Complex Numbers. Rich Schwartz. September 25, 2014

Lecture 3f Polar Form (pages )

Chapter XI Novanion rings

Linear Algebra March 16, 2019

Quick Overview: Complex Numbers

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

Solutions to Tutorial for Week 3

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

Math Final Exam Review

Matrices and Vectors

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

Chapter 8 Vectors and Scalars

M. Matrices and Linear Algebra

4.1 Distance and Length

Introduction to quaternions

Semester University of Sheffield. School of Mathematics and Statistics

An attempt to intuitively introduce the dot, wedge, cross, and geometric products

I = i 0,

A Primer on Three Vectors

Vectors for Zero Robotics students

Topic 1 Notes Jeremy Orloff

Complex Numbers. Math 3410 (University of Lethbridge) Spring / 8

Course Name : Physics I Course # PHY 107

3 + 4i 2 + 3i. 3 4i Fig 1b

Basic Linear Algebra in MATLAB

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

1 Complex Numbers. 1.1 Sums and Products

Overview of Complex Numbers

Lecture 5. Complex Numbers and Euler s Formula

Assignment 10. Arfken Show that Stirling s formula is an asymptotic expansion. The remainder term is. B 2n 2n(2n 1) x1 2n.

A Tutorial on Euler Angles and Quaternions

The Complex Numbers c ). (1.1)

arxiv: v1 [math.ds] 18 Nov 2008

C. Complex Numbers. 1. Complex arithmetic.

Complex Numbers. James K. Peterson. September 19, Department of Biological Sciences and Department of Mathematical Sciences Clemson University

Complex Numbers. Outline. James K. Peterson. September 19, Complex Numbers. Complex Number Calculations. Complex Functions

Review from Bootcamp: Linear Algebra

9.5. Lines and Planes. Introduction. Prerequisites. Learning Outcomes

Math 416, Spring 2010 More on Algebraic and Geometric Properties January 21, 2010 MORE ON ALGEBRAIC AND GEOMETRIC PROPERTIES

Group, Rings, and Fields Rahul Pandharipande. I. Sets Let S be a set. The Cartesian product S S is the set of ordered pairs of elements of S,

Vector Geometry. Chapter 5

Matrices over Hyperbolic Split Quaternions

Notes: Vectors and Scalars

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

Vectors Part 1: Two Dimensions

Linear Algebra, Summer 2011, pt. 2

Usually, when we first formulate a problem in mathematics, we use the most familiar

An eightfold path to E 8

Vectors. J.R. Wilson. September 28, 2017

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

Review of linear algebra

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

MATH1251 ALGEBRA S TEST 1 VERSION 1A Sample Solutions September 13, 2017

Geometric Algebra. Gary Snethen Crystal Dynamics

(arrows denote positive direction)

Our goal is to solve a general constant coecient linear second order. this way but that will not always happen). Once we have y 1, it will always

Quaternions and the four-square theorem

QUATERNIONS AND ROTATIONS

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

Dual unitary matrices and unit dual quaternions

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

AN ELEMENTARY PROOF OF THE SPECTRAL RADIUS FORMULA FOR MATRICES

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

Chapter 3: Complex Numbers

Lecture 1 Complex Numbers. 1 The field of complex numbers. 1.1 Arithmetic operations. 1.2 Field structure of C. MATH-GA Complex Variables

) z r θ ( ) ( ) ( ) = then. Complete Solutions to Examination Questions Complete Solutions to Examination Questions 10.

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.

Physics 110. Electricity and Magnetism. Professor Dine. Spring, Handout: Vectors and Tensors: Everything You Need to Know

Vector, Matrix, and Tensor Derivatives

Serge Ballif January 18, 2008

This document is stored in Documents/4C/vectoralgebra.tex Compile it with LaTex. VECTOR ALGEBRA

MTH4101 CALCULUS II REVISION NOTES. 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) ax 2 + bx + c = 0. x = b ± b 2 4ac 2a. i = 1.

Quadratics. Shawn Godin. Cairine Wilson S.S Orleans, ON October 14, 2017

1 Review of complex numbers

EXERCISES. a b = a + b l aq b = ab - (a + b) + 2. a b = a + b + 1 n0i) = oii + ii + fi. A. Examples of Rings. C. Ring of 2 x 2 Matrices

Distance in the Plane

On complexified quantum mechanics and space-time

Quaternion Algebra and Calculus

When is the Ring of 2x2 Matrices over a Ring Galois?

Math 632: Complex Analysis Chapter 1: Complex numbers

Preliminary algebra. Polynomial equations. and three real roots altogether. Continue an investigation of its properties as follows.

EXERCISES IN MODULAR FORMS I (MATH 726) (2) Prove that a lattice L is integral if and only if its Gram matrix has integer coefficients.

MARN 5898 Fourier Analysis.

Chennai Mathematical Institute B.Sc Physics Mathematical methods Lecture 1: Introduction to complex algebra

VECTORS IN A STRAIGHT LINE

88 CHAPTER 3. SYMMETRIES

Kinematics of fluid motion

Complex Numbers and Exponentials

Course Notes for Signals and Systems. Krishna R Narayanan

Clifford Algebras and Spin Groups

Vectors. A vector is usually denoted in bold, like vector a, or sometimes it is denoted a, or many other deviations exist in various text books.

3.2 Constructible Numbers

Chapter 2. Linear Algebra. rather simple and learning them will eventually allow us to explain the strange results of

Transcription:

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 to the Usual Vector Operations.......................... 6 Abstract An introduction to complex numbers and quaternions 1 Introduction I m going to review some facts about the complex numbers and then generalize them to quaternions. The quaternions historically formed the basis for the cross product in vector analysis. Vector Spaces over the real numbers are just required two operations: 1. Vector Addition: a way of adding two vector quantities say v and w and getting a new vector quatities that satisfies the usual rules of an addition (commutativity, associativity, etc.). Scalar Multiplication: Scalar a way of taking a real number and c multiplying it times a vector v and getting out a new vector c v that lies in our vector space. It turns out that the set of complex numbers (denoted by C) form a vector space. As a vector space C looks essentially like the cartesian plane (denoted by R). It turns out that C has more structure then just these operations. The complex numbers give a way of multiplying two two-dimensional vectors getting a new vectors out... so there is a vector multiplication 1. It turns out that this multiplication has a nice geometric interpretation as rotations and expansions. A the multiplication that exists for the complex numbers is extremely rare. In fact there are only three spaces of it s kind. You know two of them: The set of real numbers and the set of quaternion. The third space is the set of quaternions and is actually four dimensional. Historically, when you multiply the cross product comes from a component of quatenion multiplcation. Two Ways of Looking at Complex Numbers Abstractly we could define a the complex numbers as being ordered pairs of real numbers (x, y) with the following multiplication operation: (x 1, y 1 ) (x, y ) = (x 1 x y 1 y, x 1 y + y 1 x ) (1) 1 Satisfying a set of axioms including things like commutivity, associativity and the existence multiplicative inverses. To be technical, they are the only Finite dimensional Banach Algebras over the real numbers. This fancy words which essentially means things you can do sequences and series with. 1

So if you handed me two vectors say, (1, 1) and (, 1) and asked me to multiply them I would just use the rule: (1, 1) (, 1) = (1 1 ( 1), 1 ( 1) + 1 ) = ( + 1, 1 + ) = (3, 1). Using these rules one could check it s properties: that this multiplication is commutative, associative, and that is is obeys distributive properties with respect to the vector addition (x 1, y 1 ) + (x, y ) = (x 1 + x, y 1 + y ). For example proving the left distributive property would amount to proving the equality (x 1, y 1 ) ((x, y ) + (x 3, y 3 )) = (x 1, y 1 ) (x, y ) + (x 1, y 1 ) (x 3, y 3 ), from the rules we have defined above. Here is another way to define the complex numbers: A complex number is a number of the form x + iy where x and y are real numbers. Here, i is the square root of negative one i = 1. It satisfies the identity i = 1. Note that when we write complex numbers in this way, the rule for complex multiplication takes the form and that under the identification (x 1 + iy 1 )(x + iy ) = x 1 (x + iy ) + iy 1 (x + iy ) = x 1 x + ix 1 y + iy 1 x y 1 y = (x 1 x y 1 y ) + i(x 1 y + y 1 x ) (x, y) x + iy our rule crazy looking rule (1) is just the rule for complex multiplication. For example (1 + i)( i) = (1 + i) + (1 + i)( i) = ( + i) + ( i + 1) = 3 + i. The same sort of things is going on with the cross product of two vectors and quaternion multiplication. 3 Geometry of Complex Numbers The set of complex numbers is denoted by C and as a reminder, C = {x + iy x, y R}. The set of complex numbers form a vector space over R. Every complex number z = x + iy consists essentially of the data of two real numbers and we can in fact put the set of complex numbers in correspondence with points in the cartesian plane R. As said before, the correspondence is x + iy = (x, y). On R we have norm/length/magnitude of vectors defined by (x, y) = x + y. So for example the length of (1, ) is the vector 1 + 4 = 5. As stated before, the complex numbers are essentially the same as the points in R with the additional structure of multiplication. So we defined the length of a complex number in the exact same way as we defined the length of a two dimensional vector: If z = x + iy then z = x + y. Recall that unit vectors are ones whose magnitude are one.

Example The complex number 1/ + i/ is a unit complex number. This is because 1 + i 1 1 = + 1 = 1. The complex number 1/ + i 3/ is a unit complex number. This is because 1 3 1 + i = 4 + 3 4 = 1. These examples may look familiar. Note that 1/ +i/ = cos(π/4)+i sin(π/4) and 1/+i 3/ = cos(π/6) + i sin(π/6). In fact all the unit complex numbers will be of the form z = cos(θ) + i sin(θ). This is because z = 1, means that z = 1. But z = x + y so this means that if z = x + iy is a unit vector the x and y must satisfy x + y = 1. We will show briefly that unit complex numbers are closed under multiplication. That is, if z 1 and z are unit complex numbers then z 1 z is also a unit complex number. Let first verify this with an example. Example We already showed that z 1 = 1/ + i/, and z = 1/ + i 3/ are complex numbers. We now can multiply these together then check that z 1 z is in fact a unit complex number. In addition to a multiplication, the set of complex numbers has an operation called complex conjugation. Here is the operation: x + iy = x iy. Example The complex conjugate of the number 1 + i is 1 + i = 1 i. The operation of complex conjugation splits up over sums and products of complex numbers as well as interacts with Proposition 3.1 1. We can write the norm squared of a complex number as a product of a complex number and it s conjugate z = z z.. Complex Conjugation breaks up over sums: 3. Complex Conjugation breaks up over products: z 1 + z = z 1 + z z 1 z = z 1 z. Proof 1. If z = x + iy we can write its norm squared in a special way: z = x + y = (x iy)(x + iy) = zz. which shows what we wanted.. To see this, first let z 1 = x 1 + iy 1 and z = x + iy, z 1 + z = x 1 + x + i(y 1 + y ) = x 1 + x i(y 1 + y ) = x 1 iy 1 + x iy = z 1 + z 3

3. z 1 z = x 1 x y 1 y + i(x 1 y + x y 1 ) = x 1 x y 1 y i(x 1 y + x y 1 ) = (x 1 iy 1 )(x iy ) = z 1 z Corollary 3. (Norm of the Product is the Product of the Norms.) For any two complex numbers z 1 z = z 1 z. Proof To prove this we just apply all the things that we learned before: z 1 z = z 1 z z 1 z = z 1 z z 1 z = z 1 z 1 z z = z 1 z. In view of this fact we didn t even need to compute the product of our two numbers in the example above. Theorem 3.3 (Euler s Formula) For every real number t, e it = cos t + i sin t. Proof First recall that This means that e it = = = e t = t k k!. (it) k k! (it) k (k)! + (it) k+1 (k + 1)! ( 1) k tk (k)! + i ( 1) k t k+1 (k + 1)! = cos(t) + i sin(t). Example This is the formula responsible for the famous e iπ = 1. By Euler s Formula we have e iπ = cos(π) + i sin(π) = 1 + i0 = 1. Corollary 3.4 (Unit Complex Numbers) Every unit complex number takes the form e it for some t. Proposition 3.5 Every complex number can be written in the form re iθ for some θ. ( Proof Let z = z θ. z z ), here z = r and z z is a unit complex number so it have the form eiθ for some To actually convert from the polar expression to the cartesian (and conversely) some relations. If z = x + iy then θ = tan 1 (y/x) r = x + y 4

Example The complex number z = 1 + i has a radius of r = and an angle of θ = π/4. That is 1 + i = e iπ/4 The complex number e π/3 = (cos(π/3) + i sin(π/3)) = 3 + i. Now we are at a point where we can justify our claim that every complex number is really an expansion an a rotation. 4 Quaternions Definition A quaternion is a number of the form q = a + bi + cj + dk where a, b, c and d are real numbers and i, j, k 3 The quaternionic numbers i, j and k satisfy i = j = k = ijk = 1. () The relations given in equation () between i, j and j are just an extremely concise way of specifying special relations in the same way that the relation i = 1 did for complex numbers. Here is an example. The multiplicative inverse of i is i. This is because i( i) = i = ( 1)( 1) = 1. Similarly, the multiplicative inverses of j and k are j and k respectively. For example from these relations we can prove the following Proposition 4.1 (Uncompressed Version of Quaternion Relations) i, j and k relate to each other ij = k, jk = i, ki = j. 1. The following are how. Unlike the case of complex multiplication, quaternion multiplication is NONCOMMUTATIVE: Proof 1. Next we show that ij = k ij = ji ik = ki jk = jk ijk = 1 = i jk = i = jk = i = jk = i. ijk = 1 = ijk = k = ij = k = ij = k. Next we show that ki = j. Using the ki = ki( 1) = ki(j) = k(ij)j = k j = j. 3 You can think of the i in the quaternions as the same or different from the i found in the complex numbers it doesn t really matter. 5

On the first line we introduced two negatives, and the first to second we used that fact that j = 1, on the second to third we rearranged, on the third to fourth we used the fact that ij = k and the fourth to fifth we used that ij = k.. Now we use these along with the fact that we know the multiplicative inverses of i,j and k: ij = k = iji = ki = iji = j = iiji = ij = ji = ij the first implication we multiplied by i on the right, the second implication we used the fact that ki = j, the third we multiplied both sides by i and on the fourth we use the fact that ii = 1. Similarly, and, Let q = (1 + i + k) and p = (1 + j) jk = i = kjk = ik = kjk = j = kkjk = kj = jk = kj. ki = j = iki = ij = iki = k = iiki = ik = ki = ik. qp = (1 + i + k)(1 + j) = (1 + i + k) + (1 + i + k)j = 1 + i + k + (j + ij + kj) = 1 + i + k + j + k i = 1 + i + j + 3k. while pq = (1 + j)(1 + i + k) = (1 + j) + (1 + j)(i) + (1 + j)k = (1 + j) + (i + ji) + k + jk = 1 + j + i k + k + i = 1 + 3i + j k. Every quaternion can be written as q = q 0 + v where v = xi + yj + zk and sometimes these are called the real part and the vector part of a quaternion number in the same sense that a complex number has a real and imaginary part. It was through studying how these vector parts transform that the operation of the cross product arose. 4.1 Connection to the Usual Vector Operations We can define the cross product is defined as a function form R3 R3 R3 given by Identification i, (a 1, b 1, c 1 ) (a, b, c ) = (b c c 1 b 1, a 1 c + a c 1, a 1 b a b 1 ) 6

Proposition 4. (Quaternion Multiplication Relates to Dot Products and Cross Products) Let q (a 1 i + b 1 j + c 1 k)(a i + b j + c k) = v 1 v + v 1 v Proof Expanding the multiplication out on the left hand side above is a little bit of a pain, but it gets things done. (a 1 i + b 1 j + c 1 k)(a i + b j + c k) = a 1 i(a i + b j + c k) + b 1 j(a i + b j + c k) + c 1 k(a i + b j + c k) = a 1 a i + a 1 b ij + a 1 c 1 ik + b 1 a ji + b 1 b j + b 1 c 1 jk + c 1 a ki + c 1 b kj + c 1 c k = a 1 a ( 1) + a 1 b k + a 1 c 1 ( j) + b 1 a ( k) + b 1 b ( 1) +b 1 c 1 (i) + c 1 a (j) + c 1 b ( i) + c 1 c ( 1) = (a 1 a + b 1 b + c 1 c ) + (b c c 1 b 1 )i (a 1 c a c 1 )j + (a 1 b a b 1 )k = v 1 v + v 1 v Proposition 4.3 a b = b a Proof Everything in the computation above will stay the same when flipping b and a with the exception of the cross terms. These are the terms with any of the following combinations ij, ji, ik, ki, kj, jk. Look at the second line in the computation above (I know a pain but still...) if we multiplied out b a rather than a b the terms connected to ij would be replaced with ji and the terms with ik with be replace with ki etc. Since these are the only terms that contribute to the cross product, and since ji = ij, ik = ki etc, we will just pick up an overall minus sign for all of these terms. Proposition 4.4 (Quaternion Formula For the Cross Product) a b = a b b a Proof The proof is a straightforward computation, a b = 1 ( a b + a b b a + b a) = 1 ( a b b a) = 1 ( a b + a a). In the computations we have just used the fact that a b = b a and a b = b a. Example From this we can easily see now that a a = 0. This is because a a = a a a a. We can also prove that the cross product distributes over sums and that you can pull constants out: Proposition 4.5 (Distributive Properties) For and vector v, w and u, and any constant c we have 1. (c w + u) v = c w v + u v.. v (c w + u) = c v w + v u. 7

Proof 1. The proof is a straight forward computation: v (c w + u) = 1 ( v(c w + u) (c w + u) v) = 1 (c v w + v u c w v u v) = c 1 ( v w w v) + 1 ( v u u v) = c v w + v u.. Here we just used the antisymmetric property to flip the terms and introduce a minus sign then use part 1 (c w + u) v = v (c w + u) = c v w v u = c w v + u v. Like the complex numbers we have an operation of similar to complex conjugation called quaternion conjugation: It is defined as follows (a + bi + cj + dk) = a bi cj dk. Proposition 4.6 (Norm conjugation formula) qq = q Proof Let q = a + q, where q = ai + bj + ck, qq = (a + q)(a + q) = a + a q a q q q = a ( q q + q q) = a + q q = a + b + c + d = q. Unlike complex conjugation, quaternion conjugation is not linear: Proposition 4.7 For any quaternion q and p (qp) = p q. Proof Let p = p 0 + p and q = q 0 + q, where p 0 and q 0 are the real parts of the quaternion, and p and q are the vector parts, pq = (p 0 + p)(q 0 + q) = p 0 q 0 + pq 0 + p 0 q + p q = p 0 q 0 + q 0 p + p 0 q + ( p q + p q) = (p 0 q 0 p q) + (q 0 p + p 0 q + p q), on the last line we have separated the product into real and vector parts. This allows us to say Now a similar computation shows, (pq) = (p 0 q 0 p q) (q 0 p + p 0 q + p q). q p = (q 0 q)(p 0 p) = p 0 q 0 p 0 q q 0 p + q p = p 0 q 0 p 0 q q 0 p + ( q p + q p) = (p 0 q 0 q p) p 0 q q 0 p p q = (pq) 8

Proposition 4.8 qp = q p Another computation, Proof qp = (qp) (qp) = p q qp = p q p = q p p = q p Proposition 4.9 w vecv = v w sin θ Proof v w = v w + v w (3) = v w + v + w (4) = v w (cos θ) + v w (5) Since v w = v w we get v w v w (cos θ) = v w which means v w = v w (1 (cos θ) ) = v w (sin θ) which proves the result. 9