Mathematical-Reasoning ยท Unit 20 ยท Video 3 ยท Interactive Practice
Images and Preimages: The Formal Definition of a Function
IKey Formulas
Formula
Name
Meaning
f:AโB
Function (mapping) from A to B
A rule giving each xโA exactly one element of B; A=dom(f), B=codom(f)
f(x)=y
Image and preimage
y is the image of x under f; x is a preimage of y for f
{xโAโฃf(x)=y}
Set of preimages of y
Solve f(x)=y over the domain; the set may be empty, have one element, or more
x2โ5x=2
Same formula, different domain
On R: two solutions, 25ยฑ33โโ; on Z: none, so the set is โ
Key Insight: A function is a rule together with its domain and codomain. Every input has exactly one image; an output may have several preimages, exactly one, or none, and two inputs sharing an output does not break the definition.
IIVisualization 1 โ The Image Versus the Preimages
Under g:RโR, g(x)=x2โ2, each input has exactly one image, while an output can have two, one or no preimages.
IIIVisualization 2 โ Same Formula, Different Function
On R and on Z the formula x2โ5x defines different functions, and their preimage sets can differ.
f:RโR, f(x)=x2โ5x (the whole curve)
g:ZโZ, g(m)=m2โ5m (only the squares)
IVVisualization 3 โ Arrow Diagrams and the Definition
A diagram defines a function from A to B exactly when each element of A sends out one arrow.
VQuiz Questions
Problem 1 ยท Computing an Image
Given:h:RโR defined by h(x)=x2+3xโ1. Find the image of โ4 under h.
โ Correct!h(โ4)=16โ12โ1=3, the one output h assigns to โ4.
โ Not quite. The middle term is 3โ (โ4)=โ12, not +12: h(โ4)=16โ12โ1.
โ Not quite.(โ4)2=16, not โ16: the square of a negative number is positive.
โ Not quite. The middle term is 3x, so at x=โ4 it is 3โ (โ4)=โ12, not โ4.
Show solution
The image of โ4 under h is h(โ4), found by substituting into the formula:
h(โ4)=(โ4)2+3(โ4)โ1=16โ12โ1=3.
So the image of โ4 under h is 3. Every input has exactly one image, so this is the image of โ4.
Problem 2 ยท Preimages Depend on the Domain
Given:q:NโN defined by q(n)=n2+n, where N={1,2,3,โฆ}. Find the set of preimages of 6 for q.
โ Correct!q(2)=4+2=6, and 2 is the only natural number with q(n)=6.
โ Close, but check the domain.โ3 does solve n2+n=6, but โ3โ/N, so it is not in the domain of q and cannot be a preimage.
โ Not quite.42=q(6) is the image of 6. A preimage of 6 is an input n with q(n)=6.
โ Not quite.q(2)=22+2=6, so 6 has at least one preimage.
Only 2 lies in the domain N, and q(2)=4+2=6. So the set of preimages of 6 for q is {2}. For the function from Z to Z given by the same formula, the set would be {โ3,2}.
Problem 3 ยท One Formula, Two Functions
Given:F:RโR and G:ZโZ, both defined by the formula x2โ3x. Find the set of preimages of 1 for each function.
Set of preimages of 1 for F
Set of preimages of 1 for G
โ Correct!F has two preimages of 1, and neither is an integer, so G, whose inputs must be integers, has none.
โ Not quite.{0,3} solves x2โ3x=0, so it is the set of preimages of 0, not of 1.
โ Not quite.x2โ3xโ1=0 has discriminant 9+4=13>0, so it has two real solutions, and every real number is in the domain of F.
โ Check the sign. For x2โ3xโ1=0 the quadratic formula gives x=23ยฑ13โโ; these options solve x2+3xโ1=0.
โ Check the domain. These two numbers are not integers, since 3<13โ<4, so they are not in the domain Z of G.
โ Not quite.G(3)=9โ9=0, not 1. Rounding 23+13โโโ3.30 does not produce a preimage.
โ Not quite. Solve x2โ3x=1 over R.
โ Not quite. Solve m2โ3m=1 over Z.
Show solution
For F. Solve x2โ3x=1, that is x2โ3xโ1=0. It does not factor over the integers, so use the quadratic formula:
x=23ยฑ9+4โโ=23ยฑ13โโ.
Both are real, so the set of preimages of 1 for F is {23โ13โโ,23+13โโ}, about โ0.30 and 3.30.
For G. An integer preimage would have to be one of the same two numbers. Since 9<13<16, we have 3<13โ<4, so
3<23+13โโ<27โandโ21โ<23โ13โโ<0.
Neither number is an integer, so no mโZ has G(m)=1, and the set of preimages of 1 for G is โ .
Problem 4 ยท Reading the Definition
Given:f:{โ2,โ1,0,1,2}โZ defined by f(x)=x2. Which statement is true?
โ Correct!f(โ2)=f(2)=4 and no element of the domain squares to 3; neither fact affects whether f is a function.
โ Not quite. Two inputs sharing an output is allowed. The definition requires each input to have exactly one output, and f(โ1)=1 and f(1)=1 are single outputs.
โ Not quite. The definition places no requirement on elements of the codomain: some may be the output of no input.
โ Check the domain.4 is not in {โ2,โ1,0,1,2}, so f(4) is not defined; 4 is an output of f, not an input.
Show solution
The images are f(โ2)=4, f(โ1)=1, f(0)=0, f(1)=1, f(2)=4. Each of the five inputs has exactly one output in Z, so f is a function.
The preimages of 4 are the domain elements with x2=4, namely โ2 and 2, so the set is {โ2,2}. No element of the domain has square 3, so the set of preimages of 3 is โ . Statement (a) is true.
Statements (b) and (c) describe an output with two preimages and an output with none; the definition allows both. Statement (d) fails because 4 is not in the domain, so it has no image under f.