Solution:
Key idea: A function is a set of ordered pairs (x,f(x)). We take each element of A as an input, work out f(x)=x3+1, and keep the pair only when the input is allowed and the output is an element of B. (Read literally, with the domain inside B and the range inside A, no input from B gives an output in A, so the intended reading takes inputs from A and outputs in B.)
Step 1 — Try x=−21.
We divide 3 by −21 (the same as multiplying by −2) and add 1.
f(−21)=3×(−2)+1=−6+1=−5
−5 is in B, so (−21,−5) belongs to f.
Step 2 — Try x=0.
The rule needs 03, and division by zero is not defined, so 0 cannot be an input.
Step 3 — Try x=32.
Dividing 3 by 32 is the same as multiplying by 23.
f(32)=3×23+1=29+1=211
211=521 is in B, so (32,521) belongs to f.
Step 4 — Try x=76.
Dividing 3 by 76 is the same as multiplying by 67.
f(76)=3×67+1=27+1=29
29=421 is in B, so (76,421) belongs to f.
Step 5 — Try x=1.
We put x=1 in the rule.
f(1)=3+1
f(1)=4
4 is not in B, so 1 is not used.
Step 6 — Collect the pairs.
The pairs kept in Steps 1, 3 and 4 make up the function.
f={(−21,−5),(32,521),(76,421)}
Note: The book's printed answer gives the first pair as (−21,5); since f(−21)=−5, the correct pair is (−21,−5).
Therefore, f={(−21,−5),(32,521),(76,421)}.