Difficulty: Easy & Basic
What must a function assign to each input in its domain?
A Exactly one output
B At least two outputs
C No output
D An unordered pair of outputs
Answer: A. Exactly one output. A function gives every domain element one and only one output.
Which relation is a function from {1,2} to {a,b}?
A {(1,a),(1,b),(2,a)}
B {(1,a),(2,b)}
C {(1,a)}
D {(1,a),(2,a),(2,b)}
Answer: B. {(1,a),(2,b)}. Each input 1 and 2 appears exactly once as a first coordinate.
For R={(1,a),(2,b),(3,b)}, what is its domain?
A {a,b}
B {1,2}
C {1,2,3}
D {1,2,3,3}
Answer: C. {1,2,3}. The domain is the set of first coordinates.
For R={(1,a),(2,b),(3,b)}, what is its range?
A {1,2,3}
B {a,b,b}
C {a}
D {a,b}
Answer: D. {a,b}. The range contains the distinct second coordinates that occur.
For a function f:A→B, what is B called?
A The codomain
B The domain
C The range only
D The inverse
Answer: A. The codomain. B is the target set specified for the function.
If f(x)=x+2, what is f(3)?
A 1
B 5
C 6
D 9
Answer: B. 5. Substitute x=3: f(3)=3+2=5.
If f(x)=x^2, what is f(-3)?
A -9
B 6
C 9
D -6
Answer: C. 9. Squaring −3 gives 9.
If f(x)=3x, what is f(2)?
A 5
B 9
C 3
D 6
Answer: D. 6. Substitute 2: 3×2=6.
What is the real domain of f(x)=1/x?
A All real numbers except 0
B All real numbers
C Only positive real numbers
D All real numbers except 1
Answer: A. All real numbers except 0. The denominator cannot be zero.
What is the real domain of f(x)=sqrt(x)?
A x>0
B x>=0
C x<=0
D All real numbers
Answer: B. x>=0. A real square root requires a nonnegative radicand.
What does it mean for a function to be injective?
A Every codomain element is an output
B Every input has two outputs
C Different inputs have different outputs
D The function has an inverse relation only
Answer: C. Different inputs have different outputs. Injectivity means f(a)=f(b) can happen only when a=b.
What does it mean for f:A→B to be surjective?
A Different inputs always have different outputs
B A and B must be equal sets
C Every input maps to itself
D Every element of B is hit by some input
Answer: D. Every element of B is hit by some input. Surjectivity means the range equals the codomain.
A function is bijective when it is:
A Both injective and surjective
B Only injective
C Only surjective
D Neither injective nor surjective
Answer: A. Both injective and surjective. A bijection is one-to-one and onto.
What is the inverse of f(x)=x+4 on the real numbers?
A f inverse(x)=x+4
B f inverse(x)=x−4
C f inverse(x)=4−x
D f inverse(x)=1/(x+4)
Answer: B. f inverse(x)=x−4. Set y=x+4, swap x and y, then solve to get y=x−4.
If f(x)=x+1 and g(x)=2x, what is (f composed with g)(x)?
A 2x+2
B x+2
C 2x+1
D 2x−1
Answer: C. 2x+1. First g(x)=2x, then f(2x)=2x+1.
What is the identity function on the real numbers?
A f(x)=0
B f(x)=1
C f(x)=−x
D f(x)=x
Answer: D. f(x)=x. The identity function leaves every input unchanged.
What is the range of a constant function f(x)=7 on the real numbers?
A {7}
B All real numbers
C {0,7}
D The empty set
Answer: A. {7}. Every input maps to 7, so the range is the singleton {7}.
Why is f(x)=x^2 not injective on the real numbers?
A Its range contains negative numbers
B f(−1)=f(1) although −1 is not 1
C It has no outputs
D It is not defined at 0
Answer: B. f(−1)=f(1) although −1 is not 1. The distinct inputs −1 and 1 both produce 1.
Which formula defines a linear function?
A f(x)=x^2
B f(x)=1/x
C f(x)=2x+1
D f(x)=sqrt(x)
Answer: C. f(x)=2x+1. A linear function has the form mx+b.
Which condition characterizes an even function?
A f(−x)=−f(x)
B f(x)=0 for all x
C f(−x)=1/f(x)
D f(−x)=f(x)
Answer: D. f(−x)=f(x). An even function has the same value at opposite inputs.
Which condition characterizes an odd function?
A f(−x)=−f(x)
B f(−x)=f(x)
C f(x)=1 for all x
D f(−x)=x
Answer: A. f(−x)=−f(x). An odd function changes sign when its input changes sign.
What is the real domain of f(x)=ln(x)?
A x>=0
B x>0
C x<0
D All real numbers
Answer: B. x>0. The natural logarithm is defined only for positive inputs.
What is the range of f(x)=|x| on the real numbers?
A All real numbers
B (-infinity,0]
C [0,infinity)
D {0}
Answer: C. [0,infinity). Absolute value is never negative and can attain every nonnegative value.
Which relation from {1,2} to {a,b} is not a function?
A {(1,a),(2,b)}
B {(1,b),(2,b)}
C {(1,a),(2,a)}
D {(1,a),(1,b),(2,a)}
Answer: D. {(1,a),(1,b),(2,a)}. Input 1 is assigned two different outputs in the first relation.
For a function f:A→B, where must every output lie?
A In B
B In A only
C Outside B
D In the power set of A
Answer: A. In B. The codomain B contains all allowed outputs.