Optimal. Leaf size=61 \[ \frac {\left (a^2-b^2\right ) \log (a+b \cosh (c+d x))}{b^3 d}-\frac {a \cosh (c+d x)}{b^2 d}+\frac {\cosh ^2(c+d x)}{2 b d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2668, 697} \[ \frac {\left (a^2-b^2\right ) \log (a+b \cosh (c+d x))}{b^3 d}-\frac {a \cosh (c+d x)}{b^2 d}+\frac {\cosh ^2(c+d x)}{2 b d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 697
Rule 2668
Rubi steps
\begin {align*} \int \frac {\sinh ^3(c+d x)}{a+b \cosh (c+d x)} \, dx &=-\frac {\operatorname {Subst}\left (\int \frac {b^2-x^2}{a+x} \, dx,x,b \cosh (c+d x)\right )}{b^3 d}\\ &=-\frac {\operatorname {Subst}\left (\int \left (a-x+\frac {-a^2+b^2}{a+x}\right ) \, dx,x,b \cosh (c+d x)\right )}{b^3 d}\\ &=-\frac {a \cosh (c+d x)}{b^2 d}+\frac {\cosh ^2(c+d x)}{2 b d}+\frac {\left (a^2-b^2\right ) \log (a+b \cosh (c+d x))}{b^3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 55, normalized size = 0.90 \[ \frac {4 \left (a^2-b^2\right ) \log (a+b \cosh (c+d x))-4 a b \cosh (c+d x)+b^2 \cosh (2 (c+d x))}{4 b^3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.64, size = 340, normalized size = 5.57 \[ \frac {b^{2} \cosh \left (d x + c\right )^{4} + b^{2} \sinh \left (d x + c\right )^{4} - 8 \, {\left (a^{2} - b^{2}\right )} d x \cosh \left (d x + c\right )^{2} - 4 \, a b \cosh \left (d x + c\right )^{3} + 4 \, {\left (b^{2} \cosh \left (d x + c\right ) - a b\right )} \sinh \left (d x + c\right )^{3} - 4 \, a b \cosh \left (d x + c\right ) + 2 \, {\left (3 \, b^{2} \cosh \left (d x + c\right )^{2} - 4 \, {\left (a^{2} - b^{2}\right )} d x - 6 \, a b \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{2} + b^{2} + 8 \, {\left ({\left (a^{2} - b^{2}\right )} \cosh \left (d x + c\right )^{2} + 2 \, {\left (a^{2} - b^{2}\right )} \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + {\left (a^{2} - b^{2}\right )} \sinh \left (d x + c\right )^{2}\right )} \log \left (\frac {2 \, {\left (b \cosh \left (d x + c\right ) + a\right )}}{\cosh \left (d x + c\right ) - \sinh \left (d x + c\right )}\right ) + 4 \, {\left (b^{2} \cosh \left (d x + c\right )^{3} - 4 \, {\left (a^{2} - b^{2}\right )} d x \cosh \left (d x + c\right ) - 3 \, a b \cosh \left (d x + c\right )^{2} - a b\right )} \sinh \left (d x + c\right )}{8 \, {\left (b^{3} d \cosh \left (d x + c\right )^{2} + 2 \, b^{3} d \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b^{3} d \sinh \left (d x + c\right )^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 88, normalized size = 1.44 \[ \frac {\frac {b {\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )}^{2} - 4 \, a {\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )}}{b^{2}} + \frac {8 \, {\left (a^{2} - b^{2}\right )} \log \left ({\left | b {\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )} + 2 \, a \right |}\right )}{b^{3}}}{8 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.08, size = 415, normalized size = 6.80 \[ -\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right ) a^{2}}{d \,b^{3}}+\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}{d b}+\frac {1}{2 d b \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )^{2}}+\frac {a}{d \,b^{2} \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}+\frac {1}{2 d b \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}+\frac {1}{2 d b \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )^{2}}-\frac {a}{d \,b^{2} \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}-\frac {1}{2 d b \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}-\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right ) a^{2}}{d \,b^{3}}+\frac {\ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}{d b}+\frac {\ln \left (\left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a -\left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b -a -b \right ) a^{3}}{d \,b^{3} \left (a -b \right )}-\frac {\ln \left (\left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a -\left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b -a -b \right ) a^{2}}{d \,b^{2} \left (a -b \right )}-\frac {\ln \left (\left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a -\left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b -a -b \right ) a}{d b \left (a -b \right )}+\frac {\ln \left (\left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a -\left (\tanh ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b -a -b \right )}{d \left (a -b \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.33, size = 130, normalized size = 2.13 \[ -\frac {{\left (4 \, a e^{\left (-d x - c\right )} - b\right )} e^{\left (2 \, d x + 2 \, c\right )}}{8 \, b^{2} d} + \frac {{\left (a^{2} - b^{2}\right )} {\left (d x + c\right )}}{b^{3} d} - \frac {4 \, a e^{\left (-d x - c\right )} - b e^{\left (-2 \, d x - 2 \, c\right )}}{8 \, b^{2} d} + \frac {{\left (a^{2} - b^{2}\right )} \log \left (2 \, a e^{\left (-d x - c\right )} + b e^{\left (-2 \, d x - 2 \, c\right )} + b\right )}{b^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.06, size = 122, normalized size = 2.00 \[ \frac {{\mathrm {e}}^{-2\,c-2\,d\,x}}{8\,b\,d}+\frac {{\mathrm {e}}^{2\,c+2\,d\,x}}{8\,b\,d}-\frac {x\,\left (a^2-b^2\right )}{b^3}+\frac {\ln \left (b+2\,a\,{\mathrm {e}}^{d\,x}\,{\mathrm {e}}^c+b\,{\mathrm {e}}^{2\,c}\,{\mathrm {e}}^{2\,d\,x}\right )\,\left (a^2-b^2\right )}{b^3\,d}-\frac {a\,{\mathrm {e}}^{-c-d\,x}}{2\,b^2\,d}-\frac {a\,{\mathrm {e}}^{c+d\,x}}{2\,b^2\,d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________