GateAI
Discrete Mathematics

GATE CSE 2025 Set 2 · Q42

MSQ2 marksMedium

Time

Let F\mathcal{F} be the set of all functions from {1,…,n}\{1, \dots, n\} to {0,1}\{0,1\}. Define the binary relation ≼\preccurlyeq 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, \dots, n\}, f(x) \le g(x), where 0≤10 \le 1. Which of the following statement(s) is/are TRUE?

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: B) ( F, ) is a partial order; C) ( F, ) is a lattice

Discrete Mathematics

Let us analyze the properties of the relation ≼\preccurlyeq on F\mathcal{F}:

  1. Reflexivity: For any f∈Ff \in \mathcal{F}, since f(x)≤f(x)f(x) \le f(x) for all x∈{1,…,n}x \in \{1, \dots, n\}, we have f≼ff \preccurlyeq f.

  2. Antisymmetry: If f≼gf \preccurlyeq g and g≼fg \preccurlyeq f, then for every xx, f(x)≤g(x)f(x) \le g(x) and g(x)≤f(x)g(x) \le f(x), which implies f(x)=g(x)f(x) = g(x) for all xx, so f=gf = g.

  3. Transitivity: If f≼gf \preccurlyeq g and g≼hg \preccurlyeq h, then for all xx, f(x)≤g(x)≤h(x)  ⟹  f(x)≤h(x)f(x) \le g(x) \le h(x) \implies f(x) \le h(x), so f≼hf \preccurlyeq h.

Since ≼\preccurlyeq is reflexive, antisymmetric, and transitive, (F,≼)(\mathcal{F}, \preccurlyeq) is a partial order (poset). Hence, (B) is TRUE, and (A) and (D) are FALSE (because a non-trivial partial order is antisymmetric, not symmetric or an equivalence relation).

  1. Lattice property: For any two functions f,g∈Ff, g \in \mathcal{F}, we can define:

    • Join (least upper bound):(f∨g)(x)=max⁡(f(x),g(x))(f \lor g)(x) = \max(f(x), g(x))

    • Meet (greatest lower bound):(f∧g)(x)=min⁡(f(x),g(x))(f \land g)(x) = \min(f(x), g(x))

    Both f∨gf \lor g and f∧gf \land g are valid functions in F\mathcal{F}. Since every pair of elements has a unique least upper bound and greatest lower bound, (F,≼)(\mathcal{F}, \preccurlyeq) is a lattice (in fact, isomorphic to the Boolean algebra {0,1}n\{0,1\}^n / power set lattice (P({1,…,n}),⊆)(\mathcal{P}(\{1, \dots, n\}), \subseteq)).

Therefore, statements (B) and (C) are TRUE.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Discrete Mathematics previous year question is Q42 of the GATE CSE 2025 Set 2 paper. Find more GATE CSE PYQs on Discrete Mathematics in Engineering Mathematics, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Discrete Mathematics PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Discrete Mathematics in GATE CSE

Discrete Mathematics has 50 GATE CSE PYQs across 23 papers from 2011 to 2026. 4 of them are 2-mark MSQs like this one, and GATE CSE 2025 Set 2 has 2.

How GATE tests Discrete Mathematics

More from GATE CSE 2025 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2025 Set 2 · Q42 · MSQ

Let F be the set of all functions from {1, , n} to {0,1}. Define the binary relation on F as follows: ∀ f, g ∈ F, f g if and only if ∀ x ∈ {1, , n}, f(x) ≤ g(x), where 0 ≤ 1. Which of the following statement(s) is/are TRUE?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.