Optimal. Leaf size=335 \[ -\frac {4 \left (d^2 e-b d f^2+a e f^2\right )}{3 \left (2 d e-b f^2\right )^2 \left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{3/2}}-\frac {4 f^2 \left (4 a e^2-b^2 f^2\right )}{\left (2 d e-b f^2\right )^3 \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}-\frac {2 e f^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{\left (2 d e-b f^2\right )^3 \left (b f^2+2 e \left (e x+f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}\right )\right )}+\frac {5 \sqrt {2} \sqrt {e} f^2 \left (4 a e^2-b^2 f^2\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{\sqrt {2 d e-b f^2}}\right )}{\left (2 d e-b f^2\right )^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.37, antiderivative size = 335, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2141, 911,
1273, 1275, 214} \begin {gather*} -\frac {4 f^2 \left (4 a e^2-b^2 f^2\right )}{\left (2 d e-b f^2\right )^3 \sqrt {f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}+d+e x}}-\frac {2 e f^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}+d+e x}}{\left (2 d e-b f^2\right )^3 \left (2 e \left (f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}+e x\right )+b f^2\right )}+\frac {5 \sqrt {2} \sqrt {e} f^2 \left (4 a e^2-b^2 f^2\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}+d+e x}}{\sqrt {2 d e-b f^2}}\right )}{\left (2 d e-b f^2\right )^{7/2}}-\frac {4 \left (a e f^2-b d f^2+d^2 e\right )}{3 \left (2 d e-b f^2\right )^2 \left (f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}+d+e x\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 214
Rule 911
Rule 1273
Rule 1275
Rule 2141
Rubi steps
\begin {align*} \int \frac {1}{\left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{5/2}} \, dx &=2 \text {Subst}\left (\int \frac {d^2 e-(b d-a e) f^2-\left (2 d e-b f^2\right ) x+e x^2}{x^{5/2} \left (-2 d e+b f^2+2 e x\right )^2} \, dx,x,d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )\\ &=4 \text {Subst}\left (\int \frac {d^2 e-(b d-a e) f^2+\left (-2 d e+b f^2\right ) x^2+e x^4}{x^4 \left (-2 d e+b f^2+2 e x^2\right )^2} \, dx,x,\sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}\right )\\ &=-\frac {2 e f^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{\left (2 d e-b f^2\right )^3 \left (b f^2+2 e \left (e x+f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}\right )\right )}-\frac {\text {Subst}\left (\int \frac {8 e^2 \left (2 d e-b f^2\right )^2 \left (d^2 e-b d f^2+a e f^2\right )-8 e^2 \left (2 d e-b f^2\right ) \left (2 d^2 e^2-2 b d e f^2-2 a e^2 f^2+b^2 f^4\right ) x^2+4 e^3 f^2 \left (4 a e^2-b^2 f^2\right ) x^4}{x^4 \left (-2 d e+b f^2+2 e x^2\right )} \, dx,x,\sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}\right )}{2 e^2 \left (2 d e-b f^2\right )^3}\\ &=-\frac {2 e f^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{\left (2 d e-b f^2\right )^3 \left (b f^2+2 e \left (e x+f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}\right )\right )}-\frac {\text {Subst}\left (\int \left (-\frac {8 e^2 \left (2 d e-b f^2\right ) \left (d^2 e-b d f^2+a e f^2\right )}{x^4}-\frac {8 \left (4 a e^4 f^2-b^2 e^2 f^4\right )}{x^2}-\frac {20 \left (4 a e^5 f^2-b^2 e^3 f^4\right )}{2 d e-b f^2-2 e x^2}\right ) \, dx,x,\sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}\right )}{2 e^2 \left (2 d e-b f^2\right )^3}\\ &=-\frac {4 \left (d^2 e-b d f^2+a e f^2\right )}{3 \left (2 d e-b f^2\right )^2 \left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{3/2}}-\frac {4 f^2 \left (4 a e^2-b^2 f^2\right )}{\left (2 d e-b f^2\right )^3 \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}-\frac {2 e f^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{\left (2 d e-b f^2\right )^3 \left (b f^2+2 e \left (e x+f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}\right )\right )}+\frac {\left (10 e f^2 \left (4 a e^2-b^2 f^2\right )\right ) \text {Subst}\left (\int \frac {1}{2 d e-b f^2-2 e x^2} \, dx,x,\sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}\right )}{\left (2 d e-b f^2\right )^3}\\ &=-\frac {4 \left (d^2 e-b d f^2+a e f^2\right )}{3 \left (2 d e-b f^2\right )^2 \left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{3/2}}-\frac {4 f^2 \left (4 a e^2-b^2 f^2\right )}{\left (2 d e-b f^2\right )^3 \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}-\frac {2 e f^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{\left (2 d e-b f^2\right )^3 \left (b f^2+2 e \left (e x+f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}\right )\right )}+\frac {5 \sqrt {2} \sqrt {e} f^2 \left (4 a e^2-b^2 f^2\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{\sqrt {2 d e-b f^2}}\right )}{\left (2 d e-b f^2\right )^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 3.64, size = 557, normalized size = 1.66 \begin {gather*} \frac {2 b^3 f^6 \left (4 d+21 e x+6 f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+2 b^2 e f^4 \left (9 d^2+17 a f^2+14 d \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+30 e x \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )\right )-8 b e^2 f^2 \left (d^3+7 a d f^2-3 d^2 \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+5 a f^2 \left (4 e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )\right )-8 e^3 \left (15 a^2 f^4+2 d^3 \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+a f^2 \left (3 d^2+20 d \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+30 e x \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )\right )\right )}{3 \left (2 d e-b f^2\right )^3 \left (d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )^{3/2} \left (b f^2+2 e \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )\right )}+\frac {20 \sqrt {2} a e^{5/2} f^2 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}}}{\sqrt {-2 d e+b f^2}}\right )}{\left (-2 d e+b f^2\right )^{7/2}}-\frac {5 \sqrt {2} b^2 \sqrt {e} f^4 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}}}{\sqrt {-2 d e+b f^2}}\right )}{\left (-2 d e+b f^2\right )^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {1}{\left (d +e x +f \sqrt {a +b x +\frac {e^{2} x^{2}}{f^{2}}}\right )^{\frac {5}{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 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1227 vs.
\(2 (302) = 604\).
time = 1.49, size = 2523, normalized size = 7.53 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (d + e x + f \sqrt {a + b x + \frac {e^{2} x^{2}}{f^{2}}}\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{{\left (d+e\,x+f\,\sqrt {a+b\,x+\frac {e^2\,x^2}{f^2}}\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________