Optimal. Leaf size=77 \[ b x \left (b x-\coth ^{-1}(\tanh (a+b x))\right )^2-\frac{1}{2} \coth ^{-1}(\tanh (a+b x))^2 \left (b x-\coth ^{-1}(\tanh (a+b x))\right )+\frac{1}{3} \coth ^{-1}(\tanh (a+b x))^3-\log (x) \left (b x-\coth ^{-1}(\tanh (a+b x))\right )^3 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0962767, antiderivative size = 77, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {2159, 2158, 29} \[ b x \left (b x-\coth ^{-1}(\tanh (a+b x))\right )^2-\frac{1}{2} \coth ^{-1}(\tanh (a+b x))^2 \left (b x-\coth ^{-1}(\tanh (a+b x))\right )+\frac{1}{3} \coth ^{-1}(\tanh (a+b x))^3-\log (x) \left (b x-\coth ^{-1}(\tanh (a+b x))\right )^3 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2159
Rule 2158
Rule 29
Rubi steps
\begin{align*} \int \frac{\coth ^{-1}(\tanh (a+b x))^3}{x} \, dx &=\frac{1}{3} \coth ^{-1}(\tanh (a+b x))^3-\left (b x-\coth ^{-1}(\tanh (a+b x))\right ) \int \frac{\coth ^{-1}(\tanh (a+b x))^2}{x} \, dx\\ &=-\frac{1}{2} \left (b x-\coth ^{-1}(\tanh (a+b x))\right ) \coth ^{-1}(\tanh (a+b x))^2+\frac{1}{3} \coth ^{-1}(\tanh (a+b x))^3-\left (\left (b x-\coth ^{-1}(\tanh (a+b x))\right ) \left (-b x+\coth ^{-1}(\tanh (a+b x))\right )\right ) \int \frac{\coth ^{-1}(\tanh (a+b x))}{x} \, dx\\ &=b x \left (b x-\coth ^{-1}(\tanh (a+b x))\right )^2-\frac{1}{2} \left (b x-\coth ^{-1}(\tanh (a+b x))\right ) \coth ^{-1}(\tanh (a+b x))^2+\frac{1}{3} \coth ^{-1}(\tanh (a+b x))^3+\left (\left (b x-\coth ^{-1}(\tanh (a+b x))\right )^2 \left (-b x+\coth ^{-1}(\tanh (a+b x))\right )\right ) \int \frac{1}{x} \, dx\\ &=b x \left (b x-\coth ^{-1}(\tanh (a+b x))\right )^2-\frac{1}{2} \left (b x-\coth ^{-1}(\tanh (a+b x))\right ) \coth ^{-1}(\tanh (a+b x))^2+\frac{1}{3} \coth ^{-1}(\tanh (a+b x))^3-\left (b x-\coth ^{-1}(\tanh (a+b x))\right )^3 \log (x)\\ \end{align*}
Mathematica [A] time = 0.0580561, size = 104, normalized size = 1.35 \[ (a+b x) \left (a^2-3 a \left (-\coth ^{-1}(\tanh (a+b x))+a+b x\right )+3 \left (-\coth ^{-1}(\tanh (a+b x))+a+b x\right )^2\right )+\frac{1}{3} (a+b x)^3-\frac{1}{2} (a+b x)^2 \left (-3 \coth ^{-1}(\tanh (a+b x))+2 a+3 b x\right )+\log (b x) \left (\coth ^{-1}(\tanh (a+b x))-b x\right )^3 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.847, size = 21848, normalized size = 283.7 \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] time = 2.51028, size = 101, normalized size = 1.31 \begin{align*} \frac{1}{3} \, b^{3} x^{3} + \frac{1}{24} \,{\left (-18 i \, \pi b^{2} + 36 \, a b^{2}\right )} x^{2} - \frac{1}{24} \,{\left (18 \, \pi ^{2} b + 72 i \, \pi a b - 72 \, a^{2} b\right )} x + \frac{1}{8} \,{\left (i \, \pi ^{3} - 6 \, \pi ^{2} a - 12 i \, \pi a^{2} + 8 \, a^{3}\right )} \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.69985, size = 119, normalized size = 1.55 \begin{align*} \frac{1}{3} \, b^{3} x^{3} + \frac{3}{2} \, a b^{2} x^{2} - \frac{3}{4} \,{\left (\pi ^{2} b - 4 \, a^{2} b\right )} x - \frac{1}{4} \,{\left (3 \, \pi ^{2} a - 4 \, a^{3}\right )} \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{acoth}^{3}{\left (\tanh{\left (a + b x \right )} \right )}}{x}\, dx \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 \frac{\operatorname{arcoth}\left (\tanh \left (b x + a\right )\right )^{3}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]