SOLVER7 Study. Nothing Else.
Chapter 1 Examples Q9

Prove that the function \(f:R\)-> \(R,\) given by \(f(x) = 2x,\) is one-one and onto.

CBSE Class 12 Maths · Relations and Functions

Solution

👶 Simple Explanation

Simple Explanation

Imagine a magic doubling machine. You put in a number, and it gives back double that number. Every number you put in gives a unique result — no two different numbers ever come out the same. Also, every possible output has exactly one input that produces it. For example, if the output is 6, then exactly one input (which is 3) gives that result. This machine never repeats outputs and never misses any real number as an output. That makes it a perfect two-way match — called a bijection.

Answer: The function \( f:R \to R \) given by \( f(x) = 2x \) is one-one (since \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \)) and onto (since for every \( y \in R \), \( x = \frac{y}{2} \in R \) satisfies \( f(x) = y \)). Hence \( f \) is a bijection.

📖 Proving f(x) = 2x is One-One and Onto

Detailed Explanation

A function \( f:A \to B \) is called one-one (injective) if different inputs give different outputs, that is, no two distinct elements of the domain map to the same element of the codomain. A function is called onto (surjective) if every element of the codomain has at least one pre-image in the domain. If a function is both one-one and onto, it is called a bijection. The graph shown is the straight line \( y = f(x) = 2x \) passing through the origin with a positive slope. Since this line rises steadily and is never horizontal, every horizontal line meets it in exactly one point. This visually confirms both properties: each output comes from exactly one input (one-one), and the line covers all real values of \( y \) as \( x \) ranges over all real numbers (onto).

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

Solution

  1. Step 1: Understand the function: We are given \( f:R \to R \) defined by \( f(x) = 2x \). Here the domain is \( R \) (all real numbers) and the codomain is also \( R \). The graph is a straight line through the origin with slope \( 2 \), as seen in the figure.
  2. Step 2: Check one-one (injectivity): Take any two elements \( x_1, x_2 \in R \) and assume their images are equal. That is, assume \[ f(x_1) = f(x_2). \] Substituting the definition of \( f \) gives \[ 2x_1 = 2x_2. \]
  3. Step 3: Simplify to conclude one-one: Dividing both sides of \( 2x_1 = 2x_2 \) by \( 2 \), we get \[ x_1 = x_2. \] So whenever the outputs are equal, the inputs must be equal. Therefore \( f \) is one-one. This matches the graph, where any horizontal line cuts the line in exactly one point.
  4. Step 4: Check onto (surjectivity): Let \( y \) be any arbitrary element of the codomain \( R \). We must find some \( x \in R \) such that \( f(x) = y \). We need \[ 2x = y. \] Solving for \( x \) gives \[ x = \frac{y}{2}. \]
  5. Step 5: Verify the pre-image works: Since \( y \in R \), the value \( x = \dfrac{y}{2} \) is also a real number, so it belongs to the domain \( R \). Now check its image: \[ f\left( \frac{y}{2} \right) = 2 \cdot \frac{y}{2} = y. \] Thus every \( y \in R \) has a pre-image in \( R \), so \( f \) is onto. On the graph, the line stretches infinitely upward and downward, covering every real \( y \)-value.
  6. Step 6: Conclude: Since \( f \) is both one-one and onto, it is a bijection from \( R \) to \( R \).

Final Answer

The function \( f:R \to R \) given by \( f(x) = 2x \) is one-one (since \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \)) and onto (since for every \( y \in R \), \( x = \frac{y}{2} \in R \) satisfies \( f(x) = y \)). Hence \( f \) is a bijection.

Common Mistake

