Mathematical-Reasoning ยท Unit 24 ยท Video 3 ยท Interactive Practice
Swapping the Pairs: The Inverse of a Function as a Set
IKey Formulas
Statement
Meaning
(1) for every aโA there is bโB with (a,b)โf
Every element of A is an input
(2) if (a,b)โf and (a,c)โf, then b=c
No input has two different outputs; with (1), a subset fโAรB satisfying both is a function from A to B
fโ1={(b,a)โBรAโฃf(a)=b}
The inverse of f:AโB: every pair of f with its coordinates swapped; a subset of BรA, not automatically a function
y=lnxโบx=eyย (x>0)
(e,1)โln and (1,e)โexp: the logarithm's pairs swapped are the exponential's pairs
Key Insight: To decide whether fโ1 is a function from B to A, apply the same two conditions with B as the first set: every element of B must be a first coordinate of fโ1 exactly once.
IITesting the Swapped Pairs
An arrow landing twice on an output, or never, becomes a failed condition for fโ1.
IIISwapping Coordinates Reflects the Graph
The pair (x,lnx) of the logarithm and the swapped pair (lnx,x) of the exponential are mirror images across y=x.
IVQuiz Questions
Problem 1 ยท Writing the Inverse
Given:A={1,2,3}, B={p,q} and f={(1,p),(2,q),(3,p)}. Which set is fโ1?
โ Correct! Every pair of f is swapped, including both pairs ending in p.
โ Nothing was swapped.fโ1 is a subset of BรA, so its first coordinates are p and q.
โ A pair is missing. The inverse contains the swap of every pair of f, even when that makes it fail to be a function.
โ Not quite. Swap each pair of f exactly: (3,p) becomes (p,3).
Show solution
By definition fโ1={(b,a)โBรAโฃ(a,b)โf}. Swapping each pair: (1,p)โ(p,1), (2,q)โ(q,2), (3,p)โ(p,3). So
fโ1={(p,1),(q,2),(p,3)}.
Problem 2 ยท Which Condition Fails?
Given: the same f and fโ1={(p,1),(q,2),(p,3)}, tested as a possible function from B={p,q} to A. Which conditions does fโ1 fail?
โ Correct! Both p and q are first coordinates, so (1) holds; but (p,1) and (p,3) break (2).
โ Check condition (1) again. The first set is B={p,q}, and both p and q appear as first coordinates.
โ Not quite. Look at the two pairs that start with p.
Show solution
Condition (1): p appears in (p,1) and q in (q,2), so every element of B is a first coordinate. Condition (2): (p,1)โfโ1 and (p,3)โfโ1 but 1๎ =3, so it fails. In arrow terms, f sends two inputs to p (it is not an injection) but reaches every element of B (it is a surjection).
Problem 3 ยท Finding the Witness
Given:h:{a,b,c,d}โ{p,q,r} with h(a)=r, h(b)=p, h(c)=r, h(d)=q. Which two pairs of hโ1 show that hโ1 is not a function from {p,q,r} to {a,b,c,d}?
โ Correct! The input r of hโ1 has two different outputs, a and c, so condition (2) fails.
โ These are pairs of h. They are allowed in h (outputs may repeat); swap them to see the problem in hโ1.
โ Different first coordinates. Two pairs only break condition (2) when they share a first coordinate.
โ Not quite. Look for two pairs of hโ1 with the same first coordinate.
Show solution
hโ1={(r,a),(p,b),(r,c),(q,d)}.
Condition (1) holds: p, q, r are all first coordinates. Condition (2) fails: (r,a),(r,c)โhโ1 with a๎ =c. This comes from h(a)=h(c)=r: h is a surjection but not an injection.
Problem 4 ยท A Point on the Inverse's Graph
Given:f:RโR, f(x)=x3+1, so (2,9)โf. Which ordered pair must belong to fโ1?
โ Correct!(a,b)โf exactly when (b,a)โfโ1, and f(2)=9.
โ fโ1 is not a reciprocal. The exponent โ1 names the inverse, which swaps coordinates; it does not mean f1โ.
โ That reflects through the origin. Swapping coordinates reflects across the line y=x; also f(โ2)=โ7, not โ9.
Show solution
f(2)=23+1=9, so (2,9)โf, and by the definition of the inverse, (9,2)โfโ1. (Here f is a bijection, so fโ1 is a function and fโ1(9)=2; the swap would hold even if it were not.)