Skip to content
Official PYQ · 2025

GATE CS 2025 Set 2 Q32 — Sets, Relations and Functions

Explain with AI

​​Let F\mathcal{F} be the set of all functions from {1,…,n}\{1, \ldots, n\} to {0,1}\{0,1\}. Define the binary relation ⩽\leqslant on F\mathcal{F} as follows:

∀f,g∈F,f≼g\forall f, g \in \mathcal{F}, f \preccurlyeq g if and only if ∀x∈{1,…,n},f(x)≤g(x)\forall x \in\{1, \ldots, n\}, f(x) \leq g(x), where 0≤10 \leq 1.
Which of the following statement(s) is/are TRUE?

Select all correct options
View worked solution

Answer: B;C

To determine which statements are true, let us analyze the properties of the relation ≼\preccurlyeq defined on the set of functions F={f∣f:{1,…,n}→{0,1}}\mathcal{F} = \{f \mid f: \{1, \ldots, n\} \to \{0, 1\}\}.

1. Checking for Partial Order (Option B)

A relation is a partial order if it is reflexive, antisymmetric, and transitive:

  • Reflexivity: For any f∈Ff \in \mathcal{F}, since f(x)≤f(x)f(x) \leq f(x) for all x∈{1,…,n}x \in \{1, \ldots, n\}, we have f≼ff \preccurlyeq f.
  • Antisymmetry: If f≼gf \preccurlyeq g and g≼fg \preccurlyeq f, then for all x∈{1,…,n}x \in \{1, \ldots, n\}, f(x)≤g(x)f(x) \leq g(x) and g(x)≤f(x)g(x) \leq f(x). This implies f(x)=g(x)f(x) = g(x) for all xx, so f=gf = g.
  • Transitivity: If f≼gf \preccurlyeq g and g≼hg \preccurlyeq h, then for all x∈{1,…,n}x \in \{1, \ldots, n\}, f(x)≤g(x)f(x) \leq g(x) and g(x)≤h(x)g(x) \leq h(x). This implies f(x)≤h(x)f(x) \leq h(x) for all xx, so f≼hf \preccurlyeq h.

Since ≼\preccurlyeq is reflexive, antisymmetric, and transitive, (F,≼)(\mathcal{F}, \preccurlyeq) is a partial order. Thus, Option B is TRUE.

2. Checking for Symmetry and Equivalence (Options A and D)

Consider n≥1n \geq 1. Let f(x)=0f(x) = 0 and g(x)=1g(x) = 1 for all xx. Here, f≼gf \preccurlyeq g because 0≤10 \leq 1, but g⋠fg \not\preccurlyeq f because 1≰01 \not\leq 0.

  • Since f≼g̸  ⟹  g≼ff \preccurlyeq g \not\implies g \preccurlyeq f, the relation is not symmetric. Thus, Option A is FALSE.
  • Since it is not symmetric, it is not an equivalence relation. Thus, Option D is FALSE.

3. Checking for Lattice (Option C)

A partially ordered set is a lattice if every pair of elements f,g∈Ff, g \in \mathcal{F} has a unique supremum (least upper bound, LUB) and infimum (greatest lower bound, GLB) in F\mathcal{F}.

For any f,g∈Ff, g \in \mathcal{F}, define the pointwise operations:

  • Join (LUB): (f∨g)(x)=max⁡(f(x),g(x))(f \lor g)(x) = \max(f(x), g(x))
  • Meet (GLB): (f∧g)(x)=min⁡(f(x),g(x))(f \land g)(x) = \min(f(x), g(x))

Since the codomain of the functions is {0,1}\{0, 1\}, the maximum and minimum of any two values in {0,1}\{0, 1\} also belong to {0,1}\{0, 1\}. Thus, both (f∨g)(f \lor g) and (f∧g)(f \land g) are valid functions in F\mathcal{F}.

Since every pair of functions has a unique supremum and infimum in F\mathcal{F}, (F,≼)(\mathcal{F}, \preccurlyeq) is a lattice. Thus, Option C is TRUE.

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

Published
Report a correction
Keep exploringMore Sets, Relations and Functions questions