Deriving the Pauli Matrices

Tags: #Mathematics/GeometricAlgebra #Mathematics/LinearAlgebra #Mathematics/Spinor

0 : Overview

This article provides a derivation for the Pauli spin matrices by showing that they arise naturally when looking for a matrix representation of the Clifford algebra Cl3 (also known as the Algebra of Physical Space or simply 3D (Vanilla) Geometric Algebra).

1 : Two Dimensions

1.1 : Recap of 2D Geometric Algebra

The 2D geometric algebra Cl2 consists of multivectors M2 with expansions like so:[1][2]

M2=a+bx^+cy^+dx^y^

The geometric product between vectors is as follows:[1:1][2:1]

uv:=uv+uv

The first term is just the standard interior (dot) product between vectors; the second term is the exterior (wedge) product, which is anti-commutative and produces a bivector:

uv=vu=uv(sinθ)x^y^

Just as a vector is an "oriented line segment", a bivector is an "oriented plane segment". In 2D, there is only the xy-plane, so we have only the +x^y^ and x^y^ orientations. Since the unit scalar 1 also only has +1 and 1 orientations, we call x^y^ the unit pseudoscalar of 2D G·A.[1:2][2:2]

Note that parallel vectors' geometric product is just the interior product, while perpendicular vectors' geometric product is the exterior product:[1:3][2:3]

uv=uv,uv=uv.

Since we are working with an orthonormal basis, the geometric product of our basis vectors is just their wedge product, so x^y^=x^y^.

Using anti-commutativity of and the fact that x^ is perpendicular to y^, we have the following:

(x^y^)2=x^y^x^y^=y^(x^x^)y^=y^y^=1

So x^y^ squares to 1, just like the imaginary unit i. We shall define x^y^=:ı^ for this reason.

Now our multivector looks like a complex number added to a 2D vector:

M2=(a+dı^)+(bx^+cy^)

1.2 : Representation of Complex Numbers

A real number k has a trivial 2×2 matrix which behaves just like multiplication by k:

k1=[k00k]kA=k1A

For any 2×2 matrix A. So 1 is a 2×2 matrix representation of the scalar 1. We might wonder — is there a 2×2 matrix representation for the complex i? Let's try to find one! We set up the defining equation i2=1 in terms of 2×2 matrices, and solve:

[abcd]2=1[abcd][abcd]=[1001][a2+bcb(a+d)c(a+d)bc+d2]=[1001]

We want real-valued entries, so a=d=i isn't a valid solution to our problem. So instead, we'll try setting a=d=0:

[bc00bc]=[1001]

