Example 1
Question: A function \( f: [-3, 3] \to [0, 3] \) is defined by \( f(x) = \sqrt{9 - x^2} \). Show that \( f \) is onto but not one-one. Also find all possible values of \( a \) for which \( f(a) = \sqrt{5} \).
Solution: Step 1 — Show f is NOT one-one. Consider two distinct elements in the domain, say \( x = 1 \) and \( x = -1 \). Both lie in \( [-3, 3] \). We compute: \[ f(1) = \sqrt{9 - 1^2} = \sqrt{8} \] \[ f(-1) = \sqrt{9 - (-1)^2} = \sqrt{8} \] Since \( f(1) = f(-1) \) but \( 1 \ne -1 \), the function is not one-one. Step 2 — Show f is onto. Let \( y \in [0, 3] \) be any element in the codomain. We need to find \( x \in [-3, 3] \) such that \( f(x) = y \). Set \( \sqrt{9 - x^2} = y \), so \( x^2 = 9 - y^2 \), giving \( x = \sqrt{9 - y^2} \). Since \( y \in [0, 3] \), we have \( y^2 \in [0, 9] \), so \( 9 - y^2 \in [0, 9] \), which means \( x = \sqrt{9 - y^2} \in [0, 3] \subseteq [-3, 3] \). Thus for every \( y \in [0, 3] \), there exists \( x = \sqrt{9 - y^2} \in [-3, 3] \) with \( f(x) = y \). Hence \( f \) is onto. Step 3 — Find all \( a \) such that \( f(a) = \sqrt{5} \). Set \( f(a) = \sqrt{5} \): \[ \sqrt{9 - a^2} = \sqrt{5} \] Squaring both sides: \[ 9 - a^2 = 5 \] \[ a^2 = 4 \] \[ a = \pm 2 \] Both \( a = 2 \) and \( a = -2 \) lie in \( [-3, 3] \). Hence the possible values of \( a \) are \( a = 2 \) and \( a = -2 \).
Answer: \( f \) is onto but not one-one. The values of \( a \) are \( a = 2 \) and \( a = -2 \).
Example 2
Question: A function \( g: [-5, 5] \to [0, 5] \) is defined by \( g(x) = \sqrt{25 - x^2} \). Show that \( g \) is onto but not one-one. Also find all possible values of \( a \) for which \( g(a) = \sqrt{11} \).
Solution: Step 1 — Show g is NOT one-one. Consider \( x = 2 \) and \( x = -2 \), both in \( [-5, 5] \). Then: \[ g(2) = \sqrt{25 - 4} = \sqrt{21} \] \[ g(-2) = \sqrt{25 - 4} = \sqrt{21} \] Since \( g(2) = g(-2) \) but \( 2 \ne -2 \), the function \( g \) is not one-one. Step 2 — Show g is onto. Let \( y \in [0, 5] \) be arbitrary. We need \( x \in [-5, 5] \) such that \( g(x) = y \). Set \( \sqrt{25 - x^2} = y \), so \( x^2 = 25 - y^2 \), giving \( x = \sqrt{25 - y^2} \). Since \( y \in [0, 5] \), we get \( y^2 \in [0, 25] \), so \( 25 - y^2 \in [0, 25] \), meaning \( x = \sqrt{25 - y^2} \in [0, 5] \subseteq [-5, 5] \). Also, \( g(x) = \sqrt{25 - (25 - y^2)} = \sqrt{y^2} = y \) since \( y \ge 0 \). Thus every \( y \in [0, 5] \) has a pre-image in \( [-5, 5] \), so \( g \) is onto. Step 3 — Find all \( a \) such that \( g(a) = \sqrt{11} \). Set \( g(a) = \sqrt{11} \): \[ \sqrt{25 - a^2} = \sqrt{11} \] Squaring both sides: \[ 25 - a^2 = 11 \] \[ a^2 = 14 \] \[ a = \pm \sqrt{14} \] We verify that \( \sqrt{14} \approx 3.74 \in [-5, 5] \) and \( -\sqrt{14} \approx -3.74 \in [-5, 5] \). Both values are valid. Hence the possible values of \( a \) are \( a = \sqrt{14} \) and \( a = -\sqrt{14} \).
Answer: \( g \) is onto but not one-one. The values of \( a \) are \( a = \sqrt{14} \) and \( a = -\sqrt{14} \).