Questions: Functions: Domain, Codomain, and Range

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Consider f: ℝ → ℝ defined by f(x) = x². A student says 'we can just redefine the codomain to [0, ∞) to make this function surjective — the formula is the same either way.' What is the most precise response?

AThe student is wrong; surjectivity depends only on the formula, not the codomain
BThe student is correct; the codomain is just a label and doesn't affect whether the function is surjective
CBoth functions are valid, but f: ℝ → ℝ is not surjective while f: ℝ → [0, ∞) is a different, surjective function — codomain is part of the function's specification
DSurjectivity cannot be determined until you know the range, which is the same regardless of the codomain
Question 2 Multiple Choice

Which of the following correctly identifies the range of f: ℝ → ℝ defined by f(x) = sin(x)?

Aℝ, because the codomain is ℝ and the range must equal the codomain
B[−1, 1], the set of all values actually produced as outputs of f
C[0, 1], since sine is nonnegative for inputs in [0, π]
DThe range cannot be determined without knowing the specific inputs
Question 3 True / False

Two functions with the same formula but different declared codomains are the same mathematical function.

TTrue
FFalse
Question 4 True / False

The range of a function f: A → B is always a subset of its codomain B.

TTrue
FFalse
Question 5 Short Answer

Why does the distinction between codomain and range matter for determining whether a function is surjective? Give an example.

Think about your answer, then reveal below.