Optimal. Leaf size=65 \[ \frac {c^4}{3 a^4 x^3}-\frac {3 c^4}{a^3 x^2}+\frac {16 c^4}{a^2 x}+c^4 x+\frac {26 c^4 \log (x)}{a}-\frac {32 c^4 \log (1+a x)}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 65, 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, 6266,
6264, 90} \begin {gather*} \frac {c^4}{3 a^4 x^3}-\frac {3 c^4}{a^3 x^2}+\frac {16 c^4}{a^2 x}+\frac {26 c^4 \log (x)}{a}-\frac {32 c^4 \log (a x+1)}{a}+c^4 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 90
Rule 6264
Rule 6266
Rule 6302
Rubi steps
\begin {align*} \int e^{-2 \coth ^{-1}(a x)} \left (c-\frac {c}{a x}\right )^4 \, dx &=-\int e^{-2 \tanh ^{-1}(a x)} \left (c-\frac {c}{a x}\right )^4 \, dx\\ &=-\frac {c^4 \int \frac {e^{-2 \tanh ^{-1}(a x)} (1-a x)^4}{x^4} \, dx}{a^4}\\ &=-\frac {c^4 \int \frac {(1-a x)^5}{x^4 (1+a x)} \, dx}{a^4}\\ &=-\frac {c^4 \int \left (-a^4+\frac {1}{x^4}-\frac {6 a}{x^3}+\frac {16 a^2}{x^2}-\frac {26 a^3}{x}+\frac {32 a^4}{1+a x}\right ) \, dx}{a^4}\\ &=\frac {c^4}{3 a^4 x^3}-\frac {3 c^4}{a^3 x^2}+\frac {16 c^4}{a^2 x}+c^4 x+\frac {26 c^4 \log (x)}{a}-\frac {32 c^4 \log (1+a x)}{a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 67, normalized size = 1.03 \begin {gather*} \frac {c^4}{3 a^4 x^3}-\frac {3 c^4}{a^3 x^2}+\frac {16 c^4}{a^2 x}+c^4 x+\frac {26 c^4 \log (a x)}{a}-\frac {32 c^4 \log (1+a x)}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.18, size = 51, normalized size = 0.78
method | result | size |
default | \(\frac {c^{4} \left (a^{4} x -32 a^{3} \ln \left (a x +1\right )+\frac {1}{3 x^{3}}-\frac {3 a}{x^{2}}+\frac {16 a^{2}}{x}+26 a^{3} \ln \left (x \right )\right )}{a^{4}}\) | \(51\) |
risch | \(c^{4} x +\frac {16 a^{2} c^{4} x^{2}-3 a \,c^{4} x +\frac {1}{3} c^{4}}{a^{4} x^{3}}+\frac {26 c^{4} \ln \left (-x \right )}{a}-\frac {32 c^{4} \ln \left (a x +1\right )}{a}\) | \(64\) |
norman | \(\frac {a^{3} c^{4} x^{4}+\frac {c^{4}}{3 a}-3 c^{4} x +16 c^{4} a \,x^{2}}{a^{3} x^{3}}+\frac {26 c^{4} \ln \left (x \right )}{a}-\frac {32 c^{4} \ln \left (a x +1\right )}{a}\) | \(67\) |
meijerg | \(\frac {c^{4} \left (a x -\ln \left (a x +1\right )\right )}{a}-\frac {5 c^{4} \ln \left (a x +1\right )}{a}+\frac {10 c^{4} \left (-\ln \left (a x +1\right )+\ln \left (x \right )+\ln \left (a \right )\right )}{a}-\frac {10 c^{4} \left (\ln \left (a x +1\right )-\ln \left (x \right )-\ln \left (a \right )-\frac {1}{a x}\right )}{a}+\frac {5 c^{4} \left (-\ln \left (a x +1\right )+\ln \left (x \right )+\ln \left (a \right )-\frac {1}{2 a^{2} x^{2}}+\frac {1}{a x}\right )}{a}-\frac {c^{4} \left (\ln \left (a x +1\right )-\ln \left (x \right )-\ln \left (a \right )-\frac {1}{3 x^{3} a^{3}}+\frac {1}{2 a^{2} x^{2}}-\frac {1}{a x}\right )}{a}\) | \(170\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 60, normalized size = 0.92 \begin {gather*} c^{4} x - \frac {32 \, c^{4} \log \left (a x + 1\right )}{a} + \frac {26 \, c^{4} \log \left (x\right )}{a} + \frac {48 \, a^{2} c^{4} x^{2} - 9 \, a c^{4} x + c^{4}}{3 \, a^{4} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 71, normalized size = 1.09 \begin {gather*} \frac {3 \, a^{4} c^{4} x^{4} - 96 \, a^{3} c^{4} x^{3} \log \left (a x + 1\right ) + 78 \, a^{3} c^{4} x^{3} \log \left (x\right ) + 48 \, a^{2} c^{4} x^{2} - 9 \, a c^{4} x + c^{4}}{3 \, a^{4} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.23, size = 56, normalized size = 0.86 \begin {gather*} c^{4} x + \frac {2 c^{4} \cdot \left (13 \log {\left (x \right )} - 16 \log {\left (x + \frac {1}{a} \right )}\right )}{a} + \frac {48 a^{2} c^{4} x^{2} - 9 a c^{4} x + c^{4}}{3 a^{4} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 62, normalized size = 0.95 \begin {gather*} c^{4} x - \frac {32 \, c^{4} \log \left ({\left | a x + 1 \right |}\right )}{a} + \frac {26 \, c^{4} \log \left ({\left | x \right |}\right )}{a} + \frac {48 \, a^{2} c^{4} x^{2} - 9 \, a c^{4} x + c^{4}}{3 \, a^{4} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 61, normalized size = 0.94 \begin {gather*} c^4\,x+\frac {16\,a^2\,c^4\,x^2-3\,a\,c^4\,x+\frac {c^4}{3}}{a^4\,x^3}+\frac {26\,c^4\,\ln \left (x\right )}{a}-\frac {32\,c^4\,\ln \left (a\,x+1\right )}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________