Is L = {a^n a^n b^m |m, n ≥ 0} a regular or irregular language?

996 Views Asked by At

I have troubles in solving/proving this problem. I can understand that in a non regular no Finite State Automaton/Machine can be written that validates and accepts this input since it lacks a memory component. (Please correct me if I'm wrong)

The wikipedia entry on Regular Language also lists this example, but does not provide a (mathematical) proof why it is not regular.

2

There are 2 best solutions below

3
einpoklum On BEST ANSWER

This language is accepted by the regular expression (aa)*b*, so yes, it is a regular language.

0
Dinesh kota On

We can construct a deterministic finate automta for the given language L={a^n a^n b^m | m,n>=0} . So the given language is regular