Optimal. Leaf size=122 \[ -\frac {8 f^4 \left (f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}+d+e x\right )^{n+3} \, _2F_1\left (3,\frac {n+3}{2};\frac {n+5}{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+3) \left (d^2-a f^2\right )^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.27, antiderivative size = 122, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 56, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.054, Rules used = {2121, 12, 364} \[ -\frac {8 f^4 \left (f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}+d+e x\right )^{n+3} \, _2F_1\left (3,\frac {n+3}{2};\frac {n+5}{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+3) \left (d^2-a f^2\right )^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 364
Rule 2121
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}{\left (a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}\right )^2} \, dx &=\left (2 f^4\right ) \operatorname {Subst}\left (\int \frac {4 e^2 x^{2+n}}{\left (d^2 e-\left (-a e+\frac {2 d^2 e}{f^2}\right ) f^2+e x^2\right )^3} \, dx,x,d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )\\ &=\left (8 e^2 f^4\right ) \operatorname {Subst}\left (\int \frac {x^{2+n}}{\left (d^2 e-\left (-a e+\frac {2 d^2 e}{f^2}\right ) f^2+e x^2\right )^3} \, dx,x,d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )\\ &=-\frac {8 f^4 \left (d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )^{3+n} \, _2F_1\left (3,\frac {3+n}{2};\frac {5+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 )^3 (3+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.19, size = 112, normalized size = 0.92 \[ -\frac {8 f^4 \left (f \sqrt {a+\frac {e x (2 d+e x)}{f^2}}+d+e x\right )^{n+3} \, _2F_1\left (3,\frac {n+3}{2};\frac {n+5}{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+3) \left (d^2-a f^2\right )^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.47, size = 0, normalized size = 0.00 \[ {\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^{4}}{e^{4} x^{4} + 4 \, d e^{3} x^{3} + a^{2} f^{4} + 4 \, a d e f^{2} x + 2 \, {\left (a e^{2} f^{2} + 2 \, d^{2} e^{2}\right )} x^{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 (e x + \sqrt {\frac {e^{2} x^{2}}{f^{2}} + a + \frac {2 \, d e x}{f^{2}}} f + d\right )}^{n}}{{\left (\frac {e^{2} x^{2}}{f^{2}} + a + \frac {2 \, d e x}{f^{2}}\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.11, size = 0, normalized size = 0.00 \[ \int \frac {\left (e x +d +\sqrt {\frac {e^{2} x^{2}}{f^{2}}+a +\frac {2 d e x}{f^{2}}}\, f \right )^{n}}{\left (\frac {e^{2} x^{2}}{f^{2}}+a +\frac {2 d e x}{f^{2}}\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 (e x + \sqrt {\frac {e^{2} x^{2}}{f^{2}} + a + \frac {2 \, d e x}{f^{2}}} f + d\right )}^{n}}{{\left (\frac {e^{2} x^{2}}{f^{2}} + a + \frac {2 \, d e x}{f^{2}}\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.01 \[ \int \frac {{\left (d+f\,\sqrt {a+\frac {e^2\,x^2}{f^2}+\frac {2\,d\,e\,x}{f^2}}+e\,x\right )}^n}{{\left (a+\frac {e^2\,x^2}{f^2}+\frac {2\,d\,e\,x}{f^2}\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________