Question

Show that language L4 = { wabw : w ∈ {a,b}* } is not regular, use pumping lemma

show that language L4 = { wabw : w ∈ {a,b}* } is not regular, use pumping lemma

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

Pumping lemma for regular languages


** pumping lemma is a tool used to prove non regular languages as non regular .
** Pumping Lemma is based on the proof by contradiction .
** pumping Lemma uses pegion hole principal .
** to prove that a language is non - regular by using Pumping Lemma
steps
1. Assume that the given language is regular .
2. If a language is regular there exist a finite automata for that language . Assume that the finite automata has n- states .

3. Select some string Z from given language whose length is >= n . According to pegion howl principal whenever string length
is >= Number of states of finite automata, then there exist a loop or cycle in that automata .
4. divide the string Z into 3 parts u,v,x where v is the loop or the cycle string

Pumping Lemma condition
if a language is reguar for every i >= 1 in the string u vi x which belongs to language L ,
for atleast one i if uvi x does not belongs to L then given language is non - regular

*******************************************************************************************************************

now the given language is L = { wabw : w ∈ {a,b}* }

ut be a st So, 2 a bb ab abb abb ab, abb 从 1c2 we have now doab bab bab abb 2 So, 0 yto

Add a comment
Know the answer?
Add Answer to:
Show that language L4 = { wabw : w ∈ {a,b}* } is not regular, use pumping lemma
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