Mzumbe University Faculty of Science and Technology Ict215:Discrete Mathematics Tutorial Sheet 6
Mzumbe University Faculty of Science and Technology Ict215:Discrete Mathematics Tutorial Sheet 6
Mzumbe University Faculty of Science and Technology Ict215:Discrete Mathematics Tutorial Sheet 6
Mzumbe University
Faculty of Science and Technology
Ict215:Discrete Mathematics
Tutorial sheet 6:
Enumerative Analysis
1. By stating clearly the Boolean law(s) applied, prove that Boolean multiplication is distributive over Boolean
addition.
2. Obtain the canonical sum of products(Disjunctive Normal form) of the function G = AB + AC D.
3. Obtain the canonical product of sums(Conjunctive Normal form) of the function H = (A + B )(B + C )(A + C ).
4. Realize the logic expression F (A; B; C ) = B C + AC + AB using basic gates and hence implement it using NAND
gates only.
5. What is Recursion ?
6. Write down the Recursive(Inductive) denition of the function whose domain is the set of positive integers.
7. Consider the rst order homogeneous recurrence relation xn = rxn 1 (n > 0); and x0 = A. By Iteration
method show that the general solution of this recurrence relation is a geometric sequence with ratio r, that is
n
xn = Ar
8. Give a non-homogeneous recurrence relation xn = rxn 1 + cn ; (n > 0) and x0 = A. With the technique of
iteration show that the general solution of this recurrence relation is
x
n
n = Ar +
X n
k
c r
n k
k=1
9. Assume that a country with currently 100 million people has a population growth rate(birth rate minus death
rate) of 1% per year, and it also receives 100 thousand immigrants per year (which are quickly assimilated and
reproduce at the same rate as the native population). Find its population in ten (10) years from now. (Assume
that all the immigrants arrive in a single batch at the end of the year).
11. Find the general solution for each of the following recurrence relations
12. By the method of undeterminate coecients , solve the following recurrence relations:
a) an+2 + 4an+1 + 3an = 5( 2)n ; (n 0).
b) sn+2 + 4sn+1 = 6 cos( n
2
) + 3 sin( n
2
); (n 0)
c) bn+2 + 4bn+1 + 16bn = 4n+2 cos( n
2
) + 4n+3 sin( n
2
); (n 0)
d) an+2 + 4an = 2n cos( n
2
)
13. Use undeterminate coecients method to nd the solution of the recurrence relation
n
a +3 + 5an+2 + 8an+1 + 4an = 2( 1)n + ( 2)n+3 ; with initial conditions a0 = 4; a1 = 11 and a2 = 41
14. Find the generating function for the sequence 0; 2; 6; 12; 20; 30; 42; : : :.
16. By the method of generating function solve the following recurrence relation
n
a +2 5an+1 + 6an = 2, n 0, a0 = 3 and a1 = 7.