in Theory of Computation retagged by
810 views
1 vote
1 vote

Let $A$ be a regular language. Consider the following operations on $A$:

$2A:=\{xy \mid x, \: y \in A \text{ and } x=y\}$

$A^2 :=\{xy \mid x, \: y \in A\}$

One of these operations necessarily leads to a regular language and the other may not. Identify which is which. For the regular operation, give a proof that it is regular. For the non-regular operation, give an example of an $A$ such that applying the operation on it results in a non-regular language.

in Theory of Computation retagged by
810 views

2 Answers

0 votes
0 votes

2A is CSL . Because 2A={xx | x,y∈A and x=y}

But Ais regular , here A2  could takes any value whose multiplication is a square (1,4),(3,27) . So, A is regular means any power of A is also regular

4 Comments

Suppose A={00,01,10,11}//construct FA for length 2 string

 then      A2 =A.A={00,01,10,11}{00,01,10,11}

                         ={0000,0001,0010,0011,0100.................1111}//FA for length 4 string

0
0
^^ concatenation
0
0
@praveen Sir is this work here ? Or we use  another approach ?
0
0
0 votes
0 votes

Answer:

Related questions