Investigating 3D geometric algebra

From testwiki
Revision as of 02:12, 25 February 2023 by imported>Bluegiant69202 (I added a reference to Geometric Algebra for Physicists by Doran and Lasenby to assist the writing of this section on rotating vectors.)
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)
Jump to navigation Jump to search
William Kingdon Clifford (1845-1879)

Geometric algebra has been around since the work of William Clifford in the 19th Century but was relatively unknown until a resurgence in the 1980's through the work of David Hestenes. Since then, Geometric algebra has become a popular way of describing many problems in physics and other areas[1].

Unfortunately Geometric algebra is often introduced using many terms and symbols that are foreign to most people, the result being that it remains inaccessible to many without a sufficient background in Mathematics. The primary goal of this learning project is to introduce Geometric Algebra in an accessible and fun way for people with a high school background in Math and Physics.

Project Summary

Project Goals

This learning project aims to:

  • introduce you to Geometric Algebra within our familiar three-dimensional space.

Target participants

This learning project is targetted at people with an interest in maths or Physics. If you're interested in either topic, then you might enjoy learning, participating, contributing, editing, simplifying or just helping me understand my mistakes.

Assumed background knowledge/skills

You can start learning Geometric Algebra with a high school level of algebra and geometry. For this learning project, if you can answer the following without too much effort (and without a calculator!), then you should be fine:

  • What is the value of x if x23=12?
  • Expand (x+3y)(2x+y).
  • What shape is created by tracing out the points p1=(2,0,0), p2=(2,1,0), p3=(0,1,0), p4=(0,0,0)?
  • What is the distance between the points p1=(1,1) and p2=(0,-1)?
  • What is the value of cos(60) (Hint: You'll need to draw an equilateral triangle with sides of length 2 and remember SOH-CAH-TOA)?
  • What is the value of sinπ2?
  • Is cos(100) positive or negative (All Stations To Central or All Students Take Calculus)

If you find any of the above difficult then you may want to revise some of your algebra or geometry, otherwise you are ready to start! The following skills, although not essential, will be very helpful for understanding Geometric Algebra:

  • A good mental model of 3 dimensional vectors: if you can visualise the dot and cross product of two vectors it will help you visualise Geometric Algebra. (TODO: reword into a skill)

An introduction to Geometric Algebra

Two dimensional coordinates: Starting with the familiar

Two dimensional cartesian coordinate's are usually familiar to those of us with a high school Mathematics background. Typical uses of Cartesian Coordinates in high school is to plot parabolas such as f(x)=x2 and visualising where they intersect the x and y-axis, or simply to draw two dimensional geometric shapes such as triangles or parallelograms.

Template:Activity

Two dimensional vector spaces: The first step

Three dimensional coordinates

Fig. 2 - Three dimensional Cartesian coordinate system with the z-axis pointing towards the observer.

A three dimensional cartesian coordinate system can be created quite easily by simply adding an extra z-axis that is perpindicular to the x and y-axis and pointing out of the page. (add ref about Right-hand-rule).

Any point in a 3D space can then be represented using the coordingates along the x, y, and z axis respectively as:

a=(ax,ay,az).

Using an extension of Pythagoras' theorem (called the Euclidean distance), the square of the distance between the point a and the origin is:

|a|2=ax2+ay2+az2

Challenges

  • What is the distance between the point p=(1,2,2) and the origin?
  • What is the distance between the points p=(1,2,2) and q=(1,1,2)?
  • Define the points to describe a cube centred on the origin, with a side-length of 2 units.

A three dimensional vector space

Fig. 2 - Three dimensional vector space with the z-axis pointing towards the observer.

The geometry of three-dimensional space can be represented similarly using three basis vectors

𝐱,𝐲

and

𝐳

[2], one along each of the

x,y

and

z

-axis, where each basis vector has a length of 1 unit.

Any three-dimensional vector can then be represented as a combination of these basis vectors,

𝐚=ax𝐱+ay𝐲+az𝐳

as shown in Figure 2.

Traditionally, there are two ways that you can multiply vectors: the dot product, and the cross product. It will be helpful at a later point to visualise the dot and cross product as they reveal themselves in Geometric Algebra (maybe a separate Learning Project: Visualizing vector products?), but for the moment it is enough to note that in Euclidean space, where our basis vectors are all perpendicular to each other (orthogonal) and of length 1 (normal), there is a strong relationship between the dot product and the length of a vector. For a vector a,

𝐚𝐚=ax2+ay2+az2

which is equivalent to the definition of |𝐚|2 for Cartesian coordinates above.

Activities: Define 3 vectors, calculate various dot products, answer lengths. Include x.x and x.y.


Multiplying two vectors

The multiplication of two such vectors can then be written as

πšπ›=(ax𝐱+ay𝐲+az𝐳)(bx𝐱+by𝐲+bz𝐳)

evaluating as

πšπ›=axbx𝐱2+ayby𝐲2+azbz𝐳2+aybz𝐲𝐳+azby𝐳𝐲+azbx𝐳𝐱+axbz𝐱𝐳+axby𝐱𝐲+aybx𝐲𝐱 but to go any further, we need to define the geometric product for our basis vectors to evaluate xx and xy etc.

The Geometric Product

If we define the length-squared of a vector to be equal to the vector squared:

𝐚2=|𝐚|2=ax2+ay2+az2

(TODO: Make the following an activity) then calculating 𝐚2, 𝐚2=ax2𝐱2+ay2𝐲2+az2𝐳2+ayaz𝐲𝐳+azay𝐳𝐲+azax𝐳𝐱+axaz𝐱𝐳+axay𝐱𝐲+ayax𝐲𝐱

For our definition of length to hold,

𝐱2=𝐲2=𝐳2=1

which, according to our definition simply means that our basis vectors are of unit length (normal), and

𝐱𝐲=𝐲𝐱,
𝐲𝐳=𝐳𝐲,
𝐳𝐱=𝐱𝐳,

which implies that our basis vectors are all at right-angles to one another (orthogonal). Get to:

πšπ›=πšπ›+(𝐚×𝐛)𝐱𝐲𝐳

Rotating vectors in 3D space

Someone who know's their "sh*t" SEND HELP !!! [3]

Let's remove Quaternions from every 3D Engine (An Interactive Introduction to Rotors from Geometric Algebra) by Marc ten Bosch[4]

Geometric Algebra for Physicists by Chris Doran and Anthony Lasenby[5]

References

  1. ↑ w:Geometric algebra, Accessed on 27th August 2006.
  2. ↑ Include a note about alternative basis vectors 𝐒,𝐣 and 𝐀,, as well as 𝐞1,𝐞2,𝐞3, or 𝐒^,𝐣^,𝐀^.
  3. ↑ Template:Cite web
  4. ↑ Template:Cite web
  5. ↑ Template:Cite web