SOLVER7 Study. Nothing Else.
2026 Board Paper Q26(a)

Let \(A=\mathbb{R}-\{3\}\) and \(B=\mathbb{R}-\{1\}\). A function \(f:A\rightarrow B\) is defined by \(f(x)=\left(\dfrac{x-2}{x-3}\right).\) Find whether \(f\) is one-one and onto.

CBSE Class 12 Maths · Relations and Functions

Solution

👶 Simple Explanation

Simple Explanation

Imagine a vending machine where every button gives a unique snack, and every snack in the machine can be picked by pressing some button. That is exactly what this function is like. The rule \( f(x) = \dfrac{x-2}{x-3} \) pairs every allowed input with exactly one output, and no two different inputs share the same output. Also, every allowed output has at least one input that produces it. Because both conditions hold, the function is called bijective, meaning it is perfectly paired and reversible.

Answer: The function \( f(x) = \dfrac{x-2}{x-3} \) is both one-one and onto, hence it is a bijective (invertible) function from \( A = \mathbb{R} - \{3\} \) to \( B = \mathbb{R} - \{1\} \).

📖 Checking if f(x) = (x-2)/(x-3) 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, whenever \( f(x_1) = f(x_2) \) we must have \( x_1 = x_2 \). A function is called onto (surjective) if every element of the codomain \( B \) is the image of at least one element of \( A \), that is, for every \( y \in B \) there exists some \( x \in A \) with \( f(x) = y \). If a function is both one-one and onto, it is called bijective. Here \( A = \mathbb{R} - \{3\} \) (we remove \( 3 \) because the denominator \( x - 3 \) becomes zero there) and \( B = \mathbb{R} - \{1\} \). We test the two properties one at a time.

Formula Used

One-one: \( f(x_1) = f(x_2) \Rightarrow x_1 = x_2 \). Onto: for every \( y \in B \), there exists \( x \in A \) such that \( f(x) = y \). Here \( f(x) = \dfrac{x-2}{x-3} \).

Solution

  1. Step 1: To check one-one, assume two elements \( x_1, x_2 \in A \) have the same image. So set \( f(x_1) = f(x_2) \), which gives \[ \frac{x_1 - 2}{x_1 - 3} = \frac{x_2 - 2}{x_2 - 3}. \]
  2. Step 2: Cross-multiply to clear the denominators: \[ (x_1 - 2)(x_2 - 3) = (x_2 - 2)(x_1 - 3). \] Expanding both sides gives \[ x_1 x_2 - 3x_1 - 2x_2 + 6 = x_1 x_2 - 3x_2 - 2x_1 + 6. \]
  3. Step 3: Cancel the common terms \( x_1 x_2 \) and \( 6 \) from both sides: \[ -3x_1 - 2x_2 = -3x_2 - 2x_1. \] Rearranging, \[ -3x_1 + 2x_1 = -3x_2 + 2x_2, \] which gives \[ -x_1 = -x_2 \Rightarrow x_1 = x_2. \] Since \( f(x_1) = f(x_2) \) forces \( x_1 = x_2 \), the function is one-one.
  4. Step 4: To check onto, take an arbitrary element \( y \in B \) and try to find \( x \in A \) such that \( f(x) = y \). Set \[ y = \frac{x - 2}{x - 3}. \]
  5. Step 5: Solve for \( x \) in terms of \( y \). Cross-multiplying gives \[ y(x - 3) = x - 2, \] so \[ xy - 3y = x - 2. \] Collect the \( x \) terms on one side: \[ xy - x = 3y - 2, \] which gives \[ x(y - 1) = 3y - 2. \] Hence \[ x = \frac{3y - 2}{y - 1}. \]
  6. Step 6: This value of \( x \) is defined as long as \( y - 1 \ne 0 \), i.e. \( y \ne 1 \). But every \( y \) in the codomain \( B = \mathbb{R} - \{1\} \) already satisfies \( y \ne 1 \), so \( x \) always exists. We also confirm \( x \ne 3 \): if \( x = 3 \) then \( \frac{3y-2}{y-1} = 3 \Rightarrow 3y - 2 = 3y - 3 \Rightarrow -2 = -3 \), which is impossible. So \( x \in A \) for every \( y \in B \), and the function is onto.
  7. Step 7: Since \( f \) is both one-one and onto, it is a bijection from \( A \) to \( B \).

Final Answer

The function \( f(x) = \dfrac{x-2}{x-3} \) is both one-one and onto, hence it is a bijective (invertible) function from \( A = \mathbb{R} - \{3\} \) to \( B = \mathbb{R} - \{1\} \).

