SOLVER7 Study. Nothing Else.
Chapter 1 Examples Q11

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

Solution

👶 Simple Explanation

Simple Explanation

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.

📖 Showing f(x) = x^2 is Neither One-One Nor Onto

Detailed Explanation

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 \).

Formula Used

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 \).

Solution

  1. Step 1: Recall the definitions. To prove \( f \) is not one-one, we find two different inputs giving the same output. To prove \( f \) is not onto, we find an element of the codomain \( R \) that is not the image of any real number.
  2. Step 2: Check the one-one property using two chosen values. Take \( x = 1 \) and \( x = -1 \). Then \( f(1) = 1^2 = 1 \) and \( f(-1) = (-1)^2 = 1 \). This matches the figure, where both \( x = 1 \) and \( x = -1 \) map to the height \( 1 \).
  3. Step 3: Conclude about one-one. Here \( 1 \ne -1 \) but \( f(1) = f(-1) = 1 \). Two distinct inputs give the same image, so the condition \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \) fails. Hence \( f \) is not one-one.
  4. Step 4: Check the onto property. For any real \( x \), the value \( f(x) = x^2 \ge 0 \). So the set of all outputs is \( [0, \infty) \), not all of \( R \).
  5. Step 5: Find an unreached element of the codomain. Take \( y = -1 \), which lies in the codomain \( R \). We need \( x \) with \( x^2 = -1 \). But no real number satisfies \( x^2 = -1 \), since a square is never negative. So \( -1 \) has no pre-image.
  6. Step 6: Conclude about onto. Since a negative real number like \( -1 \) is not the image of any real number, \( f \) does not cover the whole codomain \( R \). Hence \( f \) is not onto.

Final 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.

Common Mistake

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.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down what needs to be verified. We must decide whether \( f : R \to R \) defined by \( f(x) = x^2 \) is one-one and whether it is onto. — Reason: Clearly stating the goal keeps the two separate tests (one-one and onto) from getting mixed up.
  2. Step 2: Pick two specific inputs to test the one-one property. Choose \( x_1 = 1 \) and \( x_2 = -1 \), and compute their images: \[ f(1) = 1^2 = 1 \] \[ f(-1) = (-1)^2 = 1 \] — Reason: If we can find even a single pair of different inputs that share the same output, the function is immediately disqualified from being one-one.
  3. Step 3: Compare the inputs and outputs from Step 2. We observe that \( f(1) = f(-1) = 1 \), yet \( 1 \ne -1 \). — Reason: The definition of one-one requires equal outputs to force equal inputs; here equal outputs do NOT force equal inputs, so the condition fails.
  4. Step 4: Conclude on the one-one test. Because two distinct real numbers, \( 1 \) and \( -1 \), map to the same value \( 1 \), the function \( f(x) = x^2 \) is not one-one. — Reason: A single counterexample is enough to disprove a universal statement.
  5. Step 5: Choose a candidate element of the codomain to test the onto property. Take \( y = -1 \in R \) and ask whether any real \( x \) satisfies \( f(x) = -1 \), i.e., \[ x^2 = -1 \] — Reason: To show a function is not onto, we only need to exhibit one codomain element that has no pre-image in the domain.
  6. Step 6: Analyse the equation \( x^2 = -1 \). Since squaring any real number always gives a non-negative result, we have \( x^2 \ge 0 \) for every \( x \in R \). Therefore \( x^2 = -1 \) has no solution in \( R \). — Reason: The range of \( f(x) = x^2 \) over \( R \) is \( [0, \infty) \), which does not include negative numbers, so negative values in the codomain are never reached.
  7. Step 7: Conclude on the onto test. The element \( -1 \in R \) has no pre-image under \( f \), so the function \( f(x) = x^2 \) is not onto \( R \). — Reason: For a function to be onto, every codomain element must be covered; one missing element is sufficient to prove it is not onto.
  8. Step 8: Combine both conclusions. Since \( f \) fails the one-one test and also fails the onto test, it is neither injective nor surjective. — Reason: Both properties must hold independently; failing either one (or both) gives the final classification.

Final 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.

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Test one-one: \( f(1) = 1^2 = 1 \) and \( f(-1) = (-1)^2 = 1 \), so \( f(1) = f(-1) \) but \( 1 \ne -1 \). Hence \( f \) is not one-one.
  2. Step 2: Test onto: For \( y = -1 \in R \), the equation \( x^2 = -1 \) has no real solution. Hence \( -1 \) has no pre-image in \( R \), so \( f \) is not onto.

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.

➕ More Examples

More Examples

Example 1

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).

Example 2

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).

🎯 Try a Similar Question

Try a Similar Question

Question: Show that the function \( f : \mathbb{R} \to \mathbb{R} \) defined by \( f(x) = x^4 \) is neither one-one nor onto.

Solution

  1. Step 1: Check whether f is one-one: To test for one-one, we check if \( f(x_1) = f(x_2) \) necessarily implies \( x_1 = x_2 \). \nConsider \( x_1 = 2 \) and \( x_2 = -2 \). Both are distinct real numbers with \( x_1 \ne x_2 \).
  2. Step 2: Compute f(2) and f(−2): We compute: \[ f(2) = 2^4 = 16 \] and \[ f(-2) = (-2)^4 = 16 \] So \( f(2) = f(-2) = 16 \), yet \( 2 \ne -2 \). This shows that two distinct inputs give the same output, so \( f \) is NOT one-one.
  3. Step 3: Check whether f is onto: For \( f \) to be onto, every real number \( y \in \mathbb{R} \) must have a pre-image \( x \in \mathbb{R} \) such that \( f(x) = y \), i.e., \( x^4 = y \). \nSince \( x^4 \ge 0 \) for all real \( x \), we have \( f(x) \ge 0 \) for every \( x \in \mathbb{R} \).
  4. Step 4: Find a specific element with no pre-image: Take \( y = -3 \in \mathbb{R} \). If there existed \( x \in \mathbb{R} \) such that \( f(x) = -3 \), then \[ x^4 = -3 \] But \( x^4 \ge 0 \) for all \( x \in \mathbb{R} \), so no real \( x \) satisfies \( x^4 = -3 \). Hence \( -3 \) has no pre-image in \( \mathbb{R} \), and \( f \) is NOT onto.
  5. Step 5: Conclusion: Since \( f(2) = f(-2) = 16 \) with \( 2 \ne -2 \), the function is not one-one. Since no real \( x \) satisfies \( x^4 = -3 \), the element \( -3 \in \mathbb{R} \) has no pre-image, so the function is not onto. Therefore, \( 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.

Everything you get with Solver7

More questions in Relations and Functions