Sequences

Summation, Product and Factorial Notation

Mathematical Induction

Recursion

Definitions


Sequences

The term sequence informally means a set of elements written in a row. A sequence is denoted a1, a2, a3, ...., ai, where each ai is called a term. An infinite sequence is denoted am, am+1, am+2, ..... A general formula for a sequence is a set of rules that show how the values of ai  depend on i.  Consider the following example:





Summation, Product and Factorial Notation

The following symbols and notations are used to express different types of mathematical sequences.

This notation represents the summation of a sequence. Each of the terms are added to represent a sum in the form ak+ ak+1 + ak+2 + ......... + an , where m < n, m is the starting point (the lower limit), and n is the last term (the upper limit).  
This is used to represent the product of the terms in a sequence, written in the form am* am+1 * am+2 *......... * an  where m and n are integers and m < n.
n! This notation represents n factorial. It is defined to be the product of all the integers from 1 to n :

      n! = n * (n-1) * ........... * 3 * 2 * 1.

Remark : Zero factorial is defined to be 1:    0! = 1

Properties of Summations and Products

If am, am+1, am+2, .... and bm, bm+1, bm+2, ...... are sequences of real numbers, and r is any real number, then the following equations hold for any integers m < n:

1. ak  + bk  = (ak+ bk)

2. r  *ak   = r  * ak

3. (ak) (bk )  = (ak * bk ).

Try to rewrite the formula for n! in a way which allows you to factor out the initial n without specifically writing out all the terms. Click here for answer.








Mathematical Induction

Let S(n) be a predicate that is defined for integers n, and let m be a particular integer. Suppose the following two statements are true:

1. S(m) is true, and

2. For every integer k > m, if S(k) is true, then S(k+1) is true.

    Then, it follows logically that, if S(k) is true, for every integer n > m, S(n) is also true.

To prove a statement by mathematical induction requires two steps.

  1. The basis step, whereby you prove that S(m) is true for a particular integer m.

  2. The inductive step, which assumes that, for every integer k > m, if S(k) is true then S(k+1) is also true (the induction). The supposition that S(k) is true is called inductive hypothesis.

Consider the following example:

    We wish to show that n3 + 2n is divisible by 3.

    Solution : Let P(n) stands for "n3 + 2n is divisible by 3". Using mathematical induction, we proceed as follows:

    Basis step : Let n = 0. Then P(0) = 0, and 0 mod 3 = 0, so P(0) is true.

    Inductive hypothesis : for all integers k > n, P(k) is true: that is, "k3 + 2k is divisible by 3" is assumed to be true.

    Inductive step : If P(k) is true, then P(k+ 1) is also true.

    One must now derive P(k + 1), by showing that (k + 1)3 + 2(k + 1) is divisible by 3. This is done as follows:

This means that (k + 1)3 + 2(k + 1) can be written as a sum of two terms. The first term is divisible by 3 if the inductive hypothesis holds, and the second term is a multiple of 3 and therefore divisible by 3 as well. Hence, we have proven that if P(n) is true, so is P(n + 1), which completes the inductive step.  Since P(0) is true, one concludes that P(n) is true for all n.

Try to follow the above steps and prove ai = (an+1 -1)/(a - 1), and a 1, n > 0 by using mathematical induction. Click here to see the solution.









Recursion

Recursion is one of several ways to define a sequence. A sequence is said to be defined recursively if certain initial values are specified and later terms of the sequence are defined by relating them to a fixed number of earlier terms. This requires providing both an equation, which is called the recurrence relation, and a specification of the initial conditions.

1. A recurrence relation means that the later terms in the sequence depend upon the earlier terms.

2. The initial conditions are also called the base or bottom of the recursion.

Let us consider the following example. For all integers k > 2,



By understanding the concepts of recurrence relations and initial conditions, we can show whether a sequence given by a general formula satisfies a certain recurrence relation. Consider the following example.




In recursively defined sequences, we need to consider two specific kinds of sequence that are used commonly in our life. The first kind is an arithmetic sequence, where each term equals the previous term plus a fixed constant. (This is used in calculating the force of gravity in physics.) The second kind is a geometric sequence, where each term equals the previous term times a fixed constant. Geometric sequences are used in calculating compound interest, certain models of population growth, radioactive decay, and the number of operations needed to execute certain computer algorithms.









D E F I N I T I O N S

Arithmetic sequence A sequence a0, a1, a2, ...... is called an arithmetic sequence if, and only if, there is a constant d such that

      ak = ak-1 + d      for all integers k > 1.

Or, equivalently,

      am = a0 + d * m      for all integers m > 0.

Geometric sequence A sequence a0, a1, a2, ...... is called a geometric sequence if, and only if, there is a constant r such that

      ak = r * ak-1      for all integers k > 1.

Or, equivalently,

      am = a0 * rm      for all integers m > 0.






   Go to next section review.
   Go to Class Agenda.