Reading a formula

After thiswhat you will be able to doExpand finite sigma notation into its terms, distinguish bound counters from free indices, and evaluate sums over chosen list positions.

Questionwhat this lesson answersA formula is shorter than the arithmetic it stands for. What do its letters, subscripts, counters and summation sign tell you when you expand it?

Not coveredwhat this lesson leaves outWe stop at finite sums of ordinary numbers. We take the reordering laws of addition as a starting point. We do not decide whether an infinite sum converges.

Five measurements arrive: 4, 7, 3, 6, and 5. You want one total, so you write

4+7+3+6+5=25.4 + 7 + 3 + 6 + 5 = 25.

Now imagine five hundred measurements. The arithmetic has not changed, but longhand no longer fits on a page. Compact notation stores the same job in less space.

A letter keeps one value

Suppose one measurement has not been chosen. It could later be 4 or 9. Give that unknown number the name x{x}. The letter simply names whichever number we choose. If x=4{x = 4}, every x{x} within this piece of work means 4. Changing its value halfway through would change the instructions without warning.

A subscript gives a list position

Return to the list 4, 7, 3, 6, 5. One letter cannot distinguish its five positions. Put a small position number below the letter. That lower marker is called a subscript. We can now name the five values:

x1=4,x2=7,x3=3,x4=6,x5=5.x_1 = 4,\quad x_2 = 7,\quad x_3 = 3,\quad x_4 = 6,\quad x_5 = 5.

Read x3{x_3} as “x sub three.” It means the value at position 3, which happens to be 3 here. Think of the subscript as a house number on the street named x{x}.

The lower 3 is not multiplication. It is not a power, where a raised number requests repeated multiplication. It is not part of the letter’s name. The name stays x{x}, while the subscript selects one position. It does not alter the stored value. Here x2{x_2} stores 7, not 72 or x{x} multiplied by 2.

An index can visit each position

Sometimes the position should change. Let i{i} stand for the current position. A letter used for a position is called an index. Then xi{x_i} means the list value at position i{i}.

When i=1{i = 1}, xi{x_i} means x1{x_1}, so its value is 4. When i=2{i = 2}, it means x2{x_2}, so its value is 7. Within each step, i{i} has one value. It is a placeholder filled with each position in turn. The instruction says exactly when its value changes.

The summation sign repeats an addition

Start with the five-number arithmetic again:

4+7+3+6+5=25.4 + 7 + 3 + 6 + 5 = 25.

There is a shorthand for exactly that:

i=15xi=25.\sum_{i=1}^{5} x_i = 25.

The large Greek letter {\sum} is called sigma, and it means “add up.” The letter i{i} underneath is the counter. The 1 underneath says where that counter starts. The 5 on top says where it stops. The expression xi{x_i} on the right is what gets added each time. Each number being added is called a term.

Expand the shorthand by replacing i{i} with every position from 1 through 5:

i=15xi=x1+x2+x3+x4+x5=4+7+3+6+5=25.\sum_{i=1}^{5} x_i = x_1 + x_2 + x_3 + x_4 + x_5 = 4 + 7 + 3 + 6 + 5 = 25.

The start and stop numbers are called bounds. Starting at 2 and stopping at 4 selects only the middle three positions:

i=24xi=x2+x3+x4=7+3+6=16.\sum_{i=2}^{4} x_i = x_2 + x_3 + x_4 = 7 + 3 + 6 = 16.

Starting at 4 and stopping at 2 visits no positions. We define such an empty range to have no terms. Adding no terms has total zero:

i=42xi=0.\sum_{i=4}^{2} x_i = 0.

A bound counter disappears after the sum

Take the full range again. A counter named i{i} visits positions 1 through 5. A counter named j{j} visits the same positions. Both instructions therefore add 4, 7, 3, 6, and 5.

i=15xi=4+7+3+6+5=j=15xj.\sum_{i=1}^{5} x_i = 4 + 7 + 3 + 6 + 5 = \sum_{j=1}^{5} x_j.

