RankRizz
JEE MAIN 2014 · 19 APR ONLINE+4 / −1MEDIUMTRANSCRIBED

JEE Main 2014 Mathematics question — One-one, onto functions and counting functions

Let f:R→Rf : R \to R be defined by f(x)=∣x∣−1∣x∣+1f(x) = \frac{|x|-1}{|x|+1}, then f is:

SOLUTION

We are given a function f:R→Rf : \mathbb{R} \to \mathbb{R} defined by f(x)=∣x∣−1∣x∣+1f(x) = \frac{|x| - 1}{|x| + 1}. We need to determine if this function is one-one (injective), onto (surjective), both, or neither. A function is one-one if different inputs always give different outputs, meaning if f(a)=f(b)f(a) = f(b), then a=ba = b. A function is onto if every element in the codomain is mapped to by some element in the domain, meaning for every real number yy, there exists some xx such that f(x)=yf(x) = y. The codomain here is all real numbers, R\mathbb{R}.

First, we check if the function is one-one. Notice that the expression depends on ∣x∣|x|, which is always non-negative. For any xx, ∣x∣=∣−x∣|x| = |-x|, so let us compute f(−x)f(-x):

f(−x)=∣−x∣−1∣−x∣+1=∣x∣−1∣x∣+1=f(x).f(-x) = \frac{|-x| - 1}{|-x| + 1} = \frac{|x| - 1}{|x| + 1} = f(x).

This shows that f(−x)=f(x)f(-x) = f(x) for all xx. Therefore, for any x≠0x \neq 0, we have f(x)=f(−x)f(x) = f(-x), but xx and −x-x are different if x≠0x \neq 0. For example, let x=1x = 1:

f(1)=∣1∣−1∣1∣+1=1−11+1=02=0.f(1) = \frac{|1| - 1}{|1| + 1} = \frac{1 - 1}{1 + 1} = \frac{0}{2} = 0.

Now, f(−1)=∣−1∣−1∣−1∣+1=1−11+1=02=0f(-1) = \frac{|-1| - 1}{|-1| + 1} = \frac{1 - 1}{1 + 1} = \frac{0}{2} = 0. So f(1)=f(−1)=0f(1) = f(-1) = 0, but 1≠−11 \neq -1. Since two different inputs (11 and −1-1) give the same output (00), the function is not one-one.

Next, we check if the function is onto. To be onto, for every real number yy, there must be some xx such that f(x)=yf(x) = y. Since f(x)f(x) depends only on ∣x∣|x|, we set t=∣x∣≥0t = |x| \geq 0. Then the function becomes:

g(t)=t−1t+1,t≥0.g(t) = \frac{t - 1}{t + 1}, \quad t \geq 0.

We need to find the range of g(t)g(t) as tt varies from 0 to infinity. This range will be the same as the range of f(x)f(x), because for each t≥0t \geq 0, there is at least one xx (for example, x=tx = t or x=−tx = -t) such that ∣x∣=t|x| = t.

Evaluate g(t)g(t) at key points:

  • When t=0t = 0: g(0)=0−10+1=−11=−1g(0) = \frac{0 - 1}{0 + 1} = \frac{-1}{1} = -1.
  • When t=1t = 1: g(1)=1−11+1=02=0g(1) = \frac{1 - 1}{1 + 1} = \frac{0}{2} = 0.
  • As t→∞t \to \infty: g(t)=t−1t+1=1−1t1+1t→1−01+0=1g(t) = \frac{t - 1}{t + 1} = \frac{1 - \frac{1}{t}}{1 + \frac{1}{t}} \to \frac{1 - 0}{1 + 0} = 1.

Now, check if g(t)g(t) can equal 1: set t−1t+1=1\frac{t - 1}{t + 1} = 1. Then t−1=t+1t - 1 = t + 1, which simplifies to −1=1-1 = 1, a contradiction. So g(t)≠1g(t) \neq 1 for any t≥0t \geq 0.

To see how g(t)g(t) behaves, compute its derivative. Let g(t)=t−1t+1g(t) = \frac{t - 1}{t + 1}. Using the quotient rule:

