# Error function (erf)

Error function.

## How to write it

### erf(x)

**x**

The argument. Takes an expression.

## Examples

- $\displaystyle \operatorname{erf}(0) = 0$

  `erf(0)`

  In the solver, `erf(0)` gives `0`.

  [Open in the solver](https://hilberon.com/?q=erf%280%29)

## Related functions

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

  Inverse of the error function.
- [erfc](https://hilberon.com/library/erfc)

  Complementary error function: 1 - erf(x).
- [elliptic_k](https://hilberon.com/library/elliptic_k)

  Complete elliptic integral of the first kind.
- [erfi](https://hilberon.com/library/erfi)

  Imaginary error function.
- [elliptic_f](https://hilberon.com/library/elliptic_f)

  Incomplete elliptic integral of the first kind F(phi | m).
- [exp_integral](https://hilberon.com/library/exp_integral)

  Exponential integral Ei(x).

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