Mathematical-Reasoning Β· Unit 24 Β· Video 1 Β· Interactive Practice
A Function as a Set of Ordered Pairs: Each Input Once
IKey Formulas
Statement
Meaning
AΓB={(x,y)β£xβAΒ andΒ yβB}
The Cartesian product: every pair with first coordinate in A and second coordinate in B
f={(x,f(x))β£xβA}={(x,y)βAΓBβ£y=f(x)}
Any function f:AβB is a subset of AΓB: input first, output second
F={(1,a),(2,b),(3,b)}, Β g={(x,x2β2)β£xβR}
A finite function by roster; an infinite one in set builder notation
Every element of A is a first coordinate exactly once
When a subset of AΓB is a function from A to B; there is no condition on second coordinates
Key Insight: A set of ordered pairs fails to be a function from A to B in exactly two ways: some input appears in two pairs with different outputs, or some input appears in no pair at all.
IIWhich Subsets of A Γ B Are Functions?
A subset of AΓB is a function from A to B when each row of the grid holds exactly one chosen pair.
IIIInfinitely Many Pairs
The function g(x)=x2β2 on R is the infinite set of its graph's points (x,x2β2).
π‘ The integer function f(m)=3m+5 can be written by roster, {β¦,(β1,2),(0,5),(1,8),β¦}, because the integers can be listed in order; no such list exists for R, so g needs set builder notation.
IVQuiz Questions
Problem 1 Β· From Arrows to Pairs
Given:A={1,2,3}, B={p,q}, and h:AβB with h(1)=q, h(2)=p, h(3)=q. Which set of ordered pairs is h?
β Correct! Each input is paired with its output: (x,h(x)) for x=1,2,3. The repeated output q is allowed.
β Order matters. The input is the first coordinate. These pairs have the output first, so they lie in BΓA, not AΓB.
β An input is missing. Every element of A must appear as a first coordinate; this set gives 3 no output.
β Not quite. Read the outputs again: h(1)=q, not p.
Show solution
The function h is the set {(x,h(x))β£xβA}. Its pairs are (1,h(1))=(1,q), (2,h(2))=(2,p) and (3,h(3))=(3,q), so
h={(1,q),(2,p),(3,q)}βAΓB.
Two inputs share the output q; that is allowed, since the conditions only concern first coordinates.
Problem 2 Β· Which Set Is a Function?
Given:A={1,2,3} and B={a,b}. Which of these subsets of AΓB is a function from A to B?
β Correct! Each of 1, 2, 3 is a first coordinate exactly once. Every input sharing the output a is fine: outputs may repeat, and b may go unused.
β An input has no output. The element 3 is the first coordinate of no pair.
β An input has two outputs. One element of A appears in two pairs with different second coordinates.
β Not quite. Check each element of A: it must be a first coordinate exactly once.
Show solution
Test each set: every element of A must be the first coordinate of exactly one pair.
(a) 3 is a first coordinate of no pair: not a function.
(b) 1, 2, 3 each appear once: a function, with every output equal to a.
(c) 1 appears in (1,a) and (1,b): not a function.
(d) 3 appears in (3,a) and (3,b): not a function.
Problem 3 Β· An Integer Function as a Set
Given:f:ZβZ with f(m)=2mβ3.
Which ordered pair belongs to f?
Which set builder description is f?
β Correct!f(β1)=2(β1)β3=β5, and f={(m,2mβ3)β£mβZ} is the same set as {(m,n)βZΓZβ£n=2mβ3}.
β Input first.(β5,β1) would mean f(β5)=β1, but f(β5)=β13.
β Check the output. A pair (m,n) is in f exactly when n=2mβ3; compute 2mβ3 for the first coordinate.
β The roles are reversed. In this set the first coordinate is computed from the second, so it describes the swapped pairs, not f.
β Check the description. The second coordinate must be the output 2mβ3 of the first coordinate m.
Show solution
A pair (m,n)βZΓZ belongs to f exactly when n=f(m)=2mβ3.
The set {(2mβ3,m)} lists the same pairs with the coordinates swapped, so it is not f.
Problem 4 Β· Counting the Functions Inside A Γ B
Given:A={1,2,3,4} and B={x,y}, so AΓB has 8 elements and 28=256 subsets. How many of those subsets are functions from A to B?
β Correct! Each of the 4 inputs must be paired with exactly one of the 2 outputs, independently: 24=16.
β Not every subset qualifies. Most subsets give some input no pair or two pairs.
β That counts pairs, not functions. A function is a set of 4 pairs, one for each input.
β Not quite. Count the choices: each input independently picks one output.
Show solution
A subset of AΓB is a function from A to B exactly when each element of A is a first coordinate exactly once. So the subset is built by choosing, for each input 1,2,3,4, one of the two pairs (k,x) or (k,y).
2β 2β 2β 2=24=16.
The other 256β16=240 subsets either miss an input or give an input two outputs.