Dual Quaternion - Matrix Form of Dual Quaternion Multiplication

Matrix Form of Dual Quaternion Multiplication

The matrix representation of the quaternion product is convenient for programming quaternion computations using matrix algebra, which is true for dual quaternion operations as well.

The quaternion product AC is a linear transformation by the operator A of the components of the quaternion C, therefore there is a matrix representation of A operating on the vector formed from the components of C.

Assemble the components of the quaternion C=c0+C into the array C=(C1, C2, C3, c0). Notice that the components of the vector part of the quaternion are listed first and the scalar is listed last. This is an arbitrary choice, but once this convention is selected we must abide by it.

The quaternion product AC can now be represented as the matrix product


AC = C =
\begin{bmatrix}
a_0 & -A_3 & A_2 & A_1 \\
A_3 & a_0 & -A_1 & A_2 \\
-A_2 & A_1 & a_0 & A_3 \\
-A_1 & -A_2 & -A_3 & a_0
\end{bmatrix}
\begin{Bmatrix} C_1 \\ C_2 \\ C_3 \\ c_0 \end{Bmatrix}.

The product AC can also be viewed as an operation by C on the components of A, in which case we have


AC = A = \begin{bmatrix}
c_0 & C_3 & -C_2 & C_1 \\
-C_3 & c_0 & C_1 & C_2 \\
C_2 & -C_1 & c_0 & C_3 \\
-C_1 & -C_2 & -C_3 & c_0
\end{bmatrix}
\begin{Bmatrix} A_1 \\ A_2 \\ A_3 \\ a_0 \end{Bmatrix}.

The dual quaternion product ÂĈ = (A, B)(C, D) = (AC, AD+BC) can be formulated as a matrix operation as follows. Assemble the components of Ĉ into the eight dimensional array Ĉ = (C1, C2, C3, c0, D1, D2, D3, d0), then ÂĈ is given by the 8x8 matrix product


\hat{A}\hat{C} = \hat{C} = \begin{bmatrix} A^+ & 0 \\ B^+ & A^+ \end{bmatrix}\begin{Bmatrix} C \\ D\end{Bmatrix}.

As we saw for quaternions, the product ÂĈ can be viewed as the operation of Ĉ on the coordinate vector Â, which means ÂĈ can also be formulated as,


\hat{A}\hat{C} = \hat{A} = \begin{bmatrix} C^- & 0 \\ D^- & C^- \end{bmatrix}\begin{Bmatrix} A \\ B\end{Bmatrix}.

Read more about this topic:  Dual Quaternion

Famous quotes containing the words matrix, form and/or dual:

    “The matrix is God?”
    “In a manner of speaking, although it would be more accurate ... to say that the matrix has a God, since this being’s omniscience and omnipotence are assumed to be limited to the matrix.”
    “If it has limits, it isn’t omnipotent.”
    “Exactly.... Cyberspace exists, insofar as it can be said to exist, by virtue of human agency.”
    William Gibson (b. 1948)

    The complaint ... about modern steel furniture, modern glass houses, modern red bars and modern streamlined trains and cars is that all these objets modernes, while adequate and amusing in themselves, tend to make the people who use them look dated. It is an honest criticism. The human race has done nothing much about changing its own appearance to conform to the form and texture of its appurtenances.
    —E.B. (Elwyn Brooks)

    Thee for my recitative,
    Thee in the driving storm even as now, the snow, the winter-day
    declining,
    Thee in thy panoply, thy measur’d dual throbbing and thy beat
    convulsive,
    Thy black cylindric body, golden brass and silvery steel,
    Walt Whitman (1819–1892)