Question

Let L be any language. Define even (w) as the string obtained by extracting from w...

Let L be any language. Define even (w) as the string obtained by extracting from w the letters in even-numbered positions; that is, if

w = a1a2a3a4...,

then

even (w) = a2a4....

Corresponding to this, we can define a language

even (L) = {even (w) : wL}.

how can i solve this problem? help me please

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

here, w = a1a2a3a4...

even(w) = a2a4....

here even(w) is a part of w only, so it can also be written as :

even(w) = {w | letters in the even numbered positions of w}

Now, lets consider the regular expression:

r = (a*b*)*

so L(r) = {Ԑ, a, b, aa, ab, ba, bb,…, aaaa, aaab, aabb, abbb, abaa, abab, baaa, bbaa, bbba,…}

Considering L is a regular language and lets assume

if w = ‘abaa’

then even(w) = ’ba’ € L

Therefore even(L) is regular.

Add a comment
Know the answer?
Add Answer to:
Let L be any language. Define even (w) as the string obtained by extracting from 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