Optimal. Leaf size=193 \[ -\frac {3 a f^2 \log \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+e x\right )}{2 d^4 e}+\frac {3 a f^2 \log \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )}{2 d^4 e}-\frac {a f^2}{2 d^3 e \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+e x\right )}-\frac {a f^2}{d^3 e \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )}-\frac {\frac {a f^2}{d^2}+1}{4 e \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 193, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {2117, 893} \[ -\frac {a f^2}{2 d^3 e \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+e x\right )}-\frac {a f^2}{d^3 e \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )}-\frac {\frac {a f^2}{d^2}+1}{4 e \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )^2}-\frac {3 a f^2 \log \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+e x\right )}{2 d^4 e}+\frac {3 a f^2 \log \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )}{2 d^4 e} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 893
Rule 2117
Rubi steps
\begin {align*} \int \frac {1}{\left (d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )^3} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {d^2+a f^2-2 d x+x^2}{(d-x)^2 x^3} \, dx,x,d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}{2 e}\\ &=\frac {\operatorname {Subst}\left (\int \left (\frac {a f^2}{d^3 (d-x)^2}+\frac {3 a f^2}{d^4 (d-x)}+\frac {d^2+a f^2}{d^2 x^3}+\frac {2 a f^2}{d^3 x^2}+\frac {3 a f^2}{d^4 x}\right ) \, dx,x,d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}{2 e}\\ &=-\frac {a f^2}{2 d^3 e \left (e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}-\frac {1+\frac {a f^2}{d^2}}{4 e \left (d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )^2}-\frac {a f^2}{d^3 e \left (d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}-\frac {3 a f^2 \log \left (e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}{2 d^4 e}+\frac {3 a f^2 \log \left (d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}{2 d^4 e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.57, size = 180, normalized size = 0.93 \[ \frac {-\frac {3 a f^2 \log \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+e x\right )}{d^4}+\frac {3 a f^2 \log \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )}{d^4}+\frac {a f^2}{d^3 \left (f \left (-\sqrt {a+\frac {e^2 x^2}{f^2}}\right )-e x\right )}-\frac {2 a f^2}{d^3 \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )}-\frac {\frac {a f^2}{d^2}+1}{2 \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )^2}}{2 e} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.78, size = 536, normalized size = 2.78 \[ \frac {5 \, a^{3} f^{6} + 8 \, d^{3} e^{3} x^{3} - 6 \, a^{2} d^{2} f^{4} - 3 \, a d^{4} f^{2} + 2 \, {\left (a d^{2} e^{2} f^{2} + 5 \, d^{4} e^{2}\right )} x^{2} - 2 \, {\left (7 \, a^{2} d e f^{4} + a d^{3} e f^{2} - 2 \, d^{5} e\right )} x + 3 \, {\left (a^{3} f^{6} + 4 \, a d^{2} e^{2} f^{2} x^{2} - 2 \, a^{2} d^{2} f^{4} + a d^{4} f^{2} - 4 \, {\left (a^{2} d e f^{4} - a d^{3} e f^{2}\right )} x\right )} \log \left (-a e f^{2} x + 2 \, d e^{2} x^{2} + a d f^{2} + {\left (a f^{3} - 2 \, d e f x\right )} \sqrt {\frac {e^{2} x^{2} + a f^{2}}{f^{2}}}\right ) + 3 \, {\left (a^{3} f^{6} + 4 \, a d^{2} e^{2} f^{2} x^{2} - 2 \, a^{2} d^{2} f^{4} + a d^{4} f^{2} - 4 \, {\left (a^{2} d e f^{4} - a d^{3} e f^{2}\right )} x\right )} \log \left (-a f^{2} + 2 \, d e x + d^{2}\right ) - 3 \, {\left (a^{3} f^{6} + 4 \, a d^{2} e^{2} f^{2} x^{2} - 2 \, a^{2} d^{2} f^{4} + a d^{4} f^{2} - 4 \, {\left (a^{2} d e f^{4} - a d^{3} e f^{2}\right )} x\right )} \log \left (-e x + f \sqrt {\frac {e^{2} x^{2} + a f^{2}}{f^{2}}} - d\right ) - 2 \, {\left (3 \, a^{2} d f^{5} + 4 \, d^{3} e^{2} f x^{2} - 5 \, a d^{3} f^{3} - 3 \, {\left (3 \, a d^{2} e f^{3} - d^{4} e f\right )} x\right )} \sqrt {\frac {e^{2} x^{2} + a f^{2}}{f^{2}}}}{4 \, {\left (a^{2} d^{4} e f^{4} + 4 \, d^{6} e^{3} x^{2} - 2 \, a d^{6} e f^{2} + d^{8} e - 4 \, {\left (a d^{5} e^{2} f^{2} - d^{7} e^{2}\right )} x\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [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]
________________________________________________________________________________________
maple [B] time = 0.05, size = 9721, normalized size = 50.37 \[ \text {output too large to display} \]
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 {1}{{\left (e x + \sqrt {\frac {e^{2} x^{2}}{f^{2}} + a} f + d\right )}^{3}}\,{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 {1}{{\left (d+e\,x+f\,\sqrt {a+\frac {e^2\,x^2}{f^2}}\right )}^3} \,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 {1}{\left (d + e x + f \sqrt {a + \frac {e^{2} x^{2}}{f^{2}}}\right )^{3}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________