The
projections of a quaternion onto its scalar part or onto its vector part, as well as the modulus and
versor functions, are examples that are basic to understanding quaternion structure. An important example of a function of a quaternion variable is :f_1(q) = u q u^{-1} which
rotates the vector part of q by twice the angle represented by the versor
u. The quaternion
multiplicative inverse f_2(q) = q^{-1} is another fundamental function, but as with other number systems, f_2(0) and related problems are generally excluded due to the nature of
dividing by zero.
Affine transformations of quaternions have the form :f_3(q) = aq + b, \quad a, b, q \in \mathbb{H}.
Linear fractional transformations of quaternions can be represented by elements of the
matrix ring M_2(\mathbb{H}) operating on the
projective line over \mathbb{H}. For instance, the mappings q \mapsto u q v, where u and v are fixed
versors serve to produce the
motions of elliptic space. Quaternion variable theory differs in some respects from complex variable theory. For example: The
complex conjugate mapping of the complex plane is a central tool but requires the introduction of a non-arithmetic,
non-analytic operation. Indeed, conjugation changes the
orientation of plane figures, something that arithmetic functions do not change. In contrast to the
complex conjugate, the quaternion conjugation can be expressed arithmetically, as f_4(q) = - \tfrac{1}{2} (q + iqi + jqj + kqk) This equation can be proven, starting with the
basis {1, i, j, k}: :f_4(1) = -\tfrac{1}{2}(1 - 1 - 1 - 1) = 1, \quad f_4(i) = -\tfrac{1}{2}(i - i + i + i) = -i, \quad f_4(j) = -j, \quad f_4(k) = -k . Consequently, since f_4 is
linear, :f_4(q) = f_4(w + x i + y j + z k) = w f_4(1) + x f_4(i) + y f_4(j) + z f_4(k) = w - x i - y j - z k = q^*. The success of
complex analysis in providing a rich family of
holomorphic functions for scientific work has engaged some workers in efforts to extend the planar theory, based on complex numbers, to a 4-space study with functions of a quaternion variable. These efforts were summarized in .{{efn| recalls a 1935 issue of
Commentarii Mathematici Helvetici where an alternative theory of "regular functions" was initiated by through the idea of
Morera's theorem: quaternion function F is "left regular at q" when the integral of F vanishes over any sufficiently small
hypersurface containing q. Then the analogue of
Liouville's theorem holds: The only regular quaternion function with bounded norm in \mathbb{E}^4 is a constant. One approach to construct regular functions is to use
power series with real coefficients. Deavours also gives analogues for the
Poisson integral, the
Cauchy integral formula, and the presentation of
Maxwell’s equations of electromagnetism with quaternion functions.}} Though \mathbb{H}
appears as a union of complex planes, the following proposition shows that extending complex functions requires special care: Let f_5(z) = u(x,y) + i v(x,y) be a function of a complex variable, z = x + i y. Suppose also that u is an
even function of y and that v is an
odd function of y. Then f_5(q) = u(x,y) + rv(x,y) is an extension of f_5 to a quaternion variable q = x + yr where r^2 = -1 and r \in \mathbb{H}. Then, let r^* represent the conjugate of r, so that q = x - yr^*. The extension to \mathbb{H} will be complete when it is shown that f_5(q) = f_5(x - yr^*). Indeed, by hypothesis :u(x,y) = u(x,-y), \quad v(x,y) = -v(x,-y) \quad one obtains :f_5(x - y r^*) = u(x,-y) + r^* v(x,-y) = u(x,y) + r v(x,y) = f_5(q). ==Homographies==