Final answer:
Using the Pumping Lemma, we can prove that the given languages are nonregular, except for one of them. The languages that are nonregular violate the conditions of the Pumping Lemma by choosing a substring that can be pumped to generate strings not in the language. One of the languages is regular because it can be recognized by a finite automaton.
Step-by-step explanation:
To prove that the given languages are nonregular using the Pumping Lemma:
- L = aibjai
The language violates the conditions of the Pumping Lemma because we can choose a substring v such that pumping it up or down will result in a string that is not in the language. For example, if we choose v = ab, pumping it up gives us aabb which is not in the language. - L = aibjaji
Similarly, this language also violates the conditions of the Pumping Lemma. If we choose v = abba, pumping it up gives us abbaa which is not in the language. - L = i, j ≥ 1
In this case, if we choose v = abba, pumping it up gives us abbabbaa which is not in the language. - L = w
This language is nonregular because it cannot be recognized by a finite automaton. The automaton would need to remember the first part of the string in order to check if the second part matches it, which is not possible. - L = {(a+b)iai}
This language can be recognized by a finite automaton, therefore it is regular.