Three Dimensional Numbers
I was planning to write and publish this blogpost in late October 2024 but due to some relationship problems, mental health issues and emotional distress I delayed it for a bit.
If you have taken high school algebra class, I’m sure you are familiar with the Complex Numbers. Those of you who dealt with 3D rotations before might’ve heard of Quaternions, the 4D numbers. In this blogpost, we are going to aim for something in the middle, a number system with one real and two imaginary components, I call these, the “Triplex numbers”, with the form a+bi+cj where i and j are the basis elements.
First Steps
Complex numbers are defined by the identity i2=−1, similary quaternions also have similar identities, precisely, i2=−1, j2=−1 and k2=−1. Maybe, our numbers could be defined by i2=−1 and j2=−1. Let’s investigate the product ij and see if the math works out. Let ij=a+bi+cj(a,b,c∈R) Left-multiply everything by i i2j=ai+bi2+cij −j=ai−b+c(a+bi+cj)=ac−b+(cb+a)i+c2j Since this implies c2=−1, and c is a real number, there is no value of c that satisfies this equation, thus a system with i2=−1 and j2=−1 cannot exist.
We seem to have hit a huge road block, but don’t worry, with a slight modification, we’ll be able to define our number system. Instead of letting i2=−1 and j2=−1, we are going to let i3=−1 and j3=−1. Let’s try to find what i2 is equal to. Let i2=a+bi+cj Left-multiply everything by i i3=ai+bi2+cij −1=ai+b(a+bi+cj)+cij −1=ab+(a+b2)i+bcj+cij We know that (a+b2) and cb has to be equal to zero, since the latter involves multiplication of two real numbers, it is easier to investigate that. To make the product cb to equal to zero; either c, or b has to be equal to zero. Choosing one gives two different number systems, in this blog post we’ll investigate b=0 case. −1=ai+cij And since the left hand side has i terms, a=0. We’re going to pick c=−1. These identities are enough to have a number system with the properties; i3=j3=−1 ij=ji=1 i2=−j j2=−i
But this is not the only system that is consistent, there are more systems that are equally interesting for example; i3=j3=ij=ji=1i2=jj2=i(Triplex numbers of the 2nd kind)i3=ij=ji=−1j3=1i2=jj2=−i(Triplex numbers of the 3rd kind)j3=ij=ji=−1i3=1i2=−jj2=i(Triplex numbers of the 4th kind)
In fact, I first started studying triplex numbers of the 3rd kind and then ported my work to this number system.
Algebraic Operations
In this section, we’ll define some operations on the triplex numbers. Mathematically speaking, for it to be a ring, only addition, subtraction and multiplication suffices, but we’ll also define division (as an inverse of multiplication). Subtraction will be implicitly defined as the inverse of addition. Since in a ring, additive inverses must exist.
Addition is simple and intuitive. If you have two numbers x=a+bi+cj and y=d+ei+fj, then x+y=(a+d)+(b+e)i+(c+f)j.
Multiplication can be cumbersome to calculate, but it is just distributing multiplication over addition and combining like terms. Although, when it comes to the multiplication, there are some important questions to ask: “Is multiplication, commutative?”, “Do zero divisors exist?”, “Do units exist?”.
The answer to these three questions is yes. Showing commutativity is a trivial step, so I’ll do what the best mathematicians do and leave it to you as an exercise.
To show the existence of units, you can pick a number like 5+0i+0j and observe that 15+0i+0j is its multiplicative inverse. You may try to find some zero divisors manually but in the following sections we’ll prove a theorem that is going to give us a way to determine whether given a triplex number is a zero divisor or not.
What about division? We can view the division operation as a two part process: Inversion and multiplication. Meaning, to calculate a+bi+cjd+ei+fj, we can first find 1d+ei+fj and multiply that with a+bi+cj. In complex numbers and quaternions, we can find the multiplicative inverse via the help of the number’s complex conjugate, which is just the number you get after inverting the complex parts of the number. Will a similar approach help us here? (a+bi+cj)(a−bi−cj)=(a2−2bc)+c2i+b2j
Nope.
The Division
Huh? Why did we get a whole new section for division? How hard could it- 1a+bi+cj=(a2−bc)−(c2+ab)i−(b2+ac)ja3−b3−c3−3abc Epic.
While I think it is possible to algebraically solve for d,e and f in terms of a,b and c in the equation (a+bi+cj)(d+ei+fj)=1, I don’t think it is possible to do that without going insane. Instead, we’re going to invent some new tools to aid us in the process. We’re gonna get a bit mathy, so seat your belts.
Ring Homomorphisms & Isomorphisms
A ring homomorphism ϕ from ring R to ring S is a mapping from R to S that preserves the algebraic structure, that is, for x,y∈R, we have; ϕ(x+y)=ϕ(x)+ϕ(y) ϕ(xy)=ϕ(x)ϕ(y)
A ring isomorphism is a ring homomorphism that is bijective, meaning that we can invert it. Any two ring that is isomorphic to one another is algebraically equivalent, meaning that if one statement is true for one it immediately implies that the same statement is true for the other. To show that two rings are isomorphic, we should first show that it indeed preserves the algebraic structure and then show that it is bijective.
Theorem 1: The Natural Matrix Isomorphism
The ring of triplex numbers T is isomorphic to the ring given below with operations matrix addition and matrix multiplication. M={[abcca−bb−ca]∣a,b,c∈R} with ϕ(a+bi+cj)=[abcca−bb−ca]
Proof: It is pretty easy to see that ϕ(x+y)=ϕ(x)+ϕ(y), so let’s show ϕ(xy)=ϕ(x)ϕ(y) Let x=a+bi+cj and y=d+ei+fj ϕ(xy)=ϕ[(a+bi+cj)(d+ei+fj)]=ϕ[(ad+bf+ce)+(ae+bd−cf)i+(af−be+cd)j]=[(ad+bf+ce)(ae+bd−cf)(af−be+cd)(af−be+cd)(ad+bf+ce)−(ae+bd−cf)(ae+bd−cf)−(af−be+cd)(ad+bf+ce)] ϕ(x)ϕ(y)=[abcca−bb−ca][deffd−ee−fd]=[(ad+bf+ce)(ae+bd−cf)(af−be+cd)(af−be+cd)(ad+bf+ce)−(ae+bd−cf)(ae+bd−cf)−(af−be+cd)(ad+bf+ce)]
So ϕ preserves the algebraic structure. Notice that ϕ(x)=ϕ(y) implies x=y so it is injective and for any ϕ(x)=A, there is only one value for x so it is surjective. QED
Lemma 1: Inverse Of An Isomorphism Is An Isomorphism
Let R and S be rings. And let ϕ to be an isomorphism from ring R to ring S. Then the inverse isomorphism ϕ−1 is an isomorphism from ring S to ring R.
Proof is left as an exercise to the reader.
Lemma 2: Composition Of Two Isomorphisms Is An Isomorphism
Let R, S and T be rings. Let ϕ be an isomorphism from R to S and φ be an isomorphism from S to T. Then the composition of φ∘ϕ is an isomorphism from R to T.
Proof is left as an exercise to the reader.
Actually Defining The Division
Now that we have our natural matrix isomorphism, we can use it to define division. Remember that we were trying to solve (a+bi+cj)(d+ei+fj)=1 We can apply the natural matrix isomorphism ϕ to get. ϕ(a+bi+cj)ϕ(d+ei+fj)=ϕ(1) [abcca−bb−ca][deffd−ee−fd]=[100010001] We can multiply with the inverse of the first matrix, assuming its determinant, a3−b3−c3−3abc is not zero. [deffd−ee−fd]=1a3−b3−c3−3abc[(a2−bc)−(c2+ab)−(b2+ac)−(b2+ac)(a2−bc)(c2+ab)−(c2+ab)(b2+ac)(a2−bc)] Lastly, we apply ϕ−1 to both sides d+ei+fj=(a2−bc)−(c2+ab)i−(b2+ac)ja3−b3−c3−3abc
For a triplex number x=a+bi+cj, the number (a2−bc)−(c2+ab)i−(b2+ac)j is important and will show up later, so from now on, I’ll refer to it as the multiplicative conjugate of x.
Zero Divisors
You may recall that I’ve talked about a theorem that is going to give us a way to find zero divisors. Now is time to prove that.
Theorem 2: The Zero Divisor Theorem
A non-zero triplex number x∈T is a zero divisor, if and only if a3−b3−c3−3abc=0.
Proof: Since this is an if and only if statement, first, we’ll prove it in one direction, and then prove it in the other.
Let x to be a zero divisor, then there is a non-zero y∈T, such that yx=0. Let y=d+ei+fj and x=a+bi+cj. Then this means, (d+ei+fj)(a+bi+cj)=0 (da+ec+fb)+(db+ea−fc)i+(dc−eb+fa)j=0 This gives us three different equations to solve da+ec+fb=0 db+ea−fc=0 dc−eb+fa=0 Readers with a sharp eye would see that the above equation can be written as [acbba−cc−ba][deb]=[000] equivalently A→γ=→0
This equation holds true when →γ=→0 or Det(A)=0, since we said b is a non-zero number, →γ can’t be the zero vector, hence the latter must be true. Det(A)=a3−b3−c3−3abc=0, this proves the first direction.
Now let’s prove it in the other direction.
Let x=a+bi+cj be a non-zero triplex number, and let a3−b3−c3−3abc=0. Let’s multiply x with its multiplicative conjugate. (a+bi+cj)[(a2−bc)−(c2+ab)i−(b2+ac)j]=a3−b3−c3−3abc=0
If the multiplicative conjugate is non-zero, we are done. x is a zero-divisor whenever a3−b3−c3−3abc=0. Let’s see what happens when the multiplicative conjugate is zero. Setting it equal to zero gives us three different equations. a2−bc=0→a2=+bcc2+ab=0→c2=−abb2+ac=0→b2=−ac
Given that x is non-zero, this means neither a, b nor c is zero, so we can freely divide those equations to each other to get a2c2=bc−ab→a3=−c3 a2b2=bc−ac→a3=−b3
So the multiplicative conjugate is zero when a3=−b3=−c3 or equivalently a=−b=−c. If we write everything in terms of a, x becomes a−ai−aj=a(1−i−j). Notice that when multiplicative conjugate is zero, the quantity a3−b3−c3−3abc is still zero. Anyway, to finish this proof, we only have to show that 1−i−j is a zero divisor. With some trial and error, we can see that it indeed is. (1−i−j)(1+i)=1+i−i+j−j−1=0 QED.
Isomorphisms To Quotient Rings
In this section, we are going to find an isomorphism from the ring of triplex numbers to the rings like R[x]/⟨x3+1⟩. Of course, before showing that statement is true, I have to explain what do those symbols represent. We have some important ideas to cover, if you already know what ideals and quotient rings are don’t be hesitant to skip ahead.
Ideals
A (two-sided) ideal I of ring R is a subring where for every r∈R and a∈I, both ra and ar is in I. Since ideals are subrings, they are closed under addition. ⟨a⟩ denotes the ideal {ra∣r∈R} for a commutative ring R. Similarly, rI denotes the ring {ra∣a∈I} and r+I denotes {r+a∣a∈I} for some r∈R.
Lemma 3: If a∈I, then a+I=I
This is an important property of ideals. So it benefits us to prove it right now.
Proof: First, let’s show a+I⊆I. Since I is closed under addition, anything that is in a+I is also in I. Hence, a+I⊆I.
Now let’s show that I⊆a+I. Notice that any element x∈I can be written as (a+x)−a. a+x and −a (inverse of a+0) are both elements of a+I. Since a+I is closed under addition, x∈a+I. Hence I⊆a+I. Both a+I⊆I and I⊆a+I imply a+I=I.
Quotient (Factor) Rings
Let R be a ring and I be a two-sided ideal of R. The set R/I={r+I∣r∈R} forms a ring under the operations (r1+I)+(r2+I)=(r1+r2)+I and (r1I)(r2I)=(r1r2I).
Quotient rings extend the idea of remainders from modular arihmetic to arbitrary algebraic sturctures. For example consider the ring Z/⟨5⟩={0+⟨5⟩,1+⟨5⟩,2+⟨5⟩,3+⟨5⟩,4+⟨5⟩}. This is essentially the integers modulo 5 and the ideas from modular arithmetic have direct, corresponding meanings. For example 0≡5(mod5) means the sets 0+⟨5⟩ and 5+⟨5⟩ are the same sets. Of course with quotient rings we extend those ideas to any arbitrary mathematical object as long as they meet some criteria.
Polynomial Rings
Let R be a commutative ring. R[x] denotes the ring {a0+a1x+⋯+anxn}, where a0,a1,…,an∈R. In plain English, that is the ring of polynomials whose coefficients are from the ring R.
Defining The Isomorphisms
Theorem 3: Isomorphism 1
The set of triplex numbers T is isomorphic to the ring R[X]/⟨x3+1⟩.
Before attempting to prove the statement above, we first have to understand the shape of the elements of R[X]/⟨x3+1⟩. For any arbitrary element of shape p(x)+⟨x3+1⟩, where p(x) is a polynomial with coefficients from R, we can rewrite p(x) as (x3+1)q(x)+r(x) where deg[r(x)]≤2 by using simple polynomial division. And since the term q(x)(x3+1)∈⟨x3+1⟩, it is absorbed and p(x)+⟨x3+1⟩=r(x)+⟨x3+1⟩, meaning that any element of R[X]/⟨x3+1⟩ has the shape (a+bx+cx2)+⟨x3+1⟩.
To find what higher degree elements e.g. x4+⟨x3+1⟩ equal to, we can use a neat trick. Since x3+1∈⟨x3+1⟩, we know that x3+1+⟨x3+1⟩ is equalt to the set 0+⟨x3+1⟩. Therefore, we can treat x3+1 as if it were equal to 0 and replace x3 with −1.
To prove the theorem, I’ll give two proofs, one will be given by directly defining the isomorphism and showing it preserves the algebraic structure, and the other will be proven using something called the The First Isomorphism Theorem.
Proof 3.1: Let’s define a mapping ϕ from T to R[X]/⟨x3+1⟩ via the mapping a+bi+cj↦(a+bx−cx2+⟨x3+1⟩). For brevity, I’ll omit writing ⟨x3+1⟩ every single time.
Notice that this mapping is already bijective. Let’s check its structure preserving properties. It is trivial to see that ϕ(x+y)=ϕ(x)+ϕ(y) so let x=a+bi+cj and y=d+ei+fj to show ϕ(xy)=ϕ(x)ϕ(y). ϕ(x)ϕ(y)=(a+bx−cx2)(d+ex−fx2)=(ad+bf+ce)+(ae+bd−cf)x−(af−be+cd)x2 ϕ(xy)=ϕ[(a+bi+cj)(d+ei+fj)]=ϕ[(ad+bf+ce)+(ae+bd−cf)i+(af−be+cd)j]=(ad+bf+ce)+(ae+bd−cf)x−(af−be+cd)x2
QED.
Proof 3.2: Let’s define a homomorphism ϕ:R[X]→T by the mapping p(x)↦p(i) and find kernel of this homomorphism, which is the ring of elements that map to 0 in T. Since i3=−1, the kernel is the set of all polynomials with (x3+1) as a factor, which is the set ⟨x3+1⟩. By the first isomorphism theorem, we how that there exist an isomorphism φ from R[X]/⟨x3+1⟩ to T. Since φ−1 itself is an isomorphism, T≈R[X]/⟨x3+1⟩. QED.
Theorem 4: Isomorphism 2
The ring of triplex numbers T is isomorphic to the ring R[X]/⟨x3−1⟩.
Proof: This theorem can be proven using the first isomorphism theorem, similar to the Proof 3.2. Define a homomorphism ϕ:R[X]→T with the mapping p(x)↦p(−i). The kernel of this homomorphism is the set ⟨x3−1⟩. And by the first isomorphism theorem, we have that T≈R[X]/⟨x3−1⟩. QED.
Theorem 5
The set R[X]/⟨x3+1⟩ and R[X]/⟨x3−1⟩ are isomorphic to eachother.
Proof: This is a direct consequence of Theorem 3 and Theorem 4. R[X]/⟨x3−1⟩≈T and T≈R[X]/⟨x3+1⟩ imply R[X]/⟨x3−1⟩≈R[X]/⟨x3+1⟩ since composition of two isomorphisms is itself an isomorphism.
End Of This Section
In this section we’ve investigated the underlying algebraic structure of the triplex numbers and we even found a new way to prove R[X]/⟨x3+1⟩≈R[X]/⟨x3−1⟩. In the next section, we’re gonna explore the other kinds of triplex numbers and finish this post.
Isomorphisms Between Other Kinds of Triplex Numbers
As you may recall, I also talked about other kinds of triplex numbers. In this section we are going to find isomorphisms between those kinds of triplex numbers. I’ll use the subscript notation to refer to different kinds of triplex numbers. Meaning Tn will refer to the triplex numbers of the nth kind.
The isomorphism between T3 and T4 is really easy to see. It is the mapping a+bi3+cj3↦a+ci4+bj4.
Theorem 6: T1≈T2
The rings T1 and T2 are isomorphic.
Proof: Define mapping ϕ:T1→T2, a+bi1+cj1↦a−bi2−cj2. It is trivial to see that it preserves additive structure. ϕ[(a+bi1+cj1)(d+ei1+fj1)]=(ad+bf+ce)−(ae+bd−cf)i2−(af−be+cd)j2 ϕ(a+bi1+cj1)ϕ(d+ei1+fj1)=(a−bi2−cj2)(d−ei2−fj2)=(ad+bf+ce)−(ae+bd−cf)i2−(af−be+cd)j2
QED.
Theorem 7: T1≈T3
The rings T1 and T3 are isomorphic.
Proof: Instead of defining the mapping and showing that there is indeed an isomorphism, for this proof I’ll follow a different path and show how such mapping can be found by little trial and error. For this, first let’s look closely to the equations that define T1 and T3. (1)i3=j3=−1ij=ji=1i2=−jj2=−i(Triplex numbers of the 1st kind)(2)i3=ij=ji=−1j3=1i2=jj2=−i(Triplex numbers of the 3rd kind)
Notice that replacing j with −j on (1) gives us the equatons on (2). Hence the mapping a+bi1+cj1↦a+bi3−cj3 is an isomorphism.
Finally, notice that, since composition of two isomorphisms is itself an isomorphism, with this theorem, we prove that all four kinds of triplex numbers we have talked about in this blogpost are isomorphic to one another.
Conclusion
In this blogpost, we defined and investigated a 3D number system. We found some interesting properties and tried to understand the underlying algebraic sturcture. I think this is a good place to end this post. Thanks for reading.