Integrand size = 12, antiderivative size = 127 \[ \int \frac {1}{(a+b \sinh (c+d x))^3} \, dx=-\frac {\left (2 a^2-b^2\right ) \text {arctanh}\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))} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {2743, 2833, 12, 2739, 632, 210} \[ \int \frac {1}{(a+b \sinh (c+d x))^3} \, dx=-\frac {\left (2 a^2-b^2\right ) \text {arctanh}\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} \]
[In]
[Out]
Rule 12
Rule 210
Rule 632
Rule 2739
Rule 2743
Rule 2833
Rubi steps \begin{align*} \text {integral}& = -\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 ) \text {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 ) \text {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 ) \text {arctanh}\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*}
Time = 0.24 (sec) , antiderivative size = 117, normalized size of antiderivative = 0.92 \[ \int \frac {1}{(a+b \sinh (c+d x))^3} \, dx=\frac {\frac {2 \left (2 a^2-b^2\right ) \arctan \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+b^2+3 a b \sinh (c+d x)\right )}{(a+b \sinh (c+d x))^2}}{2 \left (a^2+b^2\right )^2 d} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(279\) vs. \(2(118)=236\).
Time = 1.04 (sec) , antiderivative size = 280, normalized size of antiderivative = 2.20
method | result | size |
derivativedivides | \(\frac {-\frac {2 \left (-\frac {b^{2} \left (5 a^{2}+2 b^{2}\right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}{2 a \left (a^{4}+2 a^{2} b^{2}+b^{4}\right )}-\frac {b \left (4 a^{4}-7 a^{2} b^{2}-2 b^{4}\right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}{2 \left (a^{4}+2 a^{2} b^{2}+b^{4}\right ) a^{2}}+\frac {b^{2} \left (11 a^{2}+2 b^{2}\right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )}{2 \left (a^{4}+2 a^{2} b^{2}+b^{4}\right ) a}+\frac {b \left (4 a^{2}+b^{2}\right )}{2 a^{4}+4 a^{2} b^{2}+2 b^{4}}\right )}{\left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} a -2 b \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-a \right )^{2}}+\frac {\left (2 a^{2}-b^{2}\right ) \operatorname {arctanh}\left (\frac {2 a \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-2 b}{2 \sqrt {a^{2}+b^{2}}}\right )}{\left (a^{4}+2 a^{2} b^{2}+b^{4}\right ) \sqrt {a^{2}+b^{2}}}}{d}\) | \(280\) |
default | \(\frac {-\frac {2 \left (-\frac {b^{2} \left (5 a^{2}+2 b^{2}\right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}{2 a \left (a^{4}+2 a^{2} b^{2}+b^{4}\right )}-\frac {b \left (4 a^{4}-7 a^{2} b^{2}-2 b^{4}\right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}{2 \left (a^{4}+2 a^{2} b^{2}+b^{4}\right ) a^{2}}+\frac {b^{2} \left (11 a^{2}+2 b^{2}\right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )}{2 \left (a^{4}+2 a^{2} b^{2}+b^{4}\right ) a}+\frac {b \left (4 a^{2}+b^{2}\right )}{2 a^{4}+4 a^{2} b^{2}+2 b^{4}}\right )}{\left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} a -2 b \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-a \right )^{2}}+\frac {\left (2 a^{2}-b^{2}\right ) \operatorname {arctanh}\left (\frac {2 a \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-2 b}{2 \sqrt {a^{2}+b^{2}}}\right )}{\left (a^{4}+2 a^{2} b^{2}+b^{4}\right ) \sqrt {a^{2}+b^{2}}}}{d}\) | \(280\) |
risch | \(\frac {2 a^{2} b \,{\mathrm e}^{3 d x +3 c}-b^{3} {\mathrm e}^{3 d x +3 c}+6 \,{\mathrm e}^{2 d x +2 c} a^{3}-3 \,{\mathrm e}^{2 d x +2 c} a \,b^{2}-10 \,{\mathrm e}^{d x +c} a^{2} b -{\mathrm e}^{d x +c} b^{3}+3 a \,b^{2}}{d \left (a^{2}+b^{2}\right )^{2} \left (b \,{\mathrm e}^{2 d x +2 c}+2 a \,{\mathrm e}^{d x +c}-b \right )^{2}}+\frac {\ln \left ({\mathrm e}^{d x +c}+\frac {\left (a^{2}+b^{2}\right )^{\frac {5}{2}} a -a^{6}-3 a^{4} b^{2}-3 a^{2} b^{4}-b^{6}}{b \left (a^{2}+b^{2}\right )^{\frac {5}{2}}}\right ) a^{2}}{\left (a^{2}+b^{2}\right )^{\frac {5}{2}} d}-\frac {\ln \left ({\mathrm e}^{d x +c}+\frac {\left (a^{2}+b^{2}\right )^{\frac {5}{2}} a -a^{6}-3 a^{4} b^{2}-3 a^{2} b^{4}-b^{6}}{b \left (a^{2}+b^{2}\right )^{\frac {5}{2}}}\right ) b^{2}}{2 \left (a^{2}+b^{2}\right )^{\frac {5}{2}} d}-\frac {\ln \left ({\mathrm e}^{d x +c}+\frac {\left (a^{2}+b^{2}\right )^{\frac {5}{2}} a +a^{6}+3 a^{4} b^{2}+3 a^{2} b^{4}+b^{6}}{b \left (a^{2}+b^{2}\right )^{\frac {5}{2}}}\right ) a^{2}}{\left (a^{2}+b^{2}\right )^{\frac {5}{2}} d}+\frac {\ln \left ({\mathrm e}^{d x +c}+\frac {\left (a^{2}+b^{2}\right )^{\frac {5}{2}} a +a^{6}+3 a^{4} b^{2}+3 a^{2} b^{4}+b^{6}}{b \left (a^{2}+b^{2}\right )^{\frac {5}{2}}}\right ) b^{2}}{2 \left (a^{2}+b^{2}\right )^{\frac {5}{2}} d}\) | \(424\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1347 vs. \(2 (120) = 240\).
Time = 0.30 (sec) , antiderivative size = 1347, normalized size of antiderivative = 10.61 \[ \int \frac {1}{(a+b \sinh (c+d x))^3} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{(a+b \sinh (c+d x))^3} \, dx=\text {Timed out} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 315 vs. \(2 (120) = 240\).
Time = 0.28 (sec) , antiderivative size = 315, normalized size of antiderivative = 2.48 \[ \int \frac {1}{(a+b \sinh (c+d x))^3} \, dx=\frac {{\left (2 \, a^{2} - b^{2}\right )} \log \left (\frac {b e^{\left (-d x - c\right )} - a - \sqrt {a^{2} + b^{2}}}{b e^{\left (-d x - c\right )} - a + \sqrt {a^{2} + b^{2}}}\right )}{2 \, {\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} \sqrt {a^{2} + b^{2}} d} - \frac {3 \, a b^{2} + {\left (10 \, a^{2} b + b^{3}\right )} e^{\left (-d x - c\right )} + 3 \, {\left (2 \, a^{3} - a b^{2}\right )} e^{\left (-2 \, d x - 2 \, c\right )} - {\left (2 \, a^{2} b - b^{3}\right )} e^{\left (-3 \, d x - 3 \, c\right )}}{{\left (a^{4} b^{2} + 2 \, a^{2} b^{4} + b^{6} + 4 \, {\left (a^{5} b + 2 \, a^{3} b^{3} + a b^{5}\right )} e^{\left (-d x - c\right )} + 2 \, {\left (2 \, a^{6} + 3 \, a^{4} b^{2} - b^{6}\right )} e^{\left (-2 \, d x - 2 \, c\right )} - 4 \, {\left (a^{5} b + 2 \, a^{3} b^{3} + a b^{5}\right )} e^{\left (-3 \, d x - 3 \, c\right )} + {\left (a^{4} b^{2} + 2 \, a^{2} b^{4} + b^{6}\right )} e^{\left (-4 \, d x - 4 \, c\right )}\right )} d} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 231, normalized size of antiderivative = 1.82 \[ \int \frac {1}{(a+b \sinh (c+d x))^3} \, dx=\frac {\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 )}{{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} \sqrt {a^{2} + b^{2}}} + \frac {2 \, {\left (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}\right )}}{{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} {\left (b e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a e^{\left (d x + c\right )} - b\right )}^{2}}}{2 \, d} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{(a+b \sinh (c+d x))^3} \, dx=\int \frac {1}{{\left (a+b\,\mathrm {sinh}\left (c+d\,x\right )\right )}^3} \,d x \]
[In]
[Out]