Optimal. Leaf size=17 \[ \frac{\left (\sqrt{b+x^2}+x\right )^a}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0545937, antiderivative size = 17, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {2122, 30} \[ \frac{\left (\sqrt{b+x^2}+x\right )^a}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2122
Rule 30
Rubi steps
\begin{align*} \int \frac{\left (x+\sqrt{b+x^2}\right )^a}{\sqrt{b+x^2}} \, dx &=\operatorname{Subst}\left (\int x^{-1+a} \, dx,x,x+\sqrt{b+x^2}\right )\\ &=\frac{\left (x+\sqrt{b+x^2}\right )^a}{a}\\ \end{align*}
Mathematica [A] time = 0.009478, size = 17, normalized size = 1. \[ \frac{\left (\sqrt{b+x^2}+x\right )^a}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.026, size = 0, normalized size = 0. \begin{align*} \int{ \left ( x+\sqrt{{x}^{2}+b} \right ) ^{a}{\frac{1}{\sqrt{{x}^{2}+b}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (x + \sqrt{x^{2} + b}\right )}^{a}}{\sqrt{x^{2} + b}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.10029, size = 34, normalized size = 2. \begin{align*} \frac{{\left (x + \sqrt{x^{2} + b}\right )}^{a}}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 2.81428, size = 313, normalized size = 18.41 \begin{align*} \begin{cases} - \frac{\sqrt{b} b^{\frac{a}{2}} \sinh{\left (- a \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} + \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} \right )}}{a x \sqrt{\frac{b}{x^{2}} + 1}} + \frac{b^{\frac{a}{2}} x \cosh{\left (- a \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} + \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} \right )}}{a \sqrt{b}} - \frac{b^{\frac{a}{2}} x \sinh{\left (- a \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} + \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} \right )}}{a \sqrt{b} \sqrt{\frac{b}{x^{2}} + 1}} - \frac{2 b^{\frac{a}{2}} \cosh{\left (a \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} \right )} \Gamma \left (1 - \frac{a}{2}\right )}{a^{2} \Gamma \left (- \frac{a}{2}\right )} & \text{for}\: \frac{\left |{x^{2}}\right |}{\left |{b}\right |} > 1 \\- \frac{b^{\frac{a}{2}} \sinh{\left (- a \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} + \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} \right )}}{a \sqrt{1 + \frac{x^{2}}{b}}} - \frac{b^{\frac{a}{2}} x^{2} \sinh{\left (- a \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} + \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} \right )}}{a b \sqrt{1 + \frac{x^{2}}{b}}} + \frac{b^{\frac{a}{2}} x \cosh{\left (- a \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} + \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} \right )}}{a \sqrt{b}} - \frac{2 b^{\frac{a}{2}} \cosh{\left (a \operatorname{asinh}{\left (\frac{x}{\sqrt{b}} \right )} \right )} \Gamma \left (1 - \frac{a}{2}\right )}{a^{2} \Gamma \left (- \frac{a}{2}\right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (x + \sqrt{x^{2} + b}\right )}^{a}}{\sqrt{x^{2} + b}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]