Is the language regular?
A language is regular if a finite automaton recognises it, that is if finite memory is enough. Unbounded counting is not possible.
Rules
- Finitely many cases to remember: regular
- Unbounded counting or comparing: usually not regular
- Proving non-regularity: pumping lemma
Your turn
Three problems on this topic. The software checks your answer exactly.
- 1 · Regular or not?
- 2
- 3
Is the language regular?
{ aⁿbⁿ | n ≥ 0 }
Regular?
Worked example
Is the language regular?
{ aⁿbᵐ | n, m ≥ 0 }
Worked solution
- 1This is a*b*.
Typical mistake: Infinite languages can be regular. What matters is whether finitely many states are enough.
Common questions
Is every finite language regular?
Yes, every finite language is regular.
