Skip to main content
Back to Sets, Relations & Functions
JEE Main 2021
Sets, Relations & Functions
Functions
Medium

Question

Let f : R → R be defined as f (x) = 2x – 1 and g : R - {1} → R be defined as g(x) = x12x1{{x - {1 \over 2}} \over {x - 1}}. Then the composition function f(g(x)) is :

Options

Solution

Key Concepts and Formulas

  • Function Composition: For functions ff and gg, the composition f(g(x))f(g(x)) is found by substituting g(x)g(x) into f(x)f(x). The domain of f(g(x))f(g(x)) is the set of all xx in the domain of gg such that g(x)g(x) is in the domain of ff.
  • One-one (Injective) Function: A function hh is one-one if for any x1,x2x_1, x_2 in its domain, h(x1)=h(x2)h(x_1) = h(x_2) implies x1=x2x_1 = x_2.
  • Onto (Surjective) Function: A function h:ABh: A \to B is onto if its range is equal to its codomain BB.
  • Rational Function Simplification: A rational function of the form h(x)=ax+bcx+dh(x) = \frac{ax+b}{cx+d} can be analyzed by expressing it as h(x)=k+mcx+dh(x) = k + \frac{m}{cx+d}.

Step-by-Step Solution

Step 1: Determine the Composition Function f(g(x))f(g(x))

We are given f(x)=2x1f(x) = 2x - 1 and g(x)=x1/2x1g(x) = \frac{x - 1/2}{x - 1}. The domain of gg is R{1}\mathbb{R} - \{1\}. The domain of ff is R\mathbb{R}. Since the range of gg is a subset of the domain of ff, the composition f(g(x))f(g(x)) is well-defined.

To find f(g(x))f(g(x)), we substitute g(x)g(x) into f(x)f(x): f(g(x))=2(g(x))1f(g(x)) = 2(g(x)) - 1 f(g(x))=2(x1/2x1)1f(g(x)) = 2 \left( \frac{x - 1/2}{x - 1} \right) - 1

First, simplify the term inside the parenthesis: x12=2x12x - \frac{1}{2} = \frac{2x - 1}{2}. f(g(x))=2(2x12x1)1f(g(x)) = 2 \left( \frac{\frac{2x - 1}{2}}{x - 1} \right) - 1 f(g(x))=2(2x12(x1))1f(g(x)) = 2 \left( \frac{2x - 1}{2(x - 1)} \right) - 1

Cancel out the factor of 2: f(g(x))=2x1x11f(g(x)) = \frac{2x - 1}{x - 1} - 1

To combine the terms, find a common denominator: f(g(x))=2x1(x1)x1f(g(x)) = \frac{2x - 1 - (x - 1)}{x - 1} f(g(x))=2x1x+1x1f(g(x)) = \frac{2x - 1 - x + 1}{x - 1} f(g(x))=xx1f(g(x)) = \frac{x}{x - 1}

Let h(x)=f(g(x))h(x) = f(g(x)). The domain of h(x)h(x) is the domain of g(x)g(x), which is R{1}\mathbb{R} - \{1\}. The codomain of h(x)h(x) is the codomain of f(x)f(x), which is R\mathbb{R}. So, we have the function h:R{1}Rh: \mathbb{R} - \{1\} \to \mathbb{R} defined by h(x)=xx1h(x) = \frac{x}{x - 1}.

Step 2: Analyze h(x)h(x) for One-one (Injectivity)

To check if h(x)h(x) is one-one, we assume h(x1)=h(x2)h(x_1) = h(x_2) for x1,x2R{1}x_1, x_2 \in \mathbb{R} - \{1\} and see if it implies x1=x2x_1 = x_2. x1x11=x2x21\frac{x_1}{x_1 - 1} = \frac{x_2}{x_2 - 1}

Cross-multiply: x1(x21)=x2(x11)x_1(x_2 - 1) = x_2(x_1 - 1) x1x2x1=x1x2x2x_1x_2 - x_1 = x_1x_2 - x_2

Subtract x1x2x_1x_2 from both sides: x1=x2-x_1 = -x_2 x1=x2x_1 = x_2 Since h(x1)=h(x2)h(x_1) = h(x_2) implies x1=x2x_1 = x_2, the function h(x)h(x) is one-one.

Step 3: Analyze h(x)h(x) for Onto (Surjectivity)

To check if h(x)h(x) is onto, we need to find its range and compare it with its codomain, which is R\mathbb{R}. Let y=h(x)y = h(x) and solve for xx in terms of yy. y=xx1y = \frac{x}{x - 1} y(x1)=xy(x - 1) = x yxy=xyx - y = x yxx=yyx - x = y x(y1)=yx(y - 1) = y x=yy1x = \frac{y}{y - 1}

For xx to be defined, the denominator cannot be zero, so y10y - 1 \neq 0, which means y1y \neq 1. This implies that the range of h(x)h(x) is R{1}\mathbb{R} - \{1\}. The codomain of h(x)h(x) is R\mathbb{R}. Since the range (R{1}\mathbb{R} - \{1\}) is not equal to the codomain (R\mathbb{R}), the function h(x)h(x) is not onto. Specifically, the value y=1y=1 is not in the range of h(x)h(x).

Common Mistakes & Tips

  • Domain Issues: Always pay close attention to the domain of the composite function. The domain of f(g(x))f(g(x)) is restricted by the domain of g(x)g(x) and the condition that g(x)g(x) must be in the domain of f(x)f(x). In this case, x1x \neq 1 is the primary restriction.
  • Simplification Errors: Algebraic mistakes during the simplification of the composite function can lead to incorrect analysis of its properties. Double-check each step.
  • Range vs. Codomain: For a function to be onto, its range must be exactly equal to its codomain. If the range is a proper subset of the codomain, the function is not onto.

Summary

We first calculated the composite function f(g(x))f(g(x)) by substituting g(x)g(x) into f(x)f(x), which resulted in h(x)=xx1h(x) = \frac{x}{x - 1}. We then analyzed this function for injectivity by showing that h(x1)=h(x2)h(x_1) = h(x_2) implies x1=x2x_1 = x_2, confirming it is one-one. Finally, we determined the range of h(x)h(x) by solving for xx in terms of yy, finding the range to be R{1}\mathbb{R} - \{1\}. Since the range is not equal to the codomain (R\mathbb{R}), the function is not onto. Therefore, f(g(x))f(g(x)) is one-one but not onto.

The final answer is \boxed{A}.

Practice More Sets, Relations & Functions Questions

View All Questions