Docsity

Summation Notation, Slides of Statistics

Toggle sidebar
bg1
Summation Notation
Jacco Thijssen
1 Introduction
In mathematics and statistics one often has to take the sum over a number
of elements. For example, you might want to compute the sum of the first 10
natural numbers. You could write this, obviously, as
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55.
If the number of elements to be added is large, writing every element down
becomes rather cumbersome. Therefore, we often write this sum as
1 + 2 + ···+ 10 = 55.
An even more elegant way to write it uses a standard mathematical notation,
namely the Greek capital letter “Sigma” (S for “sum”):
10
X
i=1
i= 55.
You should read this as: “The sum of all i, where iruns from 1 to 10”. The
symbol iis called the “summation index”. The summation index is by no
means restricted to i, as we will see later.
2 General Notation
Suppose that I have a sequence of elements x1, x2,...,xn. Each xicould repre-
sent – literally – anything. In statistics, for example, suppose I have a sample
containing nobservations on Leaving Cert points of Junior Freshman BESS
students. In that case, xidenotes the leaving cert score for student iin my
sample. Often we want to compute the average value, which we denote by ¯x.
1
pf3
pf4

Partial preview of the text

Download Summation Notation and more Slides Statistics in PDF only on Docsity!

Summation Notation

Jacco Thijssen

1 Introduction

In mathematics and statistics one often has to take the sum over a number of elements. For example, you might want to compute the sum of the first 10 natural numbers. You could write this, obviously, as

1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55.

If the number of elements to be added is large, writing every element down becomes rather cumbersome. Therefore, we often write this sum as

1 + 2 + · · · + 10 = 55.

An even more elegant way to write it uses a standard mathematical notation, namely the Greek capital letter “Sigma” (S for “sum”):

∑^10 i=

i = 55.

You should read this as: “The sum of all i, where i runs from 1 to 10”. The symbol i is called the “summation index”. The summation index is by no means restricted to i, as we will see later.

2 General Notation

Suppose that I have a sequence of elements x 1 , x 2 ,... , xn. Each xi could repre- sent – literally – anything. In statistics, for example, suppose I have a sample containing n observations on Leaving Cert points of Junior Freshman BESS students. In that case, xi denotes the leaving cert score for student i in my sample. Often we want to compute the average value, which we denote by ¯x.

In order to do so, we need the sum of all observations and divide them by the number of observations. A convenient way of writing the sum is by using the Σ notation:^1 ∑^ n i=

xi := x 1 + x 2 + · · · + xn.

This should be read as: “the sum of all values xi, where i runs from 1 to n”. So, the average score of the sample of JF BESS students’ leaving cert scores can now be written as:

x¯ =^1 n

∑^ n i=

xi = x^1 +^ · · · n +^ xn.

As I said before, you do not have to use i as the summation index. By convention, we use i as the first choice, but there is nobody stopping us from using j, or k, or l, or a, or..... In fact,

∑^ n i=

xi =

∑^ n j=

xj =

∑^ n a=

xa.

The summation index is just there to keep track of what elements we are taking the summation of. The only thing that you have to keep in mind is that you have to be consistent. For, example, you cannot say “I am going to sum over j” and then use k as a subscript, i.e.

∑^ n j=

xk,

does not really mean anything. Summation notation is particularly useful if you want to sum over elements of a set. For example, suppose that S = {(H, H), (T, T ), (H, T ), (T, H)}. We will encounter this set in probability theory. It represents the list of all possible outcomes of two coin flips: (Heads,Heads), (Tails,Tails), (Heads,Tails), and (Tails,Heads). Suppose that you are engaged in a bet involving two coin flips: you win EUR 1 each time Heads comes up, and you lose EUR 1 if Tails comes up. Denote the amount won by X. Then X is a function that maps the list (^1) The notation “:=” means: “is by definition equal to”.

This table has 2 rows and 3 columns and is therefore called a 2×3 matrix (to be read as “a 2-by-3 matrix”). Suppose that the numbers in the matrix represent a characteristic x. Each element of this matrix can then be represented as xij , where i indicates the row and j indicates the column. For example, x 23 = 9, and x 12 = 2. Suppose that I want to sum all elements in the matrix. Then I could sum all rows per column, or all columns per row, i.e.

∑^3 j=

∑^2

i=

xij = (x 11 + x 21 ) + (x 12 + x 22 ) + (x 13 + x 23 )

= (1 + 4) + (2 + 5) + (3 + 6) = 21,

or

∑^2 i=

∑^3

j=

xij = (x 11 + x 12 + x 13 ) + (x 21 + x 22 + x 23 )

= (1 + 2 + 3) + (4 + 5 + 6) = 21,

respectively. Obviously, in the general case it holds that

∑^ n i=

∑^ m j=

xij =

∑^ m j=

∑^ n i=

xij ,

as the order of summation does not matter.