06.09.2021 Views

Combinatorics Through Guided Discovery, 2004a

Combinatorics Through Guided Discovery, 2004a

Combinatorics Through Guided Discovery, 2004a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

86 4. Generating Functions<br />

◦ Problem 212. Suppose we deposit $5000 in a savings certificate that pays<br />

ten percent interest and also participate in a program to add $1000 to the<br />

certificate at the end of each year (from the end of the first year on) that<br />

follows (also subject to interest.) Assuming we make the $5000 deposit at<br />

the end of year 0, and letting a i be the amount of money in the account at<br />

the end of year i, write a recurrence for the amount of money the certificate<br />

is worth at the end of year n. Solve this recurrence. How much money do<br />

we have in the account (after our year-end deposit) at the end of ten years?<br />

At the end of 20 years?<br />

4.3.2 Fibonacci numbers<br />

The sequence of problems that follows (culminating in Problem 222) describes a<br />

number of hypotheses we might make about a fictional population of rabbits. We<br />

use the example of a rabbit population for historic reasons; our goal is a classical<br />

sequence of numbers called Fibonacci numbers. When Fibonacci5 introduced them,<br />

he did so with a fictional population of rabbits.<br />

4.3.3 Second order linear recurrence relations<br />

• Problem 213. Suppose we start (at the end of month 0) with 10 pairs of<br />

baby rabbits, and that after baby rabbits mature for one month they begin to<br />

reproduce, with each pair producing two new pairs at the end of each month<br />

afterwards. Suppose further that over the time we observe the rabbits, none<br />

die. Let a n be the number of rabbits we have at the end of month n. Show<br />

that a n = a n−1 +2a n−2 . This is an example of a second order linear recurrence<br />

with constant coefficients. Using a method similar to that of Problem 211,<br />

show that<br />

∞∑<br />

a i x i 10<br />

=<br />

1 − x − 2x 2 .<br />

i=0<br />

This gives us the generating function for the sequence a i giving the population<br />

in month i; shortly we shall see a method for converting this to a<br />

solution to the recurrence.<br />

• Problem 214. In Fibonacci’s original problem, each pair of mature rabbits<br />

produces one new pair at the end of each month, but otherwise the situation<br />

is the same as in Problem 213. Assuming that we start with one pair of baby<br />

rabbits (at the end of month 0), find the generating function for the number<br />

of pairs of rabbits we have at the end on n months. (h)<br />

5Apparently Leanardo de Pisa was given the name Fibonacci posthumously. It is a shortening of<br />

“son of Bonacci” in Italian.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!