Integral in LaTeX (\int)

∫\int
LaTeX command
\int
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
∫U+222B

Where it is used

Draws the integral sign, used for antiderivatives and definite integrals such as the area under a curve.

Write limits as a subscript and superscript: \int_a^b f(x)\,dx gives a definite integral, and the bounds sit beside the sign in display style by default. Add \limits right after \int to stack the bounds above and below, a style some physics texts prefer. Put a thin space \, before the differential so dx does not collide with the integrand. For repeated integrals, \int\int leaves an awkward gap; use \iint or \iiint, which tighten the spacing automatically. In inline math the sign shrinks noticeably, so long or nested integrals usually read better in a display environment.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

∫01x2 dx=13\int_0^1 x^2\,dx = \frac{1}{3}
\documentclass{article}
\begin{document}
Integral: $\int$

\[ \int_0^1 x^2\,dx = \frac{1}{3} \]
\end{document}

Related symbols

All 미적분 →

Frequently asked questions

How do I write Integral in LaTeX?
Type \int in math mode, for example $\int_0^1 x^2\,dx = \frac{1}{3}$. It works in plain LaTeX without loading any package.
Which package do I need for \int?
None. \int is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \int in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\int$ in running text. If you only need the glyph in text, paste the Unicode character ∫ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기