Sketch of Solutions to Exercises

2.4.1

m = 3

2.4.2

(a) Choose w = am+1bm and k = 0

(b) Choose w = ambm+1 and k = 2

(c) Choose w = ambam and k = 0

(d) Choose w = 0m10010m and k = 0

(e) Choose w = am2

Then xykz = an2 +(k-1)j

For k = 0,

xy0z = an2 - j

Since 0 < j < n

(n - 1)2 < n(n - 1) = n2 - n < n2 - j < n2

(f) Choose w = arbz for some r > m and t which will be determined later. Then

xykz = ar+(k-1)jbt

A contradiction arises if and only if r + (k - 1)j = t or k = (t - r)/j + 1.

The choice

t = m! + m, r = m

implies a positive integer number for k.

(g) Choose w = arbatb for some r > m and t will be determined below. Then

xykz = ar+(k-1)jbatb

A contradiction will be implied if an only if r + (k - 1)j = t or k = (t - r)/j + 1. Hence, take

t = m! + m, r = m

(If m = 1 take 2 instead of m to ensure a string of even length.)

2.4.3 Let m be the number of states of a finite state transducer M that computes R. If |w| > m . max{1, |v|} then M on input v repeats a state, where between the repetition M reads nothing and writes some y/=e, i.e., y can be pumped.

2.4.4 Assume that the relation is computable by a finite state transducer. Let M be the constant that Exr 2.4.3 implies for the relation. The pair (am2 bm, cm4 ) is in the relation. However, the implied pairs (am2 bm2 , cm4 + (k - 1)j) are not there for k > 1, that is, the result in Exr 2.4.4 does not apply for the relation.