Infinity in LaTeX (\infty)

∞\infty
LaTeX command
\infty
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
∞U+221E

Where it is used

Draws the lemniscate ∞, representing an unbounded quantity or a limit that grows without bound.

You will see \infty in limits like x \to \infty, improper integrals \int_0^\infty e^{-x}\,dx, and series bounds \sum_{n=1}^{\infty}. It also names the sup norm \|f\|_\infty, the space L^\infty, and smooth functions C^\infty. Write -\infty and +\infty with the sign attached; TeX spaces the sign correctly as unary. Remember that \infty is not a real number, so an interval containing it should be open at that end, as in [0, \infty). For the extended reals, \overline{\mathbb{R}} is a common notation.

Also listed under: 미적분

Minimal compilable example

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

∫0∞e−x2 dx=π2\int_{0}^{\infty} e^{-x^2}\,dx = \frac{\sqrt{\pi}}{2}
\documentclass{article}
\begin{document}
Infinity: $\infty$

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

Related symbols

All 수학 기호 →

Frequently asked questions

How do I write Infinity in LaTeX?
Type \infty in math mode, for example $\int_{0}^{\infty} e^{-x^2}\,dx = \frac{\sqrt{\pi}}{2}$. It works in plain LaTeX without loading any package.
Which package do I need for \infty?
None. \infty is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \infty in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\infty$ 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로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기