Show that the function \(f : R → R,\) defined as \(f(x)=x^2,\) is neither one-one nor onto.
CBSE Class 12 Maths · Relations and Functions
CBSE Class 12 Maths · Relations and Functions
Imagine a machine that squares any number you put in. You drop in \( 1 \) and get \( 1 \) out. You drop in \( -1 \) and also get \( 1 \) out. Two different inputs, same output — that breaks the one-one rule. Now think about negative outputs like \( -1 \). No number you square ever gives a negative result, so those outputs have no matching input at all. That breaks the onto rule. So this squaring machine fails both tests.
Answer: Since \( f(1) = f(-1) = 1 \) with \( 1 \ne -1 \), the function is not one-one, and since no real \( x \) satisfies \( x^2 = -1 \), the value \( -1 \) has no pre-image so the function is not onto. Therefore \( f(x) = x^2 \) from \( R \) to \( R \) is neither one-one nor onto.
A function \( f : A \to B \) is called one-one (injective) if different inputs always give different outputs, that is, if \( f(x_1) = f(x_2) \) implies \( x_1 = x_2 \). It is called onto (surjective) if every element of the codomain \( B \) is the image of at least one element of the domain \( A \). For the function \( f(x) = x^2 \) from \( R \) to \( R \), the graph is a parabola opening upwards. Notice from the figure that both \( x = 1 \) and \( x = -1 \) give the same output \( f(1) = 1 \) and \( f(-1) = 1 \). This shows two different inputs share one image, so the function cannot be one-one. Also, since a square is never negative, the outputs only cover \( [0, \infty) \) and never any negative number, so the function cannot be onto \( R \).
One-one: \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \). Onto: for every \( y \in R \), there exists \( x \in R \) such that \( f(x) = y \). Here \( f(x) = x^2 \).
Since \( f(1) = f(-1) = 1 \) with \( 1 \ne -1 \), the function is not one-one, and since no real \( x \) satisfies \( x^2 = -1 \), the value \( -1 \) has no pre-image so the function is not onto. Therefore \( f(x) = x^2 \) from \( R \) to \( R \) is neither one-one nor onto.
A common mistake is to think \( f(x) = x^2 \) is onto because its range is \( [0, \infty) \); but onto requires the range to equal the entire codomain \( R \), and negative numbers are never attained, so it is not onto.
Since \( f(1) = f(-1) = 1 \) with \( 1 \ne -1 \), the function is not one-one, and since no real \( x \) satisfies \( x^2 = -1 \), the value \( -1 \) has no pre-image so the function is not onto. Therefore \( f(x) = x^2 \) from \( R \) to \( R \) is neither one-one nor onto.
One common mistake: students sometimes assume that because \( f(x) = x^2 \) is onto \( [0, \infty) \), it is onto \( R \) as well — they forget that the codomain is all of \( R \), which includes negative numbers that \( x^2 \) can never produce.
Answer: Since \( f(1) = f(-1) = 1 \) with \( 1 \ne -1 \), the function is not one-one, and since no real \( x \) satisfies \( x^2 = -1 \), the value \( -1 \) has no pre-image so the function is not onto. Therefore \( f(x) = x^2 \) from \( R \) to \( R \) is neither one-one nor onto.
Question: Show that the function \( f : \mathbb{R} \to \mathbb{R} \) defined by \( f(x) = x^4 \) is neither one-one nor onto.
Solution: We need to check two properties: one-one (injective) and onto (surjective). Step 1: Check whether f is one-one. Consider two elements in \( \mathbb{R} \), say \( x_1 = 2 \) and \( x_2 = -2 \). These are clearly distinct elements. Compute their images: \[ f(2) = 2^4 = 16 \] \[ f(-2) = (-2)^4 = 16 \] Since \( f(2) = f(-2) = 16 \) but \( 2 \ne -2 \), two distinct elements have the same image. Hence f is NOT one-one. Step 2: Check whether f is onto. For f to be onto, every real number \( y \in \mathbb{R} \) must have a pre-image in \( \mathbb{R} \), i.e., there must exist \( x \in \mathbb{R} \) such that \( f(x) = y \), meaning \( x^4 = y \). Consider \( y = -1 \). We need \( x^4 = -1 \). But for any real number x, \( x^4 \ge 0 \), so \( x^4 = -1 \) has no real solution. Thus \( -1 \in \mathbb{R} \) has no pre-image in \( \mathbb{R} \). Hence f is NOT onto. Conclusion: Since f is neither one-one nor onto, the function \( f(x) = x^4 \) is neither one-one nor onto.
Answer: f is neither one-one (since f(2) = f(-2) = 16, but 2 ≠ -2) nor onto (since -1 has no real pre-image under f).
Question: Show that the function \( g : \mathbb{R} \to \mathbb{R} \) defined by \( g(x) = |x| + 3 \) is neither one-one nor onto.
Solution: We need to check two properties: one-one (injective) and onto (surjective). Step 1: Check whether g is one-one. Choose \( x_1 = 5 \) and \( x_2 = -5 \). These are distinct elements of \( \mathbb{R} \). Compute their images: \[ g(5) = |5| + 3 = 5 + 3 = 8 \] \[ g(-5) = |-5| + 3 = 5 + 3 = 8 \] Since \( g(5) = g(-5) = 8 \) but \( 5 \ne -5 \), two distinct inputs produce the same output. Hence g is NOT one-one. Step 2: Check whether g is onto. For any \( x \in \mathbb{R} \), we have \( |x| \ge 0 \), so \[ g(x) = |x| + 3 \ge 0 + 3 = 3 \] This means the range of g is \( [3, \infty) \), which is a proper subset of \( \mathbb{R} \). For example, consider \( y = 1 \in \mathbb{R} \). We would need \( |x| + 3 = 1 \), i.e., \( |x| = -2 \), which is impossible since \( |x| \ge 0 \) for all \( x \in \mathbb{R} \). Thus \( 1 \in \mathbb{R} \) has no pre-image in \( \mathbb{R} \). Hence g is NOT onto. Conclusion: Since g is neither one-one nor onto, the function \( g(x) = |x| + 3 \) is neither one-one nor onto.
Answer: g is neither one-one (since g(5) = g(-5) = 8, but 5 ≠ -5) nor onto (since any y < 3, e.g. y = 1, has no real pre-image under g).
Question: Show that the function \( f : \mathbb{R} \to \mathbb{R} \) defined by \( f(x) = x^4 \) is neither one-one nor onto.
Answer: Since \( f(2) = f(-2) = 16 \) with \( 2 \ne -2 \), the function is not one-one. Since \( x^4 \ge 0 \) for all \( x \in \mathbb{R} \), no element such as \( -3 \in \mathbb{R} \) has a pre-image, so the function is not onto. Therefore \( f(x) = x^4 \) from \( \mathbb{R} \) to \( \mathbb{R} \) is neither one-one nor onto.