# Logarithmic integral (log_integral)

Logarithmic integral li(x).

## How to write it

### log_integral(x)

**x**

The argument. Takes an expression.

## Examples

- $\displaystyle \operatorname{li}(2) \approx 1.0451637801174927$

  `numeric(log_integral(2))`

  In the solver, `numeric(log_integral(2))` gives `1.0451637801174927`.

  [Open in the solver](https://hilberon.com/?q=numeric%28log_integral%282%29%29)

## Functions its examples use

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

  Approximate a number with decimals.

## Related functions

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

  Logarithm of the gamma function.
- [product_log](https://hilberon.com/library/product_log)

  Lambert W function on its principal branch, also called the product logarithm.
- [sin_integral](https://hilberon.com/library/sin_integral)

  Sine integral: the integral of sin(t)/t from 0 to x.
- [sinh_integral](https://hilberon.com/library/sinh_integral)

  Hyperbolic sine integral Shi(x).
- [cos_integral](https://hilberon.com/library/cos_integral)

  Cosine integral Ci(x).
- [cosh_integral](https://hilberon.com/library/cosh_integral)

  Hyperbolic cosine integral Chi(x).

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