A common mistake is to check only one property and assume the other automatically holds. Students often prove one-one and forget to show that every element of the codomain has a pre-image (onto). Both must be shown separately with proper reasoning.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the function and its domain and codomain. We are given \( f : R \to R \) defined by \( f(x) = 2x \), where both the domain and codomain are the set of all real numbers \( R \). — Reason: Knowing the domain and codomain is essential before testing any property of the function.
  2. Step 2: Set up the one-one (injectivity) test. Suppose \( x_1, x_2 \in R \) are any two elements such that their images under \( f \) are equal, i.e., assume \[ f(x_1) = f(x_2). \] — Reason: The standard method to prove a function is one-one is to start with the assumption that two outputs are equal and then show the inputs must also be equal.
  3. Step 3: Substitute the definition of \( f \) into the equation. The assumption \( f(x_1) = f(x_2) \) becomes \[ 2x_1 = 2x_2. \] Dividing both sides by \( 2 \) gives \[ x_1 = x_2. \] — Reason: Dividing by a non-zero constant (here \( 2 \)) is a valid algebraic operation and directly reveals that the two inputs must be identical, confirming the one-one property.
  4. Step 4: Conclude one-one. Since \( f(x_1) = f(x_2) \) necessarily leads to \( x_1 = x_2 \), the function \( f \) is one-one. — Reason: This matches the formal definition of injectivity, so the first half of the bijection requirement is satisfied.
  5. Step 5: Set up the onto (surjectivity) test. Take an arbitrary element \( y \in R \) (the codomain) and ask: does there exist some \( x \in R \) (the domain) with \( f(x) = y \)? — Reason: To prove onto, we must show that no element of the codomain is left without a pre-image.
  6. Step 6: Solve for \( x \) in terms of \( y \). Setting \( f(x) = y \) gives \[ 2x = y, \] so \[ x = \frac{y}{2}. \] Since \( y \in R \), dividing by \( 2 \) keeps \( x = \frac{y}{2} \) in \( R \). — Reason: If we can always express the required input \( x \) as a real number, then every \( y \in R \) has a pre-image in the domain.
  7. Step 7: Verify and conclude onto. Check: \( f\!\left(\frac{y}{2}\right) = 2 \cdot \frac{y}{2} = y \). This confirms that for every \( y \in R \), the element \( x = \frac{y}{2} \in R \) satisfies \( f(x) = y \), so \( f \) is onto. — Reason: Substituting back verifies the pre-image actually maps to the desired output, completing the surjectivity proof.
  8. Step 8: Combine both results. Because \( f \) is one-one and onto, it is a bijection from \( R \) to \( R \). — Reason: A function is a bijection if and only if it satisfies both injectivity and surjectivity simultaneously.

Final Answer

The function \( f:R \to R \) given by \( f(x) = 2x \) is one-one (since \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \)) and onto (since for every \( y \in R \), \( x = \frac{y}{2} \in R \) satisfies \( f(x) = y \)). Hence \( f \) is a bijection.

Common Mistake

One common mistake: students often check only one property (usually one-one) and forget to separately verify onto, leading to an incomplete proof that does not establish the function as a bijection.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: One-one: Assume \( f(x_1) = f(x_2) \). Then \( 2x_1 = 2x_2 \), so \( x_1 = x_2 \). Hence \( f \) is one-one.
  2. Step 2: Onto: For any \( y \in R \), set \( x = \frac{y}{2} \in R \). Then \( f(x) = 2 \cdot \frac{y}{2} = y \). Hence \( f \) is onto.

Answer: The function \( f:R \to R \) given by \( f(x) = 2x \) is one-one (since \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \)) and onto (since for every \( y \in R \), \( x = \frac{y}{2} \in R \) satisfies \( f(x) = y \)). Hence \( f \) is a bijection.

➕ More Examples

More Examples

Example 1

Question: Prove that the function \( f : \mathbb{R} \to \mathbb{R} \) defined by \( f(x) = 3x - 5 \) is one-one and onto.

Solution: We need to prove two properties: (i) f is one-one, and (ii) f is onto. Step 1 — Proving f is one-one (injective): Let \( x_1, x_2 \in \mathbb{R} \) such that \( f(x_1) = f(x_2) \). Then: \[ 3x_1 - 5 = 3x_2 - 5 \] Adding 5 to both sides: \[ 3x_1 = 3x_2 \] Dividing both sides by 3: \[ x_1 = x_2 \] Since \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \), the function f is one-one. Step 2 — Proving f is onto (surjective): Let \( y \in \mathbb{R} \) be any arbitrary element. We need to find \( x \in \mathbb{R} \) such that \( f(x) = y \). Setting \( f(x) = y \): \[ 3x - 5 = y \] Solving for x: \[ x = \frac{y + 5}{3} \] Since \( y \in \mathbb{R} \), we have \( x = \frac{y+5}{3} \in \mathbb{R} \). Verifying: \[ f\!\left(\frac{y+5}{3}\right) = 3 \cdot \frac{y+5}{3} - 5 = (y + 5) - 5 = y \] Thus for every \( y \in \mathbb{R} \), there exists \( x = \frac{y+5}{3} \in \mathbb{R} \) such that \( f(x) = y \). Hence f is onto. Conclusion: Since f is both one-one and onto, f is a bijection.