Common Mistake

A common mistake is to declare the function onto by simply solving for \( x \) without checking that the obtained \( x = \dfrac{3y-2}{y-1} \) actually lies in the domain \( A \) (i.e. that \( x \ne 3 \)) and that \( y \ne 1 \). Students often forget that the codomain excludes \( 1 \), which is precisely why every value of \( y \) yields a valid pre-image.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Set up the one-one (injectivity) test: Assume \( x_1, x_2 \in A \) are two elements such that \( f(x_1) = f(x_2) \), i.e., \[ \frac{x_1 - 2}{x_1 - 3} = \frac{x_2 - 2}{x_2 - 3}. \] Reason: To prove a function is one-one, we start by assuming equal outputs and then show the inputs must also be equal.
  2. Step 2: Cross-multiply to remove fractions: Cross-multiplying both sides gives \[ (x_1 - 2)(x_2 - 3) = (x_2 - 2)(x_1 - 3). \] Reason: Clearing denominators makes algebraic manipulation straightforward, since both denominators are non-zero for all \( x \in A \).
  3. Step 3: Expand and simplify both sides: Expanding the left side: \( x_1 x_2 - 3x_1 - 2x_2 + 6 \). Expanding the right side: \( x_1 x_2 - 3x_2 - 2x_1 + 6 \). Setting them equal: \[ x_1 x_2 - 3x_1 - 2x_2 + 6 = x_1 x_2 - 3x_2 - 2x_1 + 6. \] Cancel \( x_1 x_2 \) and \( 6 \) from both sides: \[ -3x_1 - 2x_2 = -3x_2 - 2x_1. \] Reason: Cancelling identical terms on both sides isolates the relationship between \( x_1 \) and \( x_2 \).
  4. Step 4: Conclude one-one: Rearranging \( -3x_1 - 2x_2 = -3x_2 - 2x_1 \) by bringing all \( x_1 \) terms to one side: \[ -3x_1 + 2x_1 = -3x_2 + 2x_2, \] which simplifies to \( -x_1 = -x_2 \), hence \( x_1 = x_2 \). Reason: Since assuming \( f(x_1) = f(x_2) \) forces \( x_1 = x_2 \), the function is one-one (injective).
  5. Step 5: Set up the onto (surjectivity) test: Pick any arbitrary element \( y \in B = \mathbb{R} - \{1\} \). We need to find \( x \in A \) such that \( f(x) = y \), i.e., solve \[ \frac{x - 2}{x - 3} = y \] for \( x \). Reason: To prove onto, we must show every target value \( y \) in the codomain is actually achieved by some input.
  6. Step 6: Solve for x in terms of y: From \( \dfrac{x-2}{x-3} = y \), multiply both sides by \( (x-3) \): \[ x - 2 = y(x - 3). \] Expanding: \( x - 2 = yx - 3y \). Collecting \( x \) terms: \( x - yx = 2 - 3y \), so \( x(1 - y) = 2 - 3y \), giving \[ x = \frac{2 - 3y}{1 - y}. \] Reason: Isolating \( x \) explicitly lets us verify it is a valid element of \( A \).
  7. Step 7: Verify x lies in A and confirm onto: Since \( y \ne 1 \) (because \( y \in B = \mathbb{R} - \{1\} \)), the denominator \( 1 - y \ne 0 \), so \( x = \dfrac{2 - 3y}{1 - y} \) is well-defined. We also check \( x \ne 3 \): if \( x = 3 \) then \( 2 - 3y = 3(1-y) = 3 - 3y \), giving \( 2 = 3 \), a contradiction. So \( x \in A \). Substituting back confirms \( f(x) = y \). Reason: Confirming \( x \in A \) and \( f(x) = y \) completes the onto proof, since every \( y \in B \) has a pre-image in \( A \).
  8. Step 8: Combine both results: Since \( f \) is both one-one (Step 4) and onto (Step 7), it is bijective, and a bijective function is always invertible. Reason: Bijectivity is the necessary and sufficient condition for a function to have an inverse; both properties together ensure the correspondence between \( A \) and \( B \) is perfect.

Final Answer

The function \( f(x) = \dfrac{x-2}{x-3} \) is both one-one and onto, hence it is a bijective (invertible) function from \( A = \mathbb{R} - \{3\} \) to \( B = \mathbb{R} - \{1\} \).

Common Mistake

