Sums, products, integrals and limits are the "big operators" of maths. Each is one command, and each takes its limits from _ and ^, the same two characters as subscripts and powers.
Sums
\sum gives the summation sign, with the bottom limit in _ and the top in ^:
In a formula on its own line, like this one, the limits sit under and over the sign. Inside a sentence they move to the side to save height: . That is LaTeX's choice, and usually the right one.
Products
\prod works just like \sum:
Bigger versions of the set symbols work the same way too: \bigcup_{i=1}^{n} A_i gives .
Integrals
\int gives the integral sign. Its limits also come from _ and ^, but they stay at the side of the sign, as in printed books:
The \, before the dx adds a thin space between the function and the dx, which is how integrals are usually printed. Limits longer than one character need braces: \int_{-\infty}^{\infty}.
There are signs for multiple integrals and for an integral round a closed curve: \iint gives , \iiint gives , and \oint gives .
Limits
\lim prints "lim" upright, with what tends to what in _ underneath:
\to gives the arrow and \infty infinity: \lim_{n \to \infty}. As with sums, the condition sits underneath on its own line and at the side in a sentence.
Practise
\sum_{k=1}^{n}, then what is being added.\sum_{k=1}^{n} k^2\prodworks like\sum.\prod_{k=1}^{n} k = n!The limits go straight after
\int:\int_0^{\pi}.\int_0^{\pi} \sin x \, dx = 2\int_a^b, the function, then\, dx.\int_a^b f(x) \, dx = F(b) - F(a)\lim_{x \to \infty}, then the fraction.\lim_{x \to \infty} \frac{1}{x} = 0Growing brackets from lesson 5 round the fraction, then the power.
\lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n = e\iintgives the double integral sign.\iint_R xy \, dAThe top limit is
\infty, inside braces.\sum_{n=0}^{\infty} \frac{x^n}{n!} = e^x
In short
\sum,\prodand\inttake their limits from_and^.- Sum and product limits sit under and over in a displayed formula, and at the side in a sentence; integral limits stay at the side.
\lim_{x \to a}writes a limit;\,before dx adds the usual thin space.
Next, in lesson 7: function names like sin and log, and derivatives.