Solveeit Logo

Question

Question: The function $f: R \rightarrow \left[-\frac{1}{2}, \frac{1}{2}\right]$ defined as $f(x) = \frac{x}{1...

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

A

neither injective nor surjective

B

invertible

C

injective but not surjective

D

surjective but not injective

Answer

surjective but not injective

Explanation

Solution

To check if ff is injective (one-one), we assume f(x1)=f(x2)f(x_1) = f(x_2) for x1,x2Rx_1, x_2 \in R and check if this implies x1=x2x_1 = x_2.

f(x1)=f(x2)    x11+x12=x21+x22f(x_1) = f(x_2) \implies \frac{x_1}{1+x_1^2} = \frac{x_2}{1+x_2^2}

x1(1+x22)=x2(1+x12)x_1(1+x_2^2) = x_2(1+x_1^2)

x1+x1x22=x2+x2x12x_1 + x_1 x_2^2 = x_2 + x_2 x_1^2

x1x2=x2x12x1x22x_1 - x_2 = x_2 x_1^2 - x_1 x_2^2

x1x2=x1x2(x1x2)x_1 - x_2 = x_1 x_2 (x_1 - x_2)

(x1x2)x1x2(x1x2)=0(x_1 - x_2) - x_1 x_2 (x_1 - x_2) = 0

(x1x2)(1x1x2)=0(x_1 - x_2)(1 - x_1 x_2) = 0

This equation holds if x1x2=0x_1 - x_2 = 0 (i.e., x1=x2x_1 = x_2) or if 1x1x2=01 - x_1 x_2 = 0 (i.e., x1x2=1x_1 x_2 = 1).

Since f(x1)=f(x2)f(x_1) = f(x_2) can be true even when x1x2x_1 \neq x_2 (for example, if x1x2=1x_1 x_2 = 1 and x1x2x_1 \neq x_2, like x1=2x_1 = 2 and x2=1/2x_2 = 1/2, where f(2)=21+4=25f(2) = \frac{2}{1+4} = \frac{2}{5} and f(1/2)=1/21+1/4=1/25/4=25f(1/2) = \frac{1/2}{1+1/4} = \frac{1/2}{5/4} = \frac{2}{5}), the function is not injective.

To check if ff is surjective (onto), we need to determine if the range of the function is equal to the codomain [12,12]\left[-\frac{1}{2}, \frac{1}{2}\right].

Let yy be in the range of ff. Then there exists xRx \in R such that f(x)=yf(x) = y.

y=x1+x2y = \frac{x}{1+x^2}

y(1+x2)=xy(1+x^2) = x

y+yx2=xy + yx^2 = x

yx2x+y=0yx^2 - x + y = 0

This is a quadratic equation in xx. For xx to be a real number, the discriminant must be non-negative.

The discriminant is Δ=(1)24(y)(y)=14y2\Delta = (-1)^2 - 4(y)(y) = 1 - 4y^2.

For real solutions for xx, we must have Δ0\Delta \ge 0.

14y201 - 4y^2 \ge 0

14y21 \ge 4y^2

y214y^2 \le \frac{1}{4}

Taking the square root of both sides, we get y12|y| \le \frac{1}{2}, which means 12y12-\frac{1}{2} \le y \le \frac{1}{2}.

This shows that the range of the function is [12,12]\left[-\frac{1}{2}, \frac{1}{2}\right].

The codomain of the function is given as [12,12]\left[-\frac{1}{2}, \frac{1}{2}\right].

Since the range of the function is equal to its codomain, the function is surjective.

Thus, the function f(x)=x1+x2f(x) = \frac{x}{1+x^2} is not injective but is surjective.