g′(t)=(1)(t+1)−(t−1)(1)(t+1)2=t+1−(t−1)(t+1)2=t+1−t+1(t+1)2=2(t+1)2.g'(t) = \frac{(1)(t + 1) - (t - 1)(1)}{(t + 1)^2} = \frac{t + 1 - (t - 1)}{(t + 1)^2} = \frac{t + 1 - t + 1}{(t + 1)^2} = \frac{2}{(t + 1)^2}.

Since (t+1)2>0(t + 1)^2 > 0 for all t≥0t \geq 0, we have g′(t)>0g'(t) > 0, so g(t)g(t) is strictly increasing for t≥0t \geq 0.

As tt increases from 0 to infinity, g(t)g(t) increases continuously from g(0)=−1g(0) = -1 to the limit 1 (but never reaches 1). Therefore, the range of g(t)g(t) is all real numbers from -1 inclusive to 1 exclusive, denoted as [−1,1)[-1, 1).

Since f(x)f(x) has the same range [−1,1)[-1, 1), we can see that:

  • y=−1y = -1 is achieved when x=0x = 0 (since f(0)=∣0∣−1∣0∣+1=−11=−1f(0) = \frac{|0| - 1}{|0| + 1} = \frac{-1}{1} = -1).
  • Values between -1 and 1 are achieved; for example, for y=0.5y = 0.5, solve t−1t+1=0.5\frac{t - 1}{t + 1} = 0.5: t−1=0.5(t+1)  ⟹  t−1=0.5t+0.5  ⟹  t−0.5t=0.5+1  ⟹  0.5t=1.5  ⟹  t=3.t - 1 = 0.5(t + 1) \implies t - 1 = 0.5t + 0.5 \implies t - 0.5t = 0.5 + 1 \implies 0.5t = 1.5 \implies t = 3. So ∣x∣=3|x| = 3, meaning x=3x = 3 or x=−3x = -3, and f(3)=∣3∣−1∣3∣+1=3−13+1=24=0.5f(3) = \frac{|3| - 1}{|3| + 1} = \frac{3 - 1}{3 + 1} = \frac{2}{4} = 0.5.
  • But y=1y = 1 is not achieved, as shown earlier.

Now, consider values outside [−1,1)[-1, 1). For example, y=2y = 2:

Set f(x)=2f(x) = 2: ∣x∣−1∣x∣+1=2  ⟹  ∣x∣−1=2(∣x∣+1)  ⟹  ∣x∣−1=2∣x∣+2  ⟹  −1−2=2∣x∣−∣x∣  ⟹  −3=∣x∣\frac{|x| - 1}{|x| + 1} = 2 \implies |x| - 1 = 2(|x| + 1) \implies |x| - 1 = 2|x| + 2 \implies -1 - 2 = 2|x| - |x| \implies -3 = |x|. But ∣x∣≥0|x| \geq 0, so ∣x∣=−3|x| = -3 is impossible. Similarly, for y=−2y = -2: ∣x∣−1∣x∣+1=−2  ⟹  ∣x∣−1=−2(∣x∣+1)  ⟹  ∣x∣−1=−2∣x∣−2  ⟹  ∣x∣+2∣x∣=−2+1  ⟹  3∣x∣=−1\frac{|x| - 1}{|x| + 1} = -2 \implies |x| - 1 = -2(|x| + 1) \implies |x| - 1 = -2|x| - 2 \implies |x| + 2|x| = -2 + 1 \implies 3|x| = -1, again impossible.

Thus, the range of ff is [−1,1)[-1, 1), which is a proper subset of the codomain R\mathbb{R}. For instance, y=1y = 1 and y=2y = 2 are in R\mathbb{R} but not in the range. Therefore, ff is not onto.

Since ff is not one-one and not onto, it is neither injective nor surjective.

Hence, the correct answer is Option B.

Tagged One-one, onto functions and counting functions. Machine-assigned, so read it as a strong shortlist rather than a verdict.

ChapterFunctions
TopicOne-one, onto functions and counting functions
TypeMultiple choice