Optimal. Leaf size=21 \[ \frac{1}{2} \sqrt{x^2+1} x+\frac{1}{2} \sinh ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0026484, antiderivative size = 21, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 9, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {195, 215} \[ \frac{1}{2} \sqrt{x^2+1} x+\frac{1}{2} \sinh ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 215
Rubi steps
\begin{align*} \int \sqrt{1+x^2} \, dx &=\frac{1}{2} x \sqrt{1+x^2}+\frac{1}{2} \int \frac{1}{\sqrt{1+x^2}} \, dx\\ &=\frac{1}{2} x \sqrt{1+x^2}+\frac{1}{2} \sinh ^{-1}(x)\\ \end{align*}
Mathematica [A] time = 0.0042448, size = 18, normalized size = 0.86 \[ \frac{1}{2} \left (\sqrt{x^2+1} x+\sinh ^{-1}(x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 16, normalized size = 0.8 \begin{align*}{\frac{{\it Arcsinh} \left ( x \right ) }{2}}+{\frac{x}{2}\sqrt{{x}^{2}+1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.39671, size = 20, normalized size = 0.95 \begin{align*} \frac{1}{2} \, \sqrt{x^{2} + 1} x + \frac{1}{2} \, \operatorname{arsinh}\left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.99301, size = 69, normalized size = 3.29 \begin{align*} \frac{1}{2} \, \sqrt{x^{2} + 1} x - \frac{1}{2} \, \log \left (-x + \sqrt{x^{2} + 1}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.176005, size = 15, normalized size = 0.71 \begin{align*} \frac{x \sqrt{x^{2} + 1}}{2} + \frac{\operatorname{asinh}{\left (x \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.05435, size = 34, normalized size = 1.62 \begin{align*} \frac{1}{2} \, \sqrt{x^{2} + 1} x - \frac{1}{2} \, \log \left (-x + \sqrt{x^{2} + 1}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]