\(\int \sinh (c+d x) (a+b \tanh ^3(c+d x))^3 \, dx\) [68]

Optimal result
Mathematica [A] (verified)
Rubi [C] (verified)
Maple [A] (verified)
Fricas [B] (verification not implemented)
Sympy [F]
Maxima [A] (verification not implemented)
Giac [A] (verification not implemented)
Mupad [B] (verification not implemented)
Reduce [B] (verification not implemented)

Optimal result

Integrand size = 21, antiderivative size = 260 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=-\frac {9 a^2 b \arctan (\sinh (c+d x))}{2 d}-\frac {315 b^3 \arctan (\sinh (c+d x))}{128 d}+\frac {a^3 \cosh (c+d x)}{d}+\frac {3 a b^2 \cosh (c+d x)}{d}+\frac {9 a b^2 \text {sech}(c+d x)}{d}-\frac {3 a b^2 \text {sech}^3(c+d x)}{d}+\frac {3 a b^2 \text {sech}^5(c+d x)}{5 d}+\frac {3 a^2 b \sinh (c+d x)}{d}+\frac {b^3 \sinh (c+d x)}{d}+\frac {3 a^2 b \text {sech}(c+d x) \tanh (c+d x)}{2 d}+\frac {325 b^3 \text {sech}(c+d x) \tanh (c+d x)}{128 d}-\frac {105 b^3 \text {sech}^3(c+d x) \tanh (c+d x)}{64 d}+\frac {11 b^3 \text {sech}^5(c+d x) \tanh (c+d x)}{16 d}-\frac {b^3 \text {sech}^7(c+d x) \tanh (c+d x)}{8 d} \] Output:

-9/2*a^2*b*arctan(sinh(d*x+c))/d-315/128*b^3*arctan(sinh(d*x+c))/d+a^3*cos 
h(d*x+c)/d+3*a*b^2*cosh(d*x+c)/d+9*a*b^2*sech(d*x+c)/d-3*a*b^2*sech(d*x+c) 
^3/d+3/5*a*b^2*sech(d*x+c)^5/d+3*a^2*b*sinh(d*x+c)/d+b^3*sinh(d*x+c)/d+3/2 
*a^2*b*sech(d*x+c)*tanh(d*x+c)/d+325/128*b^3*sech(d*x+c)*tanh(d*x+c)/d-105 
/64*b^3*sech(d*x+c)^3*tanh(d*x+c)/d+11/16*b^3*sech(d*x+c)^5*tanh(d*x+c)/d- 
1/8*b^3*sech(d*x+c)^7*tanh(d*x+c)/d
 

Mathematica [A] (verified)

Time = 6.16 (sec) , antiderivative size = 168, normalized size of antiderivative = 0.65 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=\frac {640 a \left (a^2+3 b^2\right ) \cosh (c+d x)+b \left (-90 \left (64 a^2+35 b^2\right ) \arctan \left (\tanh \left (\frac {1}{2} (c+d x)\right )\right )+640 \left (3 a^2+b^2\right ) \sinh (c+d x)-80 b^2 \text {sech}^7(c+d x) \tanh (c+d x)-30 b \text {sech}^3(c+d x) (64 a+35 b \tanh (c+d x))+8 b \text {sech}^5(c+d x) (48 a+55 b \tanh (c+d x))+5 \text {sech}(c+d x) \left (1152 a b+\left (192 a^2+325 b^2\right ) \tanh (c+d x)\right )\right )}{640 d} \] Input:

Integrate[Sinh[c + d*x]*(a + b*Tanh[c + d*x]^3)^3,x]
 

Output:

(640*a*(a^2 + 3*b^2)*Cosh[c + d*x] + b*(-90*(64*a^2 + 35*b^2)*ArcTan[Tanh[ 
(c + d*x)/2]] + 640*(3*a^2 + b^2)*Sinh[c + d*x] - 80*b^2*Sech[c + d*x]^7*T 
anh[c + d*x] - 30*b*Sech[c + d*x]^3*(64*a + 35*b*Tanh[c + d*x]) + 8*b*Sech 
[c + d*x]^5*(48*a + 55*b*Tanh[c + d*x]) + 5*Sech[c + d*x]*(1152*a*b + (192 
*a^2 + 325*b^2)*Tanh[c + d*x])))/(640*d)
 

Rubi [C] (verified)

