Mathematical-Reasoning ยท Unit 25 ยท Video 4 ยท Interactive Practice

Proof: The Image of an Intersection Is Only a Subset

IKey Formulas

StatementKindHow it is proved
yโˆˆf(A)โ€…โ€ŠโŸบโ€…โ€Šy \in f(A) \iff there is an xโˆˆAx \in A with f(x)=yf(x) = yDefinition of the imageUsed in every step below
f(AโˆฉB)โІf(A)โˆฉf(B)f(A \cap B) \subseteq f(A) \cap f(B)Inclusion, for every ffOne witness xโˆˆAโˆฉBx \in A \cap B serves both sets
f(AโˆชB)=f(A)โˆชf(B)f(A \cup B) = f(A) \cup f(B)Equality, for every ffTwo inclusions, each with two cases

Key Insight: From yโˆˆf(A)y \in f(A) and yโˆˆf(B)y \in f(B) we get a witness in AA and a witness in BB, and nothing makes them the same element. That is why the reverse inclusion f(A)โˆฉf(B)โІf(AโˆฉB)f(A) \cap f(B) \subseteq f(A \cap B) can fail.

IIWitnesses for an Output

An output lies in f(AโˆฉB)f(A \cap B) only when one of its witnesses lies in both AA and BB.

๐Ÿ’ก Challenge: keep A={1,2,4}A = \{1, 2, 4\} and change BB so that f(AโˆฉB)=f(A)โˆฉf(B)f(A \cap B) = f(A) \cap f(B), with BB still containing an element outside AA.

IIIThe Two Proofs, Step by Step

Each inclusion starts from an arbitrary element of the left-hand set and unpacks the definition of the image.

Step 1 โ€” Choose an element. Let yโˆˆf(AโˆฉB)y \in f(A \cap B). We must show yโˆˆf(A)โˆฉf(B)y \in f(A) \cap f(B).
Step 2 โ€” Unpack the image. By the definition of the image, there is an xโˆˆAโˆฉBx \in A \cap B with f(x)=yf(x) = y.
Step 3 โ€” Split the intersection. Since xโˆˆAโˆฉBx \in A \cap B, we have xโˆˆAx \in A and xโˆˆBx \in B.
Step 4 โ€” Use the same xx twice. xโˆˆAx \in A and f(x)=yf(x) = y give yโˆˆf(A)y \in f(A); the same xโˆˆBx \in B gives yโˆˆf(B)y \in f(B).
Step 5 โ€” Conclude. So yโˆˆf(A)โˆฉf(B)y \in f(A) \cap f(B). Every element of f(AโˆฉB)f(A \cap B) lies in f(A)โˆฉf(B)f(A) \cap f(B), so f(AโˆฉB)โІf(A)โˆฉf(B)f(A \cap B) \subseteq f(A) \cap f(B).
Step 1 โ€” First inclusion: choose an element. Let yโˆˆf(AโˆชB)y \in f(A \cup B). Then there is an xโˆˆAโˆชBx \in A \cup B with f(x)=yf(x) = y, so xโˆˆAx \in A or xโˆˆBx \in B.
Step 2 โ€” The two cases. If xโˆˆAx \in A, then y=f(x)โˆˆf(A)y = f(x) \in f(A). If xโˆˆBx \in B, then yโˆˆf(B)y \in f(B). Either way yโˆˆf(A)โˆชf(B)y \in f(A) \cup f(B), so f(AโˆชB)โІf(A)โˆชf(B)f(A \cup B) \subseteq f(A) \cup f(B).
Step 3 โ€” Reverse inclusion: choose an element. Let yโˆˆf(A)โˆชf(B)y \in f(A) \cup f(B), so yโˆˆf(A)y \in f(A) or yโˆˆf(B)y \in f(B).
Step 4 โ€” The two cases. If yโˆˆf(A)y \in f(A), there is an xโˆˆAx \in A with f(x)=yf(x) = y; since AโІAโˆชBA \subseteq A \cup B, yโˆˆf(AโˆชB)y \in f(A \cup B). If yโˆˆf(B)y \in f(B), the same argument works with BโІAโˆชBB \subseteq A \cup B.
Step 5 โ€” Conclude. So f(A)โˆชf(B)โІf(AโˆชB)f(A) \cup f(B) \subseteq f(A \cup B). Each set is a subset of the other, hence f(AโˆชB)=f(A)โˆชf(B)f(A \cup B) = f(A) \cup f(B).

