Optimal. Leaf size=269 \[ -\frac {4 \left (d^2 e-b d f^2+a e f^2\right )}{\left (2 d e-b f^2\right )^2 \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}-\frac {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 )^2 \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 {3 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 )}{\sqrt {2} \sqrt {e} \left (2 d e-b f^2\right )^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.28, antiderivative size = 269, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2141, 911,
1273, 464, 214} \begin {gather*} -\frac {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 )^2 \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 {3 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 )}{\sqrt {2} \sqrt {e} \left (2 d e-b f^2\right )^{5/2}}-\frac {4 \left (a e f^2-b d f^2+d^2 e\right )}{\left (2 d e-b f^2\right )^2 \sqrt {f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}+d+e x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 214
Rule 464
Rule 911
Rule 1273
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 )^{3/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^{3/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^2 \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 {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 )^2 \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 ) \left (d^2 e-b d f^2+a e f^2\right )-2 e^2 \left (8 d^2 e^2-8 b d e f^2-4 a e^2 f^2+3 b^2 f^4\right ) x^2}{x^2 \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 )^2}\\ &=-\frac {4 \left (d^2 e-b d f^2+a e f^2\right )}{\left (2 d e-b f^2\right )^2 \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}-\frac {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 )^2 \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 (3 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 )^2}\\ &=-\frac {4 \left (d^2 e-b d f^2+a e f^2\right )}{\left (2 d e-b f^2\right )^2 \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}-\frac {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 )^2 \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 {3 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 )}{\sqrt {2} \sqrt {e} \left (2 d e-b f^2\right )^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 2.57, size = 395, normalized size = 1.47 \begin {gather*} \frac {b^2 f^4 \left (5 d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )-4 b e f^2 \left (d^2+a f^2-2 d \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )\right )-4 e^2 \left (2 d^2 \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+a f^2 \left (d+3 e x+3 f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )\right )}{\left (-2 d e+b f^2\right )^2 \sqrt {d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}} \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 {6 \sqrt {2} a e^{3/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 )^{5/2}}+\frac {3 b^2 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 )}{\sqrt {2} \sqrt {e} \left (-2 d e+b f^2\right )^{5/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 {3}{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. 593 vs.
\(2 (242) = 484\).
time = 0.65, size = 1312, normalized size = 4.88 \begin {gather*} \left [\frac {3 \, {\left (b^{3} f^{6} x + a b^{2} f^{6} - 2 \, b^{2} d f^{4} x e - b^{2} d^{2} f^{4} + 8 \, a d f^{2} x e^{3} - 4 \, {\left (a b f^{4} x + a^{2} f^{4} - a d^{2} f^{2}\right )} e^{2}\right )} \sqrt {-2 \, b f^{2} e + 4 \, d e^{2}} \log \left (b^{2} f^{4} - 4 \, b d f^{2} e - 8 \, d x e^{3} + 4 \, {\left (b f^{2} x + a f^{2}\right )} e^{2} + 2 \, {\left (2 \, \sqrt {-2 \, b f^{2} e + 4 \, d e^{2}} f \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}} e - \sqrt {-2 \, b f^{2} e + 4 \, d e^{2}} {\left (b f^{2} + 2 \, x e^{2}\right )}\right )} \sqrt {x e + f \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}} + d} - 4 \, {\left (b f^{3} e - 2 \, d f e^{2}\right )} \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}}\right ) + 4 \, {\left (8 \, d^{2} x^{2} e^{5} - 4 \, {\left (2 \, b d f^{2} x^{2} + {\left (3 \, a d f^{2} + d^{3}\right )} x\right )} e^{4} + 2 \, {\left (b^{2} f^{4} x^{2} - 4 \, a d^{2} f^{2} - 4 \, d^{4} + {\left (3 \, a b f^{4} + 7 \, b d^{2} f^{2}\right )} x\right )} e^{3} - 2 \, {\left (4 \, b^{2} d f^{4} x - a b d f^{4} - 7 \, b d^{3} f^{2}\right )} e^{2} + {\left (b^{3} f^{6} x + a b^{2} f^{6} - 5 \, b^{2} d^{2} f^{4}\right )} e + 2 \, {\left (2 \, b^{2} d f^{5} e - 4 \, d^{2} f x e^{4} + 2 \, {\left (2 \, b d f^{3} x + 3 \, a d f^{3} + d^{3} f\right )} e^{3} - {\left (b^{2} f^{5} x + 3 \, a b f^{5} + 5 \, b d^{2} f^{3}\right )} e^{2}\right )} \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}}\right )} \sqrt {x e + f \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}} + d}}{4 \, {\left (16 \, d^{4} x e^{5} - 8 \, {\left (4 \, b d^{3} f^{2} x + a d^{3} f^{2} - d^{5}\right )} e^{4} + 12 \, {\left (2 \, b^{2} d^{2} f^{4} x + a b d^{2} f^{4} - b d^{4} f^{2}\right )} e^{3} - 2 \, {\left (4 \, b^{3} d f^{6} x + 3 \, a b^{2} d f^{6} - 3 \, b^{2} d^{3} f^{4}\right )} e^{2} + {\left (b^{4} f^{8} x + a b^{3} f^{8} - b^{3} d^{2} f^{6}\right )} e\right )}}, -\frac {3 \, {\left (b^{3} f^{6} x + a b^{2} f^{6} - 2 \, b^{2} d f^{4} x e - b^{2} d^{2} f^{4} + 8 \, a d f^{2} x e^{3} - 4 \, {\left (a b f^{4} x + a^{2} f^{4} - a d^{2} f^{2}\right )} e^{2}\right )} \sqrt {2 \, b f^{2} e - 4 \, d e^{2}} \arctan \left (-\frac {\sqrt {2 \, b f^{2} e - 4 \, d e^{2}} \sqrt {x e + f \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}} + d}}{b f^{2} - 2 \, d e}\right ) - 2 \, {\left (8 \, d^{2} x^{2} e^{5} - 4 \, {\left (2 \, b d f^{2} x^{2} + {\left (3 \, a d f^{2} + d^{3}\right )} x\right )} e^{4} + 2 \, {\left (b^{2} f^{4} x^{2} - 4 \, a d^{2} f^{2} - 4 \, d^{4} + {\left (3 \, a b f^{4} + 7 \, b d^{2} f^{2}\right )} x\right )} e^{3} - 2 \, {\left (4 \, b^{2} d f^{4} x - a b d f^{4} - 7 \, b d^{3} f^{2}\right )} e^{2} + {\left (b^{3} f^{6} x + a b^{2} f^{6} - 5 \, b^{2} d^{2} f^{4}\right )} e + 2 \, {\left (2 \, b^{2} d f^{5} e - 4 \, d^{2} f x e^{4} + 2 \, {\left (2 \, b d f^{3} x + 3 \, a d f^{3} + d^{3} f\right )} e^{3} - {\left (b^{2} f^{5} x + 3 \, a b f^{5} + 5 \, b d^{2} f^{3}\right )} e^{2}\right )} \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}}\right )} \sqrt {x e + f \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}} + d}}{2 \, {\left (16 \, d^{4} x e^{5} - 8 \, {\left (4 \, b d^{3} f^{2} x + a d^{3} f^{2} - d^{5}\right )} e^{4} + 12 \, {\left (2 \, b^{2} d^{2} f^{4} x + a b d^{2} f^{4} - b d^{4} f^{2}\right )} e^{3} - 2 \, {\left (4 \, b^{3} d f^{6} x + 3 \, a b^{2} d f^{6} - 3 \, b^{2} d^{3} f^{4}\right )} e^{2} + {\left (b^{4} f^{8} x + a b^{3} f^{8} - b^{3} d^{2} f^{6}\right )} e\right )}}\right ] \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 {3}{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 )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________