The sigma controls the counter and supplies every value it needs. A controlled letter is called bound. Its name does not affect the total. This follows from the definition of the shorthand, rather than from a new assumption. When the range is already known, people often shorten this to ixi=jxj{\sum_i x_i = \sum_j x_j}.

Now add the full total to the value at position 2. The result is 7+25=32{7 + 25 = 32}. At position 4, the result is 6+25=31{6 + 25 = 31}. One expression can leave that position undecided:

xi+j=15xj.x_i + \sum_{j=1}^{5} x_j.

Here j{j} is bound by the sigma and visits the whole list. The i{i} is not the counter under that sigma. Nothing in this expression chooses its position. A letter whose value still must be supplied is called free. Renaming j{j} changes nothing. Changing the free i{i} can change the result.

Change the shorthand, change the expansion

Both sides are the same instruction

Change a list value or either bound. The left side stays compact. The right side shows every position that the counter visits, then adds those values longhand.

4x17x23x36x45x5sum from i = 1 to 5 of xi0
The counter takes each position in its range in turn, and the value there joins the running total. Positions outside the bounds are drawn faint: they are still in the list, they are just not visited.

List values

1
5
Counter name

Sigma form

Longhand expansion

The range from 1 to 5 expands to 5 terms. Both totals are 25.

The repeated expression can contain a calculation

Multiply each list value by itself, then add the results:

(4×4)+(7×7)+(3×3)+(6×6)+(5×5)=135.(4 \mathbin{\times} 4) + (7 \mathbin{\times} 7) + (3 \mathbin{\times} 3) + (6 \mathbin{\times} 6) + (5 \mathbin{\times} 5) = 135.

Multiplying a number by itself is called squaring. A raised 2 tells us to perform that multiplication. The sigma can repeat this whole calculation, not only a bare list entry:

i=15xi2=x12+x22+x32+x42+x52=16+49+9+36+25=135.\sum_{i=1}^{5} x_i^2 = x_1^2 + x_2^2 + x_3^2 + x_4^2 + x_5^2 = 16 + 49 + 9 + 36 + 25 = 135.

At each position, first square that position’s value. Then add the resulting term to the total.

A sigma sign only tells you to add

The notation does not claim that its terms are related. They could come from measurements or from an arbitrary list. The sign does not guarantee that the final number is useful.

For finitely many ordinary numbers, changing the order does not change the total. That works because ordinary addition lets us swap and regroup terms. It is a property of addition, not a promise supplied by sigma notation.

An unending sum raises another question. Do its running totals settle toward one number? That settling is called convergence. A sigma sign alone does not promise convergence or meaning.

Doorswhat to read next, and why

Symbolswhat each one means, and whether we defined it, measured it, or just started there

xStatus: defined
The letter x is defined as a name for one number not yet fixed. Each x keeps that value throughout one piece of work.
x_1, x_2, ..., x_5Status: defined
A subscript is defined as a list position. It is not multiplication, a power, or part of the letter's name.
i in x_iStatus: defined
The letter i is defined as a temporary index that takes each whole-number position from its stated start through its stated stop.
sum from i = 1 to 5 of x_iStatus: defined
The sigma expression is defined as shorthand for adding the list values from position one through position five.
sum_i x_i = sum_j x_jStatus: defined
Renaming the bound counter from i to j leaves the value unchanged because that fact follows from the sigma definition.
sum from i = 4 to 2 of x_i = 0Status: defined
An empty range, whose stop is below its start, is defined to contain no terms and have total zero.
x_i squaredStatus: defined
The raised 2 is defined as an instruction to multiply the number at position i by itself.
4 + 7 + 3 = 3 + 7 + 4Status: bottoms out
A finite sum of ordinary numbers is unchanged by reordering because addition lets us swap and regroup terms. This lesson takes those properties as a starting point.
What these classifications mean
defined
circular by construction, true because we chose it
empirical
a measured claim about the world that could have come out otherwise
bottoms out
a primitive of the model, with nothing under it here
door
used here, explained elsewhere