Find a recurrence relation for the number of ways to form


Assignment

1. Find f (1), f(2), f (3), f(4), and f(5) if f(n) is defined recursively by f(0) = 3 and for n = 0, 1, 2,.....

a) f (n + 1) =  -  2f (n).

b) f (n + 1) = 3f(n) + 7

c) f (n + 1) = f (n)2 - 2f(n) - 2.

d) f (n + 1) = 3f(n)/3

2. Find f (2), f (3), f (4), and f (5) if f is defined recursively by f(0) = f(1) = 1 and for n = 1, 2,

a) f (n + 1) = f (n) - f (n - 1).

b) f (n + 1) = f (n) f (n - 1).

c) f (n + 1) = f (n)2 f(n - 1)3.

d) f (n + 1) = f (n)/f (n - 1}.

3. Determine whether each of these proposed definitions is a valid recursive definition of a function f from the set of nonnegative integers to the set of integers. If f is well defined, find a formula for f (n) when n is a nonnegative integer and prove that your formula is valid.

a) f (0) = 1, f (n) = - f (n - 1) for n ≥ 1

b) f (0) = 1, f (1) = 0, f (2) = 2, f (n) = 2 f (n - 3) for n ≥ 3

c) f (0) = 0, f (1) = 1, f = 2f (n + 1) for n ≥ 2

d) f (0) = 0, f (1) = 1, f (n) = 2f (n - 1) for n ≥ 1

e) f (0) = 2, f (n) f (n - 1) if n is odd and n ≥ 1 and f (n) = 2 f (n - 2) if n ≥ 2

4. Give a recursive definition of the sequence fan {an}, n = 1, 2, 3, . . if

a) an = 4n - 2.             b) an = 1 + (-1)n .

c) an = n (n ± 1).         d) an = n2.

5. Find the first six terms of the sequence defined by each of these recurrence relations and initial conditions.

a) an = 2an - 1, ao = -1

b) an = an-1 - an-2, a0 = 2, a1 = 1

c) an = 3a2n - 1 a0 = 1

d) an = nan-1 + an-22, ao = -1, a1 = 0

e) an = an-1 - an-2 + an-3, ao = 1, a1 = 1, a2 =2

6. For each of these sequences find a recurrence relation satisfied by this sequence. (The answers are not unique because there are infinitely many different recurrence relations satisfied by any sequence.)

a) an = 3               b) an = 2n

c) an = 2n + 3       d) an = 5n

e) an = n2             f) an = n2 + n

g) an = n + ( -1)n  h) an = n!

7. A person deposits $1000 in an account that yields 9% interest compounded annually.

a) Set up a recurrence relation for the amount in the ac-count at the end of n years.

b) Find an explicit formula for the amount in the account at the end of n years.

c) How much money will the account contain after 100 years?

8. Assume that the population of the world in 2010 was 6.9 billion and is growing at the rate of 1.1% a year.

a) Set up a recurrence relation for the population of the world n years after 2010.

b) Find an explicit formula for the population of the world n years after 2010.

c) What will the population of the world be in 2030?

9. An employee joined a company in 2009 with a starting salary of 550,000. Every year this employee receives a raise of $1000 plus 5% of the salary of the previous year.

a) Set up a recurrence relation for the salary of this em-ployee n years after 2009.

b) What will the salary of this employee be in 2017?

c) Find an explicit formula for the salary of this em-ployee n years after 2009.

10. A country uses as currency coins with values of 1 peso, 2 pesos, 5 pesos, and 10 pesos and bills with values of 5 pesos, 10 pesos, 20 pesos, 50 pesos, and 100 pesos. Find a recurrence relation for the number of ways to pay a bill of n pesos if the order in which the coins and bills are paid matters.

11. Find a recurrence relation for the number of strictly increasing sequences of positive integers that have 1 as their first term and n as their last term, where n is a positive integer. That is, sequences a1, a2, ........., ak, where a1 = 1, ak = n, and aj < aj+i for j = 1, 2, . . k - 1.

b) What are the initial conditions?

c) How many sequences of the type described in (a) are there when n is an integer with n ≥ 2?

12. Determine which of these are linear homogeneous recurrence relations with constant coefficients. Also, find the degree of those that are.

a) an = 3an-2            b) an = 3

c) an = an2n-1             d) an = an-1 + 2an-3

e) an = an-1/n

f) an = an - 1 + an-2 + n +3

g) an = 4an-2 + 5an-4 + 9an-7

13. Solve these recurrence relations together with the initial conditions given.

a) an = an-1 + 6an-2 for n ≥ 2, a0 = 3, a1 =6

b) an = 7an-1 - 10an-2 for n ≥ 2, a0 = 2, a1 = 1

c) an = 6an-1 - 8an-2 for n ≥ 2, a0 = 4, a1 = 10

d) an = 2an-1 - an-2 for n ≥ 2, a0 = 4, a1 =1

e) an = an-2 for n ≥ 2, a0 = 5, a1 = -1

f) an = -6an-1 - 9an-2 for n ≥ 2, a0 = 3, a1 = -3

g) an+2 = -4an+1 + 5an for n ≥  0, a0 = 2, a1 = 8

14. A nuclear reactor has created 18 grams of a particular radioactive isotope. Every hour 1% of this radioactive isotope decays.

a) Set up a recurrence relation for the amount of this isotope left n hours after its creation.

b) What are the initial conditions for the recurrence rela-tion in part (a)?

c) Solve this recurrence relation.

15. Suppose that every hour there are two new bacteria in a colony for each bacterium that was present the previous hour, and that all bacteria 2 hours old die. The colony starts with 100 new bacteria.

a) Set up a recurrence relation for the number of bacteria present after n hours.

b) What is the solution of this recurrence relation?

c) When will the colony contain more than 1 million bac-teria?

16. A small post office has only 4-cent stamps, 6-cent stamps, and 10-cent stamps. Find a recurrence relation for the number of ways to form postage of n cents with these stamps if the order that the stamps are used matters. What are the initial conditions for this recurrence relation?

Solution Preview :

Prepared by a verified Expert
Engineering Mathematics: Find a recurrence relation for the number of ways to form
Reference No:- TGS01359705

Now Priced at $75 (50% Discount)

Recommended (93%)

Rated (4.5/5)