• retagged by
1,744 views

5 Answers

3 3 votes
Deriving same strings try writing string set for both language. It will be same
0 0 votes
No .

Because (bx)*b are deriving all strings ending with b

And b(xb)* are deriving all strings starting with b.

Moreover first one can derive the string "bbxxb" whereas second one cannot derive this string.

Hence, they are not equivalent.
0 0 votes
Both Regelar expressions are equivalent

The language derived is a bxbxbxbxb......

In 1st case u r focusing on the 1st 'b'  recursing the rest

Where as in 2nd case u are focusing on last 'b'  recursing what's ahead of it

But ultimately both derive the same language

This is a good example to show that regular expression being non deterministic in nature can have more than 1 regular expressions for the same language
Position:
Show:

Related questions

0 0 votes
1 1 answer
303
303 views
PS_Editing asked Apr 16, 2025
303 views
Find regular expression for the following language L= {w: |w| mod 5 ≠ 0}
1 1 vote
0 0 answers
423
423 views
Snehasis_Basu asked Nov 11, 2024
423 views
Here I thought the answer should be A and D but in the test series answer it is written as only D is the answer.My doubt is : A should not be generating 100 as a substrin...
0 0 votes
3 answers 3 answers
491
491 views
1 1 vote
2 2 answers
1.4k
1.4k views
Shaina Singh asked Jul 30, 2023
1,421 views
Convert DFA to regular expression