retagged by
34,204 views
50 votes
50 votes

For $\Sigma = \{a ,b \}$, let us consider the regular language $L=\{x \mid x = a^{2+3k} \text{ or } x=b^{10+12k}, k \geq 0\}$. Which one of the following can be a pumping length (the constant guaranteed by the pumping lemma) for $L$ ?

  1. $3$
  2. $5$
  3. $9$
  4. $24$
retagged by

6 Answers

0 votes
0 votes
Pumping Lemma for Regular Languages:
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: uviw ∈ L
We have to find "n" which satisfies for all the strings in L.
Considering strings derived by b10+12k.
The minimum string in L = "bbbbbbbbbb" but this string b10 cannot be broken in uvw.
So, pumping length 3, 9 and 5 cannot be the correct answer.
So, the minimum pumping length, such that any string in L can be divided into three parts "uvw" must be greater than 10 .
0 votes
0 votes
Pumping length is the minimum length, after which every string can be can be considered a combination (xyz), such that x,y and z are any strings belonging to our language.

For example: For above language consider string: a¹¹

a¹¹ can be written as : a⁵a²a²a²

So here x: a⁵ y: a² z: a²

So we can write above string as : xyyz

Note: we can not convert any of the possible combinations of a^n, where n<11 into above mentioned combination.

Basically, pumping length is the length after which we can accept the strings simply by repeating on the states.

So for length of 11 we require a 12 state DFA.

This will be valid for both a and b.

(You can construct and check it)

So basically here my pumping length would be 11 or any value greater than 11.
Answer:

Related questions

21 votes
21 votes
7 answers
2
Arjun asked Feb 7, 2019
9,135 views
The expenditure on the project _____ as follows: equipment Rs.$20$ lakhs, salaries Rs.$12$ lakhs, and contingency Rs.$3$ lakhs.break downbreakbreaks downbreaks
11 votes
11 votes
6 answers
3
Arjun asked Feb 7, 2019
5,763 views
The search engine’s business model ____ around the fulcrum of trust.revolvesplayssinksbursts
8 votes
8 votes
4 answers
4