Consider the following three statements for the function $ f : (0, \infty) \to \mathbb{R} $ defined by
$ f(x) = |\log_e x| - |x - 1| $:
(I) $ f $ is differentiable at all $ x > 0 $.
(II) $ f $ is increasing in $ (0, 1) $.
(III) $ f $ is decreasing in $ (1, \infty) $.
Then,
🎥 Video solution / Text Solution of this question is given below:
$ f(x) = |\ln x| - |x - 1| $
$ = \begin{cases} \ln x - (x - 1), & x \ge 1 \ -\ln x + (x - 1), & 0 < x < 1 \end{cases} $
$ = \begin{cases} \ln x - x + 1, & x \ge 1 \ -\ln x + x - 1, & 0 < x < 1 \end{cases} $
$ f'(x) = \begin{cases} \frac{1}{x} - 1, & x \ge 1 \ -\frac{1}{x} + 1, & 0 < x < 1 \end{cases} $
$ f'(1^+) = f'(1^-) = 0 \Rightarrow f(x) $ is differentiable $ \forall x > 0 $
$ f'(x) < 0 ; \forall x > 1 $
$ f'(x) < 0 ; \forall 0 < x < 1 $
$ \Rightarrow f(x) $ is decreasing $ \forall x \in (0, \infty) $