Optimal. Leaf size=59 \[ \frac {8 \left (\sqrt {a+x^2}+x\right )^{n+3} \, _2F_1\left (3,\frac {n+3}{2};\frac {n+5}{2};-\frac {\left (x+\sqrt {x^2+a}\right )^2}{a}\right )}{a^3 (n+3)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2122, 364} \[ \frac {8 \left (\sqrt {a+x^2}+x\right )^{n+3} \, _2F_1\left (3,\frac {n+3}{2};\frac {n+5}{2};-\frac {\left (x+\sqrt {x^2+a}\right )^2}{a}\right )}{a^3 (n+3)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 2122
Rubi steps
\begin {align*} \int \frac {\left (x+\sqrt {a+x^2}\right )^n}{\left (a+x^2\right )^2} \, dx &=8 \operatorname {Subst}\left (\int \frac {x^{2+n}}{\left (a+x^2\right )^3} \, dx,x,x+\sqrt {a+x^2}\right )\\ &=\frac {8 \left (x+\sqrt {a+x^2}\right )^{3+n} \, _2F_1\left (3,\frac {3+n}{2};\frac {5+n}{2};-\frac {\left (x+\sqrt {a+x^2}\right )^2}{a}\right )}{a^3 (3+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 61, normalized size = 1.03 \[ \frac {8 \left (\sqrt {a+x^2}+x\right )^{n+3} \, _2F_1\left (3,\frac {n+3}{2};\frac {n+3}{2}+1;-\frac {\left (x+\sqrt {x^2+a}\right )^2}{a}\right )}{a^3 (n+3)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.50, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (x + \sqrt {x^{2} + a}\right )}^{n}}{x^{4} + 2 \, a x^{2} + a^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (x + \sqrt {x^{2} + a}\right )}^{n}}{{\left (x^{2} + a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.05, size = 0, normalized size = 0.00 \[ \int \frac {\left (x +\sqrt {x^{2}+a}\right )^{n}}{\left (x^{2}+a \right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (x + \sqrt {x^{2} + a}\right )}^{n}}{{\left (x^{2} + a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\left (x+\sqrt {x^2+a}\right )}^n}{{\left (x^2+a\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (x + \sqrt {a + x^{2}}\right )^{n}}{\left (a + x^{2}\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________