Optimal. Leaf size=86 \[ \frac {1}{12 a^5 c^3 (1-a x)^3}-\frac {3}{8 a^5 c^3 (1-a x)^2}+\frac {11}{16 a^5 c^3 (1-a x)}-\frac {1}{16 a^5 c^3 (1+a x)}-\frac {\tanh ^{-1}(a x)}{4 a^5 c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 86, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {6285, 90, 213}
\begin {gather*} \frac {11}{16 a^5 c^3 (1-a x)}-\frac {1}{16 a^5 c^3 (a x+1)}-\frac {3}{8 a^5 c^3 (1-a x)^2}+\frac {1}{12 a^5 c^3 (1-a x)^3}-\frac {\tanh ^{-1}(a x)}{4 a^5 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 90
Rule 213
Rule 6285
Rubi steps
\begin {align*} \int \frac {e^{2 \tanh ^{-1}(a x)} x^4}{\left (c-a^2 c x^2\right )^3} \, dx &=\frac {\int \frac {x^4}{(1-a x)^4 (1+a x)^2} \, dx}{c^3}\\ &=\frac {\int \left (\frac {1}{4 a^4 (-1+a x)^4}+\frac {3}{4 a^4 (-1+a x)^3}+\frac {11}{16 a^4 (-1+a x)^2}+\frac {1}{16 a^4 (1+a x)^2}+\frac {1}{4 a^4 \left (-1+a^2 x^2\right )}\right ) \, dx}{c^3}\\ &=\frac {1}{12 a^5 c^3 (1-a x)^3}-\frac {3}{8 a^5 c^3 (1-a x)^2}+\frac {11}{16 a^5 c^3 (1-a x)}-\frac {1}{16 a^5 c^3 (1+a x)}+\frac {\int \frac {1}{-1+a^2 x^2} \, dx}{4 a^4 c^3}\\ &=\frac {1}{12 a^5 c^3 (1-a x)^3}-\frac {3}{8 a^5 c^3 (1-a x)^2}+\frac {11}{16 a^5 c^3 (1-a x)}-\frac {1}{16 a^5 c^3 (1+a x)}-\frac {\tanh ^{-1}(a x)}{4 a^5 c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 64, normalized size = 0.74 \begin {gather*} \frac {-4+5 a x+6 a^2 x^2-9 a^3 x^3-3 (-1+a x)^3 (1+a x) \tanh ^{-1}(a x)}{12 a^5 c^3 (-1+a x)^3 (1+a x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 76, normalized size = 0.88
method | result | size |
default | \(\frac {-\frac {1}{16 a^{5} \left (a x +1\right )}-\frac {\ln \left (a x +1\right )}{8 a^{5}}-\frac {1}{12 a^{5} \left (a x -1\right )^{3}}-\frac {3}{8 a^{5} \left (a x -1\right )^{2}}-\frac {11}{16 a^{5} \left (a x -1\right )}+\frac {\ln \left (a x -1\right )}{8 a^{5}}}{c^{3}}\) | \(76\) |
risch | \(\frac {-\frac {3 x^{3}}{4 a^{2}}+\frac {x^{2}}{2 a^{3}}+\frac {5 x}{12 a^{4}}-\frac {1}{3 a^{5}}}{c^{3} \left (a x -1\right )^{2} \left (a^{2} x^{2}-1\right )}-\frac {\ln \left (a x +1\right )}{8 a^{5} c^{3}}+\frac {\ln \left (-a x +1\right )}{8 a^{5} c^{3}}\) | \(81\) |
norman | \(\frac {-\frac {3 x^{5}}{4 c}-\frac {x}{4 a^{4} c}+\frac {2 x^{3}}{3 a^{2} c}-\frac {a \,x^{6}}{3 c}}{\left (a^{2} x^{2}-1\right )^{3} c^{2}}+\frac {\ln \left (a x -1\right )}{8 a^{5} c^{3}}-\frac {\ln \left (a x +1\right )}{8 a^{5} c^{3}}\) | \(83\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 94, normalized size = 1.09 \begin {gather*} -\frac {9 \, a^{3} x^{3} - 6 \, a^{2} x^{2} - 5 \, a x + 4}{12 \, {\left (a^{9} c^{3} x^{4} - 2 \, a^{8} c^{3} x^{3} + 2 \, a^{6} c^{3} x - a^{5} c^{3}\right )}} - \frac {\log \left (a x + 1\right )}{8 \, a^{5} c^{3}} + \frac {\log \left (a x - 1\right )}{8 \, a^{5} c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 123, normalized size = 1.43 \begin {gather*} -\frac {18 \, a^{3} x^{3} - 12 \, a^{2} x^{2} - 10 \, a x + 3 \, {\left (a^{4} x^{4} - 2 \, a^{3} x^{3} + 2 \, a x - 1\right )} \log \left (a x + 1\right ) - 3 \, {\left (a^{4} x^{4} - 2 \, a^{3} x^{3} + 2 \, a x - 1\right )} \log \left (a x - 1\right ) + 8}{24 \, {\left (a^{9} c^{3} x^{4} - 2 \, a^{8} c^{3} x^{3} + 2 \, a^{6} c^{3} x - a^{5} c^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.27, size = 88, normalized size = 1.02 \begin {gather*} \frac {- 9 a^{3} x^{3} + 6 a^{2} x^{2} + 5 a x - 4}{12 a^{9} c^{3} x^{4} - 24 a^{8} c^{3} x^{3} + 24 a^{6} c^{3} x - 12 a^{5} c^{3}} + \frac {\frac {\log {\left (x - \frac {1}{a} \right )}}{8} - \frac {\log {\left (x + \frac {1}{a} \right )}}{8}}{a^{5} c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 75, normalized size = 0.87 \begin {gather*} -\frac {\log \left ({\left | a x + 1 \right |}\right )}{8 \, a^{5} c^{3}} + \frac {\log \left ({\left | a x - 1 \right |}\right )}{8 \, a^{5} c^{3}} - \frac {9 \, a^{3} x^{3} - 6 \, a^{2} x^{2} - 5 \, a x + 4}{12 \, {\left (a x + 1\right )} {\left (a x - 1\right )}^{3} a^{5} c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 78, normalized size = 0.91 \begin {gather*} -\frac {\frac {5\,x}{12\,a^4}-\frac {1}{3\,a^5}-\frac {3\,x^3}{4\,a^2}+\frac {x^2}{2\,a^3}}{-a^4\,c^3\,x^4+2\,a^3\,c^3\,x^3-2\,a\,c^3\,x+c^3}-\frac {\mathrm {atanh}\left (a\,x\right )}{4\,a^5\,c^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________