Limit in LaTeX
A limit is written with \lim, and the condition goes in the subscript with the arrow \to. In display math the condition is placed under the word lim.
Limit of a function
\lim_{x \to 0} \frac{\sin x}{x} = 1Limit of a sequence
\lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n = eOne-sided limit
\lim_{x \to 0^{+}} \ln x = -\inftyCommon mistakes
- Writing lim without a backslash: it is set in italics like the product l·i·m.
- Typing -> instead of \to: in math mode you get a minus sign followed by a greater-than sign.
See also
Don't want to memorize commands?
Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.