Question

Use pumping lemma to prove that the language {anb2n| n>0, and w is in {a, b}*...

Use pumping lemma to prove that the language {anb2n| n>0, and w is in {a, b}* } is not a regular language.

Homework Answers

Answer #1

Given Language - {anb2n| n>0, and w is in {a, b}* }

Pumping Lemma states that

For any language L, there exists an integer n, such that for all x ∈ L with |x| ≥ n, there exists u,v, w ∈ Σ*, such that x = uvw, and
(1) |uv| ≤ n
(2) |v| ≥ 1
(3) for all i ≥ 0: uv^iw ∈ L

To prove that the language is not regular we have show that there exist alteast one string such that it is not in the language (i.e it has to fail pumping lemma Test)

let X=ab2 (n=1) where pumping length = 3

u= ,v = a and w = b2

and on pumping 'a'(i.e v) once, we get a2b2 which doesn't belong to the given language

so the given is not regular language  

Know the answer?
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
Similar Questions
Use the pumping lemma for regular languages to prove that the following language is not regular....
Use the pumping lemma for regular languages to prove that the following language is not regular. { 0n1x0x1n | n >= 0 and x >= 0 }
Test the language L2.16={(ab^n,n>0) with the pumping lemma and show that it is regular.
Test the language L2.16={(ab^n,n>0) with the pumping lemma and show that it is regular.
Prove the language of strings over {a, b} of the form (b^m)(a^n) , 0 ≤ m...
Prove the language of strings over {a, b} of the form (b^m)(a^n) , 0 ≤ m < n-2 isn’t regular. Use the pumping lemma for regular languages.
Use the pumping lemma to show that {w | w belongs to {a, b}*,and w is...
Use the pumping lemma to show that {w | w belongs to {a, b}*,and w is a palindrome of even length.} is not regular.
Prove that the following languages are not regular using pumping lemma: (a) {w : w !=...
Prove that the following languages are not regular using pumping lemma: (a) {w : w != wR} (b) {ai bjak : k ≤ i + j}
Prove the language of strings over {a, b} of the form (b^m)(a^n) , 0 ≤ m...
Prove the language of strings over {a, b} of the form (b^m)(a^n) , 0 ≤ m < n-2 isn’t regular. (I'm using the ^ notation but your free to make yours bman instead of (b^m)(a^n) ) Use the pumping lemma for regular languages.
Let Σ = {a, b, c}. Use the Pumping lemma to show that the language A...
Let Σ = {a, b, c}. Use the Pumping lemma to show that the language A = {arbsct | r + s ≥ t} is not regular.
Use pumping lemma to prove that L3a = {ab^m ab^m a| m>0} is non-regular
Use pumping lemma to prove that L3a = {ab^m ab^m a| m>0} is non-regular
Use the pumping lemma to show that the following languages are not regular. b. A2 =...
Use the pumping lemma to show that the following languages are not regular. b. A2 = {www| w € {a, b}*}
Are the following languages over {a, b} regular? If they are then prove it. If they...
Are the following languages over {a, b} regular? If they are then prove it. If they are not prove it with the Pumping Lemma {an bm | m != n, n >= 0} {w | w contains the substring ‘aaa’ once and only once } Clear concise details please, if the language is regular, provide a DFA/NFA along with the regular expression. Thank you. Will +1
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT