How can we derive 01* from 0+01*?

72 Views Asked by At

I am currently learning about regular expression and has recently found this question:

Applying algebraic laws for regular expressions to demonstrate how 01* can be derived from 0 + 01*.

My answer is:
0+01* = 0(ε+1*)
Multiplying 0 by ε gives you ε.
Multiplying 0 by 1* gives you 01*
Therefore, 0+01* = 0(ε+1*) = 01*

Is it correct? If not, can someone please explain to me ? Thanks a lot.