Factorization of dual quaternion polynomials into linear factors was the topic of [3, 7]. One of their intentions was to use factorization for the construction of mechanisms, where a linear factor corresponds to a revolute or prismatic (translational) joint [4]. The used factorization algorithms fundamentally rely on the fact that the dual quaternion polynomial \(M = P + \varepsilon D\) is a motion polynomial, that is, it satisfies the Study condition \(P{D}^{*} + D{P}^{*} = 0\).
In this article, we study the factorization theory of general dual quaternion polynomials which is interesting in its own right and provides us with additional possibilities for the construction of mechanisms. The factorization into linear factors corresponds to a decomposition of the motion into the product of vertical Darboux motions, coupled by the common parameter t, and with rotations and translations as special cases. Our aim is the generalization of the results from [3] to generic polynomials \(M \in {\mathbb {DH}}[t]\).
Fundamental Results
In this section we recall known results of [3] and also present slightly more general versions of Lemma 3 and Theorem 1 from [3]. They are generalized to dual quaternion polynomials which no longer have to fulfill Study’s condition. We give proofs for all new results, even if they are sometimes very similar to the proofs given in [3].
The first lemma concerns polynomial division in a dual quaternion setting. (We will only use this type of polynomial division in this paper and hence refrain from using the more explicit term “polynomial right division”.)
Lemma 3.1
([3], Lemma 3.1]) Let A and \(B\in {\mathbb {DH}}[t]\) such that B is monic, i.e. its leading coefficient is 1. Then there exist unique Q, \(R\in {\mathbb {DH}}[t]\) such that \(A=QB+R\) and \(\deg (R)<\deg (B)\). Further, if \(h\in {\mathbb {DH}}\) is a root of B, then \(A(h)=R(h)\).
Note that this statement can be generalized to a divisor B with invertible leading coefficient.
The next lemma states a well-known relation between right zeros and linear right factors which is also valid for polynomials over more general rings.
Lemma 3.2
([3], Lemma 3.2]) Let \(M\in {\mathbb {DH}}[t]\). A dual quaternion \(h\in {\mathbb {DH}}\) is a zero of M if and only if \(t-h\in {\mathbb {DH}}[t]\) is a right factor of M.
If a polynomial \(M = P + \varepsilon D\) satisfies Study’s condition, its norm polynomial \(\Vert M\Vert \) is real. Linear factors of M are closely related to quadratic real factors of \(\Vert M\Vert \). In our setting, the norm polynomial \(\Vert M\Vert \) has dual numbers as coefficients. Its quadratic factors over the dual numbers are also important for computing linear factors of M. This manifests in the following lemma. Its proof follows the proof of [3], Lemma 3.3] but the more general assumptions require to consider a few more details.
Lemma 3.3
Let \(M=P+\varepsilon D\in {\mathbb {DH}}[t]\) be a monic polynomial and \(N\in {\mathbb {D}}[t]\) a monic polynomial of degree two which is a factor of \(\Vert M\Vert \) whose primal part does not divide P. Then there exists a unique \(h\in {\mathbb {DH}}\) such that \(t-h\in {\mathbb {DH}}[t]\) is a right factor of M and \(\Vert t-h\Vert =N\).
Proof
By Lemma 3.1 there exist Q, \(R=r_{1}t+r_{0}\in {\mathbb {DH}}[t]\) such that \(M=QN+R\). Using this we can see that the norm of M is of the following form:
$$\begin{aligned} \Vert M\Vert =(N\Vert Q\Vert +R{Q}^{*}+Q{R}^{*})N + \Vert R\Vert . \end{aligned}$$
The primal part of N does not divide P, therefore the primal part of R cannot be zero. Further, N must be a factor of \(\Vert R\Vert \) since it is a factor of \(\Vert M\Vert \). Thus there exists \(\lambda \in {\mathbb {D}}\) such that \(\Vert R\Vert =\lambda N\). The scalar \(\lambda \) is even invertible as otherwise the primal part of R would vanish. The leading coefficient of \(\Vert R\Vert \) is \(\Vert r_{1}\Vert \), which has a non-zero primal part due to the facts that N is monic and \(\lambda \) is invertible. This shows that \(r_{1}\) is invertible and consequently \(h:=r_{1}^{-1}r_{0}\) is the unique zero of R. By Lemma 3.2, there exists \(\widetilde{r}\in {\mathbb {DH}}\) such that \(R=\widetilde{r}(t-h)\) and further \(\lambda N=\Vert R\Vert =(t-{h}^{*})\Vert \widetilde{r}\Vert (t-h)\). Since \(\lambda \) is a dual number, \(t-h\) is also a right factor of N and consequently of M. Monicity of N implies \(N = \Vert t-h\Vert \). This shows existence.
To prove uniqueness let us assume there exists \(\widetilde{h}\) such that \(M(\widetilde{h})=N(\widetilde{h})=0\). Then \(R(\widetilde{h})=0\), but the zero of R is unique. \(\square \)
We will see below that factorizability of \(M=P+\varepsilon D\) implies that the norm polynomial \(\Vert M\Vert \) must factor into quadratic polynomial factors over the dual numbers. Now we have all the tools to prove that this condition is also sufficient, provided P does not have a real polynomial factor of positive degree. This distinguishes factorization of general polynomials \(M \in {\mathbb {DH}}[t]\) from the factorization of motion polynomials as investigated in [3, 7]: The latter unconditionally factorize if the primal part is free from non-trivial real factors since their norm polynomial always factors into quadratic polynomials.
Let us start by investigating the factorizability of polynomials in \({\mathbb {D}}[t]\).
Lemma 3.4
Let \(p = f+\varepsilon g\in {\mathbb {D}}[t]\) be a monic polynomial. Further let us decompose the primal part of p into \(f=\prod _{i=1}^mN_{i}^{n_{i}}\) where \(N_{1}\), \(\ldots \), \(N_m\in {\mathbb {R}}[t]\) are coprime irreducible monic polynomials and \(n_{1}\), \(\ldots \), \(n_m\in {\mathbb {N}}\) are positive integers. The polynomial p admits a factorization such that all factors are monic and have an irreducible primal part if and only if \(\prod _{i=1}^mN_{i}^{n_{i}-1}\) is a factor of g.
Proof
Let us first assume that p admits a factorization \(\prod _{j=1}^{n} (f_{j}+\varepsilon g_{j})\) where the \(f_{j}\) are monic and irreducible (not necessarily coprime) factors of f. Obviously, we get \(f=\prod _{j=1}^{n} f_{j}\) and further
$$\begin{aligned} f+\varepsilon g=f+\varepsilon \sum _{i=1}^ng_{i}\prod _{j\ne i}f_{j}, \end{aligned}$$
which shows that \(\prod _{i=1}^mN_{i}^{n_{i}-1}\) is a factor of g.
Let us assume on the other hand that \(\prod _{i=1}^mN_{i}^{n_{i}-1}\) is a factor of g. Then \(p=\prod _{i=1}^mN_{i}^{n_{i}-1}\widetilde{p}\) where \(\widetilde{p}=\prod _{i=1}^{m} N_{i} + \varepsilon \lambda \) is a monic polynomial, i.e. \(\deg (\lambda )\le \deg (\widetilde{p}) -1\). Set \(B := \prod _{i=1}^{m} N_{i}\) and, for \(i \in \{1,\)...\(,m\}\), \(B_{i} := \prod _{j\ne i}N_{j}\). The polynomial \(\widetilde{p}\) admits a factorization of postulated shape, if there exist \(\lambda _{i}\in {\mathbb {R}}[t]\) with \(\deg (\lambda _{i})<\deg (N_{i})\) for \(i=1\), \(\ldots \), m such that
$$\begin{aligned} \widetilde{p}=\prod _{i=1}^{m} (N_{i}+\varepsilon \lambda _{i})=B+\varepsilon \sum _{i=1}^{m}\lambda _iB_{i}. \end{aligned}$$
Without loss of generality we may assume that there is \(k\in {\mathbb {N}}\) such that \(N_{1}\), \(\ldots \), \(N_k\) are quadratic polynomials, and \(N_{k+1}\), \(\ldots \), \(N_m\) are linear. To show the existence of such \(\lambda _{i}\), it is sufficient to show that the set of polynomials \(B_{i}\), for \(i=1\), \(\ldots \), m and \(tB_{i}\) for \(i=1\), \(\ldots \), k form an \({\mathbb {R}}\)-basis of the real vector space of polynomials up to degree \(\deg (\widetilde{p})-1=m+k-1\). Since the cardinality of this set is \(m+k\), we only need to show linear independence. Let us take \(\mu _{1},\)...\(,\mu _m\in {\mathbb {R}}\) and \(\nu _{1},\)...\(,\nu _k\in {\mathbb {R}}\) such that
$$\begin{aligned} \sum _{i=1}^{m} \mu _iB_{i} + \sum _{i=1}^k \nu _itB_{i}=0. \end{aligned}$$
(4)
Since all \(N_{i}\) are coprime, they have distinct complex roots \(z_{i}\), \(\overline{z_{i}}\in \mathbb {C}\backslash {\mathbb {R}}\) for \(i=1\), \(\ldots \), k and \(z_{i}\in {\mathbb {R}}\) for \(i=k+1\),\(\ldots \), m. The polynomials \(B_{i} = \prod _{j\ne i}^{m} N_{j}\) evaluated at \(z_\ell \) or \(\overline{z_\ell }\) are all zero, except for \(i=\ell \). Thus, evaluating the left hand side of (4) at these zeros results in a system of equations
$$\begin{aligned} \begin{aligned} \mu _{i} + \nu _iz_{i}&=0,\\ \mu _{i} + \nu _{i}\overline{z_{i}}&=0, \end{aligned} \end{aligned}$$
(5)
for \(i=1, \ldots ,k\) and \(\mu _{i}=0\) for \(i > k\). The difference of these two equations yields
$$\begin{aligned} 2\nu _{i}{\text {Im}}{z_{i}} = 0. \end{aligned}$$
Since \(z_{i} \in {\mathbb {C}}\setminus {\mathbb {R}}\), \({\text {Im}}{z_{i}} \ne 0\) so that \(\nu _{i} = 0\) and hence also \(\mu _{i} = 0\) follows. Thus, the set of Eq. (5) only has the solution \(\mu _{i}=\nu _{i}=0\) for \(i=1,\)..., k. Therefore, the polynomials \(B_{i}\) and \(tB_{i}\) are linearly independent and p consequently admits a factorization of the desired shape. \(\square \)
Theorem 3.5
Let \(M=P+\varepsilon D\in {\mathbb {DH}}[t]\) be a polynomial with no real polynomial factor in the primal part (\({\text {mrpf}}(P)=1\)) and \(\Vert P\Vert =\prod _{i=1}^{m} N_{i}^{n_{i}}\) for irreducible, quadratic and coprime real polynomials \(N_{1},\ldots ,N_m \in {\mathbb {R}}[t]\) and positive integers \(n_{1},\)...\(,n_m \in {\mathbb {N}}\). The polynomial M admits a factorization if and only if \(\prod _{i=1}^{m} N_{i}^{n_{i}-1}\) is a factor of \(\Vert M\Vert \). (This is the case if and only if \(\Vert M\Vert \) factorizes in the sense of Lemma 3.4).
Proof
Let us assume \(M=\prod _{j=1}^k F_{j}\), where \(F_{j}=P_{j}+\varepsilon D_{j} \in {\mathbb {DH}}[t]\) are linear polynomials. Then
$$\begin{aligned} \Vert M\Vert =\prod _{j=1}^k \Vert F_{j}\Vert = \prod _{i=1}^mN_{i}^{n_{i}} + \varepsilon \sum _{j=1}^k (P_{j}{D_{j}}^{*}+D_{j}{P_{j}}^{*}) \Vert P_{j}\Vert ^{-1} \prod _{i=1}^{m} N_{i}^{n_{i}}. \end{aligned}$$
Since for every \(j=1,\ldots ,k\) there exists \(i\in \{1,\ldots ,m\}\) such that \(\Vert P_{j}\Vert = N_{i}\), we can conclude that \(\prod _{i=1}^{m} N_{i}^{n_{i}-1}\) is a factor of \(\Vert M\Vert \).
Let us assume on the other hand that \(\prod _{i=1}^{m} N_{i}^{n_{i}-1}\) is a factor of \(\Vert M\Vert \). By Lemma 3.4 we know that \(\Vert M\Vert \) admits a factorization into quadratic and monic polynomials \(q_{1}\), \(\ldots \), \(q_k\) in \({\mathbb {D}}[t]\). By assumption P does not have a real factor. Thus we can use Lemma 3.3 to find \(h_k\in {\mathbb {DH}}\) and \(Q\in {\mathbb {DH}}[t]\) such that \(M= Q(t-h_k)\) and \(\Vert t-h_{k}\Vert =q_k\). Obviously, Q cannot have a real polynomial factor in the primal part as otherwise M would have a factor in the primal part which contradicts our assumptions. Further \(\Vert M\Vert =\Vert Q\Vert q_k\), whence \(\Vert Q\Vert =\prod _{i=1}^{k-1}q_{i}\). Thus we can use Lemma 3.3 recursively to obtain \(h_{1}, \)...\(, h_{k-1}\in {\mathbb {DH}}[t]\) such that \(M=\prod _{i=1}^k (t-h_{i})\) and \(\Vert t-h_{i}\Vert =q_{i}\). \(\square \)
Example 1
The polynomial \(M=P+\varepsilon D\) with \(P=(t-\mathbf {i})(t-\mathbf {k})\) and \(D=t-\mathbf {j}\) does not admit a factorization. The norm of M equals \((t^{2}+1)^{2}+2\varepsilon (t^{3}+1)\) but its dual part does not have the factor \(t^{2}+1\). This violates the necessary factorization condition of Theorem 3.5.
Algorithm
The proofs of Lemma 3.3 and Theorem 3.5 are constructive and similar to the proofs in [3]. The difference is, that we need to use quadratic dual polynomial factors of the norm polynomial. Nonetheless the same Algorithm 1 can be used to compute factorizations.
Algorithm 1 is not deterministic as its output depends on the choice of the quadratic factor N in Line 2. In the generic case, the norm polynomial of P has n coprime irreducible quadratic factors in \({\mathbb {R}}[t]\). Then the factorization of \(\Vert M\Vert \) is unique up to permutations of the factors, as we have seen in the proof of Lemma 3.4. In this case, there exist n! different factorizations of M, as in the original case of “generic motion polynomials” [3]. The situation is different, if the norm of P has quadratic factors of higher multiplicity.
Corollary 3.6
Let \(M=P+\varepsilon D\in {\mathbb {DH}}[t]\) be a dual quaternion polynomial that admits a factorization. If the norm of P has a quadratic factor \(N \in {\mathbb {R}}[t]\) with multiplicity \(m \ge 2\), then M admits infinitely many factorizations.
Proof
The norm polynomial \(\Vert M\Vert \) has the factor \(N^{m}+\varepsilon N^{m-1}\lambda \) for a linear polynomial \(\lambda \in {\mathbb {R}}[t]\). There are infinitely many ways to write \(\lambda \) as a sum of m linear polynomials \(\lambda _{i}\) so that
$$\begin{aligned} N^{m}+\varepsilon N^{m-1}\lambda = N^{m}+\varepsilon N^{m-1}\sum _{i=1}^{m} \lambda _{i} = \prod _{i=1}^{m} (N+\varepsilon \lambda _{i}). \end{aligned}$$
Consequently, \(\Vert M\Vert \) has infinitely many factorizations and so does M. \(\square \)
Translational Factors
Algorithm 1 is known to work for many more general cases (without the assumption \({\text {mrpf}}(P) = 1\)) but cases of failure are known as well. In particular, it was already observed in [3] that the algorithm is applicable to motion polynomials where the irreducible real polynomial factors of its primal part are linear and at most of multiplicity one. This is still the case for general polynomials \(M=cP+\varepsilon D\in {\mathbb {DH}}[t]\), where \(c=\prod _{i=1}^{n} c_{i}\in {\mathbb {R}}[t]\) is a product of distinct linear polynomials \(c_{i}\) and P has no real polynomial factor. The norm polynomial of M has c as factor and the primal part of \(\Vert M\Vert \) has \(c^{2}\) as factor. Thus we can use Lemma 3.4 to find linear \(\lambda _{i}\in {\mathbb {R}}[t]\) such that \(\Vert M\Vert \) has the factors \(c_{i}^{2}+\varepsilon \lambda _{i}\). The primal part of these factors do not divide the primal part of M due to the assumption that every linear factor of the primal part has multiplicity one, thus we can use Lemma 3.3 to compute linear factors \(c_{i} + \varepsilon (d_{1}\mathbf {i}+ d_{2}\mathbf {j}+ d_{3}\mathbf {k})\) of M and consequently, the Algorithm 1 still works in this more general setting. The linear factors \(c_{i} + \varepsilon (d_{1}\mathbf {i}+ d_{2}\mathbf {j}+ d_{3}\mathbf {k})\) parameterize all translations in the fixed direction \((d_{1},d_{2},d_{3})\), hence the name “translational factors”.
If on the other hand, we have a reduced polynomial \(M=c^{2}P+\varepsilon D\) where \(c\in {\mathbb {R}}[t]\) is a linear polynomial, it does not admit a factorization. To see this, let us assume the contrary \(M=\prod _{i=1}^{n} (P_{i}+\varepsilon D_{i})\). Since the primal part of M is the product of the primal parts of the factors, we know that two of the factors have c as primal part. Thus, there exist \(Q_{1}\), \(Q_{2}\), \(F_{1}\) and \(F_{2}\in {\mathbb {H}}[t]\) such that \(M=(cQ_{1}+\varepsilon F_{1})(cQ_{2}+\varepsilon F_{2}) = c(cQ_{1}Q_{2} + \varepsilon (Q_{1}F_{2}+F_{1}Q_{2}))\). But this contradicts the assumption that M is reduced.
Circularity and Factorizability
It is known that generic motion polynomials \(Q = P + \varepsilon D\) (polynomials in \({\mathbb {DH}}[t]\) with \({\text {mrpf}}(P) = 1\) and \(P{D}^{*} + D{P}^{*} = 0\)) have the following properties:
-
Their norm polynomial \(\Vert P\Vert \) factors into quadratic irreducible polynomials over \({\mathbb {R}}\),
-
they always admit factorizations and
-
their generic trajectories are entirely circular [6, Theorem 1].
The circularity of an algebraic curve is defined as half the number of intersection points with the absolute circle at infinity counted with their multiplicities. A curve is entirely circular if all its intersections with the plane at infinity lie on the absolute circle.
Let us quickly cast these concepts into algebraic equations. In the dual quaternion formalism, \({\mathbb {P}}^{3}({\mathbb {R}})\) is identified with the projective space over the vector space spanned by 1, \(\varepsilon \mathbf {i}\), \(\varepsilon \mathbf {j}\), \(\varepsilon \mathbf {k}\). Writing a general vector as \(x_{0} + \varepsilon x\) with \(x = x_{1}\mathbf {i}+ x_{2}\mathbf {j}+ x_{3}\mathbf {k}\), the plane at infinity is described by \(x_{0} = 0\) and the absolute circle at infinity is given by the additional equation \(\Vert x\Vert = 0\). If \(x_{0} + \varepsilon x\) is not a constant dual quaternion but a dual quaternion polynomial (that is, a rational parameteric curve), the parameter values of its intersection points with the plane at infinity are the zeros of \(x_{0}\). If they are also zeros of \(\Vert x\Vert \), they contribute, with their respective multiplicity, to the curve’s circularity.
Consider now a general polynomial \(M = P + \varepsilon D\) with \({\text {mrpf}}(P) = 1\) whose norm polynomial \(\Vert M\Vert \) factors over \({\mathbb {D}}\) into quadratic polynomials. We have already seen that M admits a factorization. Now we investigate necessary properties of its trajectories. It turns out that these are much weaker than in the motion polynomial case.
Theorem 3.7
Let \(M=P+\varepsilon D\in {\mathbb {DH}}[t]\) be a polynomial such that \({\text {mrpf}}(P)=1\) and M admits a factorization. Then the trajectories of the motion parameterized by M have the following property: All intersection points of the curve with the plane at infinity with multiplicity \(\mu >1\) intersect the absolute circle with multiplicity \(\mu \).
Proof
The trajectory of an arbitrary point \(x_{0}+\varepsilon x\) with \(x=x_{1}\mathbf {i}+x_{2}\mathbf {j}+x_{3}\mathbf {k}\) in projective three-space with respect to M is given by
$$\begin{aligned} (P-\varepsilon D)(x_{0}+\varepsilon x)({P}^{*}+\varepsilon {D}^{*})= & {} x_{0}\Vert P\Vert +\varepsilon (Px{P}^{*}+x_{0}(P{D}^{*}-D{P}^{*})).\nonumber \\ \end{aligned}$$
(6)
This curve’s intersection points with the plane at infinity correspond to zeros of its primal part and consequently to the factors of \(\Vert P\Vert \). Let us write \(\Vert P\Vert =\prod _{i=1}^{m} N_{i}^{n_{i}}\) where \(N_{1}, \ldots , N_m\in {\mathbb {R}}[t]\) are coprime irreducible polynomials. We need to show that all \(N_{i}^{n_{i}}\) with \(n_{i}>1\) are factors of the norm of the dual part in (6). Let us have a look at the polynomial
$$\begin{aligned} \Vert Px{P}^{*}+x_{0}(P{D}^{*}-D{P}^{*})\Vert= & {} \Vert P\Vert ^{2}\Vert x\Vert - x_{0}\Vert P\Vert (Px{D}^{*}+D{x}^{*}{P}^{*})\\&\quad + x_{0}P(x{P}^{*}D+{D}^{*}P{x}^{*}){P}^{*} +x_{0}^{2}\Vert P{D}^{*}-D{P}^{*}\Vert . \end{aligned}$$
The first two summands have \(\Vert P\Vert \) as a factor. The middle factor of the third summand is a real polynomial, thus it commutes with P and therefore the third summand also has the factor \(\Vert P\Vert \). For the last summand it holds
$$\begin{aligned} \Vert P{D}^{*}-D{P}^{*}\Vert&=4\Vert P\Vert \Vert D\Vert -(P{D}^{*}+D{P}^{*})^{2}. \end{aligned}$$
Since M admits a factorization, we know that \(c := \prod _{i=1}^{m} N_{i}^{n_{i}-1}\) is a factor of the dual part of \(\Vert M\Vert \) which is \(P{D}^{*}+D{P}^{*}\). Thus the last summand has the factor \(c^{2}\) which in turn has the factors \(N_{i}^{n_{i}}\) with \(n_{i}>1\). This proves the statement. \(\square \)
The converse of Theorem 3.7 is not true which can be seen in the following example.
Example 2
Let \(M=(t-\mathbf {i})(t-\mathbf {k})+\varepsilon (t-\mathbf {j})\) be the polynomial of Example 1. The polynomial \(Q=M(t-\mathbf {k})^{2}\) does not admit a factorization, because it does not fulfill the requirements of Theorem 3.5, but its norm polynomial \(\Vert Q\Vert \) has the factor \((t^{2}+1)^{2}\). From the proof above we can conclude that the trajectories of Q are entirely circular even though the polynomial does not admit a factorization.