IVQuiz Questions

Problem 1 ยท The Step After "Let y Be in the Image"

Given: a proof of f(AโˆฉB)โІf(A)โˆฉf(B)f(A \cap B) \subseteq f(A) \cap f(B) for f:Sโ†’Tf: S \to T begins "Let yโˆˆf(AโˆฉB)y \in f(A \cap B)." Which statement follows directly from the definition of the image?

โœ… Correct! yโˆˆf(X)y \in f(X) means exactly that some element of XX is sent to yy; here X=AโˆฉBX = A \cap B.
โŒ Not quite. yy is an element of the codomain TT, while AโˆฉBโІSA \cap B \subseteq S. The image consists of outputs, not inputs.
โŒ Not quite. The definition gives some witness in AโˆฉBA \cap B, not that all witnesses are there. In the modulo 88 example, f(4)=2f(4) = 2 with 4โˆˆAโˆฉB4 \in A \cap B, but also f(0)=2f(0) = 2 with 0โˆ‰AโˆฉB0 \notin A \cap B.
โŒ Not quite. That would make ff constant on AโˆฉBA \cap B. Only one element of AโˆฉBA \cap B is promised to reach yy.
Show solution

By definition, f(AโˆฉB)={f(x)โˆฃxโˆˆAโˆฉB}f(A \cap B) = \{ f(x) \mid x \in A \cap B \}, so yโˆˆf(AโˆฉB)y \in f(A \cap B) means y=f(x)y = f(x) for at least one xโˆˆAโˆฉBx \in A \cap B. That is statement (b), the witness the rest of the proof uses twice.

Problem 2 ยท Find the Counterexample

Given: f:{1,2,3}โ†’{p,q}f: \{1, 2, 3\} \to \{p, q\} with f(1)=pf(1) = p, f(2)=qf(2) = q and f(3)=pf(3) = p. Which choice of AA and BB gives f(AโˆฉB)โ‰ f(A)โˆฉf(B)f(A \cap B) \ne f(A) \cap f(B)?

โœ… Correct! AโˆฉB=โˆ…A \cap B = \emptyset, so f(AโˆฉB)=โˆ…f(A \cap B) = \emptyset, but f(A)=f(B)={p}f(A) = f(B) = \{p\}: the witnesses 11 and 33 for pp are different elements.
โŒ Not quite. Compute both sides: for this choice they agree. A counterexample needs an output with a witness in AA and a different witness in BB, and none in AโˆฉBA \cap B.
Show solution
  • (a) f({2})={q}f(\{2\}) = \{q\} and {p,q}โˆฉ{q}={q}\{p, q\} \cap \{q\} = \{q\}: equal.
  • (b) f({3})={p}f(\{3\}) = \{p\} and {p}โˆฉ{p}={p}\{p\} \cap \{p\} = \{p\}: equal.
  • (c) f(โˆ…)=โˆ…f(\emptyset) = \emptyset and {q}โˆฉ{p}=โˆ…\{q\} \cap \{p\} = \emptyset: equal.
  • (d) f(โˆ…)=โˆ…f(\emptyset) = \emptyset but {p}โˆฉ{p}={p}\{p\} \cap \{p\} = \{p\}: not equal.

Only (d) has an output, pp, reached from AA by 11 and from BB by 33 with no witness in both sets.

