429 views

1 Answer

1 votes
1 votes
A=aa* = $a^{+}$ = set of all strings of a's with one or more a

B= bb*=$b^{+}$ = set of all strings of b's with one or more b

we know that,

If R1 and R2 are regular expressions, then R1 | R2 (also written as R1 U R2 or R1 + R2) is also a regular expression.

so (AUB)*=( $a^{+}$ + $b^{+}$)*  =(a+b)*

 

so option 3 is correct.
edited by

Related questions

515
views
1 answers
0 votes
D_i_b_y_a prakash asked Aug 13, 2023
515 views
L = (a+b)$\small ^*$b is equivalent to ____________?A. (ab$\small^*$)$\small^+$B. (a$\small^+$b$\small^*$)$\small^+$C. b$\small^*$(ab$\small^*$)$\small^*$bD. None
563
views
1 answers
0 votes
aditykansara asked Jun 23, 2018
563 views
How to construct an automata with even number of a's OR odd number of b's?
3
views
0 answers
0 votes
srishtipandey420 asked 53 minutes ago
3 views
correct answer is b. Can anyone explain the difference between options b and c? According to me c can also be a correct option.
129
views
1 answers
0 votes
KartikS asked Jun 18
129 views
Write Regular expression for the set of string over alphabets {a, b} starting with b and ending with odd number of a’s or even number of b’s.