Optimal. Leaf size=41 \[ \frac{x}{4 a^3}-\frac{\tanh ^{-1}(a x)}{4 a^4}+\frac{x^3}{12 a}+\frac{1}{4} x^4 \coth ^{-1}(a x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0237262, antiderivative size = 41, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {5917, 302, 206} \[ \frac{x}{4 a^3}-\frac{\tanh ^{-1}(a x)}{4 a^4}+\frac{x^3}{12 a}+\frac{1}{4} x^4 \coth ^{-1}(a x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5917
Rule 302
Rule 206
Rubi steps
\begin{align*} \int x^3 \coth ^{-1}(a x) \, dx &=\frac{1}{4} x^4 \coth ^{-1}(a x)-\frac{1}{4} a \int \frac{x^4}{1-a^2 x^2} \, dx\\ &=\frac{1}{4} x^4 \coth ^{-1}(a x)-\frac{1}{4} a \int \left (-\frac{1}{a^4}-\frac{x^2}{a^2}+\frac{1}{a^4 \left (1-a^2 x^2\right )}\right ) \, dx\\ &=\frac{x}{4 a^3}+\frac{x^3}{12 a}+\frac{1}{4} x^4 \coth ^{-1}(a x)-\frac{\int \frac{1}{1-a^2 x^2} \, dx}{4 a^3}\\ &=\frac{x}{4 a^3}+\frac{x^3}{12 a}+\frac{1}{4} x^4 \coth ^{-1}(a x)-\frac{\tanh ^{-1}(a x)}{4 a^4}\\ \end{align*}
Mathematica [A] time = 0.0082089, size = 57, normalized size = 1.39 \[ \frac{x}{4 a^3}+\frac{\log (1-a x)}{8 a^4}-\frac{\log (a x+1)}{8 a^4}+\frac{x^3}{12 a}+\frac{1}{4} x^4 \coth ^{-1}(a x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.031, size = 47, normalized size = 1.2 \begin{align*}{\frac{{x}^{4}{\rm arccoth} \left (ax\right )}{4}}+{\frac{{x}^{3}}{12\,a}}+{\frac{x}{4\,{a}^{3}}}+{\frac{\ln \left ( ax-1 \right ) }{8\,{a}^{4}}}-{\frac{\ln \left ( ax+1 \right ) }{8\,{a}^{4}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.966109, size = 70, normalized size = 1.71 \begin{align*} \frac{1}{4} \, x^{4} \operatorname{arcoth}\left (a x\right ) + \frac{1}{24} \, a{\left (\frac{2 \,{\left (a^{2} x^{3} + 3 \, x\right )}}{a^{4}} - \frac{3 \, \log \left (a x + 1\right )}{a^{5}} + \frac{3 \, \log \left (a x - 1\right )}{a^{5}}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.59866, size = 99, normalized size = 2.41 \begin{align*} \frac{2 \, a^{3} x^{3} + 6 \, a x + 3 \,{\left (a^{4} x^{4} - 1\right )} \log \left (\frac{a x + 1}{a x - 1}\right )}{24 \, a^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.28445, size = 41, normalized size = 1. \begin{align*} \begin{cases} \frac{x^{4} \operatorname{acoth}{\left (a x \right )}}{4} + \frac{x^{3}}{12 a} + \frac{x}{4 a^{3}} - \frac{\operatorname{acoth}{\left (a x \right )}}{4 a^{4}} & \text{for}\: a \neq 0 \\\frac{i \pi x^{4}}{8} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{3} \operatorname{arcoth}\left (a x\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]