Math Detours · Grade 11 · Around the corner · 31

Numbers where i times j is not j times i

In 1843 Hamilton carved i² = j² = k² = ijk = −1 into a bridge in Dublin. He had found numbers where the order of multiplying matters, and you can still divide.

Name ____________________Date ____________

Tonight's idea

i j k
With the arrows: plus. Against them: minus.

Complex numbers add one new number \(i\) with \(i^2 = -1\) (where you met this). In 1843 William Rowan Hamilton found a system with three: \(i\), \(j\) and \(k\). A quaternion is \(a + bi + cj + dk\) with \(a, b, c, d\) real. Add them part by part. Multiply by expanding brackets with these rules.

\(i^2 = j^2 = k^2 = -1\).
\(ij = k,\ \ jk = i,\ \ ki = j\).
\(ji = -k,\ \ kj = -i,\ \ ik = -j\).

So \(ij \ne ji\). Keep the letters in order as you expand. Real numbers can still move anywhere, and regrouping brackets is still allowed.

Can you divide? The conjugate of \(q = a + bi + cj + dk\) is \(\bar q = a - bi - cj - dk\), and \(q\bar q = \bar q q = a^2 + b^2 + c^2 + d^2\). That is a real number, and it is zero only when \(q = 0\). So every nonzero \(q\) has an inverse:

\[q^{-1} = \frac{\bar q}{a^2 + b^2 + c^2 + d^2}.\]

A system where you can add, subtract, multiply and divide by anything nonzero, even if order matters, is called a division ring.

Watch one: two orders, two answers

Expand, keeping each product in the order it appears.

\[(1 + i)(1 + j) = 1 + j + i + ij = 1 + i + j + k,\]

\[(1 + j)(1 + i) = 1 + i + j + ji = 1 + i + j - k.\]

Same two numbers, different products. Hamilton's bridge formula also follows from the rules: \(ijk = (ij)k = k \cdot k = -1\).

Now divide. The conjugate of \(1 + i\) is \(1 - i\) and the sum of squares is \(1^2 + 1^2 = 2\), so \({(1 + i)^{-1}} = {\tfrac12(1 - i)}\). Check: \((1 + i)(1 - i) = 1 - i + i - i^2 = 2\), and half of 2 is 1.

"Divide \(j\) by \(1 + i\)" now has two meanings, because the inverse \(\tfrac12(1 - i)\) can go on either side.

Solve \((1 + i)x = j\): multiply on the left. Then \(x = {\tfrac12(1 - i)j} = {\tfrac12(j - ij)} = {\tfrac12(j - k)}\).

Solve \(x(1 + i) = j\): multiply on the right. Then \(x = {\tfrac12\,j(1 - i)} = {\tfrac12(j - ji)} = {\tfrac12(j + k)}\).

Your turn

  1. (a) Write down \(ij\) and \(ji\). (b) Expand \((i + j)^2 = (i + j)(i + j)\) with the rules. (c) What does the school formula \(i^2 + 2ij + j^2\) give instead? Which step of the usual proof of that formula fails here?
  2. Let \(q = 1 + i + j + k\). Find \(q^{-1}\). Then check it by multiplying \(q\) by your answer in full.
  3. The size of \(q = a + bi + cj + dk\) is \(|q| = \sqrt{a^2 + b^2 + c^2 + d^2}\). It is a fact that \(|pq| = |p|\,|q|\) for all quaternions \(p\) and \(q\). (a) Let \(p = 2 + i\) and \(q = 1 + j + k\). Work out \(pq\) and check the fact for this pair. (b) Use the fact to explain why \(pq = 0\) can only happen when \(p = 0\) or \(q = 0\).
  4. Compare with clock arithmetic (where you met this). (a) Working mod 7, find the inverse of each of 1, 2, 3, 4, 5, 6. (b) Working mod 6, show that 2 has no inverse. (c) One of these two systems is a division ring and one is not. Which is which, and how does 3(b) tell them apart?

Stretch: why not three parts?

