General Solution - Discrete Mathematics - Exam, Exams of Discrete Mathematics

This is the Exam of Discrete Mathematics which includes Recurrence Relation, Space Is Available, Answer, Number of Ways, Sum of Odd Integers, By Hand, Solution, Various Walks, Provided etc. Key important points are: General Solution, Recurrence Relation, Coefficients, Equations, Determine, Using, Answer, Calculate, Generating Functions, Binary Strings

Typology: Exams

2012/2013

Uploaded on 02/21/2013

radheshyam
radheshyam 🇮🇳

51 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
(1 + x)n= n
0!+ n
1!x+ n
2!x2+· · · + n
n!xn
(1 xn+1)
(1 x)= 1 + x+x2+x3+· · · +xn
1
(1 x)= 1 + x+x2+x3· · · =
X
i=0
xi
1
(1 + x)n= n
0!+ n
1!x+ n
2!x2+· · ·
=
X
i=0 n
i!xi
= 1 + (1) n+ 1 1
i!x+ (1)2 n+ 2 1
2!x2+· · ·
=
X
i=0
(1)i n+i1
i!xi
1
(1 x)n= n
0!+ n
1!(x) + n
2!(x)2+· · ·
=
X
i=0 n
i!(x)i
= 1 + (1) n+ 1 1
i!(x)+(1)2 n+ 2 1
2!(x)2+· · ·
=
X
i=0 n+i1
i!xi
1
pf3
pf4
pf5

Partial preview of the text

Download General Solution - Discrete Mathematics - Exam and more Exams Discrete Mathematics in PDF only on Docsity!

(1 + x)n^ =

( n 0

)

( n 1

) x +

( n 2

) x^2 + · · · +

( n n

) xn

(1 − xn+1)

(1 − x)

= 1 + x + x^2 + x^3 + · · · + xn

1 (1 − x)

= 1 + x + x^2 + x^3 · · · =

∑^ ∞

i=

xi

1 (1 + x)n^

( −n 0

)

( −n 1

) x +

( −n 2

) x^2 + · · ·

∑^ ∞

i=

( −n i

) xi

( n + 1 − 1 i

) x + (−1)^2

( n + 2 − 1 2

) x^2 + · · ·

∑^ ∞ i=

(−1)i

( n + i − 1 i

) xi

1 (1 − x)n^

( −n 0

)

( −n 1

) (−x) +

( −n 2

) (−x)^2 + · · ·

∑^ ∞

i=

( −n i

) (−x)i

( n + 1 − 1 i

) (−x) + (−1)^2

( n + 2 − 1 2

) (−x)^2 + · · ·

∑^ ∞

i=

( n + i − 1 i

) xi

MACM 201 Test 2 March 8, 2006. 50 minutes Total marks: 55. Marks are indicated by ( ).

(1) (15) Consider the following recurrence relation;

an + 6an− 1 + 14an− 2 + 16an− 3 + 8an− 4 = 0, a 0 = − 1 , a 1 = 1, a 2 = 2, a 3 = 3

Write down the general solution and the equations that will determine the unknown coefficients, but do not solve for the coefficients.

(c) Calculate a 2 and a 3 using your answer from (b).

(3) (10) Solve the following recurrence relation using generating functions;

an+2 + 3an + 1 = n^3 + 2n, a 0 = 1, a 2 = 2

(5) (10) (a) Give an example of one loop-free graph with 5 vertices that has all of the following properties (indicate the features on your graph that satisfy these properties);

(i) There are no isolated vertices. (ii) There is exactly one (distinct) cycle of length 4. (iii) There is an edge such that if it is removed then the resulting graph has exactly two components.

(b) Give an example of a graph such that there is a trail between two distinct vertices that is not a path. (Recall that a trail is a walk where no edge is repeated, and a path is a walk where no vertex is repeated). Is it possible to have a path that is not a trail? Why or why not?