Integrand size = 12, antiderivative size = 75 \[ \int (a+b \text {csch}(c+d x))^3 \, dx=a^3 x-\frac {b \left (6 a^2-b^2\right ) \text {arctanh}(\cosh (c+d x))}{2 d}-\frac {5 a b^2 \coth (c+d x)}{2 d}-\frac {b^2 \coth (c+d x) (a+b \text {csch}(c+d x))}{2 d} \] Output:
a^3*x-1/2*b*(6*a^2-b^2)*arctanh(cosh(d*x+c))/d-5/2*a*b^2*coth(d*x+c)/d-1/2 *b^2*coth(d*x+c)*(a+b*csch(d*x+c))/d
Leaf count is larger than twice the leaf count of optimal. \(151\) vs. \(2(75)=150\).
Time = 5.56 (sec) , antiderivative size = 151, normalized size of antiderivative = 2.01 \[ \int (a+b \text {csch}(c+d x))^3 \, dx=-\frac {-8 a^3 c-8 a^3 d x+12 a b^2 \coth \left (\frac {1}{2} (c+d x)\right )+b^3 \text {csch}^2\left (\frac {1}{2} (c+d x)\right )+24 a^2 b \log \left (\cosh \left (\frac {1}{2} (c+d x)\right )\right )-4 b^3 \log \left (\cosh \left (\frac {1}{2} (c+d x)\right )\right )-24 a^2 b \log \left (\sinh \left (\frac {1}{2} (c+d x)\right )\right )+4 b^3 \log \left (\sinh \left (\frac {1}{2} (c+d x)\right )\right )+b^3 \text {sech}^2\left (\frac {1}{2} (c+d x)\right )+12 a b^2 \tanh \left (\frac {1}{2} (c+d x)\right )}{8 d} \] Input:
Integrate[(a + b*Csch[c + d*x])^3,x]
Output:
-1/8*(-8*a^3*c - 8*a^3*d*x + 12*a*b^2*Coth[(c + d*x)/2] + b^3*Csch[(c + d* x)/2]^2 + 24*a^2*b*Log[Cosh[(c + d*x)/2]] - 4*b^3*Log[Cosh[(c + d*x)/2]] - 24*a^2*b*Log[Sinh[(c + d*x)/2]] + 4*b^3*Log[Sinh[(c + d*x)/2]] + b^3*Sech [(c + d*x)/2]^2 + 12*a*b^2*Tanh[(c + d*x)/2])/d
Time = 0.32 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.03, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {3042, 4269, 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 (a+b \text {csch}(c+d x))^3 \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int (a+i b \csc (i c+i d x))^3dx\) |
\(\Big \downarrow \) 4269 |
\(\displaystyle \frac {1}{2} \int \left (2 a^3+5 b^2 \text {csch}^2(c+d x) a+b \left (6 a^2-b^2\right ) \text {csch}(c+d x)\right )dx-\frac {b^2 \coth (c+d x) (a+b \text {csch}(c+d x))}{2 d}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{2} \left (2 a^3 x-\frac {b \left (6 a^2-b^2\right ) \text {arctanh}(\cosh (c+d x))}{d}-\frac {5 a b^2 \coth (c+d x)}{d}\right )-\frac {b^2 \coth (c+d x) (a+b \text {csch}(c+d x))}{2 d}\) |
Input:
Int[(a + b*Csch[c + d*x])^3,x]
Output:
(2*a^3*x - (b*(6*a^2 - b^2)*ArcTanh[Cosh[c + d*x]])/d - (5*a*b^2*Coth[c + d*x])/d)/2 - (b^2*Coth[c + d*x]*(a + b*Csch[c + d*x]))/(2*d)
Int[(csc[(c_.) + (d_.)*(x_)]*(b_.) + (a_))^(n_), x_Symbol] :> Simp[(-b^2)*C ot[c + d*x]*((a + b*Csc[c + d*x])^(n - 2)/(d*(n - 1))), x] + Simp[1/(n - 1) Int[(a + b*Csc[c + d*x])^(n - 3)*Simp[a^3*(n - 1) + (b*(b^2*(n - 2) + 3* a^2*(n - 1)))*Csc[c + d*x] + (a*b^2*(3*n - 4))*Csc[c + d*x]^2, x], x], x] / ; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[n, 2] && IntegerQ[2*n]
Time = 0.47 (sec) , antiderivative size = 66, normalized size of antiderivative = 0.88
method | result | size |
derivativedivides | \(\frac {a^{3} \left (d x +c \right )-6 a^{2} b \,\operatorname {arctanh}\left ({\mathrm e}^{d x +c}\right )-3 a \,b^{2} \coth \left (d x +c \right )+b^{3} \left (-\frac {\operatorname {csch}\left (d x +c \right ) \coth \left (d x +c \right )}{2}+\operatorname {arctanh}\left ({\mathrm e}^{d x +c}\right )\right )}{d}\) | \(66\) |
default | \(\frac {a^{3} \left (d x +c \right )-6 a^{2} b \,\operatorname {arctanh}\left ({\mathrm e}^{d x +c}\right )-3 a \,b^{2} \coth \left (d x +c \right )+b^{3} \left (-\frac {\operatorname {csch}\left (d x +c \right ) \coth \left (d x +c \right )}{2}+\operatorname {arctanh}\left ({\mathrm e}^{d x +c}\right )\right )}{d}\) | \(66\) |
parts | \(a^{3} x +\frac {b^{3} \left (-\frac {\operatorname {csch}\left (d x +c \right ) \coth \left (d x +c \right )}{2}+\operatorname {arctanh}\left ({\mathrm e}^{d x +c}\right )\right )}{d}-\frac {3 a \,b^{2} \coth \left (d x +c \right )}{d}+\frac {3 a^{2} b \ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d}\) | \(70\) |
parallelrisch | \(\frac {\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} b^{3}-\coth \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} b^{3}+8 a^{3} d x +24 \ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a^{2} b -4 \ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b^{3}-12 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right ) a \,b^{2}-12 \coth \left (\frac {d x}{2}+\frac {c}{2}\right ) a \,b^{2}}{8 d}\) | \(106\) |
risch | \(a^{3} x -\frac {b^{2} \left (b \,{\mathrm e}^{3 d x +3 c}+6 a \,{\mathrm e}^{2 d x +2 c}+b \,{\mathrm e}^{d x +c}-6 a \right )}{d \left ({\mathrm e}^{2 d x +2 c}-1\right )^{2}}-\frac {3 b \ln \left ({\mathrm e}^{d x +c}+1\right ) a^{2}}{d}+\frac {b^{3} \ln \left ({\mathrm e}^{d x +c}+1\right )}{2 d}+\frac {3 b \ln \left ({\mathrm e}^{d x +c}-1\right ) a^{2}}{d}-\frac {b^{3} \ln \left ({\mathrm e}^{d x +c}-1\right )}{2 d}\) | \(133\) |
Input:
int((a+csch(d*x+c)*b)^3,x,method=_RETURNVERBOSE)
Output:
1/d*(a^3*(d*x+c)-6*a^2*b*arctanh(exp(d*x+c))-3*a*b^2*coth(d*x+c)+b^3*(-1/2 *csch(d*x+c)*coth(d*x+c)+arctanh(exp(d*x+c))))
Leaf count of result is larger than twice the leaf count of optimal. 769 vs. \(2 (69) = 138\).
Time = 0.09 (sec) , antiderivative size = 769, normalized size of antiderivative = 10.25 \[ \int (a+b \text {csch}(c+d x))^3 \, dx =\text {Too large to display} \] Input:
integrate((a+b*csch(d*x+c))^3,x, algorithm="fricas")
Output:
1/2*(2*a^3*d*x*cosh(d*x + c)^4 + 2*a^3*d*x*sinh(d*x + c)^4 - 2*b^3*cosh(d* x + c)^3 + 2*a^3*d*x - 2*b^3*cosh(d*x + c) + 2*(4*a^3*d*x*cosh(d*x + c) - b^3)*sinh(d*x + c)^3 + 12*a*b^2 - 4*(a^3*d*x + 3*a*b^2)*cosh(d*x + c)^2 + 2*(6*a^3*d*x*cosh(d*x + c)^2 - 2*a^3*d*x - 3*b^3*cosh(d*x + c) - 6*a*b^2)* sinh(d*x + c)^2 - ((6*a^2*b - b^3)*cosh(d*x + c)^4 + 4*(6*a^2*b - b^3)*cos h(d*x + c)*sinh(d*x + c)^3 + (6*a^2*b - b^3)*sinh(d*x + c)^4 + 6*a^2*b - b ^3 - 2*(6*a^2*b - b^3)*cosh(d*x + c)^2 - 2*(6*a^2*b - b^3 - 3*(6*a^2*b - b ^3)*cosh(d*x + c)^2)*sinh(d*x + c)^2 + 4*((6*a^2*b - b^3)*cosh(d*x + c)^3 - (6*a^2*b - b^3)*cosh(d*x + c))*sinh(d*x + c))*log(cosh(d*x + c) + sinh(d *x + c) + 1) + ((6*a^2*b - b^3)*cosh(d*x + c)^4 + 4*(6*a^2*b - b^3)*cosh(d *x + c)*sinh(d*x + c)^3 + (6*a^2*b - b^3)*sinh(d*x + c)^4 + 6*a^2*b - b^3 - 2*(6*a^2*b - b^3)*cosh(d*x + c)^2 - 2*(6*a^2*b - b^3 - 3*(6*a^2*b - b^3) *cosh(d*x + c)^2)*sinh(d*x + c)^2 + 4*((6*a^2*b - b^3)*cosh(d*x + c)^3 - ( 6*a^2*b - b^3)*cosh(d*x + c))*sinh(d*x + c))*log(cosh(d*x + c) + sinh(d*x + c) - 1) + 2*(4*a^3*d*x*cosh(d*x + c)^3 - 3*b^3*cosh(d*x + c)^2 - b^3 - 4 *(a^3*d*x + 3*a*b^2)*cosh(d*x + c))*sinh(d*x + c))/(d*cosh(d*x + c)^4 + 4* d*cosh(d*x + c)*sinh(d*x + c)^3 + d*sinh(d*x + c)^4 - 2*d*cosh(d*x + c)^2 + 2*(3*d*cosh(d*x + c)^2 - d)*sinh(d*x + c)^2 + 4*(d*cosh(d*x + c)^3 - d*c osh(d*x + c))*sinh(d*x + c) + d)
\[ \int (a+b \text {csch}(c+d x))^3 \, dx=\int \left (a + b \operatorname {csch}{\left (c + d x \right )}\right )^{3}\, dx \] Input:
integrate((a+b*csch(d*x+c))**3,x)
Output:
Integral((a + b*csch(c + d*x))**3, x)
Time = 0.03 (sec) , antiderivative size = 136, normalized size of antiderivative = 1.81 \[ \int (a+b \text {csch}(c+d x))^3 \, dx=a^{3} x + \frac {1}{2} \, b^{3} {\left (\frac {\log \left (e^{\left (-d x - c\right )} + 1\right )}{d} - \frac {\log \left (e^{\left (-d x - c\right )} - 1\right )}{d} + \frac {2 \, {\left (e^{\left (-d x - c\right )} + e^{\left (-3 \, d x - 3 \, c\right )}\right )}}{d {\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} - e^{\left (-4 \, d x - 4 \, c\right )} - 1\right )}}\right )} + \frac {3 \, a^{2} b \log \left (\tanh \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}{d} + \frac {6 \, a b^{2}}{d {\left (e^{\left (-2 \, d x - 2 \, c\right )} - 1\right )}} \] Input:
integrate((a+b*csch(d*x+c))^3,x, algorithm="maxima")
Output:
a^3*x + 1/2*b^3*(log(e^(-d*x - c) + 1)/d - log(e^(-d*x - c) - 1)/d + 2*(e^ (-d*x - c) + e^(-3*d*x - 3*c))/(d*(2*e^(-2*d*x - 2*c) - e^(-4*d*x - 4*c) - 1))) + 3*a^2*b*log(tanh(1/2*d*x + 1/2*c))/d + 6*a*b^2/(d*(e^(-2*d*x - 2*c ) - 1))
Time = 0.12 (sec) , antiderivative size = 122, normalized size of antiderivative = 1.63 \[ \int (a+b \text {csch}(c+d x))^3 \, dx=\frac {2 \, {\left (d x + c\right )} a^{3} - {\left (6 \, a^{2} b - b^{3}\right )} \log \left (e^{\left (d x + c\right )} + 1\right ) + {\left (6 \, a^{2} b - b^{3}\right )} \log \left ({\left | e^{\left (d x + c\right )} - 1 \right |}\right ) - \frac {2 \, {\left (b^{3} e^{\left (3 \, d x + 3 \, c\right )} + 6 \, a b^{2} e^{\left (2 \, d x + 2 \, c\right )} + b^{3} e^{\left (d x + c\right )} - 6 \, a b^{2}\right )}}{{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )}^{2}}}{2 \, d} \] Input:
integrate((a+b*csch(d*x+c))^3,x, algorithm="giac")
Output:
1/2*(2*(d*x + c)*a^3 - (6*a^2*b - b^3)*log(e^(d*x + c) + 1) + (6*a^2*b - b ^3)*log(abs(e^(d*x + c) - 1)) - 2*(b^3*e^(3*d*x + 3*c) + 6*a*b^2*e^(2*d*x + 2*c) + b^3*e^(d*x + c) - 6*a*b^2)/(e^(2*d*x + 2*c) - 1)^2)/d
Time = 0.14 (sec) , antiderivative size = 170, normalized size of antiderivative = 2.27 \[ \int (a+b \text {csch}(c+d x))^3 \, dx=a^3\,x-\frac {\frac {6\,a\,b^2}{d}+\frac {b^3\,{\mathrm {e}}^{c+d\,x}}{d}}{{\mathrm {e}}^{2\,c+2\,d\,x}-1}+\frac {\mathrm {atan}\left (\frac {{\mathrm {e}}^{d\,x}\,{\mathrm {e}}^c\,\left (b^3\,\sqrt {-d^2}-6\,a^2\,b\,\sqrt {-d^2}\right )}{d\,\sqrt {36\,a^4\,b^2-12\,a^2\,b^4+b^6}}\right )\,\sqrt {36\,a^4\,b^2-12\,a^2\,b^4+b^6}}{\sqrt {-d^2}}-\frac {2\,b^3\,{\mathrm {e}}^{c+d\,x}}{d\,\left ({\mathrm {e}}^{4\,c+4\,d\,x}-2\,{\mathrm {e}}^{2\,c+2\,d\,x}+1\right )} \] Input:
int((a + b/sinh(c + d*x))^3,x)
Output:
a^3*x - ((6*a*b^2)/d + (b^3*exp(c + d*x))/d)/(exp(2*c + 2*d*x) - 1) + (ata n((exp(d*x)*exp(c)*(b^3*(-d^2)^(1/2) - 6*a^2*b*(-d^2)^(1/2)))/(d*(b^6 - 12 *a^2*b^4 + 36*a^4*b^2)^(1/2)))*(b^6 - 12*a^2*b^4 + 36*a^4*b^2)^(1/2))/(-d^ 2)^(1/2) - (2*b^3*exp(c + d*x))/(d*(exp(4*c + 4*d*x) - 2*exp(2*c + 2*d*x) + 1))
Time = 0.23 (sec) , antiderivative size = 386, normalized size of antiderivative = 5.15 \[ \int (a+b \text {csch}(c+d x))^3 \, dx=\frac {6 e^{4 d x +4 c} \mathrm {log}\left (e^{d x +c}-1\right ) a^{2} b -e^{4 d x +4 c} \mathrm {log}\left (e^{d x +c}-1\right ) b^{3}-6 e^{4 d x +4 c} \mathrm {log}\left (e^{d x +c}+1\right ) a^{2} b +e^{4 d x +4 c} \mathrm {log}\left (e^{d x +c}+1\right ) b^{3}+2 e^{4 d x +4 c} a^{3} d x -6 e^{4 d x +4 c} a \,b^{2}-2 e^{3 d x +3 c} b^{3}-12 e^{2 d x +2 c} \mathrm {log}\left (e^{d x +c}-1\right ) a^{2} b +2 e^{2 d x +2 c} \mathrm {log}\left (e^{d x +c}-1\right ) b^{3}+12 e^{2 d x +2 c} \mathrm {log}\left (e^{d x +c}+1\right ) a^{2} b -2 e^{2 d x +2 c} \mathrm {log}\left (e^{d x +c}+1\right ) b^{3}-4 e^{2 d x +2 c} a^{3} d x -2 e^{d x +c} b^{3}+6 \,\mathrm {log}\left (e^{d x +c}-1\right ) a^{2} b -\mathrm {log}\left (e^{d x +c}-1\right ) b^{3}-6 \,\mathrm {log}\left (e^{d x +c}+1\right ) a^{2} b +\mathrm {log}\left (e^{d x +c}+1\right ) b^{3}+2 a^{3} d x +6 a \,b^{2}}{2 d \left (e^{4 d x +4 c}-2 e^{2 d x +2 c}+1\right )} \] Input:
int((a+b*csch(d*x+c))^3,x)
Output:
(6*e**(4*c + 4*d*x)*log(e**(c + d*x) - 1)*a**2*b - e**(4*c + 4*d*x)*log(e* *(c + d*x) - 1)*b**3 - 6*e**(4*c + 4*d*x)*log(e**(c + d*x) + 1)*a**2*b + e **(4*c + 4*d*x)*log(e**(c + d*x) + 1)*b**3 + 2*e**(4*c + 4*d*x)*a**3*d*x - 6*e**(4*c + 4*d*x)*a*b**2 - 2*e**(3*c + 3*d*x)*b**3 - 12*e**(2*c + 2*d*x) *log(e**(c + d*x) - 1)*a**2*b + 2*e**(2*c + 2*d*x)*log(e**(c + d*x) - 1)*b **3 + 12*e**(2*c + 2*d*x)*log(e**(c + d*x) + 1)*a**2*b - 2*e**(2*c + 2*d*x )*log(e**(c + d*x) + 1)*b**3 - 4*e**(2*c + 2*d*x)*a**3*d*x - 2*e**(c + d*x )*b**3 + 6*log(e**(c + d*x) - 1)*a**2*b - log(e**(c + d*x) - 1)*b**3 - 6*l og(e**(c + d*x) + 1)*a**2*b + log(e**(c + d*x) + 1)*b**3 + 2*a**3*d*x + 6* a*b**2)/(2*d*(e**(4*c + 4*d*x) - 2*e**(2*c + 2*d*x) + 1))