Answer: f(x) = 3x − 5 is both one-one and onto (bijective).

Example 2

Question: Prove that the function \( f : \mathbb{R} \to \mathbb{R} \) defined by \( f(x) = 5 - 4x \) is one-one and onto.

Solution: We need to prove two properties: (i) f is one-one, and (ii) f is onto. Step 1 — Proving f is one-one (injective): Let \( x_1, x_2 \in \mathbb{R} \) such that \( f(x_1) = f(x_2) \). Then: \[ 5 - 4x_1 = 5 - 4x_2 \] Subtracting 5 from both sides: \[ -4x_1 = -4x_2 \] Dividing both sides by \( -4 \): \[ x_1 = x_2 \] Since \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \), the function f is one-one. Step 2 — Proving f is onto (surjective): Let \( y \in \mathbb{R} \) be any arbitrary element. We need to find \( x \in \mathbb{R} \) such that \( f(x) = y \). Setting \( f(x) = y \): \[ 5 - 4x = y \] Solving for x: \[ 4x = 5 - y \] \[ x = \frac{5 - y}{4} \] Since \( y \in \mathbb{R} \), we have \( x = \frac{5-y}{4} \in \mathbb{R} \). Verifying: \[ f\!\left(\frac{5-y}{4}\right) = 5 - 4 \cdot \frac{5-y}{4} = 5 - (5 - y) = y \] Thus for every \( y \in \mathbb{R} \), there exists \( x = \frac{5-y}{4} \in \mathbb{R} \) such that \( f(x) = y \). Hence f is onto. Conclusion: Since f is both one-one and onto, f is a bijection.

Answer: f(x) = 5 − 4x is both one-one and onto (bijective).

🎯 Try a Similar Question

Try a Similar Question

Question: Prove that the function \( f : \mathbb{R} \to \mathbb{R} \) defined by \( f(x) = 3x - 5 \) is both one-one and onto.

Solution

  1. Step 1: Check One-One (Injective): Let \( x_1, x_2 \in \mathbb{R} \) such that \( f(x_1) = f(x_2) \). Then: \[ 3x_1 - 5 = 3x_2 - 5 \] Adding 5 to both sides: \[ 3x_1 = 3x_2 \] Dividing both sides by 3: \[ x_1 = x_2 \] Since \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \), the function \( f \) is one-one.
  2. Step 2: Check Onto (Surjective): Let \( y \in \mathbb{R} \) be any arbitrary element in the codomain. We need to find \( x \in \mathbb{R} \) such that \( f(x) = y \). Setting \( f(x) = y \): \[ 3x - 5 = y \] Solving for \( x \): \[ x = \frac{y + 5}{3} \] Since \( y \in \mathbb{R} \), we have \( \frac{y+5}{3} \in \mathbb{R} \), so \( x \in \mathbb{R} \).
  3. Step 3: Verify the Pre-image: For \( x = \frac{y+5}{3} \), compute \( f(x) \): \[ f\!\left(\frac{y+5}{3}\right) = 3 \cdot \frac{y+5}{3} - 5 = (y + 5) - 5 = y \] Thus, for every \( y \in \mathbb{R} \), there exists \( x = \frac{y+5}{3} \in \mathbb{R} \) such that \( f(x) = y \). Hence \( f \) is onto.
  4. Step 4: Conclusion: Since \( f(x) = 3x - 5 \) is both one-one and onto, it is a bijection from \( \mathbb{R} \) to \( \mathbb{R} \).

Answer: The function \( f : \mathbb{R} \to \mathbb{R} \) given by \( f(x) = 3x - 5 \) is one-one (since \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \)) and onto (since for every \( y \in \mathbb{R} \), \( x = \frac{y+5}{3} \in \mathbb{R} \) satisfies \( f(x) = y \)). Hence \( f \) is a bijection.

Everything you get with Solver7

More questions in Relations and Functions