Stochastic Processes Homework Help..
Stochastic Processes Homework Help..
Draw a truth table to illustrate your reasoning. You can use as many columns
as you need.
A B C P Q
T T T T T
T T F F F
Solution. T F T T T
T F F F T
F T T T T
F T F F T
F F T T T
F F F T T
Observe from the last two columns of the table that P ⇒ Q is always true, but Q ⇒
P is not always true (e.g. line 4). Thus P and Q are not equivalent but P ⇒ Q.
Problem 2.
Let G0 = 1, G1 = 3, G2 = 9, and define
Gn = G n−1 + 3Gn−2 + 3Gn−3
for n ≥ 3. Show by induction that Gn ≤ 3n for all n ≥ 0.
Solution. The proof is by strong induction with hypothesis P(n) := Gn ≤
3n .
n−1 + 3Gn−2 +
Gn = G
by (
3Gn−3
A C
D F
E
3 B 2
A C
1
3 0 4
1
D F
E 3
Problem 6 Let G be a graph with m edges, n vertices, and k components.
Prove that G contains at least m − n + k cycles. (Hint: Prove this by
induction on the number of edges, m)
Solution. The proof is by induction on m with hypothesis P(n):= If G
is a graph with n
vertices, m edges and k components, then G contains at least m + k −
n = c cycles
(d)