Optimal. Leaf size=31 \[ \frac {\tanh ^{-1}(\tanh (a+b x))^5}{5 x^5 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {2198}
\begin {gather*} \frac {\tanh ^{-1}(\tanh (a+b x))^5}{5 x^5 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2198
Rubi steps
\begin {align*} \int \frac {\tanh ^{-1}(\tanh (a+b x))^4}{x^6} \, dx &=\frac {\tanh ^{-1}(\tanh (a+b x))^5}{5 x^5 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(66\) vs. \(2(31)=62\).
time = 0.04, size = 66, normalized size = 2.13 \begin {gather*} -\frac {b^4 x^4+b^3 x^3 \tanh ^{-1}(\tanh (a+b x))+b^2 x^2 \tanh ^{-1}(\tanh (a+b x))^2+b x \tanh ^{-1}(\tanh (a+b x))^3+\tanh ^{-1}(\tanh (a+b x))^4}{5 x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(73\) vs.
\(2(29)=58\).
time = 3.00, size = 74, normalized size = 2.39
method | result | size |
default | \(-\frac {\arctanh \left (\tanh \left (b x +a \right )\right )^{4}}{5 x^{5}}+\frac {4 b \left (-\frac {\arctanh \left (\tanh \left (b x +a \right )\right )^{3}}{4 x^{4}}+\frac {3 b \left (-\frac {\arctanh \left (\tanh \left (b x +a \right )\right )^{2}}{3 x^{3}}+\frac {2 b \left (-\frac {b}{2 x}-\frac {\arctanh \left (\tanh \left (b x +a \right )\right )}{2 x^{2}}\right )}{3}\right )}{4}\right )}{5}\) | \(74\) |
risch | \(\text {Expression too large to display}\) | \(22619\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 70 vs.
\(2 (29) = 58\).
time = 0.42, size = 70, normalized size = 2.26 \begin {gather*} -\frac {1}{5} \, {\left (b {\left (\frac {b^{2}}{x} + \frac {b \operatorname {artanh}\left (\tanh \left (b x + a\right )\right )}{x^{2}}\right )} + \frac {b \operatorname {artanh}\left (\tanh \left (b x + a\right )\right )^{2}}{x^{3}}\right )} b - \frac {b \operatorname {artanh}\left (\tanh \left (b x + a\right )\right )^{3}}{5 \, x^{4}} - \frac {\operatorname {artanh}\left (\tanh \left (b x + a\right )\right )^{4}}{5 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 44, normalized size = 1.42 \begin {gather*} -\frac {5 \, b^{4} x^{4} + 10 \, a b^{3} x^{3} + 10 \, a^{2} b^{2} x^{2} + 5 \, a^{3} b x + a^{4}}{5 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 75 vs.
\(2 (26) = 52\).
time = 0.52, size = 75, normalized size = 2.42 \begin {gather*} - \frac {b^{4}}{5 x} - \frac {b^{3} \operatorname {atanh}{\left (\tanh {\left (a + b x \right )} \right )}}{5 x^{2}} - \frac {b^{2} \operatorname {atanh}^{2}{\left (\tanh {\left (a + b x \right )} \right )}}{5 x^{3}} - \frac {b \operatorname {atanh}^{3}{\left (\tanh {\left (a + b x \right )} \right )}}{5 x^{4}} - \frac {\operatorname {atanh}^{4}{\left (\tanh {\left (a + b x \right )} \right )}}{5 x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 44, normalized size = 1.42 \begin {gather*} -\frac {5 \, b^{4} x^{4} + 10 \, a b^{3} x^{3} + 10 \, a^{2} b^{2} x^{2} + 5 \, a^{3} b x + a^{4}}{5 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.20, size = 64, normalized size = 2.06 \begin {gather*} -\frac {b^4\,x^4+b^3\,x^3\,\mathrm {atanh}\left (\mathrm {tanh}\left (a+b\,x\right )\right )+b^2\,x^2\,{\mathrm {atanh}\left (\mathrm {tanh}\left (a+b\,x\right )\right )}^2+b\,x\,{\mathrm {atanh}\left (\mathrm {tanh}\left (a+b\,x\right )\right )}^3+{\mathrm {atanh}\left (\mathrm {tanh}\left (a+b\,x\right )\right )}^4}{5\,x^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________