Question: Determine whether the following two regular expressions are equivalent or not. And explain why if not equal? ( a ) ( r 1 + r

Determine whether the following two regular expressions are equivalent or not. And explain
why if not equal?
(a)(r1+ r2)r2(r1+ r2)+(r1+ r2)r1(r1+ r2) and (r1+ r2)(r1+ r2).
(b)(r1+ r2)r2r1(r1+ r2)+ r1r2and (r1+ r2).
(c) r1r2(r1+ r2) and (r1+ r2)r2(r1+ r2).
(d)(r1+ r2) and r1(r2r1+ r1)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!