Skip to content
All LaTeX symbols

Integral symbol (∫)

Calculus

∫

LaTeX command

\int_{a}^{b} f(x)\,dx

definite integral

Use inside math mode: $\int_{a}^{b} f(x)\,dx$ — base LaTeX, KaTeX and MathJax

\int takes its limits as subscript and superscript. The thin space \, before dx is the conventional typographic touch. amsmath adds the multiple-integral signs, and \oint is the closed-contour integral used in complex analysis and electromagnetism.

All ways to write it

CommandUsePackageCopy
\int_{a}^{b} f(x)\,dxdefinite integralnone
\intindefinitenone
\iintdouble ∬amsmath
\iiinttriple ∭amsmath
\ointcontour ∮none
\int\limits_{a}^{b}limits above and belownone

Commands marked with a package need that \usepackage line in a LaTeX document.

Example

\int_{0}^{\infty} e^{-x^2}\,dx = \frac{\sqrt{\pi}}{2}

The Gaussian integral.

Questions

Should dx be upright or italic?

Both conventions exist. ISO style uses upright \mathrm{d}x; most mathematics journals use italic dx. Be consistent.

Related symbols

Using integral in Confluence

Confluence Cloud has no built-in LaTeX. With LaTeX Math for Confluence you add a math macro to any page, type \int_{a}^{b} f(x)\,dx and it renders inline or as a block, with a live preview while you edit. Every command on this page renders there without extra packages.