Let x,y,z be regular expression.Let L1,L2 and L3 be regular expression defined as follows:
L1=(x*y)*x*y
L2=(x*y)(x*y)*
L3=x*y(yx*)*y
Find the relation between L1, L2 and L3?
I solve such problems by finding strings which one of the language can have and other cannot. But sometimes I get messed up doing so, is there any better approach to solve such questions? Help Please!