# quaternion_conjugate function

The conjugate of a quaternion.

## How to write it

### quaternion_conjugate(q)

**q**

A quaternion, such as quaternion(1, 2, 3, 4). Takes an expression.

## Examples

- $\displaystyle \operatorname{quaternion\_conjugate}(\operatorname{quaternion}(1, 2, 3, 4)) = \operatorname{quaternion}(1, -2, -3, -4)$

  `quaternion_conjugate(quaternion(1, 2, 3, 4))`

  In the solver, `quaternion_conjugate(quaternion(1, 2, 3, 4))` gives `quaternion(1, -2, -3, -4)`.

  [Open in the solver](https://hilberon.com/?q=quaternion_conjugate%28quaternion%281%2C%202%2C%203%2C%204%29%29)

## Related functions

- [quaternion_multiply](https://hilberon.com/library/quaternion_multiply)

  The product of two quaternions.
- [quaternion_norm](https://hilberon.com/library/quaternion_norm)

  The norm of a quaternion.
- [permutations](https://hilberon.com/library/permutations)

  All the orderings of a list.
- [permutation_sign](https://hilberon.com/library/permutation_sign)

  The sign of a permutation: 1 when it is even, -1 when odd.
- [field_add](https://hilberon.com/library/field_add)

  Sum of two elements of a finite field.
- [permutation_product](https://hilberon.com/library/permutation_product)

  The product of two permutations.

---
Source: https://hilberon.com/library/quaternion_conjugate
