Skip to content
Miscellaneous Exercise · Q1

Q.Show that the function f:R→{x∈R:−1<x<1}f: \mathbf{R} \to \{x \in \mathbf{R} : -1 < x < 1\} defined by f(x)=x1+∣x∣f(x) = \frac{x}{1+|x|}, x∈Rx \in \mathbf{R} is one one and onto function.

Odisha ChseTextbookSubjective· 3mImportance★★★★★
53% · 55/104 Questions
✓ Free question

The function f(x)=x1+∣x∣f(x) = \frac{x}{1+|x|} is a bijection from R\mathbf{R} to (−1,1)(-1,1). It is strictly increasing (hence one-one) and its range is exactly (−1,1)(-1,1) (hence onto). The key insight: the absolute value in the denominator splits the function into two simple rational pieces, each mapping its half of the real line onto half of the interval.

Why a Bijection Proof Works

To show a function is both one-one (injective) and onto (surjective), we need to prove two things:

  1. One-one: Different inputs give different outputs. For a real function, showing it is strictly increasing (or strictly decreasing) is often the cleanest route — because if a<ba < b implies f(a)<f(b)f(a) < f(b), then f(a)=f(b)f(a) = f(b) can only happen when a=ba = b.

  2. Onto: Every element in the codomain (−1,1)(-1,1) is actually hit by some input. This means we need to show the range of ff is exactly (−1,1)(-1,1).

The function f(x)=x1+∣x∣f(x) = \frac{x}{1+|x|} is cleverly designed: the ∣x∣|x| in the denominator "clamps" the output between −1-1 and 11 without ever reaching them. For positive xx, it becomes x1+x\frac{x}{1+x}; for negative xx, it becomes x1−x\frac{x}{1-x} (since ∣x∣=−x|x| = -x when x<0x<0). Both are simple rational functions that are easy to analyze.

Tip

The split at x=0x=0 is natural: ∣x∣|x| changes behaviour there. Always handle absolute value functions by considering cases x≥0x \ge 0 and x<0x < 0 separately.

Step-by-Step Proof

1. Write the function piecewise.

For x≥0x \ge 0, ∣x∣=x|x| = x, so

f(x)=x1+x.f(x) = \frac{x}{1+x}.

For x<0x < 0, ∣x∣=−x|x| = -x, so

f(x)=x1−x.f(x) = \frac{x}{1 - x}.

Notice that for x<0x<0, the denominator 1−x>11-x > 1, so f(x)f(x) is negative (since numerator is negative, denominator positive).

2. Show ff is one-one (injective).

We'll prove ff is strictly increasing on all of R\mathbf{R}.

Case 1: x≥0x \ge 0.

Consider f(x)=x1+xf(x) = \frac{x}{1+x}. For 0≤a<b0 \le a < b, we have

f(b)−f(a)=b1+b−a1+a=b(1+a)−a(1+b)(1+b)(1+a)=b−a(1+b)(1+a)>0.f(b) - f(a) = \frac{b}{1+b} - \frac{a}{1+a} = \frac{b(1+a) - a(1+b)}{(1+b)(1+a)} = \frac{b - a}{(1+b)(1+a)} > 0.

So ff is strictly increasing on [0,∞)[0, \infty).

Case 2: x<0x < 0.

For a<b<0a < b < 0, write a=−pa = -p, b=−qb = -q with p>q>0p > q > 0 (since a<b<0a<b<0 means −a>−b>0-a>-b>0). Then

f(a)=−p1+p,f(b)=−q1+q.f(a) = \frac{-p}{1+p}, \quad f(b) = \frac{-q}{1+q}.

Since p>qp > q, and t↦t1+tt \mapsto \frac{t}{1+t} is strictly increasing for t>0t>0 (shown in Case 1), we have p1+p>q1+q\frac{p}{1+p} > \frac{q}{1+q}, so −p1+p<−q1+q-\frac{p}{1+p} < -\frac{q}{1+q}, meaning f(a)<f(b)f(a) < f(b). So ff is also strictly increasing on (−∞,0)(-\infty, 0).

