Optimal. Leaf size=100 \[ -\frac {c^4}{7 a^8 x^7}-\frac {2 c^4}{3 a^7 x^6}-\frac {4 c^4}{5 a^6 x^5}+\frac {c^4}{a^5 x^4}+\frac {10 c^4}{3 a^4 x^3}+\frac {2 c^4}{a^3 x^2}-\frac {4 c^4}{a^2 x}+c^4 x+\frac {4 c^4 \log (x)}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 100, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {6302, 6292,
6285, 90} \begin {gather*} -\frac {c^4}{7 a^8 x^7}-\frac {2 c^4}{3 a^7 x^6}-\frac {4 c^4}{5 a^6 x^5}+\frac {c^4}{a^5 x^4}+\frac {10 c^4}{3 a^4 x^3}+\frac {2 c^4}{a^3 x^2}-\frac {4 c^4}{a^2 x}+\frac {4 c^4 \log (x)}{a}+c^4 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 90
Rule 6285
Rule 6292
Rule 6302
Rubi steps
\begin {align*} \int e^{4 \coth ^{-1}(a x)} \left (c-\frac {c}{a^2 x^2}\right )^4 \, dx &=\int e^{4 \tanh ^{-1}(a x)} \left (c-\frac {c}{a^2 x^2}\right )^4 \, dx\\ &=\frac {c^4 \int \frac {e^{4 \tanh ^{-1}(a x)} \left (1-a^2 x^2\right )^4}{x^8} \, dx}{a^8}\\ &=\frac {c^4 \int \frac {(1-a x)^2 (1+a x)^6}{x^8} \, dx}{a^8}\\ &=\frac {c^4 \int \left (a^8+\frac {1}{x^8}+\frac {4 a}{x^7}+\frac {4 a^2}{x^6}-\frac {4 a^3}{x^5}-\frac {10 a^4}{x^4}-\frac {4 a^5}{x^3}+\frac {4 a^6}{x^2}+\frac {4 a^7}{x}\right ) \, dx}{a^8}\\ &=-\frac {c^4}{7 a^8 x^7}-\frac {2 c^4}{3 a^7 x^6}-\frac {4 c^4}{5 a^6 x^5}+\frac {c^4}{a^5 x^4}+\frac {10 c^4}{3 a^4 x^3}+\frac {2 c^4}{a^3 x^2}-\frac {4 c^4}{a^2 x}+c^4 x+\frac {4 c^4 \log (x)}{a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 100, normalized size = 1.00 \begin {gather*} -\frac {c^4}{7 a^8 x^7}-\frac {2 c^4}{3 a^7 x^6}-\frac {4 c^4}{5 a^6 x^5}+\frac {c^4}{a^5 x^4}+\frac {10 c^4}{3 a^4 x^3}+\frac {2 c^4}{a^3 x^2}-\frac {4 c^4}{a^2 x}+c^4 x+\frac {4 c^4 \log (x)}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.32, size = 71, normalized size = 0.71
method | result | size |
default | \(\frac {c^{4} \left (a^{8} x +\frac {a^{3}}{x^{4}}-\frac {1}{7 x^{7}}-\frac {4 a^{6}}{x}+\frac {2 a^{5}}{x^{2}}+4 a^{7} \ln \left (x \right )+\frac {10 a^{4}}{3 x^{3}}-\frac {2 a}{3 x^{6}}-\frac {4 a^{2}}{5 x^{5}}\right )}{a^{8}}\) | \(71\) |
risch | \(c^{4} x +\frac {-4 a^{6} c^{4} x^{6}+2 a^{5} c^{4} x^{5}+\frac {10}{3} a^{4} c^{4} x^{4}+a^{3} c^{4} x^{3}-\frac {4}{5} a^{2} c^{4} x^{2}-\frac {2}{3} a \,c^{4} x -\frac {1}{7} c^{4}}{a^{8} x^{7}}+\frac {4 c^{4} \ln \left (x \right )}{a}\) | \(91\) |
norman | \(\frac {-5 a^{7} c^{4} x^{8}+a^{8} c^{4} x^{9}+\frac {c^{4}}{7 a}+\frac {11 c^{4} x}{21}-\frac {9 a^{2} c^{4} x^{3}}{5}-\frac {7 a^{3} c^{4} x^{4}}{3}+\frac {4 a^{4} c^{4} x^{5}}{3}+6 a^{5} c^{4} x^{6}+\frac {2 c^{4} a \,x^{2}}{15}}{\left (a x -1\right ) a^{7} x^{7}}+\frac {4 c^{4} \ln \left (x \right )}{a}\) | \(115\) |
meijerg | \(-\frac {c^{4} \left (-\frac {a x \left (-3 a x +6\right )}{3 \left (-a x +1\right )}-2 \ln \left (-a x +1\right )\right )}{a}-\frac {3 c^{4} x}{-a x +1}-\frac {2 c^{4} \left (-\frac {3 a x}{-3 a x +3}+2 \ln \left (-a x +1\right )-1-2 \ln \left (x \right )-2 \ln \left (-a \right )+\frac {1}{a x}\right )}{a}-\frac {2 c^{4} \left (-\frac {5 a x}{-5 a x +5}+4 \ln \left (-a x +1\right )-1-4 \ln \left (x \right )-4 \ln \left (-a \right )+\frac {1}{3 x^{3} a^{3}}+\frac {1}{a^{2} x^{2}}+\frac {3}{a x}\right )}{a}+\frac {3 c^{4} \left (-\frac {7 a x}{-7 a x +7}+6 \ln \left (-a x +1\right )-1-6 \ln \left (x \right )-6 \ln \left (-a \right )+\frac {1}{5 x^{5} a^{5}}+\frac {1}{2 x^{4} a^{4}}+\frac {1}{x^{3} a^{3}}+\frac {2}{a^{2} x^{2}}+\frac {5}{a x}\right )}{a}+\frac {2 c^{4} \left (\frac {a x}{-a x +1}+\ln \left (-a x +1\right )\right )}{a}-\frac {8 c^{4} \left (\frac {2 a x}{-2 a x +2}-\ln \left (-a x +1\right )+1+\ln \left (x \right )+\ln \left (-a \right )\right )}{a}+\frac {12 c^{4} \left (\frac {4 a x}{-4 a x +4}-3 \ln \left (-a x +1\right )+1+3 \ln \left (x \right )+3 \ln \left (-a \right )-\frac {1}{2 a^{2} x^{2}}-\frac {2}{a x}\right )}{a}-\frac {8 c^{4} \left (\frac {6 a x}{-6 a x +6}-5 \ln \left (-a x +1\right )+1+5 \ln \left (x \right )+5 \ln \left (-a \right )-\frac {1}{4 x^{4} a^{4}}-\frac {2}{3 x^{3} a^{3}}-\frac {3}{2 a^{2} x^{2}}-\frac {4}{a x}\right )}{a}+\frac {2 c^{4} \left (\frac {8 a x}{-8 a x +8}-7 \ln \left (-a x +1\right )+1+7 \ln \left (x \right )+7 \ln \left (-a \right )-\frac {1}{6 x^{6} a^{6}}-\frac {2}{5 x^{5} a^{5}}-\frac {3}{4 x^{4} a^{4}}-\frac {4}{3 x^{3} a^{3}}-\frac {5}{2 a^{2} x^{2}}-\frac {6}{a x}\right )}{a}-\frac {c^{4} \left (-\frac {9 a x}{-9 a x +9}+8 \ln \left (-a x +1\right )-1-8 \ln \left (x \right )-8 \ln \left (-a \right )+\frac {1}{7 x^{7} a^{7}}+\frac {1}{3 x^{6} a^{6}}+\frac {3}{5 x^{5} a^{5}}+\frac {1}{x^{4} a^{4}}+\frac {5}{3 x^{3} a^{3}}+\frac {3}{a^{2} x^{2}}+\frac {7}{a x}\right )}{a}\) | \(623\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 92, normalized size = 0.92 \begin {gather*} c^{4} x + \frac {4 \, c^{4} \log \left (x\right )}{a} - \frac {420 \, a^{6} c^{4} x^{6} - 210 \, a^{5} c^{4} x^{5} - 350 \, a^{4} c^{4} x^{4} - 105 \, a^{3} c^{4} x^{3} + 84 \, a^{2} c^{4} x^{2} + 70 \, a c^{4} x + 15 \, c^{4}}{105 \, a^{8} x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 100, normalized size = 1.00 \begin {gather*} \frac {105 \, a^{8} c^{4} x^{8} + 420 \, a^{7} c^{4} x^{7} \log \left (x\right ) - 420 \, a^{6} c^{4} x^{6} + 210 \, a^{5} c^{4} x^{5} + 350 \, a^{4} c^{4} x^{4} + 105 \, a^{3} c^{4} x^{3} - 84 \, a^{2} c^{4} x^{2} - 70 \, a c^{4} x - 15 \, c^{4}}{105 \, a^{8} x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.31, size = 100, normalized size = 1.00 \begin {gather*} \frac {a^{8} c^{4} x + 4 a^{7} c^{4} \log {\left (x \right )} + \frac {- 420 a^{6} c^{4} x^{6} + 210 a^{5} c^{4} x^{5} + 350 a^{4} c^{4} x^{4} + 105 a^{3} c^{4} x^{3} - 84 a^{2} c^{4} x^{2} - 70 a c^{4} x - 15 c^{4}}{105 x^{7}}}{a^{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 160, normalized size = 1.60 \begin {gather*} -\frac {4 \, c^{4} \log \left (\frac {{\left | a x - 1 \right |}}{{\left (a x - 1\right )}^{2} {\left | a \right |}}\right )}{a} + \frac {4 \, c^{4} \log \left ({\left | -\frac {1}{a x - 1} - 1 \right |}\right )}{a} + \frac {{\left (105 \, c^{4} + \frac {659 \, c^{4}}{a x - 1} + \frac {1253 \, c^{4}}{{\left (a x - 1\right )}^{2}} - \frac {231 \, c^{4}}{{\left (a x - 1\right )}^{3}} - \frac {3885 \, c^{4}}{{\left (a x - 1\right )}^{4}} - \frac {5250 \, c^{4}}{{\left (a x - 1\right )}^{5}} - \frac {2730 \, c^{4}}{{\left (a x - 1\right )}^{6}} - \frac {420 \, c^{4}}{{\left (a x - 1\right )}^{7}}\right )} {\left (a x - 1\right )}}{105 \, a {\left (\frac {1}{a x - 1} + 1\right )}^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.29, size = 72, normalized size = 0.72 \begin {gather*} \frac {c^4\,\left (a^3\,x^3-\frac {4\,a^2\,x^2}{5}-\frac {2\,a\,x}{3}+\frac {10\,a^4\,x^4}{3}+2\,a^5\,x^5-4\,a^6\,x^6+a^8\,x^8+4\,a^7\,x^7\,\ln \left (x\right )-\frac {1}{7}\right )}{a^8\,x^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________