Assignment 3 Solved Questions - Cryptography | MATH 0209A, Assignments of Cryptography and System Security

Material Type: Assignment; Class: CRYPTOGRAPHY; Subject: Mathematics; University: University of California - Los Angeles; Term: Unknown 1989;

Typology: Assignments

Pre 2010

Uploaded on 08/26/2009

koofers-user-lng
koofers-user-lng 🇺🇸

5

(1)

10 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 171 Homework #3 due Friday 4/25
2.2
π(x) = X
yS
π(y)p(y, x)
=π(0)px+π(x+ 1)
π(x+ 1) = π(x)π(0)px
Taking π(0) to be known, we compute
π(1) = π(0)
π(2) = π(0)(1 p1)
π(3) = π(0)(1 p1p2)
.
.
.
π(x) = π(0)1
x1
X
j=1
pj
Which explicitly defines π(x). Now, we require that the sum of π(x) over all
states be unity:
X
x=0
π(x) = 1 = lim
N→∞
N
X
x=0
π(x)
= lim
N→∞
π(0)1+1+1p1+ 1 p1p2+. . .
= lim
N→∞
π(0)1 + N(N1)p1(N2)p2. . . 2pN22pN1
=π(0) + lim
N→∞
π(0)hN(1
N1
X
x=1
px) +
N1
X
x=1
xpxi
1 = π(0)1 +
X
x=1
xpx
π(0) = 1
1 +
P
x=1
xpx
We see that if the expectation value of the return time E(T) is infinite, then
π(0) = 0 and thus π(x) = 0 for all x. So, for the system to be positive
recurrent, we require that the expectation value of the return time to be
finite.
pf3

Partial preview of the text

Download Assignment 3 Solved Questions - Cryptography | MATH 0209A and more Assignments Cryptography and System Security in PDF only on Docsity!

Math 171 Homework #3 – due Friday 4/

π(x) =

y∈S

π(y)p(y, x)

= π(0)px + π(x + 1) π(x + 1) = π(x) − π(0)px

Taking π(0) to be known, we compute

π(1) = π(0) π(2) = π(0)(1 − p 1 ) π(3) = π(0)(1 − p 1 − p 2 ) .. .

π(x) = π(0)

∑^ x−^1

j=

pj

Which explicitly defines π(x). Now, we require that the sum of π(x) over all states be unity:

∑^ ∞

x=

π(x) = 1 = lim N →∞

∑^ N

x=

π(x)

= lim N →∞

π(0)

[

1 + 1 + 1 − p 1 + 1 − p 1 − p 2 +...

]

= lim N →∞

π(0)

[

1 + N − (N − 1)p 1 − (N − 2)p 2 −... − 2 pN − 2 − 2 pN − 1

]

= π(0) + lim N →∞

π(0)

[

N (1 −

N∑ − 1

x=

px) +

N∑ − 1

x=

xpx

]

1 = π(0)

∑^ ∞

x=

xpx

π(0) =

x=

xpx

We see that if the expectation value of the return time E(T ) is infinite, then π(0) = 0 and thus π(x) = 0 for all x. So, for the system to be positive recurrent, we require that the expectation value of the return time to be finite.

The limiting probability distribution is then given by

π(x) =

μ

[

∑^ x−^1

j=

pj

]

P{x 1 ≥ x|x 0 = 0} μ

where μ = E(T ).

a. a = 0.25+0. 4 a+0. 35 a^2 has roots 1 and 0.71429. So we have approximately a 71% chance of extinction.

b. a = 0.5 +. 1 a +. 4 a^2 has roots 1 and 1.25, so the system goes extinct with certainty.

c. μ < 1, so the system goes extinct with certainty.

d.

φ(a) =

∑^ ∞

i=

Pkai

∑^ ∞

i=

(1 − q)qiai

1 − q 1 − qa

Then we solve

q = φ(a)

=

1 − q 1 − qa qa^2 − a + (1 − q) = 0

yielding a = 1 and a = (^1) q − 1. So, if q > 12 , then the extinction probability is

  1. Otherwise, the extinction probability is (^1) q − 1.

a.

P{X 2 = 0|X 1 6 = 0} = P{X 2 = 0|X 1 = 1}p 1 + P{X 2 = 0|X 1 = 3}p 3 = p 0 p 1 + p^30 p 3