A recursion rule
A recursion rule
A recursion rule defines a sequence in two parts:
- a starting condition – the first term, for example ;
- the rule – how each term is worked out from the term before it, for example .
From the rule the terms come one after another:
- ;
- ;
- .
A computer works out a sequence defined by a recursion rule the same way: step by step, each step from the result of the step before.
With a formula by place, write and look for in it. In the sequence :
- The rule: , .
- The rule has a meaning: each square is greater than the square before it by the odd number .
The other way, from a recursion rule to a formula by place, is usually hard, and sometimes there is no simple formula at all. Sometimes it can be guessed from the terms.
In the sequence , the terms are
- Each term is 1 more than a power of 2: , , .
- The guess: .
- A guess that fits the first five terms is not a proof that it fits them all. The proof comes with mathematical induction, later in the course.
In the sequence , :
- ;
- ;
- .
is again, so from here the rule gives the same terms again: This is a periodic sequence, and its period is 3.
- : , that is, after 33 whole periods we reach the first place of a period: .
- The sum of the first 99 terms: 33 periods, each with the sum , so .
A recursion rule can use the two terms before a term. Then it needs two starting conditions.
- The Fibonacci sequence: , , .
- Each term is the sum of the two terms before it:
A sequence is defined by the recursion rule , .
Calculate .
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
The sequence: .
Simplify .
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
Write a recursion rule for the sequence.
The sequence: .
Write as plus an expression in , and write a recursion rule for the sequence.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
A sequence is defined by the recursion rule , .
Calculate , and . What can be said about the sequence?
What is ?
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
Calculate the sum of the first 20 terms.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
In the picture of the squares from the lesson before, stage has shaded squares.
Write a recursion rule for , and explain it with the picture.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power