Example 1
Question: A function \( f : \mathbb{R}_+ \to \mathbb{R} \) (where \( \mathbb{R}_+ \) is the set of all non-negative real numbers) is defined by \( f(x) = 3x + 5 \). Determine whether \( f \) is one-one, onto, both, or neither. Choose the correct option: (A) one-one but not onto, (B) onto but not one-one, (C) both one-one and onto, (D) neither one-one nor onto.
Solution: Step 1: Check one-one (injectivity). Let \( f(a) = f(b) \) for \( a, b \in \mathbb{R}_+ \). Then \( 3a + 5 = 3b + 5 \), which gives \( 3a = 3b \), so \( a = b \). Therefore \( f \) is one-one. Step 2: Check onto (surjectivity). The codomain is \( \mathbb{R} \) (all real numbers). For any \( y \in \mathbb{R} \), we need \( x \in \mathbb{R}_+ \) such that \( f(x) = y \), i.e., \( 3x + 5 = y \), giving \( x = \frac{y - 5}{3} \). For \( x \) to be in \( \mathbb{R}_+ \), we need \( x \ge 0 \), i.e., \( \frac{y-5}{3} \ge 0 \), i.e., \( y \ge 5 \). But elements of the codomain with \( y < 5 \) (for example \( y = 0 \)) have no preimage in \( \mathbb{R}_+ \), since that would require \( x = \frac{0-5}{3} = -\frac{5}{3} < 0 \), which is not in \( \mathbb{R}_+ \). The range of \( f \) is \( [5, \infty) \), which is a proper subset of \( \mathbb{R} \). Hence \( f \) is NOT onto. Conclusion: \( f \) is one-one but not onto.
Answer: (A) one-one but not onto
Example 2
Question: A function \( g : \mathbb{R}_+ \to \mathbb{R} \) (where \( \mathbb{R}_+ \) is the set of all non-negative real numbers) is defined by \( g(x) = 2x - 7 \). Determine whether \( g \) is one-one, onto, both, or neither. Choose the correct option: (A) both one-one and onto, (B) onto but not one-one, (C) one-one but not onto, (D) neither one-one nor onto.
Solution: Step 1: Check one-one (injectivity). Let \( g(a) = g(b) \) for \( a, b \in \mathbb{R}_+ \). Then \( 2a - 7 = 2b - 7 \), so \( 2a = 2b \), giving \( a = b \). Therefore \( g \) is one-one. Step 2: Check onto (surjectivity). The codomain is \( \mathbb{R} \). For any \( y \in \mathbb{R} \), we need \( x \in \mathbb{R}_+ \) with \( 2x - 7 = y \), i.e., \( x = \frac{y + 7}{2} \). For \( x \in \mathbb{R}_+ \), we need \( x \ge 0 \), i.e., \( \frac{y+7}{2} \ge 0 \), i.e., \( y \ge -7 \). For example, take \( y = -10 \). Then \( x = \frac{-10+7}{2} = \frac{-3}{2} = -1.5 \), which is not in \( \mathbb{R}_+ \). So \( y = -10 \) has no preimage in \( \mathbb{R}_+ \). The range of \( g \) is \( [-7, \infty) \), which is a proper subset of \( \mathbb{R} \). Hence \( g \) is NOT onto. Conclusion: \( g \) is one-one but not onto.
Answer: (C) one-one but not onto