CamteX
All guides

Integral in LaTeX

An integral is written with \int, and its limits like indices: the lower one with _ and the upper one with ^. Add a small space \, before dx so the differential does not run into the integrand.

Definite integral

\int_0^1 x^2 \, dx = \frac{1}{3}
01x2dx=13\int_0^1 x^2 \, dx = \frac{1}{3}

Double integral

\iint_D f(x, y) \, dx \, dy
Df(x,y)dxdy\iint_D f(x, y) \, dx \, dy

Closed contour integral

\oint_C \vec{E} \cdot d\vec{l}
CEdl\oint_C \vec{E} \cdot d\vec{l}

Limits above and below the sign

\int\limits_{a}^{b} f(x) \, dx
abf(x)dx\int\limits_{a}^{b} f(x) \, dx

Common mistakes

See also

Don't want to memorize commands?

Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.

Try it free