Optimal. Leaf size=70 \[ \frac {\left (a^2+b^2\right )^2 \log (a+b \text {csch}(x))}{a b^4}-\frac {\left (a^2+2 b^2\right ) \text {csch}(x)}{b^3}+\frac {a \text {csch}^2(x)}{2 b^2}+\frac {\log (\sinh (x))}{a}-\frac {\text {csch}^3(x)}{3 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {3885, 894} \[ -\frac {\left (a^2+2 b^2\right ) \text {csch}(x)}{b^3}+\frac {\left (a^2+b^2\right )^2 \log (a+b \text {csch}(x))}{a b^4}+\frac {a \text {csch}^2(x)}{2 b^2}+\frac {\log (\sinh (x))}{a}-\frac {\text {csch}^3(x)}{3 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 894
Rule 3885
Rubi steps
\begin {align*} \int \frac {\coth ^5(x)}{a+b \text {csch}(x)} \, dx &=-\frac {\operatorname {Subst}\left (\int \frac {\left (-b^2-x^2\right )^2}{x (a+x)} \, dx,x,b \text {csch}(x)\right )}{b^4}\\ &=-\frac {\operatorname {Subst}\left (\int \left (a^2 \left (1+\frac {2 b^2}{a^2}\right )+\frac {b^4}{a x}-a x+x^2-\frac {\left (a^2+b^2\right )^2}{a (a+x)}\right ) \, dx,x,b \text {csch}(x)\right )}{b^4}\\ &=-\frac {\left (a^2+2 b^2\right ) \text {csch}(x)}{b^3}+\frac {a \text {csch}^2(x)}{2 b^2}-\frac {\text {csch}^3(x)}{3 b}+\frac {\left (a^2+b^2\right )^2 \log (a+b \text {csch}(x))}{a b^4}+\frac {\log (\sinh (x))}{a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.14, size = 83, normalized size = 1.19 \[ \frac {3 a^2 b^2 \text {csch}^2(x)-6 a b \left (a^2+2 b^2\right ) \text {csch}(x)-6 a^2 \left (a^2+2 b^2\right ) \log (\sinh (x))+6 \left (a^2+b^2\right )^2 \log (a \sinh (x)+b)-2 a b^3 \text {csch}^3(x)}{6 a b^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.89, size = 1288, normalized size = 18.40 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.13, size = 170, normalized size = 2.43 \[ -\frac {{\left (a^{3} + 2 \, a b^{2}\right )} \log \left ({\left | -e^{\left (-x\right )} + e^{x} \right |}\right )}{b^{4}} + \frac {{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} \log \left ({\left | -a {\left (e^{\left (-x\right )} - e^{x}\right )} + 2 \, b \right |}\right )}{a b^{4}} + \frac {11 \, a^{3} {\left (e^{\left (-x\right )} - e^{x}\right )}^{3} + 22 \, a b^{2} {\left (e^{\left (-x\right )} - e^{x}\right )}^{3} + 12 \, a^{2} b {\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 24 \, b^{3} {\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 12 \, a b^{2} {\left (e^{\left (-x\right )} - e^{x}\right )} + 16 \, b^{3}}{6 \, b^{4} {\left (e^{\left (-x\right )} - e^{x}\right )}^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.15, size = 219, normalized size = 3.13 \[ \frac {\tanh ^{3}\left (\frac {x}{2}\right )}{24 b}+\frac {a \left (\tanh ^{2}\left (\frac {x}{2}\right )\right )}{8 b^{2}}+\frac {a^{2} \tanh \left (\frac {x}{2}\right )}{2 b^{3}}+\frac {7 \tanh \left (\frac {x}{2}\right )}{8 b}-\frac {\ln \left (\tanh \left (\frac {x}{2}\right )-1\right )}{a}-\frac {\ln \left (\tanh \left (\frac {x}{2}\right )+1\right )}{a}+\frac {a^{3} \ln \left (\left (\tanh ^{2}\left (\frac {x}{2}\right )\right ) b -2 a \tanh \left (\frac {x}{2}\right )-b \right )}{b^{4}}+\frac {2 a \ln \left (\left (\tanh ^{2}\left (\frac {x}{2}\right )\right ) b -2 a \tanh \left (\frac {x}{2}\right )-b \right )}{b^{2}}+\frac {\ln \left (\left (\tanh ^{2}\left (\frac {x}{2}\right )\right ) b -2 a \tanh \left (\frac {x}{2}\right )-b \right )}{a}-\frac {1}{24 b \tanh \left (\frac {x}{2}\right )^{3}}-\frac {a^{2}}{2 b^{3} \tanh \left (\frac {x}{2}\right )}-\frac {7}{8 b \tanh \left (\frac {x}{2}\right )}+\frac {a}{8 b^{2} \tanh \left (\frac {x}{2}\right )^{2}}-\frac {a^{3} \ln \left (\tanh \left (\frac {x}{2}\right )\right )}{b^{4}}-\frac {2 a \ln \left (\tanh \left (\frac {x}{2}\right )\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.33, size = 190, normalized size = 2.71 \[ -\frac {2 \, {\left (3 \, a b e^{\left (-2 \, x\right )} - 3 \, a b e^{\left (-4 \, x\right )} - 3 \, {\left (a^{2} + 2 \, b^{2}\right )} e^{\left (-x\right )} + 2 \, {\left (3 \, a^{2} + 4 \, b^{2}\right )} e^{\left (-3 \, x\right )} - 3 \, {\left (a^{2} + 2 \, b^{2}\right )} e^{\left (-5 \, x\right )}\right )}}{3 \, {\left (3 \, b^{3} e^{\left (-2 \, x\right )} - 3 \, b^{3} e^{\left (-4 \, x\right )} + b^{3} e^{\left (-6 \, x\right )} - b^{3}\right )}} + \frac {x}{a} - \frac {{\left (a^{3} + 2 \, a b^{2}\right )} \log \left (e^{\left (-x\right )} + 1\right )}{b^{4}} - \frac {{\left (a^{3} + 2 \, a b^{2}\right )} \log \left (e^{\left (-x\right )} - 1\right )}{b^{4}} + \frac {{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} \log \left (-2 \, b e^{\left (-x\right )} + a e^{\left (-2 \, x\right )} - a\right )}{a b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.97, size = 155, normalized size = 2.21 \[ \frac {\frac {2\,a}{b^2}-\frac {2\,{\mathrm {e}}^x\,\left (a^2+2\,b^2\right )}{b^3}}{{\mathrm {e}}^{2\,x}-1}-\frac {x}{a}+\frac {\frac {2\,a}{b^2}-\frac {8\,{\mathrm {e}}^x}{3\,b}}{{\mathrm {e}}^{4\,x}-2\,{\mathrm {e}}^{2\,x}+1}-\frac {8\,{\mathrm {e}}^x}{3\,b\,\left (3\,{\mathrm {e}}^{2\,x}-3\,{\mathrm {e}}^{4\,x}+{\mathrm {e}}^{6\,x}-1\right )}-\frac {\ln \left ({\mathrm {e}}^{2\,x}-1\right )\,\left (a^3+2\,a\,b^2\right )}{b^4}+\frac {\ln \left (2\,b\,{\mathrm {e}}^x-a+a\,{\mathrm {e}}^{2\,x}\right )\,\left (a^4+2\,a^2\,b^2+b^4\right )}{a\,b^4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\coth ^{5}{\relax (x )}}{a + b \operatorname {csch}{\relax (x )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________