One common mistake: Students often forget to verify that the value of \( x \) obtained during the onto test actually belongs to the domain \( A \) (i.e., \( x \ne 3 \)); skipping this check leaves the proof of surjectivity incomplete.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Check One-One: Set \( f(x_1) = f(x_2) \): \[ \frac{x_1 - 2}{x_1 - 3} = \frac{x_2 - 2}{x_2 - 3} \] Cross-multiplying and expanding: \[ x_1 x_2 - 3x_1 - 2x_2 + 6 = x_1 x_2 - 3x_2 - 2x_1 + 6 \] Simplifying: \[ -x_1 = -x_2 \Rightarrow x_1 = x_2 \] Hence \( f \) is one-one.
  2. Check Onto: Let \( y \in B \). Set \( y = \dfrac{x-2}{x-3} \) and solve for \( x \): \[ y(x-3) = x-2 \Rightarrow x(y-1) = 3y - 2 \Rightarrow x = \frac{3y-2}{y-1} \] Since \( y \ne 1 \), \( x \) is defined, and \( x \ne 3 \) (verified: \( \frac{3y-2}{y-1} = 3 \Rightarrow 3y - 2 = 3y - 3 \Rightarrow -2 = -3 \), contradiction). So \( x \in A \) and \( f(x) = y \). Hence \( f \) is onto.

Answer: The function \( f(x) = \dfrac{x-2}{x-3} \) is both one-one and onto, hence it is a bijective (invertible) function from \( A = \mathbb{R} - \{3\} \) to \( B = \mathbb{R} - \{1\} \).

➕ More Examples

More Examples

Example 1

Question: Let \( A = \mathbb{R} - \{5\} \) and \( B = \mathbb{R} - \{1\} \). A function \( f : A \to B \) is defined by \[ f(x) = \frac{x - 3}{x - 5}. \] Determine whether \( f \) is one-one and onto. Justify your answer.

Solution: Step 1: Check One-One (Injective). Let \( x_1, x_2 \in A \) such that \( f(x_1) = f(x_2) \). Then: \[ \frac{x_1 - 3}{x_1 - 5} = \frac{x_2 - 3}{x_2 - 5} \] Cross-multiplying: \[ (x_1 - 3)(x_2 - 5) = (x_2 - 3)(x_1 - 5) \] Expanding the left side: \[ x_1 x_2 - 5x_1 - 3x_2 + 15 \] Expanding the right side: \[ x_1 x_2 - 5x_2 - 3x_1 + 15 \] Subtracting the right side from the left side: \[ -5x_1 - 3x_2 + 3x_1 + 5x_2 = 0 \] Simplifying: \[ -2x_1 + 2x_2 = 0 \] Therefore \( x_1 = x_2 \). Hence \( f \) is one-one. Step 2: Check Onto (Surjective). Let \( y \in B = \mathbb{R} - \{1\} \). We need to find \( x \in A \) such that \( f(x) = y \). Setting \( f(x) = y \): \[ \frac{x - 3}{x - 5} = y \] So \( x - 3 = y(x - 5) \), which gives: \[ x - 3 = yx - 5y \] Rearranging: \[ x - yx = 3 - 5y \] Factoring: \[ x(1 - y) = 3 - 5y \] Since \( y \ne 1 \), we can divide: \[ x = \frac{3 - 5y}{1 - y} \] Now check that this \( x \in A \), i.e., \( x \ne 5 \). Suppose \( x = 5 \), then: \[ \frac{3 - 5y}{1 - y} = 5 \] So \( 3 - 5y = 5(1 - y) = 5 - 5y \), which gives \( 3 = 5 \), a contradiction. Hence \( x \ne 5 \), so \( x \in A \) for every \( y \in B \). Therefore \( f \) is onto. Conclusion: \( f \) is both one-one and onto, hence it is a bijection.

Answer: f is both one-one (injective) and onto (surjective), hence bijective.

Example 2

Question: Let \( A = \mathbb{R} - \{-2\} \) and \( B = \mathbb{R} - \{1\} \). A function \( f : A \to B \) is defined by \[ f(x) = \frac{x + 4}{x + 2}. \] Show that \( f \) is one-one and onto.

