Revision as of 13:03, 2 December 2020 by Gupta658 (Talk | contribs)

Quaternions


Author: Krish Gupta


Table of Contents

1. Introduction & Review

2. History

3. Development & Discussion

4. Applications

5. References and Further Readings


Introduction
What are quaternions? Who found quaternions? How and why were they developed? Do quaternions have an actual use? These are probably a few of the many questions you have regarding quaternions that prompted you to this paper. This paper will include a brief history of quaternions and their development, a longer discussion behind the motivation and development of quaternions along with a discussion on the applications of quaternions. Extended readings and further discussion resources will be provided for math enthusiasts to explore!

Knowledge of complex numbers and basic vector algebra is assumed to be mastered. Let’s define and review some concepts:

Complex Numbers - An extension of the real number system that has a real part and an imaginary part.

Cross Product - A product of two vectors that can be solved using determinants, and outputs a vector perpendicular to the original vectors.

Dot Product - A product of two vectors that can be calculated by summing the product of corresponding entries and outputs a scalar.

Euler’s Formula - A very important formula that relates trigonometric functions and exponential functions.

Quaternions are tough to visualize as they require being able to imagine a 4th dimension or at least being able to work with an extra parameter in 3D, rotations. We will look at why quaternions can model rotations and we will discuss some basic steps of quaternion algebra. But hopefully this paper will give you an essence of what quaternions are, how to work with them, where they came from and what they are for.

History
Every professional wishes to have that one monumental light bulb moment in his or her life. That split second when an academic is stuck on a problem but has a sudden insight that launches him/her into fame. Perhaps such epiphanies and light bulb moments are more dramatized by films and are less common in real life. But the discovery or perhaps the development of quaternions has a remarkable light bulb moment and a thrilling story that almost sounds like the plot of a movie.

An Irish man in the 1840s named William Rowan Hamilton wanted to extend the complex number system to a higher dimension. Hamilton was aware of complex numbers and the fact that you can use complex numbers to model a rotation in two dimensions using Euler’s Formula. Hamilton was also aware of the work of Olinde Rodrigues, another mathematician who worked on transformation groups.

But Hamilton had much trouble extending the complex system to three dimensions. In one of his books Hamilton wrote how his brother would always ask him every morning, "Well, Papa, can you multiply triples?" But he always had a pessimistic reply, "No, I can only add and subtract them." Later that year, Hamilton and his better half were taking a walk along the Royal Canal in Dublin. As they were walking across a bridge, the answer to the puzzle suddenly came to Hamilton. He has his light bulb moment just like the movies. He realized that one could not perhaps easily multiply or divide triples, but he could do so with quadruples. He realized he could use 3 of the numbers in the quadruple to specify a specific point, further validating his system. Just when Hamilton was struck with this sudden knowledge, he grabbed a rock near him on the bridge and carved on it the multiplication identity that allows quaternion multiplication. The image below is of the rock that is still there in memory of Hamilton's discovery. Screenshot 2020-12-02 110825.png

To this day one can visit Ireland and see the rock on the bridge where quaternions were born. In fact, in Hamilton’s honor there is a parade every year through the bridge on October 16.

Quaternions were a hot topic in the 1840s when Hamilton discovered them. But for the next 150 years they were mostly a mathematical curiosity. It was not until the late 20th century that we found widespread applied uses of Quaternions. Hence, it would not be a stretch to say that quaternions is a field of mathematics that has had a recent rebirth.

Main Discussion

$ a+b=c $

Applications

Theoretical mathematics is an academic pleasure. A mathematician loves analysis and abstract algebra more than anything. But it is amazing to see the wonders of mathematics when applied to the real world. Quaternions have lived both lives for most of the 19th and 20th century quaternions had theoretical attributes. However, at the dusk of the 20th century but even more at the dawn of the 21st century, we saw real world applications of Quaternions. A lot of them employ the fact that quaternions can be used to model rotations.

Aeronautics is a major new prospect for use of quaternions. Orientation is a big part of flight. When aerospace was gaining traction, many were worried about the preciseness of mathematics needed to execute these missions to the accuracy that they require. Gimbal lock is a major problem in this field. Gimbal Lock refers to a common problem in 3D where modeling becomes hard when 2 of your 3 axes align and are basically the same because then you lose a degree of freedom. When using other methods to model rotations like matrices, these problems exist but if quaternions are used we can completely avoid Gimbal Lock.

The image below shows normal orientation versus Gimbal lock. Screenshot 2020-12-02 110911.png

Robotics is also a major application of quaternions. In fact, we can map the rise of robotics and the comeback of quaternions and we will notice that they follow a very similar trend. Robots also need to worry about rotation and orientation. Simple and crude robots only have the ability to move translationally. But with state of the art technology and public demand, there is a dire need to improve our robots and make them even more advanced. Quaternions again allow to circumvent the Gimbal Lock but also are a better and more compact method of storing data than rotation matrices.

Physics in general including quantum mechanics and electromagnetisms have found ways to utilize quaternions to make processes simpler. In fact both Maxwell in his work on electromagnetism and Heisenberg on his work of modern physics wrote and used quaternions in their work. Many scientists and mathematicians were a big fan of quaternions because it compressed their notation a lot and made it much simpler than using matrices or other methods.

Overall, quaternions have many more uses than we have discussed here. Many articles say that phones and electric toothbrushes use quaternions all the time. Anything that has to do with orientation and collecting data on the orientation of something like a rocket or a mobile tablet employs quaternions in one form or another. So while quaternions might have been a mathematical curiosity 150 years ago, now have many real world applications and are changing the world, one rotation at a time.

References

Images

https://www.google.com/search?q=hamilton+rock+quaternion&safe=active&rlz=1C1ZKTG_enUS917US917&sxsrf=ALeKk00eSUXBwvdR_ieT1AKk3K-R94kwrg:1606758604159&source=lnms&tbm=isch&sa=X&ved=2ahUKEwjNrdye6qrtAhUMQ80KHZ-HAZoQ_AUoAXoECAcQAw&biw=1536&bih=722&dpr=1.25#imgrc=hi3zU59fNKnfiM (Quaternion Rock)

https://www.google.com/search?q=hamilton+rock+quaternion&safe=active&rlz=1C1ZKTG_enUS917US917&sxsrf=ALeKk00eSUXBwvdR_ieT1AKk3K- (Gimbal Lock)


Content Sources

https://www.mathsisfun.com/definitions/ (Introduction)

https://en.wikipedia.org/wiki/History_of_quaternions (History)

https://www.irishtimes.com/news/science/the-many-modern-uses-of-quaternions-1.3642385 (Applications)

http://www.zipcon.net/~swhite/docs/math/quaternions/applications.html (Applications)


Further reading

https://www.maa.org/sites/default/files/images/images/upload_library/46/HOMSIGMAA/Buchmann.pdf
(Mathematical History of Development of Quaternions)

https://link.springer.com/chapter/10.1007%2FBFb0047690 (Physics and Software Applications of Quaternions)

https://en.wikipedia.org/wiki/Euler%27s_formula (Euler's Formula and its Applications)

Alumni Liaison

has a message for current ECE438 students.

Sean Hu, ECE PhD 2009