Question

Let L⊆{0,1}∗L \subseteq \{0,1\}^* be an arbitrary regular language accepted by a minimal DFA with kk states. Which one of the following languages must necessarily be accepted by a minimal DFA with kk states?

Choose one option
Official answer and solution
Official answer
C
From
Official GATE 2021 answer key

Solution

Recall the DFA state complementation property and the state-minimality theorem for regular languages.

Let M=(Q,Σ,δ,q0,F)M = (Q, \Sigma, \delta, q_0, F) be a minimal DFA accepting language LL, where ∣Q∣=k|Q| = k.

The complement of LL, given by {0,1}∗−L=L‾\{0,1\}^* - L = \overline{L}, is recognized by the DFA M′=(Q,Σ,δ,q0,Q∖F)M' = (Q, \Sigma, \delta, q_0, Q \setminus F), obtained simply by swapping accepting and non-accepting states while keeping the exact same state set QQ and transition function δ\delta.

Because indistinguishability of states is symmetric (two states pp and qq are distinguishable in MM if and only if they are distinguishable in M′M' by the exact same strings), M′M' is also minimal. Hence, the minimal DFA for {0,1}∗−L\{0,1\}^* - L must necessarily have exactly kk states.

For operations like adding or subtracting a single word {01}\{01\}, or concatenation L⋅LL \cdot L, the minimal DFA size can increase or decrease significantly depending on LL.

Final answer

C

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2021 Computer Science and Information Technology - Session 2 (CS2)
Question
19 of 65, printed as CS Q.9
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.