Minimal Mealy Machines

Learn how to minimize the number of states in a Mealy machine.

Minimizing number of states in Mealy machines

We can minimize the number of states in a Mealy machine just as we did for DFAs. The machine below, which prints a 11 for each bb and a 11 for every other aa, starting with the first, has one more state than it needs.

Get hands-on with 1400+ tech skills courses.