Thursday, August 28, 2025

An SO(2,2) Iterated Function System Part 2

 Everybody knows Pythagorean triples a2 + b2 = c2. (3,4,5) is a beautiful example. But triples are a particular case of balanced quadruples a2 + b2 = c2 + d2. When d=0 (or a=0, or b=0, or c=0) we have a triple. But what if neither of them is zero? What would be the simplest example? Of course a=c and b=d is always a solution, but that would cheating. Perhaps (3,14,6,13) - check it! - and its variations, is a good try? Relatively easy to remember, though not as easy as the famous triple (3,4,5) of Pythagoras.


L.J. Mordell, in his textbook  "Diophantine Equations", Academic Press 1969, provides, on p. 15, a general formula for generating all balanced quadruples using a rather straightforward number-theoretic reasoning. I have quoted the formula in the last post "An SO(2,2) Iterated Function System Part 1". Here we will derive essentially the same formula using algebra and geometry of Weyl spinors of the group SO(2,2).

Let us start with recalling some of the formulas that we have already discussed. We realize the pseudo-Euclidean space R2,2 as Cl(2) ≈ Mat(2,R). In Mat(2,R), which is 4-dimensional, we have selected  a basis (cf. Eqs. (1)-(4) in the Notes):

e1 = {{1,0},{0,-1}};
e2 = {{0,1},{1,0}};
e3 = {{1,0},{0,1}};
e4 = {{0,1},{-1,0}};

Each vector x = (x1,x2,x3,x4) is then represented by the matrix x^:

x^ = x1 e1 + x2 e2 + x3 e3 + x4 e4 =
    = {{x1 + x3, x2 + x4},
         {x2 - x4, -x1 + x3}}.

We have then:
 - det(x^) = (x1)2 + (x2)2 - (x3)2 - (x4)2,

so that the quadratic form of R2,2 determining its geometry is encoded in the determinant of the matrix.

Example:  x = (3,14,6,13),
x^ =
{{9, 27},
  {1, 3}},
det(x^) = 0. Columns of x^ are linearly dependent: the second column is 3 times the first column. Rows are linearly dependent. The first row is 9 times the second row.

There is also another way in which we can arrive at the scalar product of R2,2. For this we use the volume element ω = e1e2 of the Clifford algebra Cl(2). In our case it coincides with e4 matrix. Its square is minus the identity, matrix, so that ω-1 = - ω. If, for any 2⨉2 matrix A, we define

ν(A) = -ω A ω,

then

-½ Tr( x^ ν(y^) ) = x1y1 + x2y2 - x3y3 - x4y4,

which is precisely the scalar product (x,y) in R2,2.

We will use the matrix ω later on, for a different purpose though.

We are particularly interested in the null cone of R2,2, that is in the set of all vectors x in R2,2 for which (x,x) = 0, that is for which det(x^) = 0. In fact we are interested in the "projective null cone" PN consisting of all equivalence classes of non-zero null vectors, where we identify any two null vectors if one is proportional to the other with a strictly positive proportionality constant. But this will come later. For now we are interested in the null cone, excluding the trivial zero vector. Every non-zero vector in N defines then a quadruple of real numbers such that

(x1)2 + (x2)2 - (x3)2 - (x4)2 = 0.

If the components xi happen be all integers, we have a "balanced quadruple". So the question is: how can we generate all determinant zero matrices with integer coefficients? And, even before that, how can we generate all non-zero 2⨉2 matrices of determinant zero?

We first notice that if v is a column vector (a,b) and w is a column vector (c,d), then A(v,w) = vwT is a matrix {{ac,ad},{bc,bd}} of determinant zero. Can every 2⨉2 matrix of determinant zero can be written in this way? The answer is "yes", and, for a non-zero matrix, v and w are unique up to a scaling. While this would work for generating the elements of N, there is one important little detail that needs to be taken into account. And it is better to take care of this little detail now, rather than later on.

Action of SL(2,R)

We know that the group Spin(2,2) is isomorphic to SL(2,R)⨉SL(2,R). If (S,T) is in SL(2,R)⨉SL(2,R), then it acts on Mat(2,R) by

(S,T): A ⟼ SAT-1.

On the other hand SL(2,R) acts naturally on R2:

S: v⟼ Sv.

