Optimal. Leaf size=127 \[ -\frac{\left (2 a^2-b^2\right ) \tanh ^{-1}\left (\frac{b-a \tanh \left (\frac{1}{2} (c+d x)\right )}{\sqrt{a^2+b^2}}\right )}{d \left (a^2+b^2\right )^{5/2}}-\frac{3 a b \cosh (c+d x)}{2 d \left (a^2+b^2\right )^2 (a+b \sinh (c+d x))}-\frac{b \cosh (c+d x)}{2 d \left (a^2+b^2\right ) (a+b \sinh (c+d x))^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.122238, antiderivative size = 127, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {2664, 2754, 12, 2660, 618, 204} \[ -\frac{\left (2 a^2-b^2\right ) \tanh ^{-1}\left (\frac{b-a \tanh \left (\frac{1}{2} (c+d x)\right )}{\sqrt{a^2+b^2}}\right )}{d \left (a^2+b^2\right )^{5/2}}-\frac{3 a b \cosh (c+d x)}{2 d \left (a^2+b^2\right )^2 (a+b \sinh (c+d x))}-\frac{b \cosh (c+d x)}{2 d \left (a^2+b^2\right ) (a+b \sinh (c+d x))^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2664
Rule 2754
Rule 12
Rule 2660
Rule 618
Rule 204
Rubi steps
\begin{align*} \int \frac{1}{(a+b \sinh (c+d x))^3} \, dx &=-\frac{b \cosh (c+d x)}{2 \left (a^2+b^2\right ) d (a+b \sinh (c+d x))^2}-\frac{\int \frac{-2 a+b \sinh (c+d x)}{(a+b \sinh (c+d x))^2} \, dx}{2 \left (a^2+b^2\right )}\\ &=-\frac{b \cosh (c+d x)}{2 \left (a^2+b^2\right ) d (a+b \sinh (c+d x))^2}-\frac{3 a b \cosh (c+d x)}{2 \left (a^2+b^2\right )^2 d (a+b \sinh (c+d x))}+\frac{\int \frac{2 a^2-b^2}{a+b \sinh (c+d x)} \, dx}{2 \left (a^2+b^2\right )^2}\\ &=-\frac{b \cosh (c+d x)}{2 \left (a^2+b^2\right ) d (a+b \sinh (c+d x))^2}-\frac{3 a b \cosh (c+d x)}{2 \left (a^2+b^2\right )^2 d (a+b \sinh (c+d x))}+\frac{\left (2 a^2-b^2\right ) \int \frac{1}{a+b \sinh (c+d x)} \, dx}{2 \left (a^2+b^2\right )^2}\\ &=-\frac{b \cosh (c+d x)}{2 \left (a^2+b^2\right ) d (a+b \sinh (c+d x))^2}-\frac{3 a b \cosh (c+d x)}{2 \left (a^2+b^2\right )^2 d (a+b \sinh (c+d x))}-\frac{\left (i \left (2 a^2-b^2\right )\right ) \operatorname{Subst}\left (\int \frac{1}{a-2 i b x+a x^2} \, dx,x,\tan \left (\frac{1}{2} (i c+i d x)\right )\right )}{\left (a^2+b^2\right )^2 d}\\ &=-\frac{b \cosh (c+d x)}{2 \left (a^2+b^2\right ) d (a+b \sinh (c+d x))^2}-\frac{3 a b \cosh (c+d x)}{2 \left (a^2+b^2\right )^2 d (a+b \sinh (c+d x))}+\frac{\left (2 i \left (2 a^2-b^2\right )\right ) \operatorname{Subst}\left (\int \frac{1}{-4 \left (a^2+b^2\right )-x^2} \, dx,x,-2 i b+2 a \tan \left (\frac{1}{2} (i c+i d x)\right )\right )}{\left (a^2+b^2\right )^2 d}\\ &=-\frac{\left (2 a^2-b^2\right ) \tanh ^{-1}\left (\frac{b-a \tanh \left (\frac{1}{2} (c+d x)\right )}{\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^{5/2} d}-\frac{b \cosh (c+d x)}{2 \left (a^2+b^2\right ) d (a+b \sinh (c+d x))^2}-\frac{3 a b \cosh (c+d x)}{2 \left (a^2+b^2\right )^2 d (a+b \sinh (c+d x))}\\ \end{align*}
Mathematica [A] time = 0.272079, size = 117, normalized size = 0.92 \[ \frac{\frac{2 \left (2 a^2-b^2\right ) \tan ^{-1}\left (\frac{b-a \tanh \left (\frac{1}{2} (c+d x)\right )}{\sqrt{-a^2-b^2}}\right )}{\sqrt{-a^2-b^2}}-\frac{b \cosh (c+d x) \left (4 a^2+3 a b \sinh (c+d x)+b^2\right )}{(a+b \sinh (c+d x))^2}}{2 d \left (a^2+b^2\right )^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.049, size = 280, normalized size = 2.2 \begin{align*}{\frac{1}{d} \left ( -2\,{\frac{1}{ \left ( \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}a-2\,\tanh \left ( 1/2\,dx+c/2 \right ) b-a \right ) ^{2}} \left ( -1/2\,{\frac{{b}^{2} \left ( 5\,{a}^{2}+2\,{b}^{2} \right ) \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) ^{3}}{a \left ({a}^{4}+2\,{a}^{2}{b}^{2}+{b}^{4} \right ) }}-1/2\,{\frac{b \left ( 4\,{a}^{4}-7\,{a}^{2}{b}^{2}-2\,{b}^{4} \right ) \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}{ \left ({a}^{4}+2\,{a}^{2}{b}^{2}+{b}^{4} \right ){a}^{2}}}+1/2\,{\frac{{b}^{2} \left ( 11\,{a}^{2}+2\,{b}^{2} \right ) \tanh \left ( 1/2\,dx+c/2 \right ) }{a \left ({a}^{4}+2\,{a}^{2}{b}^{2}+{b}^{4} \right ) }}+1/2\,{\frac{b \left ( 4\,{a}^{2}+{b}^{2} \right ) }{{a}^{4}+2\,{a}^{2}{b}^{2}+{b}^{4}}} \right ) }+{\frac{2\,{a}^{2}-{b}^{2}}{{a}^{4}+2\,{a}^{2}{b}^{2}+{b}^{4}}{\it Artanh} \left ({\frac{1}{2} \left ( 2\,a\tanh \left ( 1/2\,dx+c/2 \right ) -2\,b \right ){\frac{1}{\sqrt{{a}^{2}+{b}^{2}}}}} \right ){\frac{1}{\sqrt{{a}^{2}+{b}^{2}}}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.65862, size = 3005, normalized size = 23.66 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.31144, size = 319, normalized size = 2.51 \begin{align*} -\frac{{\left (2 \, a^{2} - b^{2}\right )} \log \left (\frac{{\left | -2 \, b e^{\left (d x + c\right )} - 2 \, a - 2 \, \sqrt{a^{2} + b^{2}} \right |}}{{\left | -2 \, b e^{\left (d x + c\right )} - 2 \, a + 2 \, \sqrt{a^{2} + b^{2}} \right |}}\right )}{2 \,{\left (a^{4} d + 2 \, a^{2} b^{2} d + b^{4} d\right )} \sqrt{a^{2} + b^{2}}} + \frac{2 \, a^{2} b e^{\left (3 \, d x + 3 \, c\right )} - b^{3} e^{\left (3 \, d x + 3 \, c\right )} + 6 \, a^{3} e^{\left (2 \, d x + 2 \, c\right )} - 3 \, a b^{2} e^{\left (2 \, d x + 2 \, c\right )} - 10 \, a^{2} b e^{\left (d x + c\right )} - b^{3} e^{\left (d x + c\right )} + 3 \, a b^{2}}{{\left (a^{4} d + 2 \, a^{2} b^{2} d + b^{4} d\right )}{\left (b e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a e^{\left (d x + c\right )} - b\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]