Quaternions – Part 1: How many? Originally appeared at: http://behindtheguesses.blogspot.com/2009/11/quaternions-part-1-how-many.html Eli Lansey — [email protected] November 30, 2009

The Setup Quaternions seem to be one of the least understood mathematical things amongst physicists. I have sat in countless lectures where at some point the lecturer pointed out that a particular topic could be understood or explained using quaternions, but, when pressed, could not really explain what, precisely, one of these quaternion thingies actually is. The first encounter people have with quaternions is generally after they learn about the complex plane and its relationship to the regular 2D Cartesian plane. After seeing all sorts of nifty properties and uses of this relationship (we’ll see one shortly) it’s only natural to ask if there’s a 3D complex analogue to the 2D complex plane. And, therefore, most books ask precisely this question. However, they usually give less-than-satisfactory attempts at generalizing, highlighting the mysterious algebraic problem of “closure” or something to that effect. Then, often retelling the story of Hamilton and a bridge1 they pull some strange, “4D” quaternions out of a hat and show how they happily resolve all the algebraic problems. This, it seems, should be enough to placate even the most thoughtful reader, and stands in place of an actual explanation. And even though there is a lot of information about these buggers out there on the intertubes, all that I’ve seen is of the same approach. So, it doesn’t surprise me, honestly, that “quaternion” is also one of the most popular searches on this blog. The topic of quaternions is really too big to handle fully in one post (and, for full disclosure, I do not completely understand them myself), so this post will deal primarily with a rationale for the initial guess of a “4D” quaternion. This post assumes you have read, and thoroughly grokked my discussion of dot and cross products,[1] and have a solid understanding of traditional complex numbers. Complex Numbers and 2D Vectors My approach in this section is based on the fantastic book, Visual Complex Analysis by Tristan Needham.[2] If something here isn’t clear (and it’s not the fault of my writing), or is different from the way you learned complex numbers, read this book. Even if everything is perfectly clear, read this book. What I’m trying to say is: Read this book.2 Recall that a complex number z = x + iy can be represented by a vector ~z = xˆı + yˆ  in a p 2D xy-plane. Also, if r = x2 + y 2 – i.e. the “modulus” of z or the length of ~z – and θ is the “argument” of z or the angle between ~z and the x-axis, we can also write z = reiθ in “polar form.” See [2] for pictures. We also have Euler’s identity eiθ = cos θ + i sin θ 1 2

Just Google it, it’s not really worth retelling, in my opinion. If I was stranded on an island forever but could bring only one math book, this would be it.

1

(1)

Furthermore, recall that multiplying two complex numbers together effects a rotation and scaling. For example, multiplying a complex number z = reiφ – graphically, a vector of length r making angle φ with respect to the real axis (x-axis) – by ξ = ρeiθ gives ξz = (ρr)ei(φ+θ) . This can be understood graphically as a scaling of r by ρ and a rotation of the direction of z by the angle θ. Finally, the complex conjugate z ∗ of z is given either by z ∗ = x − iy or z = re−iθ . From Complex Multiplication to Vector Products For two complex numbers A = aeiα and B = beiβ let’s see what A∗ B is. This demonstration (at least initially) is based on [2].3 Anyway, A∗ B = abei(β−α) = abeiθ .

(2)

Graphically this is a vector with length ab at an angle θ = (β − α) from the x-axis. Expanding this into a real and complex part using Euler’s identity (1) gives: A∗ B = ab cos θ + i ab sin θ.

(3)

We now note that the real part of this expression corresponds to the dot product between the two ~ and B. ~ But should we do with the imaginary part? vectors A Well, the magnitude of the imaginary part certainly corresponds to the magnitude of one dimension of the cross product between the two vectors. That is, if we relate the complex plane to ~ B. ~ This important the Cartesian xy-plane then the imaginary part of A∗ B is the z-component of A× point is often lost in passing, and thus this property of complex multiplication is relegated to the realm of “cool trick.” However, we’ll make good use of this detail. Rethinking complex numbers Now we are ready for the conceptual jump. Although we got to the representation of dot and cross products through use of a 2D complex plane, we’re going to distance ourselves from this wonderful visualization for the moment and note that an arbitrary complex number has two parts: One corresponds to a dot product, the other corresponds to one dimension of a cross product of two vectors.[3]4 If we want to find a relationship between complex numbers and 3D vectors we need to pick one of these parts to generalize. Now, recall that the dot product yields a scalar quantity equal to the amount that two vectors point in the same direction. Since there is no directionality or dimensionality inherent in this quantity – it’s just a length – there’s really no way to add extra bits here. Length stays a scalar in any dimension. So, instead we turn to the cross-product part. In the preceding section I repeatedly stressed that the imaginary part of A∗ B corresponds to one dimension of a 3D cross product. However, which single dimension of the cross product we choose is completely arbitrary: Just as with the calculation of area for the cross product, the 2D Cartesian plane we choose to map to the complex plane could just as easily be the xy-, zx- or the yz-planes. 3 4

