Equivalence of NFAs and DFAs

Learn how to convert a nondeterministic finite automaton to a deterministic finite automaton.

Construct a DFA from a NFA

In this lesson, we will show how to convert a NFA to a DFA. Consider the language LL over {a,b}\{ a,b \}, which consists of strings that end and begin with the same symbol, i.e., L={all strings of length at least two that begin and end with the same symbol}.L = \{ \textrm{all strings of length at least two that begin and end with the same symbol} \}.

The NFA that accepts the language L is depicted in the figure below.

Get hands-on with 1400+ tech skills courses.