Skip to content
Official PYQ · 2001

GATE CS 2001 Q2.3 — Sets, Relations and Functions

Explain with AI

Let f:A→Bf: A \rightarrow B a function, and let E and F be subsets of AA. Consider the following statements about images.

  • S1:f(E∪F)=f(E)∪f(F)S_1: f(E \cup F) = f(E) \cup f(F)
  • S2:f(E∩F)=f(E)∩f(F)S_2: f(E \cap F)=f(E) \cap f(F)

Which of the following is true about S1 and S2?

Choose one option
View worked solution

Answer: A

To determine the correctness of statements S1S_1 and S2S_2, let us analyze them using the definition of the image of a set under a function f:A→Bf: A \rightarrow B.

Analysis of S1S_1: f(E∪F)=f(E)∪f(F)f(E \cup F) = f(E) \cup f(F)

By definition, an element y∈By \in B is in f(E∪F)f(E \cup F) if and only if there exists some x∈E∪Fx \in E \cup F such that f(x)=yf(x) = y.

y∈f(E∪F)  ⟺  ∃x∈(E∪F) such that f(x)=y  ⟺  (∃x∈E such that f(x)=y)∨(∃x∈F such that f(x)=y)  ⟺  y∈f(E)∨y∈f(F)  ⟺  y∈f(E)∪f(F)\begin{aligned} y \in f(E \cup F) &\iff \exists x \in (E \cup F) \text{ such that } f(x) = y \\ &\iff (\exists x \in E \text{ such that } f(x) = y) \lor (\exists x \in F \text{ such that } f(x) = y) \\ &\iff y \in f(E) \lor y \in f(F) \\ &\iff y \in f(E) \cup f(F) \end{aligned}

Since the logical equivalences hold in both directions, we have f(E∪F)=f(E)∪f(F)f(E \cup F) = f(E) \cup f(F). Thus, S1S_1 is correct.

Analysis of S2S_2: f(E∩F)=f(E)∩f(F)f(E \cap F) = f(E) \cap f(F)

While it is always true that f(E∩F)⊆f(E)∩f(F)f(E \cap F) \subseteq f(E) \cap f(F), the reverse inclusion does not necessarily hold unless ff is injective (one-to-one).

Counterexample:

  • Let A={1,2}A = \{1, 2\} and B={3}B = \{3\}.
  • Define f:A→Bf: A \rightarrow B as f(1)=3f(1) = 3 and f(2)=3f(2) = 3.
  • Let E={1}E = \{1\} and F={2}F = \{2\} be subsets of AA.

Now, let's compute both sides:

  • E∩F=∅  ⟹  f(E∩F)=∅E \cap F = \emptyset \implies f(E \cap F) = \emptyset
  • f(E)={3}f(E) = \{3\} and f(F)={3}  ⟹  f(E)∩f(F)={3}f(F) = \{3\} \implies f(E) \cap f(F) = \{3\}

Since ∅≠{3}\emptyset \neq \{3\}, the statement f(E∩F)=f(E)∩f(F)f(E \cap F) = f(E) \cap f(F) is false in general. Thus, S2S_2 is incorrect.

Conclusion

Only S1S_1 is correct. Hence, the correct option is A.

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

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