Optimal. Leaf size=316 \[ \frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a}}\right )}{a^{3/2} d}-\frac {(2 a-3 b) \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a-b}}\right )}{2 (a-b)^{5/2} d}+\frac {b \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a-b}}\right )}{4 (a-b)^{5/2} d}-\frac {b \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a+b}}\right )}{4 (a+b)^{5/2} d}-\frac {(2 a+3 b) \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a+b}}\right )}{2 (a+b)^{5/2} d}-\frac {2 b^4}{a \left (a^2-b^2\right )^2 d \sqrt {a+b \text {sech}(c+d x)}}-\frac {\sqrt {a+b \text {sech}(c+d x)}}{4 (a+b)^2 d (1-\text {sech}(c+d x))}-\frac {\sqrt {a+b \text {sech}(c+d x)}}{4 (a-b)^2 d (1+\text {sech}(c+d x))} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.31, antiderivative size = 316, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 5, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {3970, 912,
1349, 212, 205} \begin {gather*} \frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a}}\right )}{a^{3/2} d}-\frac {2 b^4}{a d \left (a^2-b^2\right )^2 \sqrt {a+b \text {sech}(c+d x)}}-\frac {\sqrt {a+b \text {sech}(c+d x)}}{4 d (a+b)^2 (1-\text {sech}(c+d x))}-\frac {\sqrt {a+b \text {sech}(c+d x)}}{4 d (a-b)^2 (\text {sech}(c+d x)+1)}+\frac {b \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a-b}}\right )}{4 d (a-b)^{5/2}}-\frac {b \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a+b}}\right )}{4 d (a+b)^{5/2}}-\frac {(2 a-3 b) \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a-b}}\right )}{2 d (a-b)^{5/2}}-\frac {(2 a+3 b) \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a+b}}\right )}{2 d (a+b)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 212
Rule 912
Rule 1349
Rule 3970
Rubi steps
\begin {align*} \int \frac {\coth ^3(c+d x)}{(a+b \text {sech}(c+d x))^{3/2}} \, dx &=-\frac {b^4 \text {Subst}\left (\int \frac {1}{x (a+x)^{3/2} \left (b^2-x^2\right )^2} \, dx,x,b \text {sech}(c+d x)\right )}{d}\\ &=-\frac {\left (2 b^4\right ) \text {Subst}\left (\int \frac {1}{x^2 \left (-a+x^2\right ) \left (-a^2+b^2+2 a x^2-x^4\right )^2} \, dx,x,\sqrt {a+b \text {sech}(c+d x)}\right )}{d}\\ &=-\frac {\left (2 b^4\right ) \text {Subst}\left (\int \left (-\frac {1}{a (a-b)^2 (a+b)^2 x^2}-\frac {1}{a b^4 \left (a-x^2\right )}-\frac {1}{4 (a-b) b^3 \left (a-b-x^2\right )^2}+\frac {2 a-3 b}{4 (a-b)^2 b^4 \left (a-b-x^2\right )}+\frac {1}{4 b^3 (a+b) \left (a+b-x^2\right )^2}+\frac {2 a+3 b}{4 b^4 (a+b)^2 \left (a+b-x^2\right )}\right ) \, dx,x,\sqrt {a+b \text {sech}(c+d x)}\right )}{d}\\ &=-\frac {2 b^4}{a \left (a^2-b^2\right )^2 d \sqrt {a+b \text {sech}(c+d x)}}+\frac {2 \text {Subst}\left (\int \frac {1}{a-x^2} \, dx,x,\sqrt {a+b \text {sech}(c+d x)}\right )}{a d}-\frac {(2 a-3 b) \text {Subst}\left (\int \frac {1}{a-b-x^2} \, dx,x,\sqrt {a+b \text {sech}(c+d x)}\right )}{2 (a-b)^2 d}+\frac {b \text {Subst}\left (\int \frac {1}{\left (a-b-x^2\right )^2} \, dx,x,\sqrt {a+b \text {sech}(c+d x)}\right )}{2 (a-b) d}-\frac {b \text {Subst}\left (\int \frac {1}{\left (a+b-x^2\right )^2} \, dx,x,\sqrt {a+b \text {sech}(c+d x)}\right )}{2 (a+b) d}-\frac {(2 a+3 b) \text {Subst}\left (\int \frac {1}{a+b-x^2} \, dx,x,\sqrt {a+b \text {sech}(c+d x)}\right )}{2 (a+b)^2 d}\\ &=\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a}}\right )}{a^{3/2} d}-\frac {(2 a-3 b) \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a-b}}\right )}{2 (a-b)^{5/2} d}-\frac {(2 a+3 b) \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a+b}}\right )}{2 (a+b)^{5/2} d}-\frac {2 b^4}{a \left (a^2-b^2\right )^2 d \sqrt {a+b \text {sech}(c+d x)}}-\frac {\sqrt {a+b \text {sech}(c+d x)}}{4 (a+b)^2 d (1-\text {sech}(c+d x))}-\frac {\sqrt {a+b \text {sech}(c+d x)}}{4 (a-b)^2 d (1+\text {sech}(c+d x))}+\frac {b \text {Subst}\left (\int \frac {1}{a-b-x^2} \, dx,x,\sqrt {a+b \text {sech}(c+d x)}\right )}{4 (a-b)^2 d}-\frac {b \text {Subst}\left (\int \frac {1}{a+b-x^2} \, dx,x,\sqrt {a+b \text {sech}(c+d x)}\right )}{4 (a+b)^2 d}\\ &=\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a}}\right )}{a^{3/2} d}-\frac {(2 a-3 b) \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a-b}}\right )}{2 (a-b)^{5/2} d}+\frac {b \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a-b}}\right )}{4 (a-b)^{5/2} d}-\frac {b \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a+b}}\right )}{4 (a+b)^{5/2} d}-\frac {(2 a+3 b) \tanh ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a+b}}\right )}{2 (a+b)^{5/2} d}-\frac {2 b^4}{a \left (a^2-b^2\right )^2 d \sqrt {a+b \text {sech}(c+d x)}}-\frac {\sqrt {a+b \text {sech}(c+d x)}}{4 (a+b)^2 d (1-\text {sech}(c+d x))}-\frac {\sqrt {a+b \text {sech}(c+d x)}}{4 (a-b)^2 d (1+\text {sech}(c+d x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 6.79, size = 1084, normalized size = 3.43 \begin {gather*} \frac {(b+a \cosh (c+d x))^{3/2} \left (-\frac {\left (-a^3 b+7 a b^3\right ) \left (\sqrt {a+b} \text {ArcTan}\left (\frac {a+a \cosh (c+d x)-\sqrt {a \cosh (c+d x)} \sqrt {b+a \cosh (c+d x)}}{\sqrt {a} \sqrt {-a+b}}\right )+\sqrt {-a+b} \tanh ^{-1}\left (\frac {a+b+\sqrt {b+a \cosh (c+d x)} \left (\sqrt {a \cosh (c+d x)}-\sqrt {b+a \cosh (c+d x)}\right )}{\sqrt {a} \sqrt {a+b}}\right )\right ) \sqrt {\frac {-a+a \cosh (c+d x)}{a+a \cosh (c+d x)}} (a+a \cosh (c+d x))}{\sqrt {a} \sqrt {-a+b} \sqrt {a+b} \sqrt {-1+\cosh (c+d x)} \sqrt {a \cosh (c+d x)} \sqrt {1+\cosh (c+d x)} \sqrt {\text {sech}(c+d x)}}+\frac {\left (2 a^4-6 a^2 b^2-2 b^4\right ) \left (\sqrt {a+b} \text {ArcTan}\left (\frac {a+a \cosh (c+d x)-\sqrt {a \cosh (c+d x)} \sqrt {b+a \cosh (c+d x)}}{\sqrt {a} \sqrt {-a+b}}\right )-\sqrt {-a+b} \tanh ^{-1}\left (\frac {a+b+\sqrt {b+a \cosh (c+d x)} \left (\sqrt {a \cosh (c+d x)}-\sqrt {b+a \cosh (c+d x)}\right )}{\sqrt {a} \sqrt {a+b}}\right )\right ) \sqrt {a \cosh (c+d x)} \sqrt {\frac {-a+a \cosh (c+d x)}{a+a \cosh (c+d x)}} (a+a \cosh (c+d x)) \sqrt {\text {sech}(c+d x)}}{a^{3/2} \sqrt {-a+b} \sqrt {a+b} \sqrt {-1+\cosh (c+d x)} \sqrt {1+\cosh (c+d x)}}-\frac {i \left (2 a^4-4 a^2 b^2+2 b^4\right ) \left (-\sqrt {a+b} \left (4 i \sqrt {-a+b} \text {ArcTan}\left (\frac {\sqrt {b+a \cosh (c+d x)}}{\sqrt {-a \cosh (c+d x)}}\right )+\sqrt {a} \text {ArcTan}\left (\frac {a+a \cosh (c+d x)+i \sqrt {-a \cosh (c+d x)} \sqrt {b+a \cosh (c+d x)}}{\sqrt {a} \sqrt {-a+b}}\right )\right )+\sqrt {a} \sqrt {-a+b} \tanh ^{-1}\left (\frac {a-a \cosh (c+d x)-i \sqrt {-a \cosh (c+d x)} \sqrt {b+a \cosh (c+d x)}}{\sqrt {a} \sqrt {a+b}}\right )\right ) \sqrt {-a \cosh (c+d x)} \sqrt {\frac {-a+a \cosh (c+d x)}{a+a \cosh (c+d x)}} (a+a \cosh (c+d x)) \cosh (2 (c+d x)) \sqrt {\text {sech}(c+d x)}}{\sqrt {-a+b} \sqrt {a+b} \sqrt {-1+\cosh (c+d x)} \sqrt {1+\cosh (c+d x)} \left (a^2-2 b^2+4 b (b+a \cosh (c+d x))-2 (b+a \cosh (c+d x))^2\right )}\right ) \text {sech}^{\frac {3}{2}}(c+d x)}{4 a (a-b)^2 (a+b)^2 d (a+b \text {sech}(c+d x))^{3/2}}+\frac {(b+a \cosh (c+d x))^2 \left (-\frac {a^4+a^2 b^2+4 b^4}{2 a^2 \left (-a^2+b^2\right )^2}+\frac {2 b^5}{a^2 \left (a^2-b^2\right )^2 (b+a \cosh (c+d x))}+\frac {\left (-a^2-b^2+2 a b \cosh (c+d x)\right ) \text {csch}^2(c+d x)}{2 \left (-a^2+b^2\right )^2}\right ) \text {sech}^2(c+d x)}{d (a+b \text {sech}(c+d x))^{3/2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 3.31, size = 0, normalized size = 0.00 \[\int \frac {\coth ^{3}\left (d x +c \right )}{\left (a +b \,\mathrm {sech}\left (d x +c \right )\right )^{\frac {3}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \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. 5984 vs.
\(2 (266) = 532\).
time = 6.47, size = 53212, normalized size = 168.39 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\coth ^{3}{\left (c + d x \right )}}{\left (a + b \operatorname {sech}{\left (c + d x \right )}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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 {coth}\left (c+d\,x\right )}^3}{{\left (a+\frac {b}{\mathrm {cosh}\left (c+d\,x\right )}\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________