# Is there a work-around to use Solve with Quaternions?

**URL:** <https://community.wolfram.com/t/is-there-a-work-around-to-use-solve-with-quaternions/7795>\
**Category:** Questions\
**Tags:** packages-and-paclets\
**Created:** [January 31, 2016, 2:52pm UTC](https://community.wolfram.com/t/is-there-a-work-around-to-use-solve-with-quaternions/7795 "2016-01-31T14:52:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lesterwelch](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@lesterwelch](https://community.wolfram.com/u/lesterwelch)\
**Post date:** [January 31, 2016, 2:52pm UTC](https://community.wolfram.com/t/is-there-a-work-around-to-use-solve-with-quaternions/7795/1 "2016-01-31T14:52:04Z")

</div>

I just noticed in the documentation that one can’t use “dom = Quaternions” as the last parameter of Solve. Is there a work-around? Developmental plans?

---

<div class="post-metadata">

**Author:** ![danl](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/danl/32/41267_2.png) [@danl](https://community.wolfram.com/u/danl)\
**Post date:** [January 31, 2016, 6:21pm UTC](https://community.wolfram.com/t/is-there-a-work-around-to-use-solve-with-quaternions/7795/2 "2016-01-31T18:21:26Z")

</div>

`Solve` works with polynomial systems primarily, and I doubt there is any plan to change it to understand quaternions explicitly. As for workaround, it is difficult to respond without having a concrete example at hand. That is a general statement that should be considered whenever posting a question to the forum.

---

<div class="post-metadata">

**Author:** ![lesterwelch](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@lesterwelch](https://community.wolfram.com/u/lesterwelch)\
**Post date:** [January 31, 2016, 6:36pm UTC](https://community.wolfram.com/t/is-there-a-work-around-to-use-solve-with-quaternions/7795/3 "2016-01-31T18:36:24Z")

</div>

Thanks. I’m curious though. One can certainly have polynomials of quaternions just like one can for complexes. Is it the non-commuting nature that is the problem?

---

<div class="post-metadata">

**Author:** ![danl](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/danl/32/41267_2.png) [@danl](https://community.wolfram.com/u/danl)\
**Post date:** [January 31, 2016, 8:23pm UTC](https://community.wolfram.com/t/is-there-a-work-around-to-use-solve-with-quaternions/7795/4 "2016-01-31T20:23:50Z")

</div>

Noncommutativity would be an issue, yes. Might be possible to embed in matrix algebra though.

---

<div class="post-metadata">

**Author:** ![lesterwelch](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@lesterwelch](https://community.wolfram.com/u/lesterwelch)\
**Post date:** [January 31, 2016, 9:10pm UTC](https://community.wolfram.com/t/is-there-a-work-around-to-use-solve-with-quaternions/7795/5 "2016-01-31T21:10:15Z")

</div>

Hmmm, - matrice representations …that may be the “work-around.” Thanks.

---

<div class="post-metadata">

**Author:** ![sblinder](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/sblinder/32/17861_2.png) [@sblinder](https://community.wolfram.com/u/sblinder)\
**Post date:** [February 1, 2016, 12:43am UTC](https://community.wolfram.com/t/is-there-a-work-around-to-use-solve-with-quaternions/7795/6 "2016-02-01T00:43:33Z")

</div>

You can simulate quaternions with a linear combination of the 3 Pauli spin matrices and the 2x2 identity matrix.

---

<div class="post-metadata">

**Author:** ![lesterwelch](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@lesterwelch](https://community.wolfram.com/u/lesterwelch)\
**Post date:** [February 1, 2016, 3:21am UTC](https://community.wolfram.com/t/is-there-a-work-around-to-use-solve-with-quaternions/7795/7 "2016-02-01T03:21:10Z")

</div>

Right - so why doesn’t MMA do that with “Solve?” and allow “dom=Quaternion?” Or maybe Solve doesn’t solve matrix equations either? Haven’t checked.