Problem 3 ยท One Case of the Reverse Inclusion

Given: in proving f(A)โˆชf(B)โІf(AโˆชB)f(A) \cup f(B) \subseteq f(A \cup B), we have reached the case yโˆˆf(B)y \in f(B). Which argument completes this case?

โœ… Correct! One witness in BB is automatically a witness in AโˆชBA \cup B, which is all the image of AโˆชBA \cup B asks for.
โŒ Not quite. yy is an output in TT; it is the witness xx that belongs to BB, and the goal is yโˆˆf(AโˆชB)y \in f(A \cup B), not yโˆˆAโˆชBy \in A \cup B.
โŒ Not quite. yโˆˆf(B)y \in f(B) promises only one witness in BB; other inputs may also reach yy. One witness is enough, so the claim about every witness is both unjustified and unnecessary.
โŒ Not quite. yโˆˆf(B)y \in f(B) does not imply yโˆˆf(A)y \in f(A): in the modulo 88 example with A={2}A = \{2\} and B={3}B = \{3\}, 3โˆˆf(B)3 \in f(B) but f(A)={6}f(A) = \{6\}. The case is handled by the same argument with BB in place of AA, not reduced to it.
Show solution

Assume yโˆˆf(B)y \in f(B). By the definition of the image there is an xโˆˆBx \in B with f(x)=yf(x) = y. Every element of BB is in AโˆชBA \cup B, so xโˆˆAโˆชBx \in A \cup B, and therefore y=f(x)โˆˆf(AโˆชB)y = f(x) \in f(A \cup B).

Together with the case yโˆˆf(A)y \in f(A), this shows f(A)โˆชf(B)โІf(AโˆชB)f(A) \cup f(B) \subseteq f(A \cup B).

Problem 4 ยท Two Witnesses on the Real Line

Given: g:Rโ†’Rg: \mathbb{R} \to \mathbb{R}, g(x)=x2g(x) = x^2, A=[โˆ’2,โˆ’1]A = [-2, -1] and B=[1,3]B = [1, 3]. Which number lies in g(A)โˆฉg(B)g(A) \cap g(B) but not in g(AโˆฉB)g(A \cap B)?

โœ… Correct! 2=g(โˆ’2)2 = g(-\sqrt{2}) with โˆ’2โˆˆA-\sqrt{2} \in A, and 2=g(2)2 = g(\sqrt{2}) with 2โˆˆB\sqrt{2} \in B; but AโˆฉB=โˆ…A \cap B = \emptyset, so g(AโˆฉB)=โˆ…g(A \cap B) = \emptyset.
โŒ Not quite. 9=g(3)โˆˆg(B)9 = g(3) \in g(B), but g(A)=[1,4]g(A) = [1, 4], so 9โˆ‰g(A)9 \notin g(A).
โŒ Not quite. 00 is the square of 00 only, and 00 lies in neither AA nor BB.
โŒ Not quite. 6โˆˆg(B)=[1,9]6 \in g(B) = [1, 9], but g(A)=[1,4]g(A) = [1, 4], so 6โˆ‰g(A)6 \notin g(A).
Show solution

On A=[โˆ’2,โˆ’1]A = [-2, -1] the squares run from 11 to 44, so g(A)=[1,4]g(A) = [1, 4]; on B=[1,3]B = [1, 3] they run from 11 to 99, so g(B)=[1,9]g(B) = [1, 9]. Hence g(A)โˆฉg(B)=[1,4]g(A) \cap g(B) = [1, 4].

But AโˆฉB=โˆ…A \cap B = \emptyset, so g(AโˆฉB)=โˆ…g(A \cap B) = \emptyset. Every number in [1,4][1, 4] answers the question; among the options only 22 lies in [1,4][1, 4]. Its witnesses โˆ’2โˆˆA-\sqrt{2} \in A and 2โˆˆB\sqrt{2} \in B are different elements.

Solved: 0 / 4