Question

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.

Homework Answers

Answer #1

Let the given language be L. Where L = (abn,n>0) which represents set of all strings where a is followed by 1 or more b's.(at least one b)

So, L can be also represented as, L = (abb*)

Then, let x = uvw be abb and n = 3. Where uv is ab and |ab|<=3.

And |v| >=1.

Now we need to show that if for all i, i>=0, uviw should belongs to L. That is string v has to be pumped, it the language is regular.

So, if i = 0, string we get is {ab} which belongs to L.

if i = 1, string we get is {abb} which belongs to L.

if i = 2, sting we get is {abbb} which belongs to L.

Therefore, so on, for all i, we get all stings belongs to language L only. Since, v is pumped, we can that the given language is regular.

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 }
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.
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
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.
Using Pumping lemma to prove the below language is not regular Let Σ2 = {[ 0...
Using Pumping lemma to prove the below language is not regular Let Σ2 = {[ 0 0 ] , [ 0 1 ] , [ 1 0 ] , [ 1 1 ]} . Consider each row to be a binary number and let L3 = w ∈ Σ ∗ 2 | the bottom row of w is the square of the top row of w . For example, [ 0 1 ] [ 0 0 ] [ 1 0...
using pumping lemma to prove a^ib^jc^k(i=j or j=k) is not a regular language
using pumping lemma to prove a^ib^jc^k(i=j or j=k) is not a regular language
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}*}
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 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.