Therefore we must have b=1/c. A simple solution is c=1 so that b=1. (There are many alternative solutions, but this is the one I'll be using.)

Thus, we have a real-valued matrix representation for i !

[0110]2=[1001]

A general complex number p+qi then has this matrix form:

p+qi[pqqp]

Where '' denotes the representation mapping here.

1.3 : Representation of Vectors

Since 2D V·G·A's unit scalar 1 and pseudoscalar ı^ behave just like the complex 1 and i, these same representations work here as well! This then begs the question: are there 2×2 matrices for x^ and y^ also?

To begin, let's do a 'sanity check': do we even have enough degrees of freedom in 2×2 matrices to represent a 2D multivector? A 2×2 matrix has four independent components, so requires four basis matrices to span the space. We've already used up two by defining matrices for 1 and i, so we have two degrees of freedom left. This is a great sign, since we only have two objects (x^ & y^) we want to assign matrices to!

In fact, if we can find matrices for x^ and y^, we'll have a complete basis for 2×2 real-valued matrices! This would show that 2D G·A is in fact equivalent to our matrix space:

Cl2R2×2

The symbol denotes an isomorphism, which you may consider a technical term for "equivalence" in this context.[3]

With our sanity check out of the way, let's see if we can find the desired matrix representations! We have three key properties of x^ and y^ that our matrices must respect:

1:x^2=12:y^2=13:x^y^=y^x^=ı^

Just as we did for i, we'll write these equations in terms of matrices, and solve them.

Equations (1) & (2):

[abcd]2=[1001][a2+bcb(a+d)c(a+d)d2+bc]=[1001]

This is very similar to what we had for i's matrix, but now we have 1 instead of 1. We need to find two distinct solutions, one for x^ and one for y^.

The first solution will be similar to that for i. We set a=d=0 to ensure the off-diagonal elements are taken care of. Then we see that b=1/c, and we set c=b=1. Then:

x^?[0110]

This is still just a hypothesis at this stage — while this matrix squares to 1, we don't know if it will work with y^ for equation (3).

For the second solution, we instead set b=c=0. This also takes care of the off-diagonal elements. We then see we need a2=b2=1. We can't have a=b, since then we'd just have a1, which isn't a new matrix! We thus set a=b=1 instead:

y^?[1001]

Finally, we just check equation (3) to verify x^y^=y^x^=ı^ holds:

[0110][1001]=[0110][1001][0110]=[0110]

Indeed, it does, so the matrices we found meet all requirements for x^ and y^ !

1.4 : Representation of Cl(2)

Now we have a full representation for 2D G·A!

Matrix Representation for 2D G·A

1[1001],y^[1001],x^[0110],ı^[0110].

The generic multivector M2 from previously then has this representation:

a+bx^+cy^+dı^[a+cbdb+dac]

Since we can translate from Cl2 multivectors to 2×2 real-valued matrices and back (see the exercise below), we do indeed have an isomorphism between the two spaces:

(Cl2R2×2)

2 : Three Dimensions

2.1 : Recap of 3D Geometric Algebra

In 3D, we have an extra basis vector, z^, so a generic multivector M3 expands like this:[1:4][2:4]

M3=a+bxx^+byy^+bzz^+cxyx^y^+cyzy^z^+czxz^x^+dx^y^z^

I've separated it into the various-grade elements (scalar, vector, bivector, trivector / pseudoscalar) for added clarity.

The geometric product between vectors still works the same way, as do the interior (dot) and exterior (wedge) products. However, x^y^ is no longer the unit pseudoscalar since we have not only the xy-plane, but also the orthogonal yz and zx planes, and corresponding bivectors x^y^, y^z^, & z^x^. (So a general bivector is not limited to ±x^y^ anymore.) We can decompose any plane segment / bivector into a linear combination of the basis bivectors. Each plane is associated to a "normal vector" (the unit vector perpendicular to the plane), so we call bivectors the unit pseudovectors of 3D G·A.[1:5][2:5]

The unit pseudoscalar is instead now x^y^z^, since in 3D we have only the xyz-volume and therefore get only +x^y^z^ or x^y^z^ orientations.[1:6][2:6]

Note that x^y^z^ also squares to 1 :

(x^y^z^)2=x^y^z^x^y^z^=(x^x^)y^z^y^z^=z^y^y^z^=1

So, since the 3D pseudoscalar also behaves like i — but we've already used ı^ — I'll denote the unit trivector I.

Returning now to the bivectors, note that they all square to 1 (by the same proof as for x^y^). Since we previously had x^y^ corresponding to the imaginary unit i, perhaps our three bivectors correspond to the imaginary quaternion units i,j,k?

Recall the defining equations for quaternions:

i2=j2=k2=1ij=ji=kijk=1

We define the following:

κ^:=y^z^,ȷ^:=z^x^,ı^:=x^y^.

Now we verify that ı^ȷ^=ȷ^ı^=κ^:

ı^ȷ^=x^y^z^x^=y^z^=κ^ȷ^ı^=z^x^x^y^=z^y^=κ^

Finally, by associativity of the geometric product, ı^ȷ^κ^=κ^2=1. So indeed, the bivectors behave just like the imaginary quaternions!

Now our multivector looks like a quaternion added to a vector + pseudoscalar :

M3=(a+ciı^+cjȷ^+ckκ^)+(bxx^+byy^+bzz^)+dI

2.2 : Representation of the Pseudoscalar

We already have a representation for 1, x^, y^, and ı^, so we'll just keep them the same. How might we find representations for the other elements? To simplify this problem, we notice one key detail — we can write all missing elements as the pseudoscalar multiplied with elements we already have!

I=1Iz^=Iı^ȷ^=Iy^κ^=Ix^

(The proof of this is left as an exercise to the reader, see the end of this section.)

This helps us a lot! We only need to find one new matrix, that for I, and we get all the rest for free!

What should the matrix for I be? Here we run into a problem — we've already used all the possible real-valued 2×2 matrices! We've run out of degrees of freedom, so we are forced to extend our matrix space. How should we extend it, though?

We recall that I behaves like the imaginary i, but must be different to the matrix for ı^ we had previously. What other matrices can we think of that behave like i? A very simple option is just allowing complex entries in the matrix, which gives us this trivial i-like matrix:

I[i00i]=i1

Thinking about the degrees of freedom, we note that allowing complex entries doubles the (real) degrees of freedom from four to eight — which is precisely the number we need for 3D G·A! This makes it a very elegant "minimal" solution, in some sense, since it extends our space only as much as we need. By contrast, if we'd found 4×4 real-valued matrices instead, we'd have sixteen degrees of freedom where we need only eight, leaving us with a lot of "bloat".

We have left out one important detail here. The matrix above commutes with all other 2×2 complex matrices, which would imply that I commutes with everything in 3D G·A. Luckily, this turns out to be true, the proof of which is also left as an exercise (see below).

Having found a matrix for I, we use our equations from earlier to find the rest:

z^=Iı^[0ii0]ȷ^=Iy^[i00i]κ^=Ix^[0ii0]

This fills in all of our gaps!

2.3 : Cl(3) and Pauli Representations

Now we have a representation for 3D G·A!

Our Matrix Representation for 3D G·A

1[1001],y^[1001],x^[0110],ı^[0110],I[i00i],ȷ^[i00i],κ^[0ii0],z^[0ii0].

We also see that we again have an isomorphism, now between 3D G·A and the space of 2×2 complex-valued matrices:

(Cl3C2×2)

The rules for converting between matrices and multivectors is the same as in the 2D case, but now the coefficients are complex numbers, so the real or imaginary parts then yield the specific components we desire.

The Pauli matrices, denoted by σx, σy, and σz, are equivalent to the matrices we've found for x^, y^, and z^ here! Slightly frustratingly, however, Pauli has σzy^ and σyz^.[4] T

The reason I find this frustrating is that it causes the 2D G·A matrices to correspond to the x^ and z^ subspace of 3D G·A, rather than the x^ and y^ subspace you'd expect. (Presumably Pauli didn't start from the 2D perspective like we did.)

