Optimal. Leaf size=46 \[ \frac {x}{16}-\frac {1}{16 (\coth (x)+1)}-\frac {1}{16 (\coth (x)+1)^2}-\frac {1}{12 (\coth (x)+1)^3}-\frac {1}{8 (\coth (x)+1)^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 2, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {3479, 8} \[ \frac {x}{16}-\frac {1}{16 (\coth (x)+1)}-\frac {1}{16 (\coth (x)+1)^2}-\frac {1}{12 (\coth (x)+1)^3}-\frac {1}{8 (\coth (x)+1)^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 3479
Rubi steps
\begin {align*} \int \frac {1}{(1+\coth (x))^4} \, dx &=-\frac {1}{8 (1+\coth (x))^4}+\frac {1}{2} \int \frac {1}{(1+\coth (x))^3} \, dx\\ &=-\frac {1}{8 (1+\coth (x))^4}-\frac {1}{12 (1+\coth (x))^3}+\frac {1}{4} \int \frac {1}{(1+\coth (x))^2} \, dx\\ &=-\frac {1}{8 (1+\coth (x))^4}-\frac {1}{12 (1+\coth (x))^3}-\frac {1}{16 (1+\coth (x))^2}+\frac {1}{8} \int \frac {1}{1+\coth (x)} \, dx\\ &=-\frac {1}{8 (1+\coth (x))^4}-\frac {1}{12 (1+\coth (x))^3}-\frac {1}{16 (1+\coth (x))^2}-\frac {1}{16 (1+\coth (x))}+\frac {\int 1 \, dx}{16}\\ &=\frac {x}{16}-\frac {1}{8 (1+\coth (x))^4}-\frac {1}{12 (1+\coth (x))^3}-\frac {1}{16 (1+\coth (x))^2}-\frac {1}{16 (1+\coth (x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 53, normalized size = 1.15 \[ \frac {1}{384} (\cosh (4 x)-\sinh (4 x)) (32 \sinh (2 x)+24 x \sinh (4 x)+3 \sinh (4 x)+64 \cosh (2 x)+3 (8 x-1) \cosh (4 x)-36) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.39, size = 121, normalized size = 2.63 \[ \frac {3 \, {\left (8 \, x - 1\right )} \cosh \relax (x)^{4} + 12 \, {\left (8 \, x + 1\right )} \cosh \relax (x) \sinh \relax (x)^{3} + 3 \, {\left (8 \, x - 1\right )} \sinh \relax (x)^{4} + 2 \, {\left (9 \, {\left (8 \, x - 1\right )} \cosh \relax (x)^{2} + 32\right )} \sinh \relax (x)^{2} + 64 \, \cosh \relax (x)^{2} + 4 \, {\left (3 \, {\left (8 \, x + 1\right )} \cosh \relax (x)^{3} + 16 \, \cosh \relax (x)\right )} \sinh \relax (x) - 36}{384 \, {\left (\cosh \relax (x)^{4} + 4 \, \cosh \relax (x)^{3} \sinh \relax (x) + 6 \, \cosh \relax (x)^{2} \sinh \relax (x)^{2} + 4 \, \cosh \relax (x) \sinh \relax (x)^{3} + \sinh \relax (x)^{4}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 30, normalized size = 0.65 \[ \frac {1}{384} \, {\left (48 \, e^{\left (6 \, x\right )} - 36 \, e^{\left (4 \, x\right )} + 16 \, e^{\left (2 \, x\right )} - 3\right )} e^{\left (-8 \, x\right )} + \frac {1}{16} \, x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 48, normalized size = 1.04 \[ -\frac {\ln \left (\coth \relax (x )-1\right )}{32}-\frac {1}{8 \left (1+\coth \relax (x )\right )^{4}}-\frac {1}{12 \left (1+\coth \relax (x )\right )^{3}}-\frac {1}{16 \left (1+\coth \relax (x )\right )^{2}}-\frac {1}{16 \left (1+\coth \relax (x )\right )}+\frac {\ln \left (1+\coth \relax (x )\right )}{32} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.32, size = 28, normalized size = 0.61 \[ \frac {1}{16} \, x + \frac {1}{8} \, e^{\left (-2 \, x\right )} - \frac {3}{32} \, e^{\left (-4 \, x\right )} + \frac {1}{24} \, e^{\left (-6 \, x\right )} - \frac {1}{128} \, e^{\left (-8 \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.14, size = 28, normalized size = 0.61 \[ \frac {x}{16}+\frac {{\mathrm {e}}^{-2\,x}}{8}-\frac {3\,{\mathrm {e}}^{-4\,x}}{32}+\frac {{\mathrm {e}}^{-6\,x}}{24}-\frac {{\mathrm {e}}^{-8\,x}}{128} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 1.42, size = 299, normalized size = 6.50 \[ \frac {3 x \tanh ^{4}{\relax (x )}}{48 \tanh ^{4}{\relax (x )} + 192 \tanh ^{3}{\relax (x )} + 288 \tanh ^{2}{\relax (x )} + 192 \tanh {\relax (x )} + 48} + \frac {12 x \tanh ^{3}{\relax (x )}}{48 \tanh ^{4}{\relax (x )} + 192 \tanh ^{3}{\relax (x )} + 288 \tanh ^{2}{\relax (x )} + 192 \tanh {\relax (x )} + 48} + \frac {18 x \tanh ^{2}{\relax (x )}}{48 \tanh ^{4}{\relax (x )} + 192 \tanh ^{3}{\relax (x )} + 288 \tanh ^{2}{\relax (x )} + 192 \tanh {\relax (x )} + 48} + \frac {12 x \tanh {\relax (x )}}{48 \tanh ^{4}{\relax (x )} + 192 \tanh ^{3}{\relax (x )} + 288 \tanh ^{2}{\relax (x )} + 192 \tanh {\relax (x )} + 48} + \frac {3 x}{48 \tanh ^{4}{\relax (x )} + 192 \tanh ^{3}{\relax (x )} + 288 \tanh ^{2}{\relax (x )} + 192 \tanh {\relax (x )} + 48} + \frac {45 \tanh ^{3}{\relax (x )}}{48 \tanh ^{4}{\relax (x )} + 192 \tanh ^{3}{\relax (x )} + 288 \tanh ^{2}{\relax (x )} + 192 \tanh {\relax (x )} + 48} + \frac {84 \tanh ^{2}{\relax (x )}}{48 \tanh ^{4}{\relax (x )} + 192 \tanh ^{3}{\relax (x )} + 288 \tanh ^{2}{\relax (x )} + 192 \tanh {\relax (x )} + 48} + \frac {61 \tanh {\relax (x )}}{48 \tanh ^{4}{\relax (x )} + 192 \tanh ^{3}{\relax (x )} + 288 \tanh ^{2}{\relax (x )} + 192 \tanh {\relax (x )} + 48} + \frac {16}{48 \tanh ^{4}{\relax (x )} + 192 \tanh ^{3}{\relax (x )} + 288 \tanh ^{2}{\relax (x )} + 192 \tanh {\relax (x )} + 48} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________