At the junction x=0x=0:

For any x<0x<0, f(x)<0=f(0)f(x) < 0 = f(0). For any x>0x>0, f(x)>0=f(0)f(x) > 0 = f(0). So the function is strictly increasing across 00 as well.

Thus ff is strictly increasing on all of R\mathbf{R}, which implies it is one-one.

Watch out

A common mistake: assuming a piecewise function is automatically increasing if each piece is increasing. You must also check the behaviour at the boundary (x=0x=0 here) to ensure no "jump down" occurs. Here f(0)=0f(0)=0 sits between the negative outputs (left) and positive outputs (right), so the function is indeed strictly increasing overall.

3. Show ff is onto (surjective).

We need to prove that for any y∈(−1,1)y \in (-1,1), there exists an x∈Rx \in \mathbf{R} such that f(x)=yf(x) = y.

Case 1: y≥0y \ge 0.

We look for x≥0x \ge 0 such that x1+x=y\frac{x}{1+x} = y. Solve:

x=y(1+x)  ⟹  x=y+yx  ⟹  x−yx=y  ⟹  x(1−y)=y  ⟹  x=y1−y.x = y(1+x) \implies x = y + yx \implies x - yx = y \implies x(1-y) = y \implies x = \frac{y}{1-y}.

Since 0≤y<10 \le y < 1, 1−y>01-y > 0, so x≥0x \ge 0 is valid. Check: f(y1−y)=y/(1−y)1+y/(1−y)=y/(1−y)(1−y+y)/(1−y)=yf\left(\frac{y}{1-y}\right) = \frac{y/(1-y)}{1 + y/(1-y)} = \frac{y/(1-y)}{(1-y+y)/(1-y)} = y. So every y∈[0,1)y \in [0,1) is hit.

Case 2: y<0y < 0.

We look for x<0x < 0 such that x1−x=y\frac{x}{1-x} = y (since ∣x∣=−x|x| = -x for x<0x<0). Solve:

x=y(1−x)  ⟹  x=y−yx  ⟹  x+yx=y  ⟹  x(1+y)=y  ⟹  x=y1+y.x = y(1-x) \implies x = y - yx \implies x + yx = y \implies x(1+y) = y \implies x = \frac{y}{1+y}.

Since −1<y<0-1 < y < 0, 1+y>01+y > 0, so x=y1+yx = \frac{y}{1+y} is negative (numerator negative, denominator positive). Check: f(y1+y)=y/(1+y)1−y/(1+y)=y/(1+y)(1+y−y)/(1+y)=yf\left(\frac{y}{1+y}\right) = \frac{y/(1+y)}{1 - y/(1+y)} = \frac{y/(1+y)}{(1+y - y)/(1+y)} = y. So every y∈(−1,0)y \in (-1,0) is hit.

Together, every y∈(−1,1)y \in (-1,1) is attained: for y≥0y \ge 0 we use x=y1−yx = \frac{y}{1-y}, and for y<0y < 0 we use x=y1+yx = \frac{y}{1+y}.

Tip

Notice the symmetry: the inverse function is also piecewise. For y≥0y \ge 0, f−1(y)=y1−yf^{-1}(y) = \frac{y}{1-y}; for y<0y < 0, f−1(y)=y1+yf^{-1}(y) = \frac{y}{1+y}. This is a neat check that the function is indeed bijective.

4. Conclude.

Since ff is both one-one and onto, it is a bijection from R\mathbf{R} to (−1,1)(-1,1).

✓Final answer

The function f(x)=x1+∣x∣f(x) = \frac{x}{1+|x|} is a bijection from R\mathbf{R} onto (−1,1)(-1,1); it is both one-one (strictly increasing) and onto (every y∈(−1,1)y \in (-1,1) has a preimage).

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.