Optimal. Leaf size=122 \[ -\frac{2 f^2 \left (f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}+d+e x\right )^{n+1} \, _2F_1\left (1,\frac{n+1}{2};\frac{n+3}{2};\frac{\left (d+e x+f \sqrt{\frac{e^2 x^2}{f^2}+\frac{2 d e x}{f^2}+a}\right )^2}{d^2-a f^2}\right )}{e (n+1) \left (d^2-a f^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.292669, antiderivative size = 122, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 56, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.036, Rules used = {2121, 364} \[ -\frac{2 f^2 \left (f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}+d+e x\right )^{n+1} \, _2F_1\left (1,\frac{n+1}{2};\frac{n+3}{2};\frac{\left (d+e x+f \sqrt{\frac{e^2 x^2}{f^2}+\frac{2 d e x}{f^2}+a}\right )^2}{d^2-a f^2}\right )}{e (n+1) \left (d^2-a f^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2121
Rule 364
Rubi steps
\begin{align*} \int \frac{\left (d+e x+f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}\right )^n}{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}} \, dx &=\left (2 f^2\right ) \operatorname{Subst}\left (\int \frac{x^n}{d^2 e-\left (-a e+\frac{2 d^2 e}{f^2}\right ) f^2+e x^2} \, dx,x,d+e x+f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}\right )\\ &=-\frac{2 f^2 \left (d+e x+f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}\right )^{1+n} \, _2F_1\left (1,\frac{1+n}{2};\frac{3+n}{2};\frac{\left (d+e x+f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}\right )^2}{d^2-a f^2}\right )}{e \left (d^2-a f^2\right ) (1+n)}\\ \end{align*}
Mathematica [A] time = 0.14492, size = 112, normalized size = 0.92 \[ -\frac{2 f^2 \left (f \sqrt{a+\frac{e x (2 d+e x)}{f^2}}+d+e x\right )^{n+1} \, _2F_1\left (1,\frac{n+1}{2};\frac{n+3}{2};\frac{\left (d+e x+f \sqrt{a+\frac{e x (2 d+e x)}{f^2}}\right )^2}{d^2-a f^2}\right )}{e (n+1) \left (d^2-a f^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.105, size = 0, normalized size = 0. \begin{align*} \int{ \left ( d+ex+f\sqrt{a+2\,{\frac{dex}{{f}^{2}}}+{\frac{{e}^{2}{x}^{2}}{{f}^{2}}}} \right ) ^{n} \left ( a+2\,{\frac{dex}{{f}^{2}}}+{\frac{{e}^{2}{x}^{2}}{{f}^{2}}} \right ) ^{-1}}\, 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 (e x + \sqrt{\frac{e^{2} x^{2}}{f^{2}} + a + \frac{2 \, d e x}{f^{2}}} f + d\right )}^{n}}{\frac{e^{2} x^{2}}{f^{2}} + a + \frac{2 \, d e x}{f^{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (e x + f \sqrt{\frac{e^{2} x^{2} + a f^{2} + 2 \, d e x}{f^{2}}} + d\right )}^{n} f^{2}}{e^{2} x^{2} + a f^{2} + 2 \, d e x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \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 (e x + \sqrt{\frac{e^{2} x^{2}}{f^{2}} + a + \frac{2 \, d e x}{f^{2}}} f + d\right )}^{n}}{\frac{e^{2} x^{2}}{f^{2}} + a + \frac{2 \, d e x}{f^{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]