SOLVER7 Study. Nothing Else.
Exercise 1.2 Q10

Let \( A = R – \{3\}\) and \(B = R – \{1\}.\) Consider the function \( f : A → B\) defined by \(f(x)=\left(\dfrac{x-2}{x-3}\right).\) is \(f\) one-one and onto? Justify your answer.

CBSE Class 12 Maths · Relations and Functions

Solution

👶 Simple Explanation

Simple Explanation

Imagine a magic machine that takes a number and gives back a new number. One-one means no two different numbers ever come out the same. Onto means every possible output actually gets produced by some input. The function \( f(x) = \dfrac{x-2}{x-3} \) is like such a machine. It never repeats an output, and every allowed output has an input that creates it, so it is a perfect two-way machine and we can run it backwards to find the inverse.

Answer: Yes, \( f \) is both one-one and onto, so it is a bijection. Its inverse is given by \( f^{-1}(y) = \dfrac{3y - 2}{y - 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 always give different outputs, that is, \( f(x_1) = f(x_2) \) forces \( x_1 = x_2 \). It is called onto (surjective) if every element of the codomain \( B \) is the image of at least some element of the domain \( A \); in other words, for every \( y \in B \) we can find an \( x \in A \) with \( f(x) = y \). Here the domain is \( A = \mathbb{R} - \{3\} \) (so \( x = 3 \) is excluded because it makes the denominator zero) and the codomain is \( B = \mathbb{R} - \{1\} \). We will test injectivity by assuming equal outputs and simplifying, and test surjectivity by solving \( y = f(x) \) for \( x \) and checking that a valid \( x \) exists in \( A \).

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 \) with \( f(x) = y \). Given \( f(x) = \dfrac{x-2}{x-3} \).

Solution

  1. Step 1: To check one-one, take any \( x_1, x_2 \in A \) and assume their images are equal: \[ f(x_1) = f(x_2) \] This gives \[ \frac{x_1 - 2}{x_1 - 3} = \frac{x_2 - 2}{x_2 - 3} \] Our goal is to prove this forces \( x_1 = x_2 \).
  2. Step 2: Cross-multiply to remove the fractions: \[ (x_1 - 2)(x_2 - 3) = (x_2 - 2)(x_1 - 3) \] Expanding both sides: \[ 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 the terms: \[ -3x_1 + 2x_1 = -3x_2 + 2x_2 \] \[ -x_1 = -x_2 \] So \( x_1 = x_2 \). Since equal outputs force equal inputs, \( f \) is one-one.
  4. Step 4: To check onto, take any \( y \in B = \mathbb{R} - \{1\} \) and set \( y = f(x) \): \[ y = \frac{x-2}{x-3} \] We must solve for \( x \) in terms of \( y \) and see whether a valid \( x \in A \) exists.
  5. Step 5: Multiply both sides by \( (x-3) \): \[ y(x-3) = x - 2 \] Expand: \[ xy - 3y = x - 2 \] Collect the \( x \) terms on one side: \[ xy - x = 3y - 2 \] \[ x(y - 1) = 3y - 2 \] So \[ x = \frac{3y - 2}{y - 1} \]
  6. Step 6: This value of \( x \) is defined as long as \( y - 1 \ne 0 \), that is \( y \ne 1 \). But \( y \in B = \mathbb{R} - \{1\} \) already guarantees \( y \ne 1 \), so \( x \) always exists. We must also confirm \( x \ne 3 \) (so that \( x \in A \)). If \( x = 3 \), then \[ \frac{3y - 2}{y - 1} = 3 \Rightarrow 3y - 2 = 3y - 3 \Rightarrow -2 = -3, \] which is impossible. Hence \( x \ne 3 \) always, so \( x \in A \).
  7. Step 7: Since for every \( y \in B \) we found an \( x = \dfrac{3y-2}{y-1} \in A \) whose image is \( y \), the function is onto. As \( f \) is both one-one and onto, it is a bijection (and therefore invertible).

Final Answer

Yes, \( f \) is both one-one and onto, so it is a bijection. Its inverse is given by \( f^{-1}(y) = \dfrac{3y - 2}{y - 1} \).

Common Mistake

A common mistake is to declare the function onto without solving \( y = f(x) \) for \( x \), or forgetting to verify that the obtained \( x \) actually lies in the domain \( A = \mathbb{R} - \{3\} \) and that \( y = 1 \) is correctly excluded from the codomain.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Set up the one-one (injectivity) test: Pick any two elements \( x_1, x_2 \in A \) and suppose their function values are equal, i.e., assume \( f(x_1) = f(x_2) \). Writing this out explicitly: \[ \frac{x_1 - 2}{x_1 - 3} = \frac{x_2 - 2}{x_2 - 3} \] Reason: The standard way to prove a function is one-one is to start by assuming equal outputs and then deduce that the inputs must also be equal.
  2. Step 2: Cross-multiply and expand: Cross-multiplying to clear the denominators gives: \[ (x_1 - 2)(x_2 - 3) = (x_2 - 2)(x_1 - 3) \] Expanding both sides: \[ x_1 x_2 - 3x_1 - 2x_2 + 6 = x_1 x_2 - 3x_2 - 2x_1 + 6 \] Reason: Removing fractions makes the algebraic manipulation straightforward and avoids division errors.
  3. Step 3: Simplify and conclude one-one: Cancel \( x_1 x_2 \) and \( 6 \) from both sides: \[ -3x_1 - 2x_2 = -3x_2 - 2x_1 \] Rearranging by bringing all \( x_1 \) terms to one side and all \( x_2 \) terms to the other: \[ -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.
  4. Step 4: Set up the onto (surjectivity) test: Take an arbitrary \( y \in B = \mathbb{R} - \{1\} \) and set \( f(x) = y \): \[ \frac{x - 2}{x - 3} = y \] Solve for \( x \) by multiplying both sides by \( (x - 3) \): \[ x - 2 = y(x - 3) \] Expanding: \[ x - 2 = yx - 3y \] Reason: To verify surjectivity, we need to show that for every target value \( y \) in the codomain, a valid preimage \( x \) exists in the domain.
  5. Step 5: Solve for x and verify it lies in A: Collecting all \( x \) terms on one side: \[ x - yx = 2 - 3y \] Factoring out \( x \): \[ x(1 - y) = 2 - 3y \] Dividing both sides by \( (1 - y) \), which is non-zero since \( y \ne 1 \): \[ x = \frac{2 - 3y}{1 - y} \] Now check whether \( x = 3 \) is possible: setting \( \dfrac{2 - 3y}{1 - y} = 3 \) gives \( 2 - 3y = 3 - 3y \), i.e., \( 2 = 3 \), a contradiction. So \( x \ne 3 \), meaning \( x \in A \). Reason: We must confirm the preimage does not fall on the excluded point \( x = 3 \), otherwise surjectivity would fail for that \( y \).
  6. Step 6: Verify f(x) = y and write the inverse: Substituting \( x = \dfrac{2 - 3y}{1 - y} \) back into \( f(x) \): \[ f\!\left(\frac{2-3y}{1-y}\right) = \frac{\dfrac{2-3y}{1-y} - 2}{\dfrac{2-3y}{1-y} - 3} \] Simplifying the numerator: \( \dfrac{2 - 3y - 2(1-y)}{1-y} = \dfrac{-y}{1-y} \). Simplifying the denominator: \( \dfrac{2 - 3y - 3(1-y)}{1-y} = \dfrac{-1}{1-y} \). Dividing: \( \dfrac{-y}{1-y} \div \dfrac{-1}{1-y} = y \). This confirms \( f(x) = y \), so \( f \) is onto. Rewriting \( x = \dfrac{2 - 3y}{1 - y} \) equivalently as \( \dfrac{3y - 2}{y - 1} \) gives the inverse: \[ f^{-1}(y) = \frac{3y - 2}{y - 1} \] Reason: Confirming the calculation closes the proof of surjectivity and simultaneously identifies the inverse function.

Final Answer

Yes, \( f \) is both one-one and onto, so it is a bijection. Its inverse is given by \( f^{-1}(y) = \dfrac{3y - 2}{y - 1} \).

Common Mistake

One common mistake: students sometimes forget to verify that the preimage \( x = \dfrac{3y-2}{y-1} \) does not equal 3 (the excluded point of the domain). Skipping this check means the surjectivity argument is incomplete, because if the computed \( x \) were 3, it would not belong to \( A = \mathbb{R} - \{3\} \) and the function would fail to be onto for that value of \( y \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: One-One: Assume \( f(x_1) = f(x_2) \), i.e., \( \dfrac{x_1 - 2}{x_1 - 3} = \dfrac{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 gives \( -x_1 = -x_2 \), so \( x_1 = x_2 \). Hence \( f \) is one-one.
  2. Step 2: Onto: Let \( y \in \mathbb{R} - \{1\} \). 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 by substitution), so \( x \in \mathbb{R} - \{3\} \). Hence \( f \) is onto.
  3. Step 3: Inverse: Since \( f \) is bijective, its inverse is \( f^{-1}(y) = \dfrac{3y-2}{y-1} \).

Answer: Yes, \( f \) is both one-one and onto, so it is a bijection. Its inverse is given by \( f^{-1}(y) = \dfrac{3y - 2}{y - 1} \).

➕ More Examples

More Examples

Example 1

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

Solution: Step 1: Check whether f is one-one. 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 = x_1 x_2 - 5x_2 - 3x_1 + 15 \] Simplifying (cancelling \( x_1 x_2 \) and \( 15 \) from both sides): \[ -5x_1 - 3x_2 = -5x_2 - 3x_1 \] Rearranging: \[ -5x_1 + 3x_1 = -5x_2 + 3x_2 \] \[ -2x_1 = -2x_2 \] \[ x_1 = x_2 \] Since \( f(x_1) = f(x_2) \) implies \( x_1 = x_2 \), the function f is one-one. Step 2: Check whether f is onto. Let \( y \in B = \mathbb{R} - \{1\} \). We need to find \( x \in A \) such that \( f(x) = y \). Setting: \[ \frac{x - 3}{x - 5} = y \] Solving for x: \[ x - 3 = y(x - 5) \] \[ x - 3 = yx - 5y \] \[ x - yx = 3 - 5y \] \[ x(1 - y) = 3 - 5y \] \[ x = \frac{3 - 5y}{1 - y} \] Since \( y \ne 1 \), the denominator \( 1 - y \ne 0 \), so x is well-defined. We must verify \( x \ne 5 \): \[ \frac{3 - 5y}{1 - y} = 5 \implies 3 - 5y = 5(1 - y) = 5 - 5y \implies 3 = 5, \] which is a contradiction. Hence \( x \ne 5 \), so \( x \in A \). Therefore, for every \( y \in B \), there exists \( x = \frac{3 - 5y}{1 - y} \in A \) such that \( f(x) = y \). Hence f is onto.

Answer: f is both one-one and onto (i.e., f is a bijection).

Example 2

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

Solution: Step 1: Check whether f is one-one. 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 = x_1 x_2 + 2x_2 + 4x_1 + 8 \] Cancelling \( x_1 x_2 \) and \( 8 \) from both sides: \[ 2x_1 + 4x_2 = 2x_2 + 4x_1 \] Rearranging: \[ 4x_2 - 2x_2 = 4x_1 - 2x_1 \] \[ 2x_2 = 2x_1 \] \[ x_1 = x_2 \] Since \( f(x_1) = f(x_2) \) implies \( x_1 = x_2 \), f is one-one. Step 2: Check whether f is onto. Let \( y \in B = \mathbb{R} - \{1\} \). We seek \( x \in A \) with \( f(x) = y \). Setting: \[ \frac{x + 4}{x + 2} = y \] Solving for x: \[ x + 4 = y(x + 2) \] \[ x + 4 = yx + 2y \] \[ x - yx = 2y - 4 \] \[ x(1 - y) = 2y - 4 \] \[ x = \frac{2y - 4}{1 - y} \] Since \( y \ne 1 \), the denominator \( 1 - y \ne 0 \), so x is well-defined. We verify \( x \ne -2 \): \[ \frac{2y - 4}{1 - y} = -2 \implies 2y - 4 = -2(1 - y) = -2 + 2y \implies -4 = -2, \] which is a contradiction. So \( x \ne -2 \), meaning \( x \in A \). Therefore, for every \( y \in B \), there exists \( x = \frac{2y - 4}{1 - y} \in A \) such that \( f(x) = y \). Hence f is onto.

Answer: f is both one-one and onto (i.e., f is a bijection).

🎯 Try a Similar Question

Try a Similar Question

Question: Let \( A = \mathbb{R} - \{5\} \) and \( B = \mathbb{R} - \{1\} \). Consider the function \( f : A \to B \) defined by \( f(x) = \dfrac{x - 3}{x - 5} \). Determine whether \( f \) is one-one and onto. Justify your answer. If \( f \) is bijective, find \( f^{-1} \).

Solution

  1. Step 1: Verify the function is well-defined: The domain is \( A = \mathbb{R} - \{5\} \), so \( x \ne 5 \) for all \( x \in A \). The denominator \( x - 5 \ne 0 \), so \( f(x) \) is defined for all \( x \in A \). Also, we check that \( f(x) \ne 1 \): if \( f(x) = 1 \), then \( x - 3 = x - 5 \), giving \( -3 = -5 \), a contradiction. So \( f(x) \in B = \mathbb{R} - \{1\} \) for all \( x \in A \).
  2. Step 2: Check one-one (injective): Suppose \( f(x_1) = f(x_2) \) for some \( x_1, x_2 \in A \). 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 gives: \[ -5x_1 - 3x_2 = -5x_2 - 3x_1. \] Rearranging: \[ -5x_1 + 3x_1 = -5x_2 + 3x_2, \] which simplifies to \[ -2x_1 = -2x_2, \] so \( x_1 = x_2 \). Hence \( f \) is one-one.
  3. Step 3: Check onto (surjective): Let \( y \in B \), i.e., \( y \in \mathbb{R} \) with \( y \ne 1 \). We need to find \( x \in A \) such that \( f(x) = y \). Setting \[ \frac{x - 3}{x - 5} = y, \] we get \( x - 3 = y(x - 5) \), so \( x - 3 = yx - 5y \). Rearranging: \( x - yx = 3 - 5y \), giving \( x(1 - y) = 3 - 5y \). Since \( y \ne 1 \), we can divide: \[ x = \frac{3 - 5y}{1 - y}. \] We verify \( x \ne 5 \): if \( x = 5 \), then \( 5(1 - y) = 3 - 5y \), giving \( 5 - 5y = 3 - 5y \), so \( 5 = 3 \), a contradiction. Thus \( x \in A \), and \( f \) is onto.
  4. Step 4: Conclusion — f is bijective: Since \( f \) is both one-one and onto, it is a bijection. Therefore \( f \) is invertible, and from Step 3: \[ f^{-1}(y) = \frac{3 - 5y}{1 - y}. \] We can also write this as \[ f^{-1}(y) = \frac{5y - 3}{y - 1}, \] by multiplying numerator and denominator by \(-1\).

Answer: \( f \) is both one-one and onto, hence a bijection. Its inverse is \( f^{-1}(y) = \dfrac{5y - 3}{y - 1} \).

Everything you get with Solver7

More questions in Relations and Functions