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

Question

The function f:(,)(,1)f:(-\infty, \infty) \rightarrow(-\infty, 1), defined by f(x)=2x2x2x+2xf(x)=\frac{2^x-2^{-x}}{2^x+2^{-x}} is :

Options

Solution

Key Concepts and Formulas

  • One-one (Injective) Function: A function f:ABf: A \rightarrow B is one-one if for any x1,x2Ax_1, x_2 \in A, f(x1)=f(x2)f(x_1) = f(x_2) implies x1=x2x_1 = x_2. Alternatively, if f(x)>0f'(x) > 0 or f(x)<0f'(x) < 0 for all xx in the domain, the function is one-one.
  • Onto (Surjective) Function: A function f:ABf: A \rightarrow B is onto if its range is equal to its codomain. The range is the set of all possible output values of the function.
  • Limits at Infinity: To find the range of a continuous function over an infinite domain, we often evaluate the limits of the function as the variable approaches ±\pm \infty.

Step-by-Step Solution

Step 1: Simplify the function and analyze its domain and codomain.

The given function is f:(,)(,1)f:(-\infty, \infty) \rightarrow(-\infty, 1), defined by f(x)=2x2x2x+2xf(x)=\frac{2^x-2^{-x}}{2^x+2^{-x}}. The domain is (,)(-\infty, \infty) and the codomain is (,1)(-\infty, 1). To simplify, multiply the numerator and denominator by 2x2^x: f(x)=2x2x2x+2x×2x2x=22x122x+1f(x) = \frac{2^x-2^{-x}}{2^x+2^{-x}} \times \frac{2^x}{2^x} = \frac{2^{2x} - 1}{2^{2x} + 1} This simplified form is easier to work with. We can also rewrite it as: f(x)=(22x+1)222x+1=1222x+1f(x) = \frac{(2^{2x} + 1) - 2}{2^{2x} + 1} = 1 - \frac{2}{2^{2x} + 1}

Step 2: Check for Injectivity (One-one).

We will use the derivative test. First, we find the derivative of f(x)f(x) using the simplified form f(x)=1222x+1f(x) = 1 - \frac{2}{2^{2x} + 1}. f(x)=ddx(12(22x+1)1)f'(x) = \frac{d}{dx} \left( 1 - 2(2^{2x} + 1)^{-1} \right) f(x)=02(1)(22x+1)2ddx(22x+1)f'(x) = 0 - 2 \cdot (-1)(2^{2x} + 1)^{-2} \cdot \frac{d}{dx}(2^{2x} + 1) Using the chain rule for 22x2^{2x}: ddx(au(x))=au(x)lnau(x)\frac{d}{dx}(a^{u(x)}) = a^{u(x)} \ln a \cdot u'(x). ddx(22x+1)=22xln2ddx(2x)+0=22xln22=222xln2\frac{d}{dx}(2^{2x} + 1) = 2^{2x} \ln 2 \cdot \frac{d}{dx}(2x) + 0 = 2^{2x} \ln 2 \cdot 2 = 2 \cdot 2^{2x} \ln 2 Substituting this back into the expression for f(x)f'(x): f(x)=2(22x+1)2(222xln2)f'(x) = 2 (2^{2x} + 1)^{-2} \cdot (2 \cdot 2^{2x} \ln 2) f(x)=422xln2(22x+1)2f'(x) = \frac{4 \cdot 2^{2x} \ln 2}{(2^{2x} + 1)^2} Now, let's analyze the sign of f(x)f'(x). For any real number xx, 22x>02^{2x} > 0. Therefore, 4>04 > 0, 22x>02^{2x} > 0, and ln2>0\ln 2 > 0. The denominator (22x+1)2(2^{2x} + 1)^2 is also always positive since 22x+1>12^{2x} + 1 > 1. Thus, f(x)>0f'(x) > 0 for all x(,)x \in (-\infty, \infty). Since the derivative is always positive, the function f(x)f(x) is strictly increasing over its entire domain. A strictly increasing function is always one-one. Therefore, f(x)f(x) is one-one.

Step 3: Check for Surjectivity (Onto).

To determine if f(x)f(x) is onto, we need to find its range and compare it with the codomain (,1)(-\infty, 1). Since f(x)f(x) is strictly increasing, its range will be determined by the limits as xx \to -\infty and xx \to \infty. We use the simplified form f(x)=22x122x+1f(x) = \frac{2^{2x} - 1}{2^{2x} + 1}.

  • Limit as xx \to -\infty: As xx \to -\infty, 2x2x \to -\infty. Let y=2xy = 2x. Then as xx \to -\infty, yy \to -\infty. We need to evaluate limy2y12y+1\lim_{y \to -\infty} \frac{2^y - 1}{2^y + 1}. As yy \to -\infty, 2y02^y \to 0. So, limxf(x)=010+1=11=1\lim_{x \to -\infty} f(x) = \frac{0 - 1}{0 + 1} = \frac{-1}{1} = -1.

  • Limit as xx \to \infty: As xx \to \infty, 2x2x \to \infty. Let y=2xy = 2x. Then as xx \to \infty, yy \to \infty. We need to evaluate limy2y12y+1\lim_{y \to \infty} \frac{2^y - 1}{2^y + 1}. To evaluate this, we can divide the numerator and denominator by 2y2^y: limy12y1+2y\lim_{y \to \infty} \frac{1 - 2^{-y}}{1 + 2^{-y}} As yy \to \infty, 2y02^{-y} \to 0. So, limxf(x)=101+0=11=1\lim_{x \to \infty} f(x) = \frac{1 - 0}{1 + 0} = \frac{1}{1} = 1.

Since f(x)f(x) is strictly increasing, its range is the interval (1,1)(-1, 1). The given codomain is (,1)(-\infty, 1). The range of the function is (1,1)(-1, 1), which is a subset of the codomain (,1)(-\infty, 1), but not equal to it. Specifically, the values in (,1](-\infty, -1] are not included in the range. Therefore, the function f(x)f(x) is not onto.

Common Mistakes & Tips

  • Simplification Errors: Be careful when multiplying by 2x2^x to ensure all terms are handled correctly, especially 2x×2x=20=12^{-x} \times 2^x = 2^0 = 1.
  • Derivative of Exponential Functions: Remember the formula for the derivative of au(x)a^{u(x)} is au(x)lnau(x)a^{u(x)} \ln a \cdot u'(x). For 22x2^{2x}, this is 22xln222^{2x} \ln 2 \cdot 2.
  • Range vs. Codomain: The range must be exactly equal to the codomain for the function to be onto. If the range is a proper subset of the codomain, the function is not onto.

Summary

We analyzed the function f(x)=2x2x2x+2xf(x)=\frac{2^x-2^{-x}}{2^x+2^{-x}} by first simplifying it to f(x)=22x122x+1f(x) = \frac{2^{2x}-1}{2^{2x}+1}. We then used the derivative test to prove that f(x)>0f'(x) > 0 for all xx, establishing that the function is strictly increasing and therefore one-one. To check for surjectivity, we computed the limits of f(x)f(x) as xx \to -\infty and xx \to \infty, which gave us the range (1,1)(-1, 1). Since this range is not equal to the given codomain (,1)(-\infty, 1), the function is not onto. Thus, the function is one-one but not onto.

The final answer is \boxed{A}.

Practice More Sets, Relations & Functions Questions

View All Questions