Suppose that each malefemale pair of rabbits in a farm produ

Suppose that each male/female pair of rabbits in a farm produces two new male/female pairs of rabbits at the age of 1 month and six new male/female pairs of rabbits at the age of 2 months and every month afterward. Assume that there is only one male/female pair of rabbits at the beginning of a year. Further assume that no rabbits die in the farm. Let a_n be the number of male/female pair of rabbits in the farm at the end of month n. Determine a recurrence relation for a_n and clearly justify your answer. By solving the recurrence relation in a) find the number of male/female pairs of rabbits in the farm at the end of month n. Prove the result in b) by strong mathematical induction. Let h_n equal the number of different ways in which the squares of a 1-by-n chessboard can be colored, using the colours red, white, and blue so that no two squares that are colored red are adjacent. Assume that h_0 = 1. Determine a recurrence relation for h_n and clearly justify your answer. Solving the recurrence relation in (a). Prove the result in (b) by strong mathematical induction.

Solution

8 a) The relation is an=2an-1+2

b) at end of month n, no fo male/female rabbits=2+22+23+....+2n

c) The below is the progression of male/female rabbits

1 month - 2, 2 month - 4+2= 22+2, 3 months = 23+22+2, 4 months = 24+23+22+2

So in n months = 2+22+23+....+2n

9 a) The set of colorings - red, white and blue can be divided into two categories. Those that end in a blue or white square start with coloring of length n1. Those that end in a red square start with coloring of length n2. So it can be colored like this - a white or blue square, then the red square.

This gives the recurrence relation hn = 2hn-1+2hn-2.

b) so h0 = 1, h1 = 3, h2 = 8. The characteristic polynomial is r22r2, which has roots r1 = 1+ 3 and r2= 1 3; hence the general solution is hn = (r1)n + (r2)n.

c)Applying the initial conditions, 1 = h0 = + ,

3 = h1 = r + r2, which has solution = (3 + 2 3)/6, = (3 2 3)/6.

Hence the solution is hn = (3+2 3)/6 (1 + 3)n+ (32 3)/6 (1 3)n .

 Suppose that each male/female pair of rabbits in a farm produces two new male/female pairs of rabbits at the age of 1 month and six new male/female pairs of ra

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site