Questions: Function Composition and Inverse Functions

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Consider f: ℝ → ℝ defined by f(x) = x². Does f have an inverse function? Why or why not?

AYes — every function defined on ℝ has an inverse
BYes — f is surjective onto the non-negative reals, so an inverse exists
CNo — f is not injective, since f(2) = f(−2) = 4, so no unique reversal is possible
DNo — f is not surjective onto all of ℝ, and surjectivity is the only condition needed for an inverse
Question 2 Multiple Choice

If g: A → B and f: B → C, what are the domain and codomain of the composition f ∘ g?

AB → B, since both functions pass through B
BA → B, inheriting g's domain and codomain
CA → C, using g's domain and f's codomain
DB → C, inheriting f's domain and codomain
Question 3 True / False

Function composition is associative: for functions f, g, h with compatible types, (f ∘ g) ∘ h = f ∘ (g ∘ h).

TTrue
FFalse
Question 4 True / False

If f: A → B is a bijection with inverse f⁻¹: B → A, then f ∘ f⁻¹ and f⁻¹ ∘ f are the same identity function.

TTrue
FFalse
Question 5 Short Answer

Why does a function need to be both injective AND surjective to have an inverse? What goes wrong if only one condition holds?

Think about your answer, then reveal below.