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

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

Where it is used

Writes the limit operator with x approaching infinity placed beneath "lim".

\lim is a predefined operator name, so it prints in upright roman and, in display math, places the subscript x \to \infty directly below. Inline, the subscript moves to the side to keep line spacing tidy. The arrow inside is \to, a short alias for \rightarrow. One-sided limits are written x \to 0^+ or x \downarrow 0. Related operators \limsup and \liminf work the same way. If you need a custom limit-like word with stacked subscripts, define it with \DeclareMathOperator* (the star enables limits) rather than writing \text{lim}.

Also listed under: التفاضل والتكامل والتحليل

Minimal compilable example

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

lim⁡x→∞(1+1x)x=e\lim_{x \to \infty} \left(1 + \frac{1}{x}\right)^{x} = e
\documentclass{article}
\begin{document}
Limit: $\lim_{x \to \infty}$

\[ \lim_{x \to \infty} \left(1 + \frac{1}{x}\right)^{x} = e \]
\end{document}

Related symbols

All الرموز الرياضية →

Frequently asked questions

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

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

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

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