Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It is not difficult to verify that $$ \frac{\mathrm d}{\mathrm dx} \left[ \log\Big(x+\sqrt{x^2+1}\Big) \right] = \frac{1}{\sqrt{1+x^2}} $$ for $x\geq 0$, say.

How would one calculate the indefinite integral $$ \int \frac{1}{\sqrt{1+x^2}} \ \!\mathrm dx$$ without knowing this? I have tried many of the usual tricks, without success.

The title of the question is chosen because Mathematica outputs $\text{Arcsinh}(x)+C$ as the answer.

share|cite|improve this question
You may use Integration by parts – Quixotic Oct 7 '11 at 20:38
up vote 2 down vote accepted

You can do a substitution for $x=\tan\theta$ and $\mathrm dx=\sec^2\theta\,\mathrm d\theta$ to get

$$ \int\frac{\sec^2\theta}{\sqrt{1+\tan^2\theta}}\,\mathrm d\theta. $$

Then use that $1+\tan^2\theta=\sec^2\theta$ to get the integral

$$ \int\sec\theta\,\mathrm d\theta. $$

EDIT: In response to the comment by Sasha: This is one of the standard integrals in a calculus class. I usually just derive it in class and have students memorize it along with the other trigonometric functions. Just multiply top and bottom by $\sec\theta + \tan\theta$ to get

$$ \int \frac{\sec^2\theta + \tan\theta\sec\theta}{\sec\theta+\tan\theta}\mathrm d\theta. $$

Then $u=\sec\theta + \tan\theta$, $\mathrm du=\sec\theta\tan\theta + \sec^2\theta\;\mathrm d\theta.$ The answer is then $\ln|\sec\theta+\tan\theta|+C$. Putting this in terms of $x$ one gets $\ln|\sqrt{1+x^2}+x|+C$.

share|cite|improve this answer
Why is the integral $\int \sec \theta \mathrm{d} \theta$ any easier ? – Sasha Oct 7 '11 at 20:43
You could also finish it off with one of the answers from Ways to evaluate $\int \sec \theta \mathrm{d} \theta$. – Mike Spivey Oct 7 '11 at 20:53
@Mike Spivey: What a neat link. – Joe Johnson 126 Oct 7 '11 at 20:55

One would use Euler's substitution. Also on PlanetMath.

Alternatively, one could use $x = \sinh(t)$, because $1+x^2 = 1+\sinh^2(t) = \cosh^2(t)$, and because $\mathrm{d}x = \sinh^\prime(t) \mathrm{d}t = \cosh(t) \mathrm{d}t$. Therefore, using that $\cosh(t) >0 $ for real $t$:

$$ \int \frac{\mathrm{d} x}{\sqrt{1+x^2}} = \int \frac{\cosh(t)}{\sqrt{\cosh^2(t)}} \mathrm{d} t = \int \mathrm{d} t = t + C $$ Substituting back $\int \frac{\mathrm{d} x}{\sqrt{1+x^2}} = \operatorname{arcsinh}(x) + C$

share|cite|improve this answer
Your answer gives arcsinh($x$), not the function involving the logarithm. I guess after you'd have to further solve $e^z-e^{-z} = 2w$ which ends up being a quadratic in $e^z$ to get the answer I want. – Jim Oct 7 '11 at 21:07
@Jum The answer you want is provided by Euler's substitution. I was explaining how Mathematica arrived at arcsine hyperbolic. – Sasha Oct 7 '11 at 21:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.