Before quaternions, Hamilton tried for years to multiply triples \(a + bi + cj\). Suppose such a system exists: \(i^2 = -1\), real numbers commute with everything, brackets expand and regroup as usual, and every number can be written as \(a + bi + cj\) in exactly one way, with \(a, b, c\) real. Then \(ij\) is itself a triple, say \(ij = a + bi + cj\). Multiply both sides on the left by \(i\) and find a contradiction.

Answers

  1. (a) \(ij = k\) and \(ji = -k\). (b) \((i + j)(i + j) = i^2 + ij + ji + j^2 = -1 + k - k - 1 = -2\). (c) \(i^2 + 2ij + j^2 = -2 + 2k\), which is wrong. The usual proof collects \(ij + ji\) as \(2ij\), and that needs \(ji = ij\). Here \(ij + ji = 0\). A bonus: since \((i + j)^2 = -2\), the quaternion \((i + j)/\sqrt2\) squares to \(-1\). So \(-1\) has more square roots here than just \(\pm i\).
  2. The conjugate is \(1 - i - j - k\) and the sum of squares is \(1 + 1 + 1 + 1 = 4\), so \(q^{-1} = \tfrac14(1 - i - j - k)\). The conjugate alone is not the inverse. Check: write \(u = i + j + k\). Then \(u^2 = i^2 + j^2 + k^2 + (ij + ji) + (jk + kj) + (ki + ik) = -3 + 0 + 0 + 0 = -3\). So \((1 + u)(1 - u) = 1 - u + u - u^2 = 1 + 3 = 4\), and \(q \cdot \tfrac14(1 - u) = 1\).
  3. (a) \(pq = (2 + i)(1 + j + k) = 2 + 2j + 2k + i + ij + ik = 2 + 2j + 2k + i + k - j = 2 + i + j + 3k\). Sizes: \(|p| = \sqrt{4 + 1} = \sqrt5\), \(|q| = \sqrt{1 + 1 + 1} = \sqrt3\), and \(|pq| = \sqrt{4 + 1 + 1 + 9} = \sqrt{15} = \sqrt5 \times \sqrt3\). (b) If \(pq = 0\) then \(|p|\,|q| = |pq| = 0\). These are real numbers, so \(|p| = 0\) or \(|q| = 0\). A sum of four squares of real numbers is zero only when all four are zero, so \(p = 0\) or \(q = 0\).
  4. (a) \(1 \times 1 = 1\), \(2 \times 4 = 8\), \(3 \times 5 = 15\) and \(6 \times 6 = 36\) all leave remainder 1 on division by 7. So the inverses of 1, 2, 3, 4, 5, 6 are 1, 4, 5, 2, 3, 6. (b) The multiples of 2 mod 6 are 0, 2, 4, 0, 2, 4, never 1. (c) Mod 7 is a division ring, and its multiplication commutes as well. Mod 6 is not: \(2 \times 3 = 0\) mod 6 with neither factor zero. In a division ring that cannot happen, since multiplying \(pq = 0\) on the left by \(p^{-1}\) gives \(q = 0\). The quaternions pass this test, as 3(b) shows.

Stretch. Regrouping, \(i(ij) = (ii)j = -j\). Expanding, \(i(a + bi + cj) = ai - b + c(ij) = ai - b + c(a + bi + cj) = (ac - b) + (a + bc)i + c^2j\). Each number is written in only one way, so the \(j\) parts must match: \(c^2 = -1\). No real \(c\) does that, so no such triples exist. Hamilton needed a fourth part, \(k = ij\). This fits a theorem of Frobenius from the 1870s. Take a system built from finitely many real parts, containing the real numbers, where the reals commute with everything, brackets expand and regroup as usual, and you can divide by anything nonzero. It must be a copy of the real numbers, the complex numbers or the quaternions: 1, 2 or 4 parts, never 3. Give up regrouping (associativity) as well and division is also possible with 8 parts, the octonions.

← PreviousNext: Predicting the tide →