Optimal. Leaf size=105 \[ \frac {x}{c^4}+\frac {4}{5 a c^4 (1-a x)^5}-\frac {5}{a c^4 (1-a x)^4}+\frac {41}{3 a c^4 (1-a x)^3}-\frac {22}{a c^4 (1-a x)^2}+\frac {26}{a c^4 (1-a x)}+\frac {8 \log (1-a x)}{a c^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {6266, 6264, 90}
\begin {gather*} \frac {26}{a c^4 (1-a x)}-\frac {22}{a c^4 (1-a x)^2}+\frac {41}{3 a c^4 (1-a x)^3}-\frac {5}{a c^4 (1-a x)^4}+\frac {4}{5 a c^4 (1-a x)^5}+\frac {8 \log (1-a x)}{a c^4}+\frac {x}{c^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 90
Rule 6264
Rule 6266
Rubi steps
\begin {align*} \int \frac {e^{4 \tanh ^{-1}(a x)}}{\left (c-\frac {c}{a x}\right )^4} \, dx &=\frac {a^4 \int \frac {e^{4 \tanh ^{-1}(a x)} x^4}{(1-a x)^4} \, dx}{c^4}\\ &=\frac {a^4 \int \frac {x^4 (1+a x)^2}{(1-a x)^6} \, dx}{c^4}\\ &=\frac {a^4 \int \left (\frac {1}{a^4}+\frac {4}{a^4 (-1+a x)^6}+\frac {20}{a^4 (-1+a x)^5}+\frac {41}{a^4 (-1+a x)^4}+\frac {44}{a^4 (-1+a x)^3}+\frac {26}{a^4 (-1+a x)^2}+\frac {8}{a^4 (-1+a x)}\right ) \, dx}{c^4}\\ &=\frac {x}{c^4}+\frac {4}{5 a c^4 (1-a x)^5}-\frac {5}{a c^4 (1-a x)^4}+\frac {41}{3 a c^4 (1-a x)^3}-\frac {22}{a c^4 (1-a x)^2}+\frac {26}{a c^4 (1-a x)}+\frac {8 \log (1-a x)}{a c^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 79, normalized size = 0.75 \begin {gather*} \frac {-202+890 a x-1480 a^2 x^2+1080 a^3 x^3-240 a^4 x^4-75 a^5 x^5+15 a^6 x^6+120 (-1+a x)^5 \log (1-a x)}{15 a c^4 (-1+a x)^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.85, size = 85, normalized size = 0.81
method | result | size |
risch | \(\frac {x}{c^{4}}+\frac {-26 c^{4} x^{4} a^{3}+82 a^{2} c^{4} x^{3}-\frac {311 c^{4} a \,x^{2}}{3}+\frac {181 c^{4} x}{3}-\frac {202 c^{4}}{15 a}}{c^{8} \left (a x -1\right )^{5}}+\frac {8 \ln \left (a x -1\right )}{a \,c^{4}}\) | \(78\) |
default | \(\frac {a^{4} \left (\frac {x}{a^{4}}-\frac {5}{\left (a x -1\right )^{4} a^{5}}-\frac {26}{\left (a x -1\right ) a^{5}}-\frac {22}{\left (a x -1\right )^{2} a^{5}}-\frac {41}{3 \left (a x -1\right )^{3} a^{5}}-\frac {4}{5 a^{5} \left (a x -1\right )^{5}}+\frac {8 \ln \left (a x -1\right )}{a^{5}}\right )}{c^{4}}\) | \(85\) |
norman | \(\frac {\frac {a^{6} x^{7}}{c}+\frac {28 a \,x^{2}}{c}-\frac {80 a^{2} x^{3}}{3 c}-\frac {8 x}{c}-\frac {34 a^{3} x^{4}}{3 c}+\frac {493 a^{4} x^{5}}{15 c}-\frac {262 a^{5} x^{6}}{15 c}}{\left (a x -1\right )^{5} c^{3} \left (a x +1\right )}+\frac {8 \ln \left (a x -1\right )}{a \,c^{4}}\) | \(104\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 113, normalized size = 1.08 \begin {gather*} -\frac {390 \, a^{4} x^{4} - 1230 \, a^{3} x^{3} + 1555 \, a^{2} x^{2} - 905 \, a x + 202}{15 \, {\left (a^{6} c^{4} x^{5} - 5 \, a^{5} c^{4} x^{4} + 10 \, a^{4} c^{4} x^{3} - 10 \, a^{3} c^{4} x^{2} + 5 \, a^{2} c^{4} x - a c^{4}\right )}} + \frac {x}{c^{4}} + \frac {8 \, \log \left (a x - 1\right )}{a c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 154, normalized size = 1.47 \begin {gather*} \frac {15 \, a^{6} x^{6} - 75 \, a^{5} x^{5} - 240 \, a^{4} x^{4} + 1080 \, a^{3} x^{3} - 1480 \, a^{2} x^{2} + 890 \, a x + 120 \, {\left (a^{5} x^{5} - 5 \, a^{4} x^{4} + 10 \, a^{3} x^{3} - 10 \, a^{2} x^{2} + 5 \, a x - 1\right )} \log \left (a x - 1\right ) - 202}{15 \, {\left (a^{6} c^{4} x^{5} - 5 \, a^{5} c^{4} x^{4} + 10 \, a^{4} c^{4} x^{3} - 10 \, a^{3} c^{4} x^{2} + 5 \, a^{2} c^{4} x - a c^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.33, size = 114, normalized size = 1.09 \begin {gather*} \frac {- 390 a^{4} x^{4} + 1230 a^{3} x^{3} - 1555 a^{2} x^{2} + 905 a x - 202}{15 a^{6} c^{4} x^{5} - 75 a^{5} c^{4} x^{4} + 150 a^{4} c^{4} x^{3} - 150 a^{3} c^{4} x^{2} + 75 a^{2} c^{4} x - 15 a c^{4}} + \frac {x}{c^{4}} + \frac {8 \log {\left (a x - 1 \right )}}{a c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 66, normalized size = 0.63 \begin {gather*} \frac {x}{c^{4}} + \frac {8 \, \log \left ({\left | a x - 1 \right |}\right )}{a c^{4}} - \frac {390 \, a^{4} x^{4} - 1230 \, a^{3} x^{3} + 1555 \, a^{2} x^{2} - 905 \, a x + 202}{15 \, {\left (a x - 1\right )}^{5} a c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 109, normalized size = 1.04 \begin {gather*} \frac {x}{c^4}+\frac {\frac {311\,a\,x^2}{3}-\frac {181\,x}{3}+\frac {202}{15\,a}-82\,a^2\,x^3+26\,a^3\,x^4}{-a^5\,c^4\,x^5+5\,a^4\,c^4\,x^4-10\,a^3\,c^4\,x^3+10\,a^2\,c^4\,x^2-5\,a\,c^4\,x+c^4}+\frac {8\,\ln \left (a\,x-1\right )}{a\,c^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________