[Math] Can the derivative prove the function has only one root

calculusfunctions

I have a function:
$$f(x)=x-\ln(x^2+1)+2$$

I want to prove my function has exactly one root. If I differentiate:
$$f'(x)=1-\frac{2x}{x^2+1}$$ I can see this value is positive for every $x$. Does this prove that my function is strictly increasing? All the theorems I know about the argument apply for a closed interval, so I don't know if my resolution is valid. Should I also prove the function has a positive and a negative part?

Best Answer

If you know the derivative is positive everywhere, then you know the function has at most one root -- for example, you can reason that if it had two different roots, then the mean value theorem says that $f'(x)=0$ for some $x$ between those roots, which you know isn't the case.

Unfortunately, in this case you need a little more finesse than that, because $f'(1)=0$, as André observed. However, the argument still shows that there can't be two roots on the same side of $1$ -- and you can easily calculate that $f(1)>0$, so another application of the MVT shows that there can't be a root greater than $1$.

But you need to argue separately that the function has at least one root. The intermediate value theorem will do that for you if you show that the function has both a positive and a negative value.