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: Calculus at Analysis

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 Mga Simbolo ng Math →

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 poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers