RankRizz
JEE MAIN 2017 · 02 APR OFFLINE+4 / −1MEDIUMTRANSCRIBED

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

The function f:R→(−12,12)f : R \to \left(-\frac{1}{2}, \frac{1}{2}\right) defined as f(x)=x1+x2f(x) = \frac{x}{1+x^{2}}, is:

SOLUTION

We are given the real-valued function

f:  R  →  (−12,12),f(x)=x1+x2.f:\; \mathbb R \;\rightarrow\; \left(-\dfrac12,\dfrac12\right), \qquad f(x)=\dfrac{x}{1+x^{2}}.

First we analyse the possible output values (the range) of the function, because this will tell us whether every element of the stated codomain (−12,12)\left(-\dfrac12,\dfrac12\right) is actually attained.

To locate maximum and minimum values we differentiate. For a quotient u(x)v(x)\dfrac{u(x)}{v(x)} the quotient rule says

(uv)′=u′v−u v′v2.\left(\dfrac{u}{v}\right)'=\dfrac{u'v-u\,v'}{v^{2}}.

Here u(x)=xu(x)=x and v(x)=1+x2v(x)=1+x^{2}, so u′(x)=1u'(x)=1 and v′(x)=2xv'(x)=2x. Substituting into the rule gives

f′(x)=1⋅(1+x2)−x⋅2x(1+x2)2=1+x2−2x2(1+x2)2=1−x2(1+x2)2.f'(x)=\dfrac{1\cdot(1+x^{2})-x\cdot 2x}{(1+x^{2})^{2}} =\dfrac{1+x^{2}-2x^{2}}{(1+x^{2})^{2}} =\dfrac{1-x^{2}}{(1+x^{2})^{2}}.

The numerator 1−x2=01-x^{2}=0 when x=±1x=\pm1, so the critical points are x=−1x=-1 and x=1x=1. We evaluate ff there:

f(1)=11+12=12,f(−1)=−11+(−1)2=−12.f(1)=\dfrac{1}{1+1^{2}}=\dfrac12, \qquad f(-1)=\dfrac{-1}{1+(-1)^{2}}=-\dfrac12.

Because the denominator  (1+x2)2>0\,(1+x^{2})^{2}\gt 0 for every real xx, the sign of f′(x)f'(x) is the sign of 1−x21-x^{2}. Thus

{f′(x)>0for ∣x∣<1,f′(x)<0for ∣x∣>1.\begin{cases} f'(x)\gt 0 &\text{for }|x|\lt 1,\\[4pt] f'(x)\lt 0 &\text{for }|x|\gt 1. \end{cases}

So the function increases on (−1,1)(-1,1), decreases on (−∞,−1)(-\infty,-1) and on (1,∞)(1,\infty). The point x=1x=1 therefore gives a global maximum 12\dfrac12, and x=−1x=-1 gives a global minimum −12-\dfrac12. As x→±∞x\rightarrow\pm\infty we have

lim⁡x→±∞x1+x2=lim⁡x→±∞1x+1/x=0,\lim_{x\to\pm\infty}\dfrac{x}{1+x^{2}} =\lim_{x\to\pm\infty}\dfrac{1}{x+1/x} =0,

so the graph approaches the xx-axis from both sides without touching it.

Combining all this information, the set of output values is the open interval

(−12,12).\left(-\dfrac12,\dfrac12\right).

Because the codomain stated in the question is exactly this interval, every element of the codomain appears as an output. Hence the function is surjective (onto).

Next we test whether the function is one-one (injective). A continuous function that first decreases, then increases, and then decreases again cannot be monotonic on the whole of R\mathbb R, so it is very likely not injective. We confirm this by finding two different inputs that give the same output.

Let us choose the value y=25=0.4y=\dfrac25=0.4, which lies strictly between 00 and 12\dfrac12. We solve the equation f(x)=yf(x)=y algebraically.

Starting from y=x1+x2\displaystyle y=\dfrac{x}{1+x^{2}} we cross-multiply:

y(1+x2)=x    ⟹    y+yx2−x=0.y(1+x^{2})=x \;\;\Longrightarrow\;\; y + yx^{2} - x = 0.

This is a quadratic in xx:

y x2−x+y=0.y\,x^{2} - x + y = 0.

For a quadratic ax2+bx+c=0ax^{2}+bx+c=0 the solutions are given by the quadratic formula

x=−b±b2−4ac2a.x=\dfrac{-b\pm\sqrt{b^{2}-4ac}}{2a}.

In our case a=y, b=−1, c=ya=y,\,b=-1,\,c=y, so

x=−(−1)±(−1)2−4y22y=1±1−4y22y.x=\dfrac{-(-1)\pm\sqrt{(-1)^{2}-4y^{2}}}{2y} =\dfrac{1\pm\sqrt{1-4y^{2}}}{2y}.

Because 0<y<120\lt y\lt \dfrac12, the discriminant 1−4y21-4y^{2} is positive, giving two distinct real solutions. Putting our specific choice y=25y=\dfrac25, we get

x1=1−1−162545=1−92545=1−3545=2545=12,x_{1}=\dfrac{1-\sqrt{1-\dfrac{16}{25}}}{\dfrac{4}{5}} =\dfrac{1-\sqrt{\dfrac{9}{25}}}{\dfrac45} =\dfrac{1-\dfrac35}{\dfrac45} =\dfrac{\dfrac25}{\dfrac45} =\dfrac12,

and

x2=1+1−162545=1+3545=8545=2.x_{2}=\dfrac{1+\sqrt{1-\dfrac{16}{25}}}{\dfrac45} =\dfrac{1+\dfrac35}{\dfrac45} =\dfrac{\dfrac85}{\dfrac45} =2.

Thus f ⁣(12)=25=f(2).f\!\left(\dfrac12\right)=\dfrac25=f(2). Two different inputs map to the same output, so the function is not injective.

We have shown that

• ff is surjective onto its codomain (−12,12)\left(-\dfrac12,\dfrac12\right),
• ff is not injective.

Therefore ff is surjective but not injective, which corresponds to Option C.

Hence, the correct answer is Option C.

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