Limit in LaTeX (\lim_{x \to a})

lim⁡x→a\lim_{x \to a}
LaTeX command
\lim_{x \to a}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Limit operator with the approach condition x \to a written beneath it.

Because \lim is a predefined operator, it sets in upright roman and places its subscript underneath in display math, as in \lim_{x \to 0} \frac{\sin x}{x} = 1. Inline, the subscript moves to the side to save line height; force it below with \lim\limits_{x\to a} only if the extra height is acceptable. One-sided limits use x \to a^+ or x \to a^-, and limits at infinity x \to \infty. The related operators \limsup and \liminf behave the same way. Use \to rather than a hyphen and greater-than sign for the arrow, which would print as two separate symbols.

Minimal compilable example

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

lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1
\documentclass{article}
\begin{document}
Limit: $\lim_{x \to a}$

\[ \lim_{x \to 0} \frac{\sin x}{x} = 1 \]
\end{document}

Related symbols

All التفاضل والتكامل والتحليل →

Frequently asked questions

How do I write Limit in LaTeX?
Type \lim_{x \to a} in math mode, for example $\lim_{x \to 0} \frac{\sin x}{x} = 1$. It works in plain LaTeX without loading any package.
Which package do I need for \lim_{x \to a}?
None. \lim_{x \to a} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \lim_{x \to a} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\lim_{x \to a}$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث