Function as Mapping Math Example 4

Follow the full solution, then compare it with the other examples linked below.

Example 4

medium
Let f:Rโ†’Rf: \mathbb{R} \to \mathbb{R}, f(x)=x2f(x) = x^2. Find fโˆ’1({4})f^{-1}(\{4\}) (the pre-image of 44) and explain why ff does not have an inverse function on all of R\mathbb{R}.

Solution

  1. 1
    Find all xx such that f(x)=4f(x) = 4: x2=4โ‡’x=ยฑ2x^2 = 4 \Rightarrow x = \pm 2. So fโˆ’1({4})={โˆ’2,2}f^{-1}(\{4\}) = \{-2, 2\}.
  2. 2
    Since two distinct inputs map to the same output, ff is not one-to-one. An inverse function would require assigning a unique pre-image to 44, but there are two choices. Thus ff has no inverse on all of R\mathbb{R}.

Answer

fโˆ’1({4})={โˆ’2,2}f^{-1}(\{4\}) = \{-2, 2\}; ff has no inverse on R\mathbb{R} (not one-to-one)
An inverse function exists only when the original function is one-to-one (injective). Because f(x)=x2f(x)=x^2 maps both 22 and โˆ’2-2 to 44, we cannot unambiguously reverse the mapping.

About Function as Mapping

Viewing a function as a mapping means thinking of it as an explicit association from each element of the domain to exactly one element of the codomain.

Learn more about Function as Mapping โ†’

More Function as Mapping Examples