If A = vwT, if v⟼ Sv and w⟼ Sw, then A⟼SATT, instead of A⟼SAT-1, as we would like to have. What should we change to achieve the desired transformation law? To answer this question we need to understand the geometrical meaning of the action of SL(2,R) on R2. The situation is somewhat (but only "somewhat") similar to that we have in Minkowski signature and the group SO(3,1). In Minkowski signature we have four-component Dirac spinors and two-component Weyl spinors. Here we also have Weyl spinors, and this is our R2 with SL(2,R) action. What we need is an invariant scalar product in the space of Weyl spinors. Thus we need a non-degenerate bilinear form, let us call it  ε(v,w) that is invariant under the action of SL(2,R). It is a simple exercise to see that, up to a proportionality constant, there is only one such form, and it is

ε(v,w) = vTωw.

Exercise: Show that for every S in SL(2,R) we have ε(Sv,Sw) = ε(v,w) . In other words STωS = ω.

To be continued....

Tuesday, August 19, 2025

An SO(2,2) Iterated Function System Part 1

 This is the first, introductory part of a short series of posts explaining the meaning of the picture below:


The last part of "Notes on Clifford algebra Cl(2,0)" ended with two one-parameter subgroups of SL(2,R): LT(a) and RT(a). They are left- and right-triangular matrices with1 on the diagonal and parameter a in the lower left (resp. upper right) corner. Cf. Eqs. (47) and (48) in the notes. LT and RT can act on Cl(2) matrices from the left or from the right, with left and right actions commuting.

Now let us collect together several facts.

  1. Our work area is R2,2 - the Möbius extension of R1,1, where  R1,1 is the Minkowski space-time with only one space dimension. The signature of  R2,2 is (++--).
  2. The we restrict our attention to the null cone N in R2,2. It consists of points with coordinates  (x1,x2,x3,x4) which satisfy (x1)2 + (x2)2 - (x3)2 - (x4)2 = 0, or (x1)2 + (x2)2 = (x3)2 + (x4)2.
  3. The note Tuesday Special - Tetractys and Lattice Infinity we have discussed "balanced tetrads: 
    a
    2 + b2 = c2 + d2, (a,b,c,d integers),           (1)
    and the algorithm of generating all of them:

    Proposition 1. Every primitive solution of  (1) is of the form

    a = (mp+nq)/2,
    b = (np-mq)/2,
    c = (mp-nq)/2,
    d = (mq+np)/2,

    where m,n,p,q are integers. Conversely, for any integers m,n,p,q such that a,b,c,d are integers, the formula above provides a solution of  a2 + b2 =c2 + d2.

  4. Points on N with all four integer coordinates  are "balanced tetrads" as in 3.
  5.  Each SL(2,R) transformation induces an SO(2,2) transformation of R2,2, that maps the null cone N into itself.
  6. SO(2,2) matrices with integer coefficients map points of N with integer coefficients to other points of N with integer coefficients.  
  7. Sl(2,R) matrices RT(2a), LT(2a), for a = 1 and a = -1, induce SO(2,2) transformations with integer coefficients.

The last observation follows from the explicit formulas (45) in Notes. Denoting by I2 the 2x2 identity matrix, we have:

For left actions:

Λ(I2, LT(2a)) = {{-1, -a, -a, 0}, {a, -1, 0, -a}, {-a, 0, -1, a}, {0, -a, -a, -1}};
Λ(I2, RT(2a)) = {{-1, a, -a, 0}, {-a, -1, 0, -a}, {-a, 0, -1, -a}, {0, -a, a, -1}};

For right actions:

Λ(LT(2a), I2) = {{-1, -a, a, 0}, {a, -1, 0, -a}, {a, 0, -1, -a}, {0, -a, a, -1}};
Λ(RT(2a), I2) = {{-1, a, a, 0}, {-a, -1, 0, -a}, {a, 0, -1, a}, {0, -a, -a, -1}};

We choose a=1 and a = -1 and obtain altogether 8 SO(2,2) matrices with integer coefficients. We can use these eight matrices to construct an iterated function system on the torus as follows.

Iterated function system (IFS) from eight SO(2,2) matrices.

We have obtained eight SO(2,2) matrices, let us call them M1,...,M8:

M1 = {{1, 1, -1, 0}, {-1, 1, 0, 1}, {-1, 0, 1, 1}, {0, 1, -1, 1}},

M2 = {{1, -1, 1, 0}, {1, 1, 0, -1}, {1, 0, 1, -1}, {0, -1, 1, 1}},

