Skip to content
Official PYQ · 2014

GATE CS 2014 Set 3 Q16 — Regular and Context-free Languages

Explain with AI

Let Σ\Sigma be a finite non-empty alphabet and let 2Σ∗2^{\Sigma^*} be the power set of Σ∗\Sigma^*. Which one of the following is TRUE? 

Choose one option
View worked solution

Answer: C

To determine the countability of Σ∗\Sigma^* and 2Σ∗2^{\Sigma^*}, let us analyze each set:

  1. Countability of Σ∗\Sigma^*:

    Since Σ\Sigma is a finite, non-empty alphabet, the set of all strings of a fixed length kk (denoted as Σk\Sigma^k) is finite for any k≥0k \ge 0.

    The set Σ∗\Sigma^* is the union of these finite sets:

    Σ∗=⋃k=0∞Σk\Sigma^* = \bigcup_{k=0}^{\infty} \Sigma^k

    A countable union of finite sets is countably infinite. We can systematically list all strings in Σ∗\Sigma^* using lexicographical ordering (ordering by length, and then alphabetically for strings of the same length). This establishes a bijection with the set of natural numbers N\mathbb{N}. Thus, Σ∗\Sigma^* is countable.

  2. Countability of 2Σ∗2^{\Sigma^*}:

    The set 2Σ∗2^{\Sigma^*} is the power set of Σ∗\Sigma^*, which represents the set of all possible languages over the alphabet Σ\Sigma.

    By Cantor's Theorem, the power set of any set SS has a strictly larger cardinality than SS itself (∣2S∣>∣S∣|2^S| > |S|).

    Since ∣Σ∗∣=ℵ0|\Sigma^*| = \aleph_0 (countably infinite), the cardinality of its power set is:

    ∣2Σ∗∣=2ℵ0=c|2^{\Sigma^*}| = 2^{\aleph_0} = c

    where cc is the cardinality of the continuum (the set of real numbers), which is uncountably infinite. Thus, 2Σ∗2^{\Sigma^*} is uncountable.

Therefore, 2Σ∗2^{\Sigma^*} is uncountable and Σ∗\Sigma^* is countable, which corresponds to Option C.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Regular and Context-free Languages questions