The Pauli representation then looks like so:

Pauli Matrix Representation for 3D G·A

1:=[1001],σz:=[1001],σx:=[0110],σzx:=[0110],σxyz:=[i00i],σxy:=[i00i],σyz:=[0ii0],σy:=[0ii0].

Where we've denoted products of matrices by combining their indices.

This completes the derivation of the Pauli matrices!

Conclusion and Spinor Discussion

As I have hopefully shown, the Pauli matrices are not just arbitrary, and in fact come about naturally when trying to find matrix representations of geometric algebras.

This might make you wonder — what is the connection between geometric algebra and spinors? (After all, the Pauli matrices are supposed to be operators that act on spinors.[4:1])

The answer, it turns out, is pretty much everything! The 'key idea' in geometric algebra is that vectors are not just objects, but linear transformations (via the geometric product). These linear transformations can, of course, act on other vectors, but they can also act on spinors, represented by two-components column tuples:[5]

x^ψ[0110][ψ0ψ1]

These spinors are called Pauli spinors since they work with Pauli vectors.[5:1]

Matrices can be constructed from Kronecker Products of column tuples with row tuples, and we can analogously think of (multi)-vectors as being constructed from tensor products of spinors with (dual) cospinors.[5:2] In a sense, that is what geometric algebra does. It recognises that it is not spin-1 vectors that are the "fundamental objects", but instead spin-1/2 spinors. This allows the interpretation of vectors as linear maps (both on spinors and other vectors), which gives rise to the geometric product!

No wonder geometric algebra simplifies so much of physics — we've been treating vectors as "fundamental" this whole time, when it should have been spinors! Mathematics rewards those who listen to her.

Appendix

Thanks for reading, and have a nice day!

Related Pages

A lonely page, it seems...


  1. A. MacDonald, Linear and geometric algebra, Nachdr. S.l.: Createspace, 2012. ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  2. sudgylacmoe - A Swift Introduction to Geometric Algebra ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  3. Wikipedia - Isomorphism ↩︎

  4. Wikipedia - Pauli matrices ↩︎ ↩︎

  5. eigenchris - Spinors for Beginners ↩︎ ↩︎ ↩︎