+1 vote
59 views
given regular language L = {$a^n$b:n≥0}

$L^2$ - L = $L^2$ since there's no string in $L^2$  which is in L.

Am i correct ?
0
yes exactly.
0
here $L^{2}=L.L$

only concatenation operation is working here

So, $L^{2}$will contain $a^{n}b.a^{n}b=\left \{ bb,abab,aabaab,aaabaaab,.... \right \}$ where $L=a^{n}b=\left \{ b,ab,aab,aaab,.... \right \}$
+2
@srestha,

the $L^2$ given by you is not correct.

correct will be, $L^2=a^mb.a^nb\ |m,n>=0$
0
yes it will be $a^{*}b.a^{*}b$

and $L$ contains 1 b and $L^{2}$ contains 2 b

that is why $L$ and $L^{2}$ are not same

rt?
0
thanks @nitish

Here, L={b,ab,aab,aaab,...................}

Now,

L={bb,bab,baab,..........................}

As we can see there is no common element