The LaTeX command for integral (∫) is \int (integral).
\intWriting a paper? The table generator and the BibTeX cleaner are one click away, no account.
| Command | Package | Use it when |
|---|---|---|
\int_a^b f(x)\,dx recommended | none | Definite integral; \, adds a thin space before dx. |
\int\limits_a^b f(x)\,dx | none | Limits above and below the sign. |
\iint_D f\,dA | amsmath | Double integral, correctly spaced (\iiint for triple). |
\oint_C \mathbf{F} \cdot d\mathbf{r} | none | Contour integral. |
\int f(x)\,\mathrm{d}x | none | Upright d, as ISO style asks. |
Write \int inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.
$\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}$Open this example in the live preview: it renders as you type, with no compiler and no signup.
Calculus and analysis symbols in LaTeX: the full table or search all 350+ LaTeX symbols.
Use \int in math mode; it needs no extra package. For example, $\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}$.
None: \int is built into LaTeX, so no extra package is required.
Without \, the dx runs into the integrand, and \int\int leaves a gap between the signs: use \iint from amsmath.