Mathematical-Reasoning ยท Unit 24 ยท Video 3 ยท Interactive Practice

Swapping the Pairs: The Inverse of a Function as a Set

IKey Formulas

StatementMeaning
(1) for every aโˆˆAa \in A there is bโˆˆBb \in B with (a,b)โˆˆf(a, b) \in fEvery element of AA is an input
(2) if (a,b)โˆˆf(a, b) \in f and (a,c)โˆˆf(a, c) \in f, then b=cb = cNo input has two different outputs; with (1), a subset fโІAร—Bf \subseteq A \times B satisfying both is a function from AA to BB
fโˆ’1={(b,a)โˆˆBร—Aโˆฃf(a)=b}f^{-1} = \{ (b, a) \in B \times A \mid f(a) = b \}The inverse of f:Aโ†’Bf : A \to B: every pair of ff with its coordinates swapped; a subset of Bร—AB \times A, not automatically a function
y=lnโกxโ€…โ€ŠโŸบโ€…โ€Šx=eyy = \ln x \iff x = e^y ย (x>0)\ (x > 0)(e,1)โˆˆlnโก(e, 1) \in \ln and (1,e)โˆˆexpโก(1, e) \in \exp: the logarithm's pairs swapped are the exponential's pairs

Key Insight: To decide whether fโˆ’1f^{-1} is a function from BB to AA, apply the same two conditions with BB as the first set: every element of BB must be a first coordinate of fโˆ’1f^{-1} exactly once.

IITesting the Swapped Pairs

An arrow landing twice on an output, or never, becomes a failed condition for fโˆ’1f^{-1}.

IIISwapping Coordinates Reflects the Graph

The pair (x,lnโกx)(x, \ln x) of the logarithm and the swapped pair (lnโกx,x)(\ln x, x) of the exponential are mirror images across y=xy = x.

IVQuiz Questions

Problem 1 ยท Writing the Inverse

Given: A={1,2,3}A = \{1, 2, 3\}, B={p,q}B = \{p, q\} and f={(1,p),(2,q),(3,p)}f = \{ (1, p), (2, q), (3, p) \}. Which set is fโˆ’1f^{-1}?

โœ… Correct! Every pair of ff is swapped, including both pairs ending in pp.
โŒ Nothing was swapped. fโˆ’1f^{-1} is a subset of Bร—AB \times A, so its first coordinates are pp and qq.
โŒ A pair is missing. The inverse contains the swap of every pair of ff, even when that makes it fail to be a function.
โŒ Not quite. Swap each pair of ff exactly: (3,p)(3, p) becomes (p,3)(p, 3).
Show solution

By definition fโˆ’1={(b,a)โˆˆBร—Aโˆฃ(a,b)โˆˆf}f^{-1} = \{ (b, a) \in B \times A \mid (a, b) \in f \}. Swapping each pair: (1,p)โ†’(p,1)(1, p) \to (p, 1), (2,q)โ†’(q,2)(2, q) \to (q, 2), (3,p)โ†’(p,3)(3, p) \to (p, 3). So

fโˆ’1={(p,1),(q,2),(p,3)}.f^{-1} = \{ (p, 1), (q, 2), (p, 3) \}.

Problem 2 ยท Which Condition Fails?

Given: the same ff and fโˆ’1={(p,1),(q,2),(p,3)}f^{-1} = \{ (p, 1), (q, 2), (p, 3) \}, tested as a possible function from B={p,q}B = \{p, q\} to AA. Which conditions does fโˆ’1f^{-1} fail?

โœ… Correct! Both pp and qq are first coordinates, so (1) holds; but (p,1)(p, 1) and (p,3)(p, 3) break (2).
โŒ Check condition (1) again. The first set is B={p,q}B = \{p, q\}, and both pp and qq appear as first coordinates.
โŒ Not quite. Look at the two pairs that start with pp.
Show solution

Condition (1): pp appears in (p,1)(p, 1) and qq in (q,2)(q, 2), so every element of BB is a first coordinate. Condition (2): (p,1)โˆˆfโˆ’1(p, 1) \in f^{-1} and (p,3)โˆˆfโˆ’1(p, 3) \in f^{-1} but 1โ‰ 31 \ne 3, so it fails. In arrow terms, ff sends two inputs to pp (it is not an injection) but reaches every element of BB (it is a surjection).

Problem 3 ยท Finding the Witness

Given: h:{a,b,c,d}โ†’{p,q,r}h : \{a, b, c, d\} \to \{p, q, r\} with h(a)=rh(a) = r, h(b)=ph(b) = p, h(c)=rh(c) = r, h(d)=qh(d) = q. Which two pairs of hโˆ’1h^{-1} show that hโˆ’1h^{-1} is not a function from {p,q,r}\{p, q, r\} to {a,b,c,d}\{a, b, c, d\}?

โœ… Correct! The input rr of hโˆ’1h^{-1} has two different outputs, aa and cc, so condition (2) fails.
โŒ These are pairs of hh. They are allowed in hh (outputs may repeat); swap them to see the problem in hโˆ’1h^{-1}.
โŒ Different first coordinates. Two pairs only break condition (2) when they share a first coordinate.
โŒ Not quite. Look for two pairs of hโˆ’1h^{-1} with the same first coordinate.
Show solution
hโˆ’1={(r,a),(p,b),(r,c),(q,d)}.h^{-1} = \{ (r, a), (p, b), (r, c), (q, d) \}.

Condition (1) holds: pp, qq, rr are all first coordinates. Condition (2) fails: (r,a),(r,c)โˆˆhโˆ’1(r, a), (r, c) \in h^{-1} with aโ‰ ca \ne c. This comes from h(a)=h(c)=rh(a) = h(c) = r: hh is a surjection but not an injection.

Problem 4 ยท A Point on the Inverse's Graph

Given: f:Rโ†’Rf : \mathbb{R} \to \mathbb{R}, f(x)=x3+1f(x) = x^3 + 1, so (2,9)โˆˆf(2, 9) \in f. Which ordered pair must belong to fโˆ’1f^{-1}?

โœ… Correct! (a,b)โˆˆf(a, b) \in f exactly when (b,a)โˆˆfโˆ’1(b, a) \in f^{-1}, and f(2)=9f(2) = 9.
โŒ fโˆ’1f^{-1} is not a reciprocal. The exponent โˆ’1-1 names the inverse, which swaps coordinates; it does not mean 1f\tfrac{1}{f}.
โŒ That reflects through the origin. Swapping coordinates reflects across the line y=xy = x; also f(โˆ’2)=โˆ’7f(-2) = -7, not โˆ’9-9.
Show solution

f(2)=23+1=9f(2) = 2^3 + 1 = 9, so (2,9)โˆˆf(2, 9) \in f, and by the definition of the inverse, (9,2)โˆˆfโˆ’1(9, 2) \in f^{-1}. (Here ff is a bijection, so fโˆ’1f^{-1} is a function and fโˆ’1(9)=2f^{-1}(9) = 2; the swap would hold even if it were not.)

Solved: 0 / 4