Just go out and get that book already! What are you waiting for? Thanks, Peeter, for recommending the book ([3]) which highlighted this point.

2

Recall, that to resolve this ambiguity in in cross-product land we chose to identify which plane we were talking about by a right-hand rule normal vector to the plane. However, here we’re attempting to generalize complex numbers, not cross products per se. So, instead of assigning different normal vectors to each cross product term, let’s assign a different complex number to each term. That is, i2 = −1 and j 2 = −1, but i 6= j for example. Then, we assign i to the cross product of two vectors in the yz-plane and j to the cross product of two vectors in the zx-plane. The one question remaining, though, as we generalize our complex plane, is how many additional complex numbers do we need? Maybe, naively, we can try adding just one extra cross-product dimension. That is, i and j only. The problem, though, can be seen in cross-product land. Closure Remember, that a cross product resultant vector is a normal vector to an arbitrary plane in 3D Cartesian space, and thus always requires all three unit vectors x ˆ, yˆ and zˆ. For example, the cross product x ˆ × yˆ is zˆ. That is, in order to make sense of x ˆ cross yˆ which can exist in 2D, you must already have a third unit vector zˆ. Physically, in Cartesian vector space, it means that you must be able to add any arbitrary 3D cross product resultant vectors and still get a 3D vector. In fact, if this wasn’t true, there’d be no way to even write the 3D cross product in the first place since you need to project the arbitrary vectors to three (independent) 2D planes and then add the resulting normal vectors. You can’t have just two cross-product parts and get a result that always makes sense. This is the requirement of “closure.” The reason there’s no problem in the 2D plane version is simply because there’s only one possible normal vector, so we only look at the magnitude of the cross product – i.e. the amount of area – and the sign. And that is just a scalar! In 2D land nothing is preventing you from adding the cross product to the dot product – they’re both scalars – so you can write a two-element complex number x + i y combination with no trouble. However, in 3D we can’t simply add a vector to a scalar, and therefore we need all three parts of the cross product. So too, then, if we want a generalized complex number to have a dot-product part and a cross-product part that makes physical sense, we need three complex numbers: i and j from above, plus a k 2 = −1, k 6= i, j corresponding to the cross product of the projection of vectors in the xy-plane. Thus, we now have a generalized complex number – quaternion – of the form z = ` + i x + j y + k z.

(4)

References [1] E. Lansey. The dot product and cross products [online]. April 2009. Available from: http://behindtheguesses.blogspot.com/2009/04/dot-and-cross-products.html. [2] Tristan Needham. Visual Complex Analysis. Oxford University Press, Oxford, UK, 1997. [3] C. Doran and A.N. Lasenby. Geometric algebra for physicists. Cambridge University Press New York, Cambridge, UK, 1st edition, 2003.

3

Quaternions – Part 1: How many? - Eli Lansey

Nov 30, 2009 - the mysterious algebraic problem of “closure” or something to that effect. Then, often retelling the story of Hamilton and a bridge1 they pull some strange, “4D” quater- nions out of a hat and show how they happily resolve all the algebraic problems. This, it seems, should be enough to placate even the most ...

120KB Sizes 2 Downloads 75 Views

Recommend Documents

Quaternions – Part 1: How many? - Eli Lansey
Nov 30, 2009 - Graphically this is a vector with length ab at an angle θ = (β −α) from the x-axis. Expanding this into a real and complex part using Euler's identity (1) gives: A∗B = abcosθ + i absinθ. (3). We now note that the real part of

Behind the Guesses - Eli Lansey
Mar 23, 2009 - So I'm starting this blog to attempt to show some of the reasoning that ... that science should be taught according to the historical development.

The Schrödinger Equation - Eli Lansey
May 26, 2009 - http://behindtheguesses.blogspot.com/2009/05/schrodinger-equation.html ... where G is the generator of this particular transformation.2 See [2] ...

The Schrödinger Equation - Eli Lansey
May 26, 2009 - In quantum mechanics this equation is replaced with df dt. = ih[f,H]. (8) where the square brackets signify a commutation relation and H is the ...

Derivative and Integral of the Heaviside Step Function - Eli Lansey
http://behindtheguesses.blogspot.com/2009/06/derivative-and-integral-of-heaviside.html. Eli Lansey — [email protected]. June 30, 2009. The Setup. 4. 2. 2. 4.

The Quantum Harmonic Oscillator Ladder Operators - Eli Lansey
Mar 30, 2009 - As a first example, I'll discuss a particular pet-peeve of mine, which is something covered in many introductory quantum mechanics classes: The algebraic solution to quantum (1D) simple harmonic oscillator.1 The one-dimensional, time-i

Part 1: syncope and too-many-solutions Part 2: mutual ...
One of the generalizations that McCarthy addresses is that the syncope constraints can never force stress assignment. In other words, dispreference for vowels in weak positions is never resolved by making the positions strong (this would correspond t

TERMINATION [IEVIEE ELI/3'2
Jul 29, 1996 - 5,272,396 12/1993 Mammano et a1. .................... .. 326/30 mg reslstors' Acnvanon of the termmanon modes 15 log' cally driven from an ...

How Many Board Game - UsingEnglish.com
“There is only one pet in my family”, “There are about 20 coins in my bag”, or “There are no plates in my kitchen but there are many plates in the dining room”. You can then move the number that your partner said in that answer, unless th

How Many Spiders.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. How Many ...

Quaternions and Rotations
Aug 23, 2006 - in, as opposed to a variable maintained by the programmer and passed ..... http://www.madsci.org/posts/archives/aug98/896993617.Eg.r.html.

Part 1 - GitHub
Apr 27, 2014 - Developing scalable applications with IBM MQ Light and ... Improving the sample application by separating the web-facing component from the.

Quaternions, Torsion and Physical Vacuum
Worcester Polytechnic Institute. Worcester, MA [email protected]. William S. Page. Daneliuk & Page,. Kingston, Ontario [email protected]. 16 November 2000. Abstract. Of several developments of unified field theories in the spirit of Einstein

Exercises part 1 - GitHub
This R Markdown document contains exercises to accompany the course “Data analysis and visualization using R”. This document contains the exercises ...

Dynamic Circuits, Part 1
Energy stored in a capacitor, W, can be found from the definition of electric power: ..... All analysis method (KVL, KCL, circuit reduction, node-voltage and mesh ...

N-400 Part 1
an American firm or corporation engaged in foreign trade or commerce; or. • A minister ... bona fide organization in the United States; or. • A public international ...

N-400 Part 1
This work by Jennifer Gagliardi is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Explain how you are ...

Part 1
+ Corresponding Author : E-mail id : [email protected]; Ph.No. ... Batch adsorption studies were undertaken to assess the suitability of commercially ...

Part - 1
On the job. Appear Application System. (B). Online Job Allotment Application System. (C) Online Job Application System. (D). Online Java Application Systern. 42, is a 30,000 23, 2al 32% as satail algala is a sausasara rat-i tata 3. (A) at all (B)(-3-

Part 1
ion exchange, precipitation, and membrane process. However, ... Studies on fluoride removal using adsorption process ... Residue on ignition (6000C). < 5 %.

4thEd_NAT_HuffingtonPost_This Map Shows How Many More ...
4thEd_NAT_HuffingtonPost_This Map Shows How Many ... udents Are Living In Poverty Than 9 Years Ago.pdf. 4thEd_NAT_HuffingtonPost_This Map Shows ...

How Many Workers Are Delaying Retirement? Why?
Apr 28, 2010 - ... does not take policy positions and does not lobby. EBRI's on Twitter! @EBRI or http://twitter.com/EBRI. EBRI blog: http://ebriorg.blogspot.com/.

I Eli tN
The Manila Teachers' Savings and Loan Association Inc. (MTSLAI). 918 United Nations Avenue, Ermita, Manila. Telephone Nos.: (02) 404-2790; (02) 404-2795; ...

How many kinds of consciousness? - David Rosenthal
nomenality, and what I'm calling thick phenomenality is phenomenality plus re- .... 13 At the November 2000 Conference of the New Jersey Regional ..... 27 An earlier version of this paper was presented at the November 2000 meeting of the ...