It is possible to do the symbolic multiplication $qq^*$ of a quaternion $q=a+bi+cj+dk$ by its conjugate $q^*=a-bi-cj-dk$ using Mathematica? It seems that Quaternion package only works with numeric entries.

  • 4
    $\begingroup$ Use ** instead of * to "multiply" 2 quaternions. $\endgroup$ – Carl Woll Nov 19 '18 at 17:19
  • 1
    $\begingroup$ Try a new package named GTPack. $\endgroup$ – Αλέξανδρος Ζεγγ Nov 20 '18 at 2:53
  • $\begingroup$ Thanks for all the relevant contributions! $\endgroup$ – robson denke Nov 28 '18 at 20:01
q = Quaternion[a, b, c, d];
q ** Conjugate[q]

Quaternion[a^2 + b^2 + c^2 + d^2, 0, 0, 0]


The following links might be helpful to you:




  • 5
    $\begingroup$ Please keep in mind that answers which provide only links are discouraged. Try to summarized the contents of the linked articles in the answer, so that if a link ever goes dead the answer will still be of use. $\endgroup$ – Reinstate Monica Nov 19 '18 at 23:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.