Solution: Step 1: Check One-One (Injective). Let \( x_1, x_2 \in A \) such that \( f(x_1) = f(x_2) \). Then: \[ \frac{x_1 + 4}{x_1 + 2} = \frac{x_2 + 4}{x_2 + 2} \] Cross-multiplying: \[ (x_1 + 4)(x_2 + 2) = (x_2 + 4)(x_1 + 2) \] Expanding the left side: \[ x_1 x_2 + 2x_1 + 4x_2 + 8 \] Expanding the right side: \[ x_1 x_2 + 2x_2 + 4x_1 + 8 \] Subtracting the right side from the left side: \[ 2x_1 + 4x_2 - 2x_2 - 4x_1 = 0 \] Simplifying: \[ -2x_1 + 2x_2 = 0 \] Therefore \( x_1 = x_2 \). Hence \( f \) is one-one. Step 2: Check Onto (Surjective). Let \( y \in B = \mathbb{R} - \{1\} \). We need to find \( x \in A \) such that \( f(x) = y \). Setting \( f(x) = y \): \[ \frac{x + 4}{x + 2} = y \] So \( x + 4 = y(x + 2) \), which gives: \[ x + 4 = yx + 2y \] Rearranging: \[ x - yx = 2y - 4 \] Factoring: \[ x(1 - y) = 2y - 4 \] Since \( y \ne 1 \), we can divide: \[ x = \frac{2y - 4}{1 - y} \] Now check that this \( x \in A \), i.e., \( x \ne -2 \). Suppose \( x = -2 \), then: \[ \frac{2y - 4}{1 - y} = -2 \] So \( 2y - 4 = -2(1 - y) = -2 + 2y \), which gives \( -4 = -2 \), a contradiction. Hence \( x \ne -2 \), so \( x \in A \) for every \( y \in B \). Therefore \( f \) is onto. Conclusion: \( f \) is both one-one and onto, hence it is a bijection.

Answer: f is both one-one (injective) and onto (surjective), hence bijective.

🎯 Try a Similar Question

Try a Similar Question

Question: Let \( A = \mathbb{R} - \{5\} \) and \( B = \mathbb{R} - \{2\} \). A function \( f : A \to B \) is defined by \( f(x) = \dfrac{2x - 3}{x - 5} \). Determine whether \( f \) is one-one and onto. Justify your answer.

Solution

  1. Step 1: Check One-One (Injectivity): Assume \( f(x_1) = f(x_2) \) for \( x_1, x_2 \in A \). Then: \[ \frac{2x_1 - 3}{x_1 - 5} = \frac{2x_2 - 3}{x_2 - 5} \] Cross-multiplying: \[ (2x_1 - 3)(x_2 - 5) = (2x_2 - 3)(x_1 - 5) \] Expanding the left side: \[ 2x_1 x_2 - 10x_1 - 3x_2 + 15 \] Expanding the right side: \[ 2x_1 x_2 - 10x_2 - 3x_1 + 15 \] Subtracting the right side from the left: \[ -10x_1 - 3x_2 + 3x_1 + 10x_2 = 0 \] which simplifies to \[ -7x_1 + 7x_2 = 0 \] and therefore \( 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 (Surjectivity): Let \( y \in B = \mathbb{R} - \{2\} \). We need to find \( x \in A \) such that \( f(x) = y \). Set \[ \frac{2x - 3}{x - 5} = y \] Then \[ 2x - 3 = y(x - 5) \] which gives \[ 2x - 3 = yx - 5y \] Rearranging: \[ 2x - yx = 3 - 5y \] Factoring: \[ x(2 - y) = 3 - 5y \] So \[ x = \frac{3 - 5y}{2 - y} \] Since \( y \ne 2 \), the denominator \( 2 - y \ne 0 \), so \( x \) is well-defined.
  3. Step 3: Verify x lies in the domain A: We must check that \( x \ne 5 \). Suppose \( x = 5 \), then \[ \frac{3 - 5y}{2 - y} = 5 \] which gives \[ 3 - 5y = 10 - 5y \] and so \[ 3 = 10 \], a contradiction. Hence \( x \ne 5 \) for any \( y \in B \), meaning \( x \in A \) for every \( y \in B \). Therefore \( f \) is onto.
  4. Step 4: Conclusion: Since \( f \) is both one-one and onto, it is a bijective function from \( A = \mathbb{R} - \{5\} \) to \( B = \mathbb{R} - \{2\} \). Note that the value \( y = 2 \) is excluded from \( B \) because as \( x \to \infty \), \( f(x) \to 2 \) but \( f(x) = 2 \) would require \( 2x - 3 = 2(x - 5) \Rightarrow -3 = -10 \), which is impossible.

Answer: The function \( f(x) = \dfrac{2x - 3}{x - 5} \) is both one-one and onto, hence it is a bijective function from \( A = \mathbb{R} - \{5\} \) to \( B = \mathbb{R} - \{2\} \). The pre-image of any \( y \in B \) is given by \( x = \dfrac{3 - 5y}{2 - y} \in A \).

Everything you get with Solver7

More questions in Relations and Functions