edited by
412 views
0 votes
0 votes
Consider P and Q be language over Σ = {0, 1} represented by the regular expression 0* (10*)* and (0* + 1*)* respectively. Which of the following is true?

A) P⊂Q

B) Q⊂P

C) P=Q

D)P∩Q=0*1*
edited by

1 Answer

1 votes
1 votes

( 0* + 1* ) * is equivalent to (0+1)* = ∑* ( if you didn't get why these two are equivalent, then think what can't we form with ( 0* + 1* ) * )

( 1 . 0* ) * is equivalent to ( 1 . ( 0 + 1 )* + ∈ )= All Strings Starts with 1 + empty String

0* ( 1 . 0* ) * is equivalent to  0* . ( 1 . (0+1)* + ∈ ) = (0+1)* = ∑*

 

therefore P=Q

edited by

Related questions

0 votes
0 votes
1 answer
2
0 votes
0 votes
2 answers
3
jugnu1337 asked Sep 3, 2023
355 views
FIND the no of 2 state dfa with the designated initial state possible over {a,b,c} which accept empty language is equal to