Question

(10) L is a language. The reverse of L is defined as follows: LR = {wR|w...

(10) L is a language. The reverse of L is defined as follows: LR = {wR|w ∈ L}. Prove or disprove the follwing claims:

(a) (L1 SL2)R = LR 1 SLR 2 .

(b) (LR)∗ = (L∗)R.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(a) (L1 SL2)R = LR 1 SLR 2 .

Incorrect

Counter Example:

L1 = {a}

L2 = {b}

Below two are not same

  • (L1 SL2)R = (a S b)R = b S a
  • LR 1 SLR 2 = a S b

(b) Correct

(LR)∗ = (L∗)R

Lets say L = {a, b}*

x is a string in L

(LR)∗ = (xR)* = 0 or more occurrences of xR

(L∗)R = (x*)R = 0 or more occurrences of x and reversed

Since regular languages are closed under kleene closure, both of the above are equivalent.

Add a comment
Know the answer?
Add Answer to:
(10) L is a language. The reverse of L is defined as follows: LR = {wR|w...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT