Introduction

Welcome back to Advanced Math Notation! This is lesson four of six, so we are well into the home stretch. In the previous three lessons, you learned to place accents on math symbols, auto-size delimiters with \left and \right, and combine multiple notation elements into layered expressions. Each of those skills will serve you well today.

This lesson focuses on big operators — the large summation, product, and integral signs that show up whenever mathematics describes accumulation or repetition. You will find them everywhere: a data scientist sums squared errors, a physicist integrates force over distance, and a combinatorialist multiplies a sequence of factors. We will learn how to typeset each operator with upper and lower limits, see how LaTeX automatically adjusts their appearance in inline versus display mode, and practice nesting other notation inside them.

Why Big Operators Are Different

Most math symbols, like ++ or ==, stay the same size regardless of where they appear. Big operators behave differently: LaTeX renders them larger than surrounding text in display mode and gives their limits special positioning. This treatment exists because big operators act as organizing signs for an entire sub-expression, much like a heading organizes a paragraph.

The three big operators we will focus on are the most widely used:

  • Summation (\sum) — adds up a sequence of terms, such as totaling monthly revenues.
  • Product (\prod) — multiplies a sequence of terms, as in computing factorials or joint probabilities.
  • Integral () — accumulates a quantity over a continuous range, like finding the area under a curve.
Summation with `\sum`

The \sum command produces the summation sign. We attach a lower limit with _{ } and an upper limit with ^{ }, then write the expression being summed immediately after. Here is a typical example in display math:

i=1nai\sum_{i=1}^{n} a_i
Products with `\prod`

The product operator works exactly like summation, just with a different symbol. The command \prod gives us the capital pi used for products:

k=1nk=n!\prod_{k=1}^{n} k = n!

The syntax is identical: \prod_{lower}^{upper} followed by the body of the product. Because \prod is also a big operator, LaTeX applies the same limit-placement rules as . Once you know one, you essentially know both — and that consistency extends to other big operators you may encounter later.

Inline vs. Display: How Limits Move

One of the most important things to understand about big operators is that limit placement changes automatically depending on the math environment. In display mode, limits appear above and below the operator. In inline mode, they shift to the side, behaving like regular subscripts and superscripts.

Consider the same summation written both ways:

ModeCodeRendered style
Inline$\sum_{i=1}^{n} a_i$Limits beside the sigma: i=1nai\sum_{i=1}^{n} a_i
Integrals with `\int`

The integral sign is produced by \int. Its limits represent the bounds of integration and attach with the same underscore/caret pattern:

01x2dx\int_0^1 x^2 \, dx

There are two details worth noting here. First, integral limits in standard LaTeX appear to the side of the integral sign even in display mode, unlike \sum and \prod. This is a typographic convention inherited from traditional mathematical publishing.

Nesting Notation Inside Big Operators

Big operators become even more expressive when you place richer notation inside them. The body of a sum, product, or integral can contain fractions, roots, Greek letters, or any other construct — exactly the kind of layering you practiced in the previous lesson.

Here is a summation with a fraction in its body:

k=1n1k2\sum_{k=1}^{n} \frac{1}{k^2}
Conclusion and Next Steps

In this lesson, you learned how to typeset the three most common big operators — \sum, \prod, and \int — with upper and lower limits using the familiar underscore and caret syntax. We explored how LaTeX automatically repositions limits between inline and display modes, practiced nesting fractions and functions inside operator bodies, and picked up the \, thin-space convention for writing clean differentials.

Now it is time to put these operators to work in hands-on practice. You will write summations and integrals from scratch, compare inline and display output side by side, and build publication-ready expressions that combine big operators with everything else in your LaTeX toolkit — go show those sigmas and integrals who is in charge!

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal