Example 1
Question: Let \( f : \left[0, \dfrac{\pi}{2}\right] \to \mathbb{R} \) be defined by \( f(x) = \sin x \) and \( g : \left[0, \dfrac{\pi}{2}\right] \to \mathbb{R} \) be defined by \( g(x) = -\cos x \). Show that both \( f \) and \( g \) are one-one, but the function \( f - g \) (i.e., \( f(x) - g(x) \)) is not one-one.
Solution: Step 1: Show f is one-one. Let \( x_1, x_2 \in \left[0, \dfrac{\pi}{2}\right] \) such that \( f(x_1) = f(x_2) \). Then \( \sin x_1 = \sin x_2 \). Since sine is strictly increasing on \( \left[0, \dfrac{\pi}{2}\right] \), this implies \( x_1 = x_2 \). Hence \( f \) is one-one. Step 2: Show g is one-one. Let \( x_1, x_2 \in \left[0, \dfrac{\pi}{2}\right] \) such that \( g(x_1) = g(x_2) \). Then \( -\cos x_1 = -\cos x_2 \), so \( \cos x_1 = \cos x_2 \). Since cosine is strictly decreasing on \( \left[0, \dfrac{\pi}{2}\right] \), this implies \( x_1 = x_2 \). Hence \( g \) is one-one. Step 3: Form the function \( (f - g)(x) \). \[ (f - g)(x) = f(x) - g(x) = \sin x - (-\cos x) = \sin x + \cos x \] Step 4: Show \( f - g \) is NOT one-one. Consider \( x_1 = 0 \) and \( x_2 = \dfrac{\pi}{2} \). Both lie in \( \left[0, \dfrac{\pi}{2}\right] \). At \( x_1 = 0 \): \[ (f - g)(0) = \sin 0 + \cos 0 = 0 + 1 = 1 \] At \( x_2 = \dfrac{\pi}{2} \): \[ (f - g)\!\left(\frac{\pi}{2}\right) = \sin\frac{\pi}{2} + \cos\frac{\pi}{2} = 1 + 0 = 1 \] Since \( (f - g)(0) = (f - g)\!\left(\dfrac{\pi}{2}\right) = 1 \) but \( 0 \ne \dfrac{\pi}{2} \), the function \( f - g \) is NOT one-one.
Answer: f and g are individually one-one on \( \left[0, \dfrac{\pi}{2}\right] \), but \( (f - g)(x) = \sin x + \cos x \) is not one-one because \( (f-g)(0) = (f-g)\!\left(\dfrac{\pi}{2}\right) = 1 \).
Example 2
Question: Consider \( f : [1, e] \to \mathbb{R} \) defined by \( f(x) = \ln x \) and \( g : [1, e] \to \mathbb{R} \) defined by \( g(x) = -\ln x \). Show that both \( f \) and \( g \) are one-one, but the function \( h = f + g \) is not one-one.
Solution: Step 1: Show f is one-one. Let \( x_1, x_2 \in [1, e] \) such that \( f(x_1) = f(x_2) \). Then \( \ln x_1 = \ln x_2 \). Applying the exponential function to both sides: \( x_1 = x_2 \). Hence \( f \) is one-one. Alternatively, since \( \ln x \) is strictly increasing on \( [1, e] \), it is one-one. Step 2: Show g is one-one. Let \( x_1, x_2 \in [1, e] \) such that \( g(x_1) = g(x_2) \). Then \( -\ln x_1 = -\ln x_2 \), which gives \( \ln x_1 = \ln x_2 \), so \( x_1 = x_2 \). Hence \( g \) is one-one. Alternatively, \( g(x) = -\ln x \) is strictly decreasing on \( [1, e] \), so it is one-one. Step 3: Form the function \( h(x) = (f + g)(x) \). \[ h(x) = f(x) + g(x) = \ln x + (-\ln x) = 0 \] So \( h(x) = 0 \) for every \( x \in [1, e] \). Step 4: Show \( h \) is NOT one-one. Choose any two distinct points, say \( x_1 = 1 \) and \( x_2 = e \), both in \( [1, e] \). \[ h(1) = 0 \quad \text{and} \quad h(e) = 0 \] Since \( h(1) = h(e) = 0 \) but \( 1 \ne e \), the function \( h \) is NOT one-one. In fact, \( h \) is a constant function equal to 0, which maps every element of \( [1, e] \) to the same value and is therefore not one-one.
Answer: Both \( f(x) = \ln x \) and \( g(x) = -\ln x \) are one-one on \( [1, e] \), but \( h(x) = f(x) + g(x) = 0 \) is a constant function and hence not one-one.