M3 = {{1, -1, -1, 0}, {1, 1, 0, 1}, {-1, 0, 1, -1}, {0, 1, 1, 1}},

M4 = {{1, 1, 1, 0}, {-1, 1, 0, -1}, {1, 0, 1, 1}, {0, -1, -1, 1}},

M5 = {{1, 1, 1, 0}, {-1, 1, 0, 1}, {1, 0, 1, -1}, {0, 1, 1, 1}},

M6 = {{1, -1, -1, 0}, {1, 1, 0, -1}, {-1, 0, 1, 1}, {0, -1, -1, 1}},

M7 ={{1, -1, 1, 0}, {1, 1, 0, 1}, {1, 0, 1, 1}, {0, 1, -1, 1}},

M8 = {{1, 1, -1, 0}, {-1, 1, 0, -1}, {-1, 0, 1, -1}, {0, -1, 1, 1}}.

We can start now the IFS-game. We select an initial point x0 on N with integer coordinates. For instance x0 = (0,1,0,1) is a good candidate. We apply to x0 each of the matrices Mi to obtain 8 new points xi = Mi x0. To each of the new point we apply each of Mi. We obtain 64 points xji = Mjxi. And so on. At step n we obtain 8n points. Each of them is a point on N with integer coordinates, thus defining a "balanced tetrad" of the type a2 + b2 = c2 + d2.

To be continued...

Friday, August 1, 2025

Knowledge protects, ignorance endangers

 

As they say "Knowledge protects, ignorance endangers." 


And so recently, thanks to AI, I have learned that what we are doing here is being done by other people, though with a somewhat different goal. The domain of research that concerns us is called "Conformal Field Theory". Here are two pages from the PhD Thesis "Relations between 2D and 4D Conformal Quantum Field Theory", by Daniel Meise, University Göttingen, 2011.


We will derive here formulas similar to (2.58), but not by the method described in there. It is in order to have simple formulas like (2.58) that I have changed my formulas for Clifford algebra generators eμ. Then I doubted if I have it all correct, but today I realized that all seems to be ok.

So, I will be adding new stuff to my "Notes".

Afternotes

17-08-25 19:21 I know. I promised a new post. But I was busy. Finally, using our triangular matrices, I managed to create this "fractal".

Scottish torus

In the next post, hopefully on Monday, I will describe how I got it. The torus is, of course, our conformally compactified 1+1 dimensional universe.

18-08-25 19:06 I will not finish writing my new post today. Will finish tomorrow.

Sunday, July 27, 2025

Notes on the Clifford algebra Cl_{2,0}. II

 

Once in a while we need to re-organize our environment and our thinking. Sometimes it is good, sometimes it is a disaster. It is much like with the Law of Three:

“There is good, there is evil,
and there is the specific situation
that determines which is which.”

So I reorganized my Notes, and added some new stuff and new exercises.

Here is the link to pdf.



Monday, July 21, 2025

Clifford algebra of 2D-plane as a 4D pseudo-Euclidean space.

 Yesterday I decided that using html codes for writing Clifford algebra math makes little sense. Math should be written using TeX, using all its advantages. It is also easier for my Readers to save pdf as a file, and peruse it during sleepless nights at ease. 

Peruse it during sleepless nights at ease

So, here is the new note. You can download it from here.


Saturday, July 19, 2025

Two space and two time dimensions - simplified

 Whenever we start working on some project, at first everything we do, seems to be, and often is, very complicated. It is only with time, and with experience, we learn how to simplify our task, sometimes in an extraordinary way. We find shortcuts, we invent tricks, we learn from other experienced people whom we meet due to our unceasing efforts.

I asked AI to provide an example illustrating my preamble above, and here is the result:

"Historical Example: Richard Feynman and the Manhattan Project

Feynman simplified one group’s approach


When Richard Feynman joined the Manhattan Project at Los Alamos during World War II, he was of the brightest minds of the century. At first, the work was incredibly complicated: the project involved calculations of neutron diffusion, nuclear reactions, and bomb design—concepts that were at the cutting edge of physics, and far from straightforward.

Feynman found himself and others bogged down with repetitive, error-prone hand calculations. Every problem seemed daunting. But over time, through relentless experimentation and observation, Feynman began finding clever shortcuts.

