Q79 / 155 · WBJEE 2024 · Mathematics
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be a function defined by $f(x)=\frac{e^{|x|}-e^{-x}}{e^x+e^{-x}}$, then
- Af is both one-one and onto
- Bf is one-one but not onto
- Cf is onto but not one-one
- Correct answerDf is neither one-one nor onto
Solution
Hint: $f: \mathbb{R} \rightarrow \mathbb{R}, f(x)=\frac{e^{|x|}-e^{-x}}{e^x+e^{-x}}$
Case I: If $x \geq 0$
$f(x)=\frac{e^x-e^{-x}}{e^x+e^{-x}}=1-\frac{2 e^{-x}}{e^x+e^{-x}}=1-\frac{2}{e^{2 x}+1}\gt-1$
Case II: $x \lt 0$
$f(x)=\frac{e^{-x}-e^{-x}}{e^x+e^{-x}}=0$
Hence, the correct answer is option: 'D'.