Epsilon (ε\varepsilon) Transitions in DFA and NFA

Epsilon (ε\varepsilon) Transitions in DFA and NFA

Verified Sources
Sep 12, 2026

Core concept: what are ε\varepsilon-transitions?

[epsilon transition]{def="A transition on the empty string ε\varepsilon, consuming no input symbol"} appear in nondeterministic automata where the transition function may move to another state without reading an input symbol. In contrast, a DFA consumes exactly one input symbol per transition, and its transition function is defined for actual input symbols (not for ε\varepsilon-moves). This distinction is why NFA commonly supports ε\varepsilon-moves via an [epsilon-closure]{def="Set of states reachable from a state using only ε\varepsilon transitions"}.

A typical formal model is:

  • [NFA with ε\varepsilon]{def="NFA whose transition relation allows moves labeled by ε\varepsilon"}: transition relation includes ε\varepsilon as a label.
  • DFA: transition function is defined for input symbols; ε\varepsilon-moves are not part of the standard DFA definition.

Therefore, for the multiple-choice statement:

“Epsilon (ε\varepsilon) transitions are allowed in …”

the correct choice is:

(iii) NFA only.

Visualizing the difference

Footnotes

  1. Wikipedia - Deterministic finite automaton (DFA) https://en.wikipedia.org/wiki/Deterministic_finite_automaton - Defines DFA transition as a function over QtimesSigmaQ\\times\\Sigma and standard model without 0˘3b5\u03b5-labelled moves.

NFA with ε-Transitions (Intuition + Formalism)

Why DFA doesn’t allow ε\varepsilon transitions (standard model)

In the standard formal definition of a DFA, the transition function is defined as δ:Q×ΣQ\delta: Q \times \Sigma \to Q (or equivalently, exactly one next state per state and input symbol). That model has no place for an empty-string label. So ε\varepsilon moves would violate the premise that each step corresponds to reading one symbol from Σ\Sigma.

Meanwhile, an [NFA with ε\varepsilon-moves]{def="NFA whose transition relation allows moves labeled by ε\varepsilon"} uses a transition relation allowing edges labeled by ε\varepsilon, enabling the automaton to “move for free” before (or between) consuming input symbols. This behavior is handled by [epsilon-closure]{def="Set of states reachable from a state using only ε\varepsilon transitions"} during simulation and subset construction.

How ε-transitions are used in an NFA simulation (high-level)

  1. 1
    Step 1

    From the start state(s), add all states reachable using only 0˘3B5\u03B5 transitions.

  2. 2
    Step 2

    For the current input symbol aa, follow all transitions labeled aa from every state in the current set.

  3. 3
    Step 3

    After moving on aa, again include all states reachable using only 0˘3B5\u03B5 transitions.

  4. 4
    Step 4

    "Continue until the input is exhausted, then accept if any current state is final."

    This mechanism directly relies on the existence of ε\varepsilon transitions in the NFA model. [epsilon-closure]{def="Set of states reachable from a state using only ε\varepsilon transitions"} formalizes the “expand again” step. NFA simulation with ε\varepsilon moves follows this pattern.

    Footnotes

    1. Wikipedia - Nondeterministic finite automaton (NFA) https://en.wikipedia.org/wiki/Nondeterministic_finite_automaton - Introduces NFAs and discusses 0˘3b5\u03b5-transitions (“moves without consuming input”).

Relationship between DFA and NFA with ε-moves

DFA transition is symbol-driven

Definition level

DFA uses a deterministic transition mapping for input symbols, without 0˘3B5\u03B5 labels in the standard definition. "

Footnotes

  1. Wikipedia - Deterministic finite automaton (DFA) https://en.wikipedia.org/wiki/Deterministic_finite_automaton - Defines DFA transition as a function over QtimesSigmaQ\\times\\Sigma and standard model without 0˘3b5\u03b5-labelled moves.

NFA with ε adds free moves

NFA extension

NFA allows 0˘3B5\u03B5 transitions, enabling moves without consuming input. "

Footnotes

  1. Wikipedia - Nondeterministic finite automaton (NFA) https://en.wikipedia.org/wiki/Nondeterministic_finite_automaton - Introduces NFAs and discusses 0˘3b5\u03b5-transitions (“moves without consuming input”).

ε-closure enables elimination or compilation

Conversion idea

Formal constructions use 0˘3B5\u03B5-closure to remove 0˘3B5\u03B5 transitions (e.g., via equivalent NFA without ε, and then subset construction for DFA). "

Footnotes

  1. Wikipedia - Nondeterministic finite automaton (NFA) / 0˘3b5\u03b5-closure and conversion ideas https://en.wikipedia.org/wiki/Nondeterministic_finite_automaton - Covers 0˘3b5\u03b5-closure concept used in conversion/elimination of 0˘3b5\u03b5-transitions and constructing equivalent automata.

Which automata permit ε-transitions?

Standard formal models

Common exam confusion

Pro Tip

When you see “0˘3B5\u03B5 transitions,” immediately think NFA plus [epsilon-closure]{def="Set of states reachable from a state using only 0˘3B5\u03B5 transitions"}. In standard DFA definitions, the move depends only on consuming a symbol from 0˘3A3\u03A3.

Footnotes

  1. Wikipedia - Deterministic finite automaton (DFA) https://en.wikipedia.org/wiki/Deterministic_finite_automaton - Defines DFA transition as a function over QtimesSigmaQ\\times\\Sigma and standard model without 0˘3b5\u03b5-labelled moves.

Warning: wording matters

Some textbooks use nonstandard conventions (e.g., extending DFA transition functions). For standard theory exam questions, treat DFA as symbol-driven only, and treat 0˘3B5\u03B5-moves as belonging to NFA-0˘3B5\u03B5.

Footnotes

  1. Wikipedia - Deterministic finite automaton (DFA) https://en.wikipedia.org/wiki/Deterministic_finite_automaton - Defines DFA transition as a function over QtimesSigmaQ\\times\\Sigma and standard model without 0˘3b5\u03b5-labelled moves.

Knowledge Check

Question 1 of 3
Q1Single choice

Epsilon (ε\varepsilon) transitions are allowed in