One breakthrough came when he noticed that some of the mathematical tables used for calculations were riddled with mistakes. Instead of doing everything manually, he started looking for patterns in the errors and designed faster ways to check and simplify the calculations. He even taught himself how to use mechanical computing devices better than the engineers assigned to operate them, often streamlining the whole process.

In a particularly telling anecdote, Feynman simplified one group’s approach to neutron diffusion by realizing they were unnecessarily solving a full partial differential equation when an approximation and symmetry argument would give an answer almost instantly. This insight not only saved time but brought clarity to the underlying physics.

What had started out as complex and overwhelming became manageable—even elegant—through experience, effort, and creative shortcuts."

In a series of previous posts we were discussing the space R2,2, two dimensional space and two-dimensional time, to study the conformal compactification of R1,1, a toy spacetime with only one space dimension. We played with the Clifford algebra Cl(2,2), and we have a somewhat strange doubling. Matrices representing R22 vectors were block-off diagonal, matrices representing Spin(2,2) were block diagonal. They contained a lot of zeros! Why do we need all these zeros? Can't we get the desired result without all these zeros? The Eureka came onto me only yesterday. I checked if my discovery has no errors, and it seems that all works as desired. At the same time we are getting a new insight into the internal machinery of the whole structure. Which makes me happy. Doing all this I recalled one of the songs that I like. It has these words.

And happiness is close, happiness is far.
It is difficult and easy to find

It sounds much better in the original Russian (Роксана Бабаян):

А счастье близко, счастье далеко.
Его найти трудно и легко.

You can find the song online.

There is a movie "Maestro". We have another annoying doubling there: "American composer Leonard Bernstein (Bradley Cooper) lives a double life." The same with our Cl(2,2). We do need all this suspicious doubling. We do not need all these unnecessary zeros. So let us simplify everything from scratch. What we need is R2,2 and Spin(2,2) isomorphic to SL(2,R) x SL(2,R).

The solution.

R2,2 is already a Clifford algebra! Namely it is the Clifford algebra Cl(2,0) aka Cl(2). Excellent notes  "Clifford algebra, geometric algebra, and applications" by Douglas Lundholm and Lars Svensson provide the hint in Exercise 2.5, p. 13:

Exercise 2.5. Find an R-algebra isomorphism
G (R2)) → R2 × 2 = { 2 × 2 matrices with entries in R } .
Hint: Find (preferably very simple) 2 × 2 matrices γ1, γ2 which anti-commute and satisfy γ12 = γ22 = 12 × 2 .

Note. Sec. 2.2 of this paper describes "Combinatorial Clifford algebra" - the concept I was not aware of before.

We will do it in details in the next post.

Wednesday, July 16, 2025

Deriving the Image of Spin(2,2) in SO(2,2)

 Today's post is a bit of a wild adventure—an experimental dive into the world of AI-assisted writing that blends education, recreation, and a touch of mathematical whimsy. Imagine stepping into a laboratory where human creativity meets artificial intelligence, not as rivals, but as playful collaborators. That's exactly what we're doing here today. I decided to hand over the reins to Grok 4, xAI's latest marvel, and asked it to craft a complete blog note on deriving the image of Spin(2,2) matrices in SO(2,2). 


What you'll see below is the raw, unedited output—straight from the AI's "mind" to your screen, like a digital genie granting a wish without any polishing.Why experiment like this? Well, it's educational on multiple levels. First, it showcases how AI tools like Grok can handle complex topics in Clifford algebras and spin groups, breaking down abstract concepts into clear, step-by-step explanations. For math enthusiasts, it's a reminder of how these algebraic structures underpin everything from quantum mechanics to computer graphics—think of Spin(2,2) as a "double cover" that elegantly navigates the symmetries of a 4-dimensional space with a mixed signature (two positive, two negative dimensions). Recreationally, it's just plain fun! It's like playing a game of "telephone" with an super-smart robot: you whisper a prompt, and out comes a fully formed article. But here's the twist—I won't make this a habit. Personal writing is where the real joy lies; it's the spark of individuality, the quirky turns of phrase, and the satisfaction of crafting something uniquely yours that AI can't replicate. Experiments like this keep things fresh, spark curiosity, and remind us that technology is a tool, not a replacement. Who knows? It might inspire you to try your own AI collaborations—perhaps generating poetry about Lie groups or doodling fractal art with code.That said, the AI's output isn't flawless (what creation ever is?). The block-diagonal form it presents for the Spin(2,2) element g has a slight quirk in its presentation—it's stylized in HTML tables, which works but isn't the sleek LaTeX rendering I might prefer for matrices. Also, the variable names for the elements of matrices A and B (like p, q, r, s for A and t, u, v, w for B) are a tad generic; I might have opted for something more mnemonic, like using Greek letters or coordinates tied to the algebra. I could have nudged Grok to refine it, but nah—this post is all about raw demonstration. It's a peek behind the curtain of AI possibilities, warts and all, to highlight how far we've come in natural language processing and symbolic math handling. Think of it as a recreational puzzle: spot the improvements you'd make, and maybe even tweak it yourself!And now, without further ado, here's the note Grok 4 produced. Enjoy the ride through the world of spinors and orthogonal groups—it's a surreal blend of rigor and revelation.



