$\text{Determine the number of real roots of for every case of the constant k, } \ (e^x-1)-k\arctan{x}=0$
How would I go about solving this analytically? What I have so far is that the derivative, $e^x(x^2+1)-k=0$ is greater than zero if and only if $k>0$, then that the second derivative is always positive, hence the stationary point is a minimum, however it hasn't lead me to anything to do with roots. The hint given in the question is to sketch the graph of $y=(e^x-1)-k\arctan{x}$ the cases for important values of k. The cases of k are clearly dependent on the limits and arctan e.g. if k is less than $\frac{2}{\pi}$, then there are no obvious roots. Through desmos, I can see that if k is greater than $\frac{2}{\pi}$, it actually has two roots. This question is intended to be solved analytically, but I cannot figure how I would find this out analytically(without guessing at small values of x).
The number of real roots in
$(e^x-1)-k*\arctan(X)$
I'll suggest you plot a 3D graph of the function, making it
$z = (e^x-1)-y*\arctan(X)$
This means you've taken in account the range of values of $k$ also
Now you can use partial differentiation to differentiate w.r.t both $x$ and $y$ To see their limit, minimum and maximum