Question

I'm trying to show that L6={cnambp:n+m=p,p?6} is not regular. I need a little help, I was...

I'm trying to show that L6={cnambp:n+m=p,p?6} is not regular. I need a little help, I was practicing the pumping lemma, and I encountered this language, I saw these conditions and got totally confused, what to do now?

Earlier I showed that L5={anbn:n?0} is not regular. In this Language it was very simple to choose w, namely w=apbp, where p is the pumping length. But this new Language is complicated, so I thought you guys could help me out.

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

Let L be a regular language. Then there exists an integer p?1 (depending only on L) such that every string w in L of length at least p (p is called the "pumping length") can be written as w=xyz (i.e., w can be divided into three substrings), satisfying the following conditions:

  1. |y|?1
  2. |xy|?p and
  3. for all i?0, xyiz?L.
    y is the substring that can be pumped (removed or repeated any number of times, and the resulting string is always in L).

(1) means the loop y to be pumped must be of length at least one; (2) means the loop must occur within the first p characters. There is no restriction on x and z.

In simple words, For any regular language L, any sufficiently long word w?L can be split into 3 parts. i.e w=xyz, such that all the strings xykz for k?0 are also in L.

Now let's consider an example. Let L={(01)n2n?n?0}.

To show that this is not regular, you need to consider what all the decompositions w=xyz look like, so what are all the possible things x, y and z can be given that xyz=(01)p2p (we choose to look at this particular word, of length 3p, where p is the pumping length). We need to consider where the y part of the string occurs. It could overlap with the first part, and will thus equal either (01)k+1, (10)k+1, 1(01)k or 0(10)k, for some k?0 (don't forget that |y|?1). It could overlap with the second part, meaning that y=2k, for some k>0. Or it could overlap across the two parts of the word, and will have the form (01)k+12l, (10)k+12l, 1(01)k2l or 0(10)k2l, for k?0 and l?1.

Now pump each one to obtain a contradiction, which will be a word not in your language. For example, if we take y=0(10)k2l, the pumping lemma says, for instance, that xy2z=x0(10)k2l0(10)k2lz must be in the language, for an appropriate choice of x and z. But this word cannot be in the language as a 2 appears before a 1.

Other cases will result in the number of (01)'s being more than the number of 2's or vice versa, or will result in words that won't have the structure (01)n2n by, for example, having two 0's in a row.

Don't forget that |xy|?p. Here, it's useful to shorten the proof: many of the decompositions above are impossible because they would make the z part too long.

Each of the cases above needs to lead to such a contradiction, which would then be a contradiction of the pumping lemma. Voila! The language would not be regular.

Add a comment
Know the answer?
Add Answer to:
I'm trying to show that L6={cnambp:n+m=p,p?6} is not regular. I need a little help, I was...
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
  • I need help trying to understand what (S1) and (S2) are saying. Maybe in other words or pictures because the book is more confusing 3.1.1. Let M CR" be a nonempty set and 1 s k n. Then k . Then...

    I need help trying to understand what (S1) and (S2) are saying. Maybe in other words or pictures because the book is more confusing 3.1.1. Let M CR" be a nonempty set and 1 s k n. Then k . Then M is a -dimensional regular surface (briefly, regul each point xo there ar kf class CP (p)i nd amapping of class C e M there exist an open set AC such that (SI) there exists an open set U...

  • i'm workimg on a careplan and i need help. i don't know what this Roy adaption...

    i'm workimg on a careplan and i need help. i don't know what this Roy adaption model is. can someone please help me? HELENE FULD COLLEGE OF NURSING CRITERIA FOR EVALUATION OF NURSING CARE PLAN NUR 221 ASSESSMENT Pole poids Actual points d at of 1. Cabe 2. Uspor include e pay and environmental tervisection, auto plation, and person D hes 3. a t in prima including wojective and objective data history, cum DIAGNOSIS Posle points Actual points Criteria Incorporate...

  • I just need help figuring out 5 through 8 ACC 299 Winter 2020 Prof. Graybeat Sis...

    I just need help figuring out 5 through 8 ACC 299 Winter 2020 Prof. Graybeat Sis a small company that currently operates in Knoxville, TN and has a single product – stadium seat cushions bearing the University of Tennessee logo. Eventually Gary wants to expand and sell this product for other university and professional sports teams, and to add other merchandise. In the meantime, Gary is having a little difficulty understanding margins, and operating income and product mix. "I'll never...

  • i really need help with the graphs Driving Can Be Dangerous to Your Health: An Interrupted...

    i really need help with the graphs Driving Can Be Dangerous to Your Health: An Interrupted Case Study in Physiology Phil Stephens Department of Biology Villanova University Part 1-The Grandparents Arrive Dave pulled the cell phone out of his pocket, cursing himself for not putting it on vibrate. The children, Jason and Laura, were both asleep, and he knew that the rest of the day would not be fun if they were awakened from their naps. "Hi, Dave. We're just...

  • I need Summary of this Paper i dont need long summary i need What methodology they used , what is the purpose of this p...

    I need Summary of this Paper i dont need long summary i need What methodology they used , what is the purpose of this paper and some conclusions and contributes of this paper. I need this for my Finishing Project so i need this ASAP please ( IN 1-2-3 HOURS PLEASE !!!) Budgetary Policy and Economic Growth Errol D'Souza The share of capital expenditures in government expenditures has been slipping and the tax reforms have not yet improved the income...

  • Why did the Energy Telematics project fail and why was Joel's tram vaught off guard by...

    Why did the Energy Telematics project fail and why was Joel's tram vaught off guard by the hostile reaction of the truck drivers at the Omaha depot? MINI CASE Working Smarter at Continental Furniture International Joel Parsons hurried down the hall to the monthly executive committee meeting doing a mental checklist of all the things he was responsible for: sales analysis-check; mar keting stats-check; quarterly and YTD financials-check; operating statistics-check trends in each of these areas-check. Parsons was right hand...

  • Read “Instituionalizing our Demise: America vs Multiculturalism” by Roger Kimball on pg 268 and “Reinventing America”...

    Read “Instituionalizing our Demise: America vs Multiculturalism” by Roger Kimball on pg 268 and “Reinventing America” Call for a new national indentity” by Elizabeth Martinez on pg 275. Create a double entry notebook for each reading selection It should be atleast five observation and responses. wric 268 PART 2 essay pro. exactly how and why their authors disagree. Instead of with parties in conflict as mediators do, you will nt of view designed to appeal to both sides, mediatn posing...

  • Discussion questions 1. What is the link between internal marketing and service quality in the ai...

    Discussion questions 1. What is the link between internal marketing and service quality in the airline industry? 2. What internal marketing programmes could British Airways put into place to avoid further internal unrest? What potential is there to extend auch programmes to external partners? 3. What challenges may BA face in implementing an internal marketing programme to deliver value to its customers? (1981)ǐn the context ofbank marketing ths theme has bon pururd by other, nashri oriented towards the identification of...

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