Result contains complex when optimal does not.

Time = 0.86 (sec) , antiderivative size = 302, normalized size of antiderivative = 1.16, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {3042, 26, 4149, 2009}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx\)

\(\Big \downarrow \) 3042

\(\displaystyle \int -i \sin (i c+i d x) \left (a+i b \tan (i c+i d x)^3\right )^3dx\)

\(\Big \downarrow \) 26

\(\displaystyle -i \int \sin (i c+i d x) \left (i b \tan (i c+i d x)^3+a\right )^3dx\)

\(\Big \downarrow \) 4149

\(\displaystyle -i \int \left (i b^3 \sinh (c+d x) \tanh ^9(c+d x)+3 i a b^2 \sinh (c+d x) \tanh ^6(c+d x)+3 i a^2 b \sinh (c+d x) \tanh ^3(c+d x)+i a^3 \sinh (c+d x)\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle -i \left (\frac {i a^3 \cosh (c+d x)}{d}-\frac {9 i a^2 b \arctan (\sinh (c+d x))}{2 d}+\frac {9 i a^2 b \sinh (c+d x)}{2 d}-\frac {3 i a^2 b \sinh (c+d x) \tanh ^2(c+d x)}{2 d}+\frac {3 i a b^2 \cosh (c+d x)}{d}+\frac {3 i a b^2 \text {sech}^5(c+d x)}{5 d}-\frac {3 i a b^2 \text {sech}^3(c+d x)}{d}+\frac {9 i a b^2 \text {sech}(c+d x)}{d}-\frac {315 i b^3 \arctan (\sinh (c+d x))}{128 d}+\frac {315 i b^3 \sinh (c+d x)}{128 d}-\frac {i b^3 \sinh (c+d x) \tanh ^8(c+d x)}{8 d}-\frac {3 i b^3 \sinh (c+d x) \tanh ^6(c+d x)}{16 d}-\frac {21 i b^3 \sinh (c+d x) \tanh ^4(c+d x)}{64 d}-\frac {105 i b^3 \sinh (c+d x) \tanh ^2(c+d x)}{128 d}\right )\)

Input:

Int[Sinh[c + d*x]*(a + b*Tanh[c + d*x]^3)^3,x]
 

Output:

(-I)*((((-9*I)/2)*a^2*b*ArcTan[Sinh[c + d*x]])/d - (((315*I)/128)*b^3*ArcT 
an[Sinh[c + d*x]])/d + (I*a^3*Cosh[c + d*x])/d + ((3*I)*a*b^2*Cosh[c + d*x 
])/d + ((9*I)*a*b^2*Sech[c + d*x])/d - ((3*I)*a*b^2*Sech[c + d*x]^3)/d + ( 
((3*I)/5)*a*b^2*Sech[c + d*x]^5)/d + (((9*I)/2)*a^2*b*Sinh[c + d*x])/d + ( 
((315*I)/128)*b^3*Sinh[c + d*x])/d - (((3*I)/2)*a^2*b*Sinh[c + d*x]*Tanh[c 
 + d*x]^2)/d - (((105*I)/128)*b^3*Sinh[c + d*x]*Tanh[c + d*x]^2)/d - (((21 
*I)/64)*b^3*Sinh[c + d*x]*Tanh[c + d*x]^4)/d - (((3*I)/16)*b^3*Sinh[c + d* 
x]*Tanh[c + d*x]^6)/d - ((I/8)*b^3*Sinh[c + d*x]*Tanh[c + d*x]^8)/d)
 

Defintions of rubi rules used

rule 26
Int[(Complex[0, a_])*(Fx_), x_Symbol] :> Simp[(Complex[Identity[0], a])   I 
nt[Fx, x], x] /; FreeQ[a, x] && EqQ[a^2, 1]
 

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 4149
Int[((d_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((a_) + (b_.)*((c_.)*tan[(e_.) + 
(f_.)*(x_)])^(n_))^(p_.), x_Symbol] :> Int[ExpandTrig[(d*sin[e + f*x])^m*(a 
 + b*(c*tan[e + f*x])^n)^p, x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && 
 IGtQ[p, 0]
 
Maple [A] (verified)

Time = 12.30 (sec) , antiderivative size = 297, normalized size of antiderivative = 1.14

method result size
derivativedivides \(\frac {a^{3} \cosh \left (d x +c \right )+3 a^{2} b \left (\frac {\sinh \left (d x +c \right )^{3}}{\cosh \left (d x +c \right )^{2}}+\frac {3 \sinh \left (d x +c \right )}{\cosh \left (d x +c \right )^{2}}-\frac {3 \,\operatorname {sech}\left (d x +c \right ) \tanh \left (d x +c \right )}{2}-3 \arctan \left ({\mathrm e}^{d x +c}\right )\right )+3 b^{2} a \left (\frac {\sinh \left (d x +c \right )^{6}}{\cosh \left (d x +c \right )^{5}}+\frac {6 \sinh \left (d x +c \right )^{4}}{\cosh \left (d x +c \right )^{5}}+\frac {8 \sinh \left (d x +c \right )^{2}}{\cosh \left (d x +c \right )^{5}}+\frac {16}{5 \cosh \left (d x +c \right )^{5}}\right )+b^{3} \left (\frac {\sinh \left (d x +c \right )^{9}}{\cosh \left (d x +c \right )^{8}}+\frac {9 \sinh \left (d x +c \right )^{7}}{\cosh \left (d x +c \right )^{8}}+\frac {21 \sinh \left (d x +c \right )^{5}}{\cosh \left (d x +c \right )^{8}}+\frac {21 \sinh \left (d x +c \right )^{3}}{\cosh \left (d x +c \right )^{8}}+\frac {9 \sinh \left (d x +c \right )}{\cosh \left (d x +c \right )^{8}}-9 \left (\frac {\operatorname {sech}\left (d x +c \right )^{7}}{8}+\frac {7 \operatorname {sech}\left (d x +c \right )^{5}}{48}+\frac {35 \operatorname {sech}\left (d x +c \right )^{3}}{192}+\frac {35 \,\operatorname {sech}\left (d x +c \right )}{128}\right ) \tanh \left (d x +c \right )-\frac {315 \arctan \left ({\mathrm e}^{d x +c}\right )}{64}\right )}{d}\) \(297\)
default \(\frac {a^{3} \cosh \left (d x +c \right )+3 a^{2} b \left (\frac {\sinh \left (d x +c \right )^{3}}{\cosh \left (d x +c \right )^{2}}+\frac {3 \sinh \left (d x +c \right )}{\cosh \left (d x +c \right )^{2}}-\frac {3 \,\operatorname {sech}\left (d x +c \right ) \tanh \left (d x +c \right )}{2}-3 \arctan \left ({\mathrm e}^{d x +c}\right )\right )+3 b^{2} a \left (\frac {\sinh \left (d x +c \right )^{6}}{\cosh \left (d x +c \right )^{5}}+\frac {6 \sinh \left (d x +c \right )^{4}}{\cosh \left (d x +c \right )^{5}}+\frac {8 \sinh \left (d x +c \right )^{2}}{\cosh \left (d x +c \right )^{5}}+\frac {16}{5 \cosh \left (d x +c \right )^{5}}\right )+b^{3} \left (\frac {\sinh \left (d x +c \right )^{9}}{\cosh \left (d x +c \right )^{8}}+\frac {9 \sinh \left (d x +c \right )^{7}}{\cosh \left (d x +c \right )^{8}}+\frac {21 \sinh \left (d x +c \right )^{5}}{\cosh \left (d x +c \right )^{8}}+\frac {21 \sinh \left (d x +c \right )^{3}}{\cosh \left (d x +c \right )^{8}}+\frac {9 \sinh \left (d x +c \right )}{\cosh \left (d x +c \right )^{8}}-9 \left (\frac {\operatorname {sech}\left (d x +c \right )^{7}}{8}+\frac {7 \operatorname {sech}\left (d x +c \right )^{5}}{48}+\frac {35 \operatorname {sech}\left (d x +c \right )^{3}}{192}+\frac {35 \,\operatorname {sech}\left (d x +c \right )}{128}\right ) \tanh \left (d x +c \right )-\frac {315 \arctan \left ({\mathrm e}^{d x +c}\right )}{64}\right )}{d}\) \(297\)
risch \(\frac {{\mathrm e}^{d x +c} a^{3}}{2 d}+\frac {3 \,{\mathrm e}^{d x +c} a^{2} b}{2 d}+\frac {3 \,{\mathrm e}^{d x +c} b^{2} a}{2 d}+\frac {{\mathrm e}^{d x +c} b^{3}}{2 d}+\frac {{\mathrm e}^{-d x -c} a^{3}}{2 d}-\frac {3 \,{\mathrm e}^{-d x -c} a^{2} b}{2 d}+\frac {3 b^{2} a \,{\mathrm e}^{-d x -c}}{2 d}-\frac {b^{3} {\mathrm e}^{-d x -c}}{2 d}+\frac {b \,{\mathrm e}^{d x +c} \left (960 a^{2} {\mathrm e}^{14 d x +14 c}+5760 a b \,{\mathrm e}^{14 d x +14 c}+1625 b^{2} {\mathrm e}^{14 d x +14 c}+4800 \,{\mathrm e}^{12 d x +12 c} a^{2}+32640 \,{\mathrm e}^{12 d x +12 c} a b +3925 \,{\mathrm e}^{12 d x +12 c} b^{2}+8640 \,{\mathrm e}^{10 d x +10 c} a^{2}+88704 \,{\mathrm e}^{10 d x +10 c} a b +9065 \,{\mathrm e}^{10 d x +10 c} b^{2}+4800 \,{\mathrm e}^{8 d x +8 c} a^{2}+143232 \,{\mathrm e}^{8 d x +8 c} a b +1645 \,{\mathrm e}^{8 d x +8 c} b^{2}-4800 \,{\mathrm e}^{6 d x +6 c} a^{2}+143232 \,{\mathrm e}^{6 d x +6 c} a b -1645 \,{\mathrm e}^{6 d x +6 c} b^{2}-8640 \,{\mathrm e}^{4 d x +4 c} a^{2}+88704 \,{\mathrm e}^{4 d x +4 c} a b -9065 \,{\mathrm e}^{4 d x +4 c} b^{2}-4800 \,{\mathrm e}^{2 d x +2 c} a^{2}+32640 \,{\mathrm e}^{2 d x +2 c} b a -3925 b^{2} {\mathrm e}^{2 d x +2 c}-960 a^{2}+5760 a b -1625 b^{2}\right )}{320 d \left ({\mathrm e}^{2 d x +2 c}+1\right )^{8}}+\frac {9 i b \ln \left ({\mathrm e}^{d x +c}-i\right ) a^{2}}{2 d}+\frac {315 i b^{3} \ln \left ({\mathrm e}^{d x +c}-i\right )}{128 d}-\frac {9 i b \ln \left ({\mathrm e}^{d x +c}+i\right ) a^{2}}{2 d}-\frac {315 i b^{3} \ln \left ({\mathrm e}^{d x +c}+i\right )}{128 d}\) \(509\)

Input:

int(sinh(d*x+c)*(a+b*tanh(d*x+c)^3)^3,x,method=_RETURNVERBOSE)
 

Output:

1/d*(a^3*cosh(d*x+c)+3*a^2*b*(sinh(d*x+c)^3/cosh(d*x+c)^2+3*sinh(d*x+c)/co 
sh(d*x+c)^2-3/2*sech(d*x+c)*tanh(d*x+c)-3*arctan(exp(d*x+c)))+3*b^2*a*(sin 
h(d*x+c)^6/cosh(d*x+c)^5+6*sinh(d*x+c)^4/cosh(d*x+c)^5+8*sinh(d*x+c)^2/cos 
h(d*x+c)^5+16/5/cosh(d*x+c)^5)+b^3*(sinh(d*x+c)^9/cosh(d*x+c)^8+9*sinh(d*x 
+c)^7/cosh(d*x+c)^8+21*sinh(d*x+c)^5/cosh(d*x+c)^8+21*sinh(d*x+c)^3/cosh(d 
*x+c)^8+9*sinh(d*x+c)/cosh(d*x+c)^8-9*(1/8*sech(d*x+c)^7+7/48*sech(d*x+c)^ 
5+35/192*sech(d*x+c)^3+35/128*sech(d*x+c))*tanh(d*x+c)-315/64*arctan(exp(d 
*x+c))))
 

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 6410 vs. \(2 (244) = 488\).

Time = 0.16 (sec) , antiderivative size = 6410, normalized size of antiderivative = 24.65 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=\text {Too large to display} \] Input:

integrate(sinh(d*x+c)*(a+b*tanh(d*x+c)^3)^3,x, algorithm="fricas")
 

Output:

Too large to include
 

Sympy [F]

\[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=\int \left (a + b \tanh ^{3}{\left (c + d x \right )}\right )^{3} \sinh {\left (c + d x \right )}\, dx \] Input:

integrate(sinh(d*x+c)*(a+b*tanh(d*x+c)**3)**3,x)
 

Output:

Integral((a + b*tanh(c + d*x)**3)**3*sinh(c + d*x), x)
 

Maxima [A] (verification not implemented)

Time = 0.13 (sec) , antiderivative size = 484, normalized size of antiderivative = 1.86 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=\frac {1}{64} \, b^{3} {\left (\frac {315 \, \arctan \left (e^{\left (-d x - c\right )}\right )}{d} - \frac {32 \, e^{\left (-d x - c\right )}}{d} + \frac {581 \, e^{\left (-2 \, d x - 2 \, c\right )} + 1681 \, e^{\left (-4 \, d x - 4 \, c\right )} + 3605 \, e^{\left (-6 \, d x - 6 \, c\right )} + 2569 \, e^{\left (-8 \, d x - 8 \, c\right )} + 1463 \, e^{\left (-10 \, d x - 10 \, c\right )} - 917 \, e^{\left (-12 \, d x - 12 \, c\right )} - 529 \, e^{\left (-14 \, d x - 14 \, c\right )} - 293 \, e^{\left (-16 \, d x - 16 \, c\right )} + 32}{d {\left (e^{\left (-d x - c\right )} + 8 \, e^{\left (-3 \, d x - 3 \, c\right )} + 28 \, e^{\left (-5 \, d x - 5 \, c\right )} + 56 \, e^{\left (-7 \, d x - 7 \, c\right )} + 70 \, e^{\left (-9 \, d x - 9 \, c\right )} + 56 \, e^{\left (-11 \, d x - 11 \, c\right )} + 28 \, e^{\left (-13 \, d x - 13 \, c\right )} + 8 \, e^{\left (-15 \, d x - 15 \, c\right )} + e^{\left (-17 \, d x - 17 \, c\right )}\right )}}\right )} + \frac {3}{2} \, a^{2} b {\left (\frac {6 \, \arctan \left (e^{\left (-d x - c\right )}\right )}{d} - \frac {e^{\left (-d x - c\right )}}{d} + \frac {4 \, e^{\left (-2 \, d x - 2 \, c\right )} - e^{\left (-4 \, d x - 4 \, c\right )} + 1}{d {\left (e^{\left (-d x - c\right )} + 2 \, e^{\left (-3 \, d x - 3 \, c\right )} + e^{\left (-5 \, d x - 5 \, c\right )}\right )}}\right )} + \frac {3}{10} \, a b^{2} {\left (\frac {5 \, e^{\left (-d x - c\right )}}{d} + \frac {85 \, e^{\left (-2 \, d x - 2 \, c\right )} + 210 \, e^{\left (-4 \, d x - 4 \, c\right )} + 314 \, e^{\left (-6 \, d x - 6 \, c\right )} + 185 \, e^{\left (-8 \, d x - 8 \, c\right )} + 65 \, e^{\left (-10 \, d x - 10 \, c\right )} + 5}{d {\left (e^{\left (-d x - c\right )} + 5 \, e^{\left (-3 \, d x - 3 \, c\right )} + 10 \, e^{\left (-5 \, d x - 5 \, c\right )} + 10 \, e^{\left (-7 \, d x - 7 \, c\right )} + 5 \, e^{\left (-9 \, d x - 9 \, c\right )} + e^{\left (-11 \, d x - 11 \, c\right )}\right )}}\right )} + \frac {a^{3} \cosh \left (d x + c\right )}{d} \] Input:

integrate(sinh(d*x+c)*(a+b*tanh(d*x+c)^3)^3,x, algorithm="maxima")
 

Output:

1/64*b^3*(315*arctan(e^(-d*x - c))/d - 32*e^(-d*x - c)/d + (581*e^(-2*d*x 
- 2*c) + 1681*e^(-4*d*x - 4*c) + 3605*e^(-6*d*x - 6*c) + 2569*e^(-8*d*x - 
8*c) + 1463*e^(-10*d*x - 10*c) - 917*e^(-12*d*x - 12*c) - 529*e^(-14*d*x - 
 14*c) - 293*e^(-16*d*x - 16*c) + 32)/(d*(e^(-d*x - c) + 8*e^(-3*d*x - 3*c 
) + 28*e^(-5*d*x - 5*c) + 56*e^(-7*d*x - 7*c) + 70*e^(-9*d*x - 9*c) + 56*e 
^(-11*d*x - 11*c) + 28*e^(-13*d*x - 13*c) + 8*e^(-15*d*x - 15*c) + e^(-17* 
d*x - 17*c)))) + 3/2*a^2*b*(6*arctan(e^(-d*x - c))/d - e^(-d*x - c)/d + (4 
*e^(-2*d*x - 2*c) - e^(-4*d*x - 4*c) + 1)/(d*(e^(-d*x - c) + 2*e^(-3*d*x - 
 3*c) + e^(-5*d*x - 5*c)))) + 3/10*a*b^2*(5*e^(-d*x - c)/d + (85*e^(-2*d*x 
 - 2*c) + 210*e^(-4*d*x - 4*c) + 314*e^(-6*d*x - 6*c) + 185*e^(-8*d*x - 8* 
c) + 65*e^(-10*d*x - 10*c) + 5)/(d*(e^(-d*x - c) + 5*e^(-3*d*x - 3*c) + 10 
*e^(-5*d*x - 5*c) + 10*e^(-7*d*x - 7*c) + 5*e^(-9*d*x - 9*c) + e^(-11*d*x 
- 11*c)))) + a^3*cosh(d*x + c)/d
 

Giac [A] (verification not implemented)

Time = 0.36 (sec) , antiderivative size = 463, normalized size of antiderivative = 1.78 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx=\frac {160 \, a^{3} e^{\left (d x + c\right )} + 480 \, a^{2} b e^{\left (d x + c\right )} + 480 \, a b^{2} e^{\left (d x + c\right )} + 160 \, b^{3} e^{\left (d x + c\right )} - 45 \, {\left (64 \, a^{2} b + 35 \, b^{3}\right )} \arctan \left (e^{\left (d x + c\right )}\right ) + 160 \, {\left (a^{3} - 3 \, a^{2} b + 3 \, a b^{2} - b^{3}\right )} e^{\left (-d x - c\right )} + \frac {960 \, a^{2} b e^{\left (15 \, d x + 15 \, c\right )} + 5760 \, a b^{2} e^{\left (15 \, d x + 15 \, c\right )} + 1625 \, b^{3} e^{\left (15 \, d x + 15 \, c\right )} + 4800 \, a^{2} b e^{\left (13 \, d x + 13 \, c\right )} + 32640 \, a b^{2} e^{\left (13 \, d x + 13 \, c\right )} + 3925 \, b^{3} e^{\left (13 \, d x + 13 \, c\right )} + 8640 \, a^{2} b e^{\left (11 \, d x + 11 \, c\right )} + 88704 \, a b^{2} e^{\left (11 \, d x + 11 \, c\right )} + 9065 \, b^{3} e^{\left (11 \, d x + 11 \, c\right )} + 4800 \, a^{2} b e^{\left (9 \, d x + 9 \, c\right )} + 143232 \, a b^{2} e^{\left (9 \, d x + 9 \, c\right )} + 1645 \, b^{3} e^{\left (9 \, d x + 9 \, c\right )} - 4800 \, a^{2} b e^{\left (7 \, d x + 7 \, c\right )} + 143232 \, a b^{2} e^{\left (7 \, d x + 7 \, c\right )} - 1645 \, b^{3} e^{\left (7 \, d x + 7 \, c\right )} - 8640 \, a^{2} b e^{\left (5 \, d x + 5 \, c\right )} + 88704 \, a b^{2} e^{\left (5 \, d x + 5 \, c\right )} - 9065 \, b^{3} e^{\left (5 \, d x + 5 \, c\right )} - 4800 \, a^{2} b e^{\left (3 \, d x + 3 \, c\right )} + 32640 \, a b^{2} e^{\left (3 \, d x + 3 \, c\right )} - 3925 \, b^{3} e^{\left (3 \, d x + 3 \, c\right )} - 960 \, a^{2} b e^{\left (d x + c\right )} + 5760 \, a b^{2} e^{\left (d x + c\right )} - 1625 \, b^{3} e^{\left (d x + c\right )}}{{\left (e^{\left (2 \, d x + 2 \, c\right )} + 1\right )}^{8}}}{320 \, d} \] Input:

integrate(sinh(d*x+c)*(a+b*tanh(d*x+c)^3)^3,x, algorithm="giac")
 

Output:

1/320*(160*a^3*e^(d*x + c) + 480*a^2*b*e^(d*x + c) + 480*a*b^2*e^(d*x + c) 
 + 160*b^3*e^(d*x + c) - 45*(64*a^2*b + 35*b^3)*arctan(e^(d*x + c)) + 160* 
(a^3 - 3*a^2*b + 3*a*b^2 - b^3)*e^(-d*x - c) + (960*a^2*b*e^(15*d*x + 15*c 
) + 5760*a*b^2*e^(15*d*x + 15*c) + 1625*b^3*e^(15*d*x + 15*c) + 4800*a^2*b 
*e^(13*d*x + 13*c) + 32640*a*b^2*e^(13*d*x + 13*c) + 3925*b^3*e^(13*d*x + 
13*c) + 8640*a^2*b*e^(11*d*x + 11*c) + 88704*a*b^2*e^(11*d*x + 11*c) + 906 
5*b^3*e^(11*d*x + 11*c) + 4800*a^2*b*e^(9*d*x + 9*c) + 143232*a*b^2*e^(9*d 
*x + 9*c) + 1645*b^3*e^(9*d*x + 9*c) - 4800*a^2*b*e^(7*d*x + 7*c) + 143232 
*a*b^2*e^(7*d*x + 7*c) - 1645*b^3*e^(7*d*x + 7*c) - 8640*a^2*b*e^(5*d*x + 
5*c) + 88704*a*b^2*e^(5*d*x + 5*c) - 9065*b^3*e^(5*d*x + 5*c) - 4800*a^2*b 
*e^(3*d*x + 3*c) + 32640*a*b^2*e^(3*d*x + 3*c) - 3925*b^3*e^(3*d*x + 3*c) 
- 960*a^2*b*e^(d*x + c) + 5760*a*b^2*e^(d*x + c) - 1625*b^3*e^(d*x + c))/( 
e^(2*d*x + 2*c) + 1)^8)/d
 

Mupad [B] (verification not implemented)

Time = 2.63 (sec) , antiderivative size = 707, normalized size of antiderivative = 2.72 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx =\text {Too large to display} \] Input:

int(sinh(c + d*x)*(a + b*tanh(c + d*x)^3)^3,x)
 

Output:

(exp(c + d*x)*(a + b)^3)/(2*d) + (exp(- c - d*x)*(a - b)^3)/(2*d) - (9*ata 
n((exp(d*x)*exp(c)*(35*b^3*(d^2)^(1/2) + 64*a^2*b*(d^2)^(1/2)))/(d*(1225*b 
^6 + 4480*a^2*b^4 + 4096*a^4*b^2)^(1/2)))*(1225*b^6 + 4480*a^2*b^4 + 4096* 
a^4*b^2)^(1/2))/(64*(d^2)^(1/2)) + (exp(c + d*x)*(1728*a*b^2 + 2455*b^3))/ 
(40*d*(3*exp(2*c + 2*d*x) + 3*exp(4*c + 4*d*x) + exp(6*c + 6*d*x) + 1)) - 
(exp(c + d*x)*(768*a*b^2 + 2605*b^3))/(20*d*(4*exp(2*c + 2*d*x) + 6*exp(4* 
c + 4*d*x) + 4*exp(6*c + 6*d*x) + exp(8*c + 8*d*x) + 1)) - (188*b^3*exp(c 
+ d*x))/(d*(6*exp(2*c + 2*d*x) + 15*exp(4*c + 4*d*x) + 20*exp(6*c + 6*d*x) 
 + 15*exp(8*c + 8*d*x) + 6*exp(10*c + 10*d*x) + exp(12*c + 12*d*x) + 1)) + 
 (exp(c + d*x)*(1152*a*b^2 + 192*a^2*b + 325*b^3))/(64*d*(exp(2*c + 2*d*x) 
 + 1)) + (2*exp(c + d*x)*(48*a*b^2 + 475*b^3))/(5*d*(5*exp(2*c + 2*d*x) + 
10*exp(4*c + 4*d*x) + 10*exp(6*c + 6*d*x) + 5*exp(8*c + 8*d*x) + exp(10*c 
+ 10*d*x) + 1)) + (112*b^3*exp(c + d*x))/(d*(7*exp(2*c + 2*d*x) + 21*exp(4 
*c + 4*d*x) + 35*exp(6*c + 6*d*x) + 35*exp(8*c + 8*d*x) + 21*exp(10*c + 10 
*d*x) + 7*exp(12*c + 12*d*x) + exp(14*c + 14*d*x) + 1)) - (exp(c + d*x)*(7 
68*a*b^2 + 192*a^2*b + 745*b^3))/(32*d*(2*exp(2*c + 2*d*x) + exp(4*c + 4*d 
*x) + 1)) - (32*b^3*exp(c + d*x))/(d*(8*exp(2*c + 2*d*x) + 28*exp(4*c + 4* 
d*x) + 56*exp(6*c + 6*d*x) + 70*exp(8*c + 8*d*x) + 56*exp(10*c + 10*d*x) + 
 28*exp(12*c + 12*d*x) + 8*exp(14*c + 14*d*x) + exp(16*c + 16*d*x) + 1))
 

Reduce [B] (verification not implemented)

Time = 0.24 (sec) , antiderivative size = 1184, normalized size of antiderivative = 4.55 \[ \int \sinh (c+d x) \left (a+b \tanh ^3(c+d x)\right )^3 \, dx =\text {Too large to display} \] Input:

int(sinh(d*x+c)*(a+b*tanh(d*x+c)^3)^3,x)
 

Output:

( - 80640*e**(3*c + 3*d*x)*atan(e**(c + d*x))*a**2*b - 44100*e**(3*c + 3*d 
*x)*atan(e**(c + d*x))*b**3 - 80640*e**(c + d*x)*atan(e**(c + d*x))*a**2*b 
 - 44100*e**(c + d*x)*atan(e**(c + d*x))*b**3 - 160*e**(3*c + 3*d*x)*cosh( 
c + d*x)*tanh(c + d*x)**7*b**3 - 528*e**(3*c + 3*d*x)*cosh(c + d*x)*tanh(c 
 + d*x)**5*b**3 - 1344*e**(3*c + 3*d*x)*cosh(c + d*x)*tanh(c + d*x)**4*a*b 
**2 - 1684*e**(3*c + 3*d*x)*cosh(c + d*x)*tanh(c + d*x)**3*b**3 - 7392*e** 
(3*c + 3*d*x)*cosh(c + d*x)*tanh(c + d*x)**2*a*b**2 - 13440*e**(3*c + 3*d* 
x)*cosh(c + d*x)*tanh(c + d*x)*a**2*b - 10718*e**(3*c + 3*d*x)*cosh(c + d* 
x)*tanh(c + d*x)*b**3 + 8960*e**(3*c + 3*d*x)*cosh(c + d*x)*a**3 - 14784*e 
**(3*c + 3*d*x)*cosh(c + d*x)*a*b**2 - 160*e**(c + d*x)*cosh(c + d*x)*tanh 
(c + d*x)**7*b**3 - 528*e**(c + d*x)*cosh(c + d*x)*tanh(c + d*x)**5*b**3 - 
 1344*e**(c + d*x)*cosh(c + d*x)*tanh(c + d*x)**4*a*b**2 - 1684*e**(c + d* 
x)*cosh(c + d*x)*tanh(c + d*x)**3*b**3 - 7392*e**(c + d*x)*cosh(c + d*x)*t 
anh(c + d*x)**2*a*b**2 - 13440*e**(c + d*x)*cosh(c + d*x)*tanh(c + d*x)*a* 
*2*b - 10718*e**(c + d*x)*cosh(c + d*x)*tanh(c + d*x)*b**3 + 8960*e**(c + 
d*x)*cosh(c + d*x)*a**3 - 14784*e**(c + d*x)*cosh(c + d*x)*a*b**2 + 20160* 
e**(4*c + 4*d*x)*a**2*b + 25200*e**(4*c + 4*d*x)*a*b**2 + 11025*e**(4*c + 
4*d*x)*b**3 - 1120*e**(3*c + 3*d*x)*sinh(c + d*x)*tanh(c + d*x)**8*b**3 - 
1520*e**(3*c + 3*d*x)*sinh(c + d*x)*tanh(c + d*x)**6*b**3 - 5376*e**(3*c + 
 3*d*x)*sinh(c + d*x)*tanh(c + d*x)**5*a*b**2 - 2412*e**(3*c + 3*d*x)*s...