Jak robić limity w lateks
$\lim_{x \to +\infty} f(x)$
Flyhouse_Squarewheel
$\lim_{x \to +\infty} f(x)$
Inside text: $\sum_{n=1}^{\infty} 2^{-n} = 1$
On its own line: $$\sum_{n=1}^{\infty} 2^{-n} = 1$$
\sum_{lower}^{upper} expression
Example:
\sum_{n=1}^{infty} n = \infty
(Don't forget to use $ delimiters!)
You may find the following command convenient:
\newcommand{\ssum}[2]{\sum_{#1}^{#2}}
Example:
\ssum{n=1}{\infty} n = \infty