# Curl of a vector field (curl)

Curl of a vector field in three variables.

## How to write it

### curl(field, variables)

**field**

The three components of the field. Takes a list.

**variables**

The three variables, in brackets. Takes a list of variables.

## Examples

- $\displaystyle \operatorname{curl}(\left[ y, -x, 0 \right], \left[ x, y, z \right]) = \left[ 0, 0, -2 \right]$

  `curl([y, -x, 0], [x, y, z])`

  In the solver, `curl([y, -x, 0], [x, y, z])` gives `[0, 0, -2]`.

  [Open in the solver](https://hilberon.com/?q=curl%28%5By%2C%20-x%2C%200%5D%2C%20%5Bx%2C%20y%2C%20z%5D%29)

## Related functions

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

  The derivative operator: derivative(n) is of order n, derivative(0, 1) is the partial in the second argument.
- [certified_value](https://hilberon.com/library/certified_value)

  An enclosure of a definite integral or a closed constant, with radius at most 10^-digits.
- [diff](https://hilberon.com/library/diff)

  Derivative of an expression with respect to one or more variables.
- [total_diff](https://hilberon.com/library/total_diff)

  Total derivative of an expression with respect to a variable.
- [div](https://hilberon.com/library/div)

  Divergence of a vector field.
- [residue](https://hilberon.com/library/residue)

  Residue of an expression at a point.

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