Optimal. Leaf size=55 \[ -\frac {8 a^2 \left (\frac {1-a x}{a x+1}\right )^{3/2}}{3 \left (1-\frac {1-a x}{a x+1}\right )^3}-\frac {1}{3 a x^3} \]
[Out]
________________________________________________________________________________________
Rubi [C] time = 0.04, antiderivative size = 84, normalized size of antiderivative = 1.53, number of steps used = 5, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6335, 30, 103, 12, 95} \[ \frac {\sqrt {1-a x}}{6 a x^3 \sqrt {\frac {1}{a x+1}}}+\frac {1}{6 a x^3}-\frac {e^{\text {sech}^{-1}(a x)}}{2 x^2}+\frac {a \sqrt {1-a x}}{3 x \sqrt {\frac {1}{a x+1}}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 12
Rule 30
Rule 95
Rule 103
Rule 6335
Rubi steps
\begin {align*} \int \frac {e^{\text {sech}^{-1}(a x)}}{x^3} \, dx &=-\frac {e^{\text {sech}^{-1}(a x)}}{2 x^2}-\frac {\int \frac {1}{x^4} \, dx}{2 a}-\frac {\left (\sqrt {\frac {1}{1+a x}} \sqrt {1+a x}\right ) \int \frac {1}{x^4 \sqrt {1-a x} \sqrt {1+a x}} \, dx}{2 a}\\ &=\frac {1}{6 a x^3}-\frac {e^{\text {sech}^{-1}(a x)}}{2 x^2}+\frac {\sqrt {1-a x}}{6 a x^3 \sqrt {\frac {1}{1+a x}}}+\frac {\left (\sqrt {\frac {1}{1+a x}} \sqrt {1+a x}\right ) \int -\frac {2 a^2}{x^2 \sqrt {1-a x} \sqrt {1+a x}} \, dx}{6 a}\\ &=\frac {1}{6 a x^3}-\frac {e^{\text {sech}^{-1}(a x)}}{2 x^2}+\frac {\sqrt {1-a x}}{6 a x^3 \sqrt {\frac {1}{1+a x}}}-\frac {1}{3} \left (a \sqrt {\frac {1}{1+a x}} \sqrt {1+a x}\right ) \int \frac {1}{x^2 \sqrt {1-a x} \sqrt {1+a x}} \, dx\\ &=\frac {1}{6 a x^3}-\frac {e^{\text {sech}^{-1}(a x)}}{2 x^2}+\frac {\sqrt {1-a x}}{6 a x^3 \sqrt {\frac {1}{1+a x}}}+\frac {a \sqrt {1-a x}}{3 x \sqrt {\frac {1}{1+a x}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 43, normalized size = 0.78 \[ \frac {(a x-1) \sqrt {\frac {1-a x}{a x+1}} (a x+1)^2-1}{3 a x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 52, normalized size = 0.95 \[ \frac {{\left (a^{3} x^{3} - a x\right )} \sqrt {\frac {a x + 1}{a x}} \sqrt {-\frac {a x - 1}{a x}} - 1}{3 \, a x^{3}} \]
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 {\sqrt {\frac {1}{a x} + 1} \sqrt {\frac {1}{a x} - 1} + \frac {1}{a x}}{x^{3}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 53, normalized size = 0.96 \[ \frac {\sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}\, \left (a^{2} x^{2}-1\right )}{3 x^{2}}-\frac {1}{3 x^{3} a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 43, normalized size = 0.78 \[ \frac {{\left (a^{2} x^{3} - x\right )} \sqrt {a x + 1} \sqrt {-a x + 1}}{3 \, a x^{4}} - \frac {1}{3 \, a x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.47, size = 58, normalized size = 1.05 \[ -\frac {1}{3\,a\,x^3}-\frac {\left (\frac {\sqrt {\frac {1}{a\,x}+1}}{3}-\frac {a^2\,x^2\,\sqrt {\frac {1}{a\,x}+1}}{3}\right )\,\sqrt {\frac {1}{a\,x}-1}}{x^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {1}{x^{4}}\, dx + \int \frac {a \sqrt {-1 + \frac {1}{a x}} \sqrt {1 + \frac {1}{a x}}}{x^{3}}\, dx}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________