Definition:Multiplication

Naturally Ordered Semigroup
See product.

Multiplication is an operation on a naturally ordered semigroup $$\left({S, \circ; \preceq}\right)$$ which can be defined using the Principle of Recursive Definition as follows:


 * $$\forall m, n \in S: n \ast m = g_m \left({n}\right)$$

where $$g_m: S \to S$$ is the unique mapping that satisfies:



\forall m \in S: g_m \left({n}\right) = \begin{cases} 0 & : n = 0 \\ g_m \left({r}\right) \circ m & : n = r \circ 1 \end{cases} $$

Natural Numbers
The multiplication operation in the domain of natural numbers $$\N$$ is written $$\times$$.

As the Natural Numbers are a Naturally Ordered Semigroup, it is defined recursively as:



\forall m \in \N: g_m \left({n}\right) = \begin{cases} 0 & : n = 0 \\ g_m \left({r}\right) + m & : n = r + 1 \end{cases} $$

... and this can be interpreted as:


 * $$n \times m = +^n m = m + m + \cdots \left({n}\right) \cdots + m$$

Integers
The multiplication operation in the domain of integers $$\Z$$ is written $$\times$$.

Let us define $$\left[\!\left[{\left({a, b}\right)}\right]\!\right]_\boxminus$$ as in the formal definition of integers.

That is, $$\left[\!\left[{\left({a, b}\right)}\right]\!\right]_\boxminus$$ is an equivalence class of ordered pairs of natural numbers under the congruence relation $$\boxminus$$.

$$\boxminus$$ is the congruence relation defined on $$\N \times \N$$ by $$\left({x_1, y_1}\right) \boxminus \left({x_2, y_2}\right) \iff x_1 + y_2 = x_2 + y_1$$.

In order to streamline the notation, we will use $$\left[\!\left[{a, b}\right]\!\right]$$ to mean $$\left[\!\left[{\left({a, b}\right)}\right]\!\right]_\boxminus$$, as suggested.

As the set of integers is the Inverse Completion of Natural Numbers, it follows that elements of $$\Z$$ are the isomorphic images of the elements of equivalence classes of $$\N \times \N$$ where two tuples are equivalent if the Unique Minus between the two elements of each tuple is the same.

Thus multiplication can be formally defined on $$\Z$$ as the operation induced on those equivalence classes as specified in the definition of integers.

That is, the integers being defined as all the Unique Minus congruence classes, integer multiplication can be defined directly as the operation induced by natural number multiplication on these congruence classes.

It follows that:


 * $$\forall a, b, c, d \in \N: \left[\!\left[{a, b}\right]\!\right] \times \left[\!\left[{c, d}\right]\!\right] = \left[\!\left[{a \times c + b \times d, a \times d + b \times c}\right]\!\right]$$ or, more compactly, as $$\left[\!\left[{ac + bd, ad + bc}\right]\!\right]$$.

This can also be defined as:


 * $$n \times m = +^n m = m + m + \left({n}\right) + m$$

... and the validity of this is proved in Index Laws for Monoids.

Modulo Multiplication
The multiplication operation on $$\Z_m$$, the set of integers modulo $m$, is defined by the rule:


 * $$\left[\!\left[{a}\right]\!\right]_m \times_m \left[\!\left[{b}\right]\!\right]_m = \left[\!\left[{a b}\right]\!\right]_m$$

Although the operation of multiplication modulo $$m$$ is denoted by the symbol $$\times_m$$, if there is no danger of confusion, the conventional multiplication symbols $$\times, \cdot$$ etc. are often used instead.

More usually, though, the notation $$a b \left({\bmod\, m}\right)$$ is used instead of $$\left[\!\left[{a}\right]\!\right]_m \times_m \left[\!\left[{b}\right]\!\right]_m$$.

It means the same thing and, although obscuring the true meaning behind modulo arithmetic, is more streamlined and less unwieldy.

See modulo multiplication.

Rational Numbers
The multiplication operation in the domain of rational numbers $$\Q$$ is written $$\times$$.

Let $$a = \frac p q, b = \frac r s$$ where $$p, q \in \Z, r, s \in \Z - \left\{{0}\right\}$$.

Then $$a \times b$$ is defined as $$\frac p q \times \frac r s = \frac {p \times r} {q \times s}$$.

This definition follows from the definition of and proof of existence of the quotient field of any integral domain, of which the set of integers is one.

Real Numbers
The multiplication operation in the domain of real numbers $$\R$$ is written $$\times$$.

From the definition, the real numbers are the set of all equivalence classes $$\left[\!\left[{\left \langle {x_n} \right \rangle}\right]\!\right]$$ of Cauchy sequences of rational numbers.

Let $$x = \left[\!\left[{\left \langle {x_n} \right \rangle}\right]\!\right], y = \left[\!\left[{\left \langle {y_n} \right \rangle}\right]\!\right]$$, where $$\left[\!\left[{\left \langle {x_n} \right \rangle}\right]\!\right]$$ and $$\left[\!\left[{\left \langle {y_n} \right \rangle}\right]\!\right]$$ are such equivalence classes.

Then $$x \times y$$ is defined as $$\left[\!\left[{\left \langle {x_n} \right \rangle}\right]\!\right] \times \left[\!\left[{\left \langle {y_n} \right \rangle}\right]\!\right] = \left[\!\left[{\left \langle {x_n \times y_n} \right \rangle}\right]\!\right]$$.

The operation of multiplication on the real numbers is well-defined.

Complex Numbers
The multiplication operation in the domain of complex numbers $$\C$$ is written $$\times$$.

Let $$z = a + i b, w = c + i d$$ where $$a, b, c, d \in \R$$.

Then $$z \times w$$ is defined as $$\left({a + i b}\right) \times \left({c + i d}\right) = \left({ac - bd}\right) + i \left({ad + bc}\right)$$.

This follows by the facts that:
 * the Real Numbers form a Field and thus multiplication distributes over addition;
 * the entity $$i$$ is such that $$i^2 = -1$$.

Notation
There are several variants on the notation for multiplication:


 * $$n \times m$$, which is usually used only when numbers are under consideration, e.g. "$$3 \times 5 = 15$$";
 * $$nm$$, which is most common in algebra, but not with numbers unless parentheses are put round the numbers, e.g. $$\left({3}\right)\left({4}\right) = 12$$, for obvious reasons;
 * $$n \cdot m$$ or $$n . m$$, which have their uses in algebra, but has the danger of being confused with the decimal point.