Skip to content
Official PYQ · 2007

GATE CS 2007 Q48 — Boolean Algebra

Explain with AI

Which of the following is TRUE about formulae in Conjunctive Normal Form?

Choose one option
View worked solution

Answer: A

We can prove that statement A is always true using a simple probabilistic argument (the probabilistic method):

Let a CNF formula have mm clauses, C1,C2,…,CmC_1, C_2, \dots, C_m. Each clause CiC_i is a disjunction of literals. Let us assign a truth value (True or False) to each variable independently and uniformly at random with a probability of 1/21/2.

  • For any clause CiC_i containing kik_i literals, the clause evaluates to False if and only if all its kik_i literals evaluate to False.
  • The probability of this happening is (12)ki\left(\frac{1}{2}\right)^{k_i}.
  • Since every clause must contain at least one literal (ki≥1k_i \ge 1), the probability that CiC_i evaluates to False is at most 12\frac{1}{2}.
  • Consequently, the probability that CiC_i evaluates to True is:
    P(Ci is True)=1−(12)ki≥1−12=12\text{P}(C_i \text{ is True}) = 1 - \left(\frac{1}{2}\right)^{k_i} \ge 1 - \frac{1}{2} = \frac{1}{2}

By the linearity of expectation, the expected number of clauses that evaluate to True under a random assignment is:

E[Number of True clauses]=∑i=1mP(Ci is True)≥∑i=1m12=m2\text{E}[\text{Number of True clauses}] = \sum_{i=1}^{m} \text{P}(C_i \text{ is True}) \ge \sum_{i=1}^{m} \frac{1}{2} = \frac{m}{2}

Since the average (expected) number of satisfied clauses across all possible truth assignments is at least m/2m/2, there must exist at least one specific truth assignment that satisfies at least m/2m/2 (half) of the clauses.

Eliminating other options:

  • Option B is false: Unsatisfiable formulas (e.g., x∧¬xx \land \neg x) have no truth assignment that satisfies all clauses.
  • Option C is false: Since we proved that at least half of the clauses can always be satisfied for any formula, it is impossible to have a formula where every assignment satisfies at most one-fourth of the clauses.

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

Published
Report a correction
Keep exploringMore Boolean Algebra questions