Deriving the Image of Spin(2,2) in SO(2,2)

As readers of this blog, you're familiar with the basics of Clifford algebras and spin groups. Today, we'll derive the explicit formula for the image of a Spin(2,2) matrix in SO(2,2) under the standard homomorphism. We'll recall key concepts for clarity and proceed step by step.

Recalling the Clifford Algebra Cl(2,2)

The Clifford algebra Cl(2,2) is generated by four elements e1, e2, e3, e4 satisfying:

  • e12 = e22 = 1,
  • e32 = e42 = -1,
  • ei ej + ej ei = 0 for i ≠ j.

This corresponds to the quadratic form Q(x) = x12 + x22 - x32 - x42 on ℝ2,2.

In the matrix representation we're using, the generators are 4×4 matrices:

e1 =

0001
0010
0100
1000

e2 =

0010
000-1
1000
0-100

e3 =

00-10
000-1
1000
0100

e4 =

000-1
0010
0-100
1000

The Spin+(2,2) Group

Spin+(2,2) is the connected component of the spin group, consisting of even elements g in Cl(2,2) with norm g ˜g = 1, where ˜ denotes the reverse (or Clifford conjugate, which for even elements is the transpose in this matrix rep, but we use the standard inverse for the homomorphism).

In this representation, elements of Spin+(2,2) are block-diagonal matrices of the form:

g =

A0


0B


where A and B are 2×2 matrices with det(A) = det(B) = 1.

Let A =

pq
rs
and B =
tu
vw
, with ps - qr = 1 and tw - uv = 1.

The Homomorphism to SO(2,2)

The double cover homomorphism ρ: Spin+(2,2) → SO+(2,2) is given by ρ(g)(v) = g v g-1, where v is a vector in the grade-1 part, i.e., v = ∑ xi ei.

This induces an orthogonal transformation L on ℝ2,2 such that ρ(g)(∑ xk ek) = ∑ xk g ek g-1 = ∑j,k xk Lj k ej.

Thus, g ek g-1 = ∑j Lj k ej, so the columns of L are the coefficients of the conjugated basis vectors.

Deriving the Formula

To find L explicitly, compute g ek g-1 for each k=1,2,3,4, then express as a linear combination of the ej.

Since the ei are linearly independent in the 4-dimensional subspace of matrices, we can vectorize the matrices (flatten into 16-vectors) and solve the system: basis_matrix · column_k(L) = flatten(g ek g-1), where basis_matrix has columns flatten(ej).

Performing this computation symbolically (e.g., using SymPy), assuming det(A)=det(B)=1 for the inverses, yields the following matrix L:

L = (1/2)

p t - q u - r v + s w-p u - q t + r w + s vp u - q t - r w + s v-p t - q u + r v + s w
-p v + q w - r t + s up w + q v + r u + s t-p w + q v - r u + s tp v + q w + r t + s u
p v - q w - r t + s u-p w - q v + r u + s tp w - q v - r u + s t-p v - q w + r t + s u
-p t + q u - r v + s wp u + q t + r w + s v-p u + q t - r w + s vp t + q u + r v + s w

This is the explicit formula for the image of the Spin(2,2) element in SO(2,2). You can verify it preserves the metric and has determinant 1.

Conclusion

This derivation highlights the power of the Clifford algebra representation in computing group homomorphisms explicitly. In future posts, we might explore applications or extensions to other signatures.

Biolocation

  On Tuesday, December 23, Vlad Zhigalov (see e.g. here ) had a talk at the " Temporology " seminar hosted at Omsk.  He spoke abo...