1.
(a) False. \Lambda may not be in L.
(b) True.
(c) True.
(d) False. For example the string 101 is not represented by either.
(e) True
2 (a)
| State | a | b |
| 1 | \emptyset | {1, 2, 3, 4} |
| 2 | \emptyset | {2, 3} |
| 3 | \emptyset | \emptyset |
| 4 | {3} | {1, 2, 3, 4} |
| State | a | b |
| {0} | {3} | {1, 2} |
| {1, 2} | {2, 3} | {3} |
| {3} | \emptyset | \emptyset |
| {2, 3} | {2} | {3} |
| {2} | {2} | {3} |
| \emptyset | \emptyset | \emptyset |
4. (a) (0 + 1)*0(0 + 1)*0(0 + 1)* or 1*01*0(0+1)*. Others are also possible.
(b) (1+ 01)*(0 + \Lambda). Others are also possible.
You can check the equivalence of regular expressions using the tool given in
5. Here we are going to follow the recursive definitions of \Sigma* given in
Basis Step: x = \Lambda. Since \Lambda = \Lambdar, | \Lambda
| = | \Lambdar |. Hence | x | = | xr |.
Inductive Step: Assume that | x | = | xr | for an arbitrary
string x. --- Induction Hypothesis
We are going to prove that | xa | = | (xa)r | for an arbitrary
symbol a of the alphabet.
By the definition of the length of string | xa | = | x | + 1.
Also by the definition of the reversal, (xa)r = axr.
Hence | (xa)r | = | axr |.
By the definition of length, | axr | = | a | + | xr | = 1
+ | xr |.
Since | xr | = | x | by the induction hypothesis, 1 + | xr
| = 1 + | x |.
Hence | axr | = 1 + | x | = | xa |.
End of Proof.