How to differentiate $y=\ln(x+\sqrt{1+x^2})$? I'm trying to differentiate the equation below but I fear there must have been an error made. I can't seem to reconcile to the correct answer. The problem comes from James Stewart's Calculus Early Transcendentals, 7th Ed., Page 223, Exercise 25.
Please differentiate $y=\ln(x+\sqrt{1+x^2})$
My Answer:
Differentiate using the natural log rule:
$$y'=\left(\frac{1}{x+(1+x^2)^{1/2}}\right)\cdot\left(x+(1+x^2)^{1/2}\right)'$$
Now to differentiate the second term, note the chain rule applied and then simplification:
$$\left(x+(1+x^2)^{1/2}\right)'=1+\frac{1}{2}\cdot(1+x^2)^{-1/2}\cdot(2x)$$
$$1+\frac{1}{2}\cdot(1+x^2)^{-1/2}\cdot(2x)=1+\frac{x}{(1+x^2)^{1/2}}$$
Our expression is now:
$$y'=\left(\frac{1}{x+(1+x^2)^{1/2}}\right)\cdot\left(1+\frac{x}{(1+x^2)^{1/2}}\right)$$
Distribute the left term across the two right terms for my result:
$$y'=\left(\frac{1}{x+(1+x^2)^{1/2}}\right)+\left(\frac{x}{\left(x+(1+x^2)^{1/2}\right)\left(1+x^2\right)^{1/2}}\right)$$
$$y'=\left(\frac{1}{x+(1+x^2)^{1/2}}\right)+\left(\frac{x}{\left(x(1+x^2)^{1/2}\right)+(1+x^2)^{1}}\right)$$
At this point I can see that if I simplify further by adding the fractions I'll still have too many terms, and it will get awfully messy. The answer per the book (below) has far fewer terms than mine. I'd just like to know where I've gone wrong in my algebra. Thank you for your help. Here's the correct answer:
$$y'=\frac{1}{\sqrt{1+x^2}}$$

Hint: Your function is the hyberbolic arcsin (or the inverse hyperbolic sin). In order to derivate such function one should use the theorem for inverse derivatives. That is $$(f^{-1}(x))'=\frac{1}{f^{'}(f^{-1}(x))}.$$ See the link for more information . https://en.m.wikipedia.org/wiki/Inverse_hyperbolic_function
