Application
Here is an application of the ring structure on The Gaussian integers R = Z + Zi. Suppose the integers k and l can both be written as sums of two squares of integers:
Then the product kl is also a sum of squares. You may find it hard to show this from scratch. Here is how the ring R comes into play:
so
Evaluating the two products in square brackets leads to
and yields
A similar argument, using the quaternions, can be used to show that if two integers can be written as sums of four squares of integers, then so can their product. The equality
plays a role in the proof.