Question

2. If L is a regular language, prove that the language 11 = { uv/ u E 1 , |v|-2) is also regular. (Hint: Can you build an NFA of L1 using an NFA of a language L? Use N, the NFA of the language L)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1)Let's say: Alphabets in the string={a,b}

And regular language be {a^n/n>0}

Therefore u={a^n/n>0}

|v|=2

Therefore v can be {aa,ab,ba,bb}

Since u is regular,v is also regular

we know that UV is also regular because a regular language is closed under concatenation

Therefore it proves that L1 is regular.

Hope it helps!

Comment below if any doubt.

Happy learning.

Add a comment
Know the answer?
Add Answer to:
2. If L is a regular language, prove that the language 11 = { uv/ u...
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
ADVERTISEMENT