# field_add function

Sum of two elements of a finite field.

## How to write it

### field_add(field, a, b)

**field**

A finite field, such as finite_field(5). Takes an expression.

**a**

An element. Takes a whole number.

**b**

An element. Takes a whole number.

## Examples

- $\displaystyle \operatorname{field\_add}(\operatorname{finite\_field}(5), 3, 4) = 2$

  `field_add(finite_field(5), 3, 4)`

  In the solver, `field_add(finite_field(5), 3, 4)` gives `2`.

  [Open in the solver](https://hilberon.com/?q=field_add%28finite_field%285%29%2C%203%2C%204%29)

## Related functions

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

  The inverse of an element of a finite field.
- [quaternion_norm](https://hilberon.com/library/quaternion_norm)

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

  The elements of a group, as permutations in cycle notation.
- [quaternion_multiply](https://hilberon.com/library/quaternion_multiply)

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

  How many elements a group has.
- [quaternion_conjugate](https://hilberon.com/library/quaternion_conjugate)

  The conjugate of a quaternion.

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