Question

Prove that {anbamba2m+n:n,m≥1} is not regular using pumping lemma (5).

  1. Prove that {anbamba2m+n:n,m≥1} is not regular using pumping lemma (5).

Homework Answers

Answer #1

solution:

pumping leema for regular language:

For any regular 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: uviw ∈ L

In simple terms, this means that if a string v is ‘pumped’, i.e., if v is inserted any number of times, the resultant string still remains in L

Let us assume given language is regular.

X = ababaaa

n=5

So, |×| > = n

u= aba

v= ba

w= aa

First condition : |uv| <= n it satisfied.

Because | ababa| <= 5

Second condition:| v| >= 1 it satisfied

Third condition: uv^iw

Let, i=2

V = (ba)^2

uv^2w = abababaaa does not belong to L.

So third condition does not satisfied.

so L is not regular hence proof.

please give e thumb up

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
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}
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 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 }
Using the pumping lemma for context free Languages to prove L is not context free. L...
Using the pumping lemma for context free Languages to prove L is not context free. L = { w#w#w | w E (0+1)*} Are the used variables {0,1,#}
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}*}
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 that the language L over {c,d,e} is not context free. (using pumping lemma for context...
prove that the language L over {c,d,e} is not context free. (using pumping lemma for context free languages) L= {w ∈ {c,d,e}* : number of c's, number of d's, and number of e's have a common factor greater than 1}
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
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.
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.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT