The function is $$f(x)=\begin {cases} \log (x+1) & x\ge 0 \\ -\log(x+1) & x <0 \end {cases}$$
So $$f’(x)=\begin{cases} \frac{1}{x+1} & x\ge 0 \\ \frac{-1}{x+1} & x<0 \end {cases}$$
Now $f’(0) = 1 > 0$, so it should be strictly increasing
From the graph, it’s clear that the function is non monotonous at $x=0$. I also know that I am making a very trivial error, but I am confused about the cases when $x=0$
I am aware that the function is non differentiable at $x=0$, but discontinuous points are accepted when defining monotonicity
I have a very conceptual problem regarding this, so I chose a simple example.
If $f’(0)$ simply does not exist, then why do we consider discontinuous points?