Questions: Functions and Mappings: Formal Definition

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Let f: ℝ → ℝ be defined by f(x) = x², and let g: ℝ → [0, ∞) be defined by g(x) = x². Are f and g the same function?

AYes — they have the same rule, so they are the same function
BYes — they have the same domain and the same range, so they are the same function
CNo — they have different codomains, and the codomain is part of the function's specification
DIt depends on context; in some frameworks they are equal and in others they are not
Question 2 Multiple Choice

Which condition is required for a relation R ⊆ A × B to qualify as a function from A to B?

AEvery element of B must appear as a second coordinate in R
BEvery element of A must appear as a first coordinate in exactly one ordered pair in R
CNo element of B may appear as a second coordinate more than once
DThe relation must be symmetric: if (a, b) ∈ R then (b, a) ∈ R
Question 3 True / False

The range of a function f: A → B is always a subset of the codomain B, but it need not equal B.

TTrue
FFalse
Question 4 True / False

Two functions with the same rule are generally equal, regardless of their specified domains and codomains.

TTrue
FFalse
Question 5 Short Answer

Why does the formal set-theoretic definition of a function specify both the domain and codomain as part of the function, rather than just the rule that maps inputs to outputs?

Think about your answer, then reveal below.