Mathematical-Reasoning ยท Unit 20 ยท Video 1 ยท Interactive Practice
What Is a Function? Exactly One Output for Each Input
IKey Formulas
Formula
Name
Meaning
f:AโB
Function from A to B
Each element of the domain A is assigned exactly one element of the codomain B
f(x)=x2sinx, f(2ฯโ)=4ฯ2โ
Function notation
f names the function; f(x) is the output for the input x
y2=x+3โy=x+3โ or y=โx+3โ
Two outputs
Every x>โ3 gives two values of y, so the equation does not define y as a function of x
y=xโ1xโ, domain {xโRโฃx๎ =1}
No output
x=1 gives division by zero, so 1 is left out of the domain
Key Insight: An input with two outputs rules an equation out; an input with no output is removed from the domain. Two different inputs sharing one output is allowed.
IIVisualization 1 โ One Input, How Many Outputs?
An equation defines y as a function of x only if no input x ever produces two values of y.
IIIVisualization 2 โ Arrow Diagrams
An arrow diagram is a function exactly when one arrow leaves each element of the domain.
๐ก Challenge: build a function in which every element of B except one receives no arrow, then one in which four different elements of B each receive an arrow.
IVQuiz Questions
Problem 1 ยท Which Equation Is a Function?
Given: real inputs x and real outputs y โ which equation defines y as a function of x?
โ Correct! Squaring, multiplying and adding real numbers give exactly one result, so every real x produces exactly one y.
โ Not quite. Put in x=5: then y2=4, so y=2 and y=โ2 both work. One input, two outputs.
โ Not quite. This is the circle of radius 3. At x=0, y2=9 gives y=3 and y=โ3: one input, two outputs.
โ Not quite. At x=2, both y=2 and y=โ2 satisfy โฃyโฃ=2. One input, two outputs.
Show solution
For each equation, ask whether a single input x can produce two values of y.
y2=xโ1: at x=5, y2=4, so y=ยฑ2. Not a function.
x2+y2=9: at x=0, y=ยฑ3. Not a function.
โฃyโฃ=x: at x=2, y=ยฑ2. Not a function.
y=3x2โx+4: for each real x the right side is exactly one real number; for example x=2 gives y=12โ2+4=14. This one defines y as a function of x.
Answer: (d).
Problem 2 ยท Two Inputs, One Output
Given: (I) y=x2 and (II) y2=x, with real x and real y โ which statement is correct?
โ Correct! In (I) each input has exactly one output, even though 2 and โ2 share the output 4. In (II) the input 4 has the two outputs 2 and โ2.
โ Not quite. Test (II) at x=4: y2=4 gives y=2 and y=โ2. One input with two outputs rules (II) out.
โ Not quite. The roles are reversed. In (II) the input x=4 has two outputs, y=2 and y=โ2; in (I) every input has exactly one output.
โ Not quite. The definition limits how many outputs each input has. Two inputs sharing the output 4 is allowed, so (I) is a function.
Show solution
(I) y=x2. Each real x has exactly one square, so each input has exactly one output. That f(2)=f(โ2)=4 does not matter: the requirement is about each input, not each output.
(II) y2=x. At x=4, y2=4 is satisfied by y=2 and by y=โ2. One input has two outputs, so (II) does not define y as a function of x.
Answer: (b).
Problem 3 ยท Natural Domain and an Output
Given:h(x)=xโ2x+3โโ. Its domain is the set of all real x for which the formula produces a real number โ find the domain and h(6).
What is the domain of h?
What is h(6)?
โ Correct! The domain is {xโRโฃxโฅโ3ย andย x๎ =2}, and h(6)=49โโ=43โ.
โ Not quite. Division by zero is excluded, but so is the square root of a negative number: x=โ7 gives โ4โ, which is not real.
โ Not quite. The square root is fine for xโฅโ3, but x=2 makes the denominator 0, so h(2) is undefined.
โ Not quite. At x=โ3 the formula gives โ50โโ=0, a real number, so โ3 belongs to the domain.
โ Not quite. Two conditions are needed: x+3โฅ0 for the root and xโ2๎ =0 for the quotient.
โ Not quite.49โ forgets the square root: 6+3โ=9โ=3, not 9.
โ Not quite. The symbol 9โ means the nonnegative root, 3. A function gives exactly one output, so h(6) is a single number.
โ Not quite. Check the denominator: 6โ2=4, not 8.
โ Not quite. Substitute x=6: 6+3โ=3 on top and 6โ2=4 on the bottom.
Show solution
Domain. The formula produces a real number exactly when both pieces make sense:
So the domain is {xโRโฃxโฅโ3ย andย x๎ =2}. Note that โ3 is included, since h(โ3)=โ50โ=0.
Output.
h(6)=6โ26+3โโ=49โโ=43โ.
The square root symbol denotes the nonnegative root, so there is exactly one output.
Problem 4 ยท Arrow Diagrams and the Range
Given:A={1,2,3,4} and B={p,q,r,s}. Each option lists the arrows of a diagram from A to B. For a function f:AโB, the range is {f(x)โฃxโA}, the set of outputs that actually occur.
Which diagram represents a function from A to B?
What is the range of that function?
โ Correct! Exactly one arrow leaves each element of A, so (c) is a function, and its only output is p: the range is {p}โB.
โ Not quite. No arrow leaves 4, so the input 4 has no output. Every element of the domain needs an output.
โ Not quite. Two arrows leave 1 (to p and to q), so the input 1 has two outputs.
โ Not quite. Two arrows leave 2 (to r and to s), so the input 2 has two outputs.
โ Not quite. Count the arrows leaving each of 1,2,3,4: a function needs exactly one from each.
โ Not quite.{p,q,r,s} is the codomain. The range contains only the outputs that occur, and here every arrow ends at p.
โ Not quite.{1,2,3,4} is the domain, the set of inputs. The range is a subset of the codomain B.
โ Not quite. Every input has the output p, so p is in the range; the range of a function with a nonempty domain is never empty.
โ Not quite. List f(1),f(2),f(3),f(4) and collect the distinct values.
Show solution
A diagram represents a function AโB exactly when one arrow leaves each element of A.
(a): no arrow leaves 4. Not a function.
(b): two arrows leave 1. Not a function.
(c): one arrow leaves each of 1,2,3,4. A function, even though all four arrows end at p and q, r, s receive none.