Optimal. Leaf size=311 \[ \frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {4 e^{c (a+b x)} \coth (a c+b c x)}{b c \left (1+e^{2 c (a+b x)}\right )^4 \sqrt {\coth ^2(a c+b c x)}}+\frac {26 e^{c (a+b x)} \coth (a c+b c x)}{3 b c \left (1+e^{2 c (a+b x)}\right )^3 \sqrt {\coth ^2(a c+b c x)}}-\frac {55 e^{c (a+b x)} \coth (a c+b c x)}{6 b c \left (1+e^{2 c (a+b x)}\right )^2 \sqrt {\coth ^2(a c+b c x)}}+\frac {25 e^{c (a+b x)} \coth (a c+b c x)}{4 b c \left (1+e^{2 c (a+b x)}\right ) \sqrt {\coth ^2(a c+b c x)}}-\frac {15 \text {ArcTan}\left (e^{c (a+b x)}\right ) \coth (a c+b c x)}{4 b c \sqrt {\coth ^2(a c+b c x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 1.22, antiderivative size = 311, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {6852, 2320,
398, 1828, 1171, 393, 209} \begin {gather*} -\frac {15 \text {ArcTan}\left (e^{c (a+b x)}\right ) \coth (a c+b c x)}{4 b c \sqrt {\coth ^2(a c+b c x)}}+\frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}+\frac {25 e^{c (a+b x)} \coth (a c+b c x)}{4 b c \left (e^{2 c (a+b x)}+1\right ) \sqrt {\coth ^2(a c+b c x)}}-\frac {55 e^{c (a+b x)} \coth (a c+b c x)}{6 b c \left (e^{2 c (a+b x)}+1\right )^2 \sqrt {\coth ^2(a c+b c x)}}+\frac {26 e^{c (a+b x)} \coth (a c+b c x)}{3 b c \left (e^{2 c (a+b x)}+1\right )^3 \sqrt {\coth ^2(a c+b c x)}}-\frac {4 e^{c (a+b x)} \coth (a c+b c x)}{b c \left (e^{2 c (a+b x)}+1\right )^4 \sqrt {\coth ^2(a c+b c x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 393
Rule 398
Rule 1171
Rule 1828
Rule 2320
Rule 6852
Rubi steps
\begin {align*} \int \frac {e^{c (a+b x)}}{\coth ^2(a c+b c x)^{5/2}} \, dx &=\frac {\coth (a c+b c x) \int e^{c (a+b x)} \tanh ^5(a c+b c x) \, dx}{\sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {\coth (a c+b c x) \text {Subst}\left (\int \frac {\left (-1+x^2\right )^5}{\left (1+x^2\right )^5} \, dx,x,e^{c (a+b x)}\right )}{b c \sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {\coth (a c+b c x) \text {Subst}\left (\int \left (1-\frac {2 \left (1+10 x^4+5 x^8\right )}{\left (1+x^2\right )^5}\right ) \, dx,x,e^{c (a+b x)}\right )}{b c \sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {(2 \coth (a c+b c x)) \text {Subst}\left (\int \frac {1+10 x^4+5 x^8}{\left (1+x^2\right )^5} \, dx,x,e^{c (a+b x)}\right )}{b c \sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {4 e^{c (a+b x)} \coth (a c+b c x)}{b c \left (1+e^{2 c (a+b x)}\right )^4 \sqrt {\coth ^2(a c+b c x)}}+\frac {\coth (a c+b c x) \text {Subst}\left (\int \frac {8-120 x^2+40 x^4-40 x^6}{\left (1+x^2\right )^4} \, dx,x,e^{c (a+b x)}\right )}{4 b c \sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {4 e^{c (a+b x)} \coth (a c+b c x)}{b c \left (1+e^{2 c (a+b x)}\right )^4 \sqrt {\coth ^2(a c+b c x)}}+\frac {26 e^{c (a+b x)} \coth (a c+b c x)}{3 b c \left (1+e^{2 c (a+b x)}\right )^3 \sqrt {\coth ^2(a c+b c x)}}-\frac {\coth (a c+b c x) \text {Subst}\left (\int \frac {160-480 x^2+240 x^4}{\left (1+x^2\right )^3} \, dx,x,e^{c (a+b x)}\right )}{24 b c \sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {4 e^{c (a+b x)} \coth (a c+b c x)}{b c \left (1+e^{2 c (a+b x)}\right )^4 \sqrt {\coth ^2(a c+b c x)}}+\frac {26 e^{c (a+b x)} \coth (a c+b c x)}{3 b c \left (1+e^{2 c (a+b x)}\right )^3 \sqrt {\coth ^2(a c+b c x)}}-\frac {55 e^{c (a+b x)} \coth (a c+b c x)}{6 b c \left (1+e^{2 c (a+b x)}\right )^2 \sqrt {\coth ^2(a c+b c x)}}+\frac {\coth (a c+b c x) \text {Subst}\left (\int \frac {240-960 x^2}{\left (1+x^2\right )^2} \, dx,x,e^{c (a+b x)}\right )}{96 b c \sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {4 e^{c (a+b x)} \coth (a c+b c x)}{b c \left (1+e^{2 c (a+b x)}\right )^4 \sqrt {\coth ^2(a c+b c x)}}+\frac {26 e^{c (a+b x)} \coth (a c+b c x)}{3 b c \left (1+e^{2 c (a+b x)}\right )^3 \sqrt {\coth ^2(a c+b c x)}}-\frac {55 e^{c (a+b x)} \coth (a c+b c x)}{6 b c \left (1+e^{2 c (a+b x)}\right )^2 \sqrt {\coth ^2(a c+b c x)}}+\frac {25 e^{c (a+b x)} \coth (a c+b c x)}{4 b c \left (1+e^{2 c (a+b x)}\right ) \sqrt {\coth ^2(a c+b c x)}}-\frac {(15 \coth (a c+b c x)) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,e^{c (a+b x)}\right )}{4 b c \sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {4 e^{c (a+b x)} \coth (a c+b c x)}{b c \left (1+e^{2 c (a+b x)}\right )^4 \sqrt {\coth ^2(a c+b c x)}}+\frac {26 e^{c (a+b x)} \coth (a c+b c x)}{3 b c \left (1+e^{2 c (a+b x)}\right )^3 \sqrt {\coth ^2(a c+b c x)}}-\frac {55 e^{c (a+b x)} \coth (a c+b c x)}{6 b c \left (1+e^{2 c (a+b x)}\right )^2 \sqrt {\coth ^2(a c+b c x)}}+\frac {25 e^{c (a+b x)} \coth (a c+b c x)}{4 b c \left (1+e^{2 c (a+b x)}\right ) \sqrt {\coth ^2(a c+b c x)}}-\frac {15 \tan ^{-1}\left (e^{c (a+b x)}\right ) \coth (a c+b c x)}{4 b c \sqrt {\coth ^2(a c+b c x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.33, size = 133, normalized size = 0.43 \begin {gather*} \frac {\left (e^{c (a+b x)} \left (33+157 e^{2 c (a+b x)}+187 e^{4 c (a+b x)}+123 e^{6 c (a+b x)}+12 e^{8 c (a+b x)}\right )-45 \left (1+e^{2 c (a+b x)}\right )^4 \text {ArcTan}\left (e^{c (a+b x)}\right )\right ) \coth (c (a+b x))}{12 b c \left (1+e^{2 c (a+b x)}\right )^4 \sqrt {\coth ^2(c (a+b x))}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 5.32, size = 324, normalized size = 1.04
method | result | size |
risch | \(\frac {\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) {\mathrm e}^{c \left (b x +a \right )}}{\sqrt {\frac {\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}{\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}}\, \left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) b c}+\frac {{\mathrm e}^{c \left (b x +a \right )} \left (75 \,{\mathrm e}^{6 c \left (b x +a \right )}+115 \,{\mathrm e}^{4 c \left (b x +a \right )}+109 \,{\mathrm e}^{2 c \left (b x +a \right )}+21\right )}{12 \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{3} \left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) \sqrt {\frac {\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}{\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}}\, b c}+\frac {15 i \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) \ln \left ({\mathrm e}^{c \left (b x +a \right )}-i\right )}{8 \sqrt {\frac {\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}{\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}}\, \left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) c b}-\frac {15 i \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) \ln \left ({\mathrm e}^{c \left (b x +a \right )}+i\right )}{8 \sqrt {\frac {\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}{\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}}\, \left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) c b}\) | \(324\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 145, normalized size = 0.47 \begin {gather*} -\frac {15 \, \arctan \left (e^{\left (b c x + a c\right )}\right )}{4 \, b c} + \frac {12 \, e^{\left (9 \, b c x + 9 \, a c\right )} + 123 \, e^{\left (7 \, b c x + 7 \, a c\right )} + 187 \, e^{\left (5 \, b c x + 5 \, a c\right )} + 157 \, e^{\left (3 \, b c x + 3 \, a c\right )} + 33 \, e^{\left (b c x + a c\right )}}{12 \, b c {\left (e^{\left (8 \, b c x + 8 \, a c\right )} + 4 \, e^{\left (6 \, b c x + 6 \, a c\right )} + 6 \, e^{\left (4 \, b c x + 4 \, a c\right )} + 4 \, e^{\left (2 \, b c x + 2 \, a c\right )} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1226 vs.
\(2 (281) = 562\).
time = 0.36, size = 1226, normalized size = 3.94 \begin {gather*} \frac {12 \, \cosh \left (b c x + a c\right )^{9} + 108 \, \cosh \left (b c x + a c\right ) \sinh \left (b c x + a c\right )^{8} + 12 \, \sinh \left (b c x + a c\right )^{9} + 3 \, {\left (144 \, \cosh \left (b c x + a c\right )^{2} + 41\right )} \sinh \left (b c x + a c\right )^{7} + 123 \, \cosh \left (b c x + a c\right )^{7} + 21 \, {\left (48 \, \cosh \left (b c x + a c\right )^{3} + 41 \, \cosh \left (b c x + a c\right )\right )} \sinh \left (b c x + a c\right )^{6} + {\left (1512 \, \cosh \left (b c x + a c\right )^{4} + 2583 \, \cosh \left (b c x + a c\right )^{2} + 187\right )} \sinh \left (b c x + a c\right )^{5} + 187 \, \cosh \left (b c x + a c\right )^{5} + {\left (1512 \, \cosh \left (b c x + a c\right )^{5} + 4305 \, \cosh \left (b c x + a c\right )^{3} + 935 \, \cosh \left (b c x + a c\right )\right )} \sinh \left (b c x + a c\right )^{4} + {\left (1008 \, \cosh \left (b c x + a c\right )^{6} + 4305 \, \cosh \left (b c x + a c\right )^{4} + 1870 \, \cosh \left (b c x + a c\right )^{2} + 157\right )} \sinh \left (b c x + a c\right )^{3} + 157 \, \cosh \left (b c x + a c\right )^{3} + {\left (432 \, \cosh \left (b c x + a c\right )^{7} + 2583 \, \cosh \left (b c x + a c\right )^{5} + 1870 \, \cosh \left (b c x + a c\right )^{3} + 471 \, \cosh \left (b c x + a c\right )\right )} \sinh \left (b c x + a c\right )^{2} - 45 \, {\left (\cosh \left (b c x + a c\right )^{8} + 8 \, \cosh \left (b c x + a c\right ) \sinh \left (b c x + a c\right )^{7} + \sinh \left (b c x + a c\right )^{8} + 4 \, {\left (7 \, \cosh \left (b c x + a c\right )^{2} + 1\right )} \sinh \left (b c x + a c\right )^{6} + 4 \, \cosh \left (b c x + a c\right )^{6} + 8 \, {\left (7 \, \cosh \left (b c x + a c\right )^{3} + 3 \, \cosh \left (b c x + a c\right )\right )} \sinh \left (b c x + a c\right )^{5} + 2 \, {\left (35 \, \cosh \left (b c x + a c\right )^{4} + 30 \, \cosh \left (b c x + a c\right )^{2} + 3\right )} \sinh \left (b c x + a c\right )^{4} + 6 \, \cosh \left (b c x + a c\right )^{4} + 8 \, {\left (7 \, \cosh \left (b c x + a c\right )^{5} + 10 \, \cosh \left (b c x + a c\right )^{3} + 3 \, \cosh \left (b c x + a c\right )\right )} \sinh \left (b c x + a c\right )^{3} + 4 \, {\left (7 \, \cosh \left (b c x + a c\right )^{6} + 15 \, \cosh \left (b c x + a c\right )^{4} + 9 \, \cosh \left (b c x + a c\right )^{2} + 1\right )} \sinh \left (b c x + a c\right )^{2} + 4 \, \cosh \left (b c x + a c\right )^{2} + 8 \, {\left (\cosh \left (b c x + a c\right )^{7} + 3 \, \cosh \left (b c x + a c\right )^{5} + 3 \, \cosh \left (b c x + a c\right )^{3} + \cosh \left (b c x + a c\right )\right )} \sinh \left (b c x + a c\right ) + 1\right )} \arctan \left (\cosh \left (b c x + a c\right ) + \sinh \left (b c x + a c\right )\right ) + {\left (108 \, \cosh \left (b c x + a c\right )^{8} + 861 \, \cosh \left (b c x + a c\right )^{6} + 935 \, \cosh \left (b c x + a c\right )^{4} + 471 \, \cosh \left (b c x + a c\right )^{2} + 33\right )} \sinh \left (b c x + a c\right ) + 33 \, \cosh \left (b c x + a c\right )}{12 \, {\left (b c \cosh \left (b c x + a c\right )^{8} + 8 \, b c \cosh \left (b c x + a c\right ) \sinh \left (b c x + a c\right )^{7} + b c \sinh \left (b c x + a c\right )^{8} + 4 \, b c \cosh \left (b c x + a c\right )^{6} + 4 \, {\left (7 \, b c \cosh \left (b c x + a c\right )^{2} + b c\right )} \sinh \left (b c x + a c\right )^{6} + 6 \, b c \cosh \left (b c x + a c\right )^{4} + 8 \, {\left (7 \, b c \cosh \left (b c x + a c\right )^{3} + 3 \, b c \cosh \left (b c x + a c\right )\right )} \sinh \left (b c x + a c\right )^{5} + 2 \, {\left (35 \, b c \cosh \left (b c x + a c\right )^{4} + 30 \, b c \cosh \left (b c x + a c\right )^{2} + 3 \, b c\right )} \sinh \left (b c x + a c\right )^{4} + 4 \, b c \cosh \left (b c x + a c\right )^{2} + 8 \, {\left (7 \, b c \cosh \left (b c x + a c\right )^{5} + 10 \, b c \cosh \left (b c x + a c\right )^{3} + 3 \, b c \cosh \left (b c x + a c\right )\right )} \sinh \left (b c x + a c\right )^{3} + 4 \, {\left (7 \, b c \cosh \left (b c x + a c\right )^{6} + 15 \, b c \cosh \left (b c x + a c\right )^{4} + 9 \, b c \cosh \left (b c x + a c\right )^{2} + b c\right )} \sinh \left (b c x + a c\right )^{2} + b c + 8 \, {\left (b c \cosh \left (b c x + a c\right )^{7} + 3 \, b c \cosh \left (b c x + a c\right )^{5} + 3 \, b c \cosh \left (b c x + a c\right )^{3} + b c \cosh \left (b c x + a c\right )\right )} \sinh \left (b c x + a c\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 185, normalized size = 0.59 \begin {gather*} -\frac {{\left (45 \, \arctan \left (e^{\left (b c x + a c\right )}\right ) e^{\left (-a c\right )} \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right ) - 12 \, e^{\left (b c x\right )} \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right ) - \frac {75 \, e^{\left (7 \, b c x + 6 \, a c\right )} \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right ) + 115 \, e^{\left (5 \, b c x + 4 \, a c\right )} \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right ) + 109 \, e^{\left (3 \, b c x + 2 \, a c\right )} \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right ) + 21 \, e^{\left (b c x\right )} \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right )}{{\left (e^{\left (2 \, b c x + 2 \, a c\right )} + 1\right )}^{4}}\right )} e^{\left (a c\right )}}{12 \, b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\mathrm {e}}^{c\,\left (a+b\,x\right )}}{{\left ({\mathrm {coth}\left (a\,c+b\,c\,x\right )}^2\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________