Integrand size = 13, antiderivative size = 68 \[ \int \frac {\coth ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {1}{8 a (1-\cosh (x))}-\frac {1}{8 a (1+\cosh (x))^2}+\frac {3}{4 a (1+\cosh (x))}+\frac {5 \log (1-\cosh (x))}{16 a}+\frac {11 \log (1+\cosh (x))}{16 a} \]
1/8/a/(1-cosh(x))-1/8/a/(1+cosh(x))^2+3/4/a/(1+cosh(x))+5/16*ln(1-cosh(x)) /a+11/16*ln(1+cosh(x))/a
Time = 0.17 (sec) , antiderivative size = 66, normalized size of antiderivative = 0.97 \[ \int \frac {\coth ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\left (12-2 \coth ^2\left (\frac {x}{2}\right )+4 \cosh ^2\left (\frac {x}{2}\right ) \left (11 \log \left (\cosh \left (\frac {x}{2}\right )\right )+5 \log \left (\sinh \left (\frac {x}{2}\right )\right )\right )-\text {sech}^2\left (\frac {x}{2}\right )\right ) \text {sech}(x)}{16 a (1+\text {sech}(x))} \]
((12 - 2*Coth[x/2]^2 + 4*Cosh[x/2]^2*(11*Log[Cosh[x/2]] + 5*Log[Sinh[x/2]] ) - Sech[x/2]^2)*Sech[x])/(16*a*(1 + Sech[x]))
Time = 0.27 (sec) , antiderivative size = 57, normalized size of antiderivative = 0.84, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.462, Rules used = {3042, 26, 4367, 27, 99, 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 \frac {\coth ^3(x)}{a \text {sech}(x)+a} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {i}{\cot \left (\frac {\pi }{2}+i x\right )^3 \left (a+a \csc \left (\frac {\pi }{2}+i x\right )\right )}dx\) |
\(\Big \downarrow \) 26 |
\(\displaystyle i \int \frac {1}{\cot \left (i x+\frac {\pi }{2}\right )^3 \left (\csc \left (i x+\frac {\pi }{2}\right ) a+a\right )}dx\) |
\(\Big \downarrow \) 4367 |
\(\displaystyle a^4 \int \frac {\cosh ^4(x)}{a^5 (1-\cosh (x))^2 (\cosh (x)+1)^3}d\cosh (x)\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {\cosh ^4(x)}{(1-\cosh (x))^2 (\cosh (x)+1)^3}d\cosh (x)}{a}\) |
\(\Big \downarrow \) 99 |
\(\displaystyle \frac {\int \left (\frac {11}{16 (\cosh (x)+1)}-\frac {3}{4 (\cosh (x)+1)^2}+\frac {1}{4 (\cosh (x)+1)^3}+\frac {5}{16 (\cosh (x)-1)}+\frac {1}{8 (\cosh (x)-1)^2}\right )d\cosh (x)}{a}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {\frac {1}{8 (1-\cosh (x))}+\frac {3}{4 (\cosh (x)+1)}-\frac {1}{8 (\cosh (x)+1)^2}+\frac {5}{16} \log (1-\cosh (x))+\frac {11}{16} \log (\cosh (x)+1)}{a}\) |
(1/(8*(1 - Cosh[x])) - 1/(8*(1 + Cosh[x])^2) + 3/(4*(1 + Cosh[x])) + (5*Lo g[1 - Cosh[x]])/16 + (11*Log[1 + Cosh[x]])/16)/a
3.2.11.3.1 Defintions of rubi rules used
Int[(Complex[0, a_])*(Fx_), x_Symbol] :> Simp[(Complex[Identity[0], a]) I nt[Fx, x], x] /; FreeQ[a, x] && EqQ[a^2, 1]
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_) )^(p_), x_] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, p}, x] && IntegersQ[m, n] && (IntegerQ[p] | | (GtQ[m, 0] && GeQ[n, -1]))
Int[cot[(c_.) + (d_.)*(x_)]^(m_.)*(csc[(c_.) + (d_.)*(x_)]*(b_.) + (a_))^(n _.), x_Symbol] :> Simp[1/(a^(m - n - 1)*b^n*d) Subst[Int[(a - b*x)^((m - 1)/2)*((a + b*x)^((m - 1)/2 + n)/x^(m + n)), x], x, Sin[c + d*x]], x] /; Fr eeQ[{a, b, c, d}, x] && IntegerQ[(m - 1)/2] && EqQ[a^2 - b^2, 0] && Integer Q[n]
Time = 0.21 (sec) , antiderivative size = 56, normalized size of antiderivative = 0.82
method | result | size |
default | \(\frac {-\frac {\tanh \left (\frac {x}{2}\right )^{4}}{4}-\frac {5 \tanh \left (\frac {x}{2}\right )^{2}}{2}-8 \ln \left (\tanh \left (\frac {x}{2}\right )+1\right )-8 \ln \left (\tanh \left (\frac {x}{2}\right )-1\right )-\frac {1}{2 \tanh \left (\frac {x}{2}\right )^{2}}+5 \ln \left (\tanh \left (\frac {x}{2}\right )\right )}{8 a}\) | \(56\) |
risch | \(-\frac {x}{a}+\frac {{\mathrm e}^{x} \left (5 \,{\mathrm e}^{4 x}-6 \,{\mathrm e}^{3 x}-14 \,{\mathrm e}^{2 x}-6 \,{\mathrm e}^{x}+5\right )}{4 a \left ({\mathrm e}^{x}-1\right )^{2} \left ({\mathrm e}^{x}+1\right )^{4}}+\frac {11 \ln \left ({\mathrm e}^{x}+1\right )}{8 a}+\frac {5 \ln \left ({\mathrm e}^{x}-1\right )}{8 a}\) | \(71\) |
1/8/a*(-1/4*tanh(1/2*x)^4-5/2*tanh(1/2*x)^2-8*ln(tanh(1/2*x)+1)-8*ln(tanh( 1/2*x)-1)-1/2/tanh(1/2*x)^2+5*ln(tanh(1/2*x)))
Leaf count of result is larger than twice the leaf count of optimal. 773 vs. \(2 (56) = 112\).
Time = 0.27 (sec) , antiderivative size = 773, normalized size of antiderivative = 11.37 \[ \int \frac {\coth ^3(x)}{a+a \text {sech}(x)} \, dx=\text {Too large to display} \]
-1/8*(8*x*cosh(x)^6 + 8*x*sinh(x)^6 + 2*(8*x - 5)*cosh(x)^5 + 2*(24*x*cosh (x) + 8*x - 5)*sinh(x)^5 - 4*(2*x - 3)*cosh(x)^4 + 2*(60*x*cosh(x)^2 + 5*( 8*x - 5)*cosh(x) - 4*x + 6)*sinh(x)^4 - 4*(8*x - 7)*cosh(x)^3 + 4*(40*x*co sh(x)^3 + 5*(8*x - 5)*cosh(x)^2 - 4*(2*x - 3)*cosh(x) - 8*x + 7)*sinh(x)^3 - 4*(2*x - 3)*cosh(x)^2 + 4*(30*x*cosh(x)^4 + 5*(8*x - 5)*cosh(x)^3 - 6*( 2*x - 3)*cosh(x)^2 - 3*(8*x - 7)*cosh(x) - 2*x + 3)*sinh(x)^2 + 2*(8*x - 5 )*cosh(x) - 11*(cosh(x)^6 + 2*(3*cosh(x) + 1)*sinh(x)^5 + sinh(x)^6 + 2*co sh(x)^5 + (15*cosh(x)^2 + 10*cosh(x) - 1)*sinh(x)^4 - cosh(x)^4 + 4*(5*cos h(x)^3 + 5*cosh(x)^2 - cosh(x) - 1)*sinh(x)^3 - 4*cosh(x)^3 + (15*cosh(x)^ 4 + 20*cosh(x)^3 - 6*cosh(x)^2 - 12*cosh(x) - 1)*sinh(x)^2 - cosh(x)^2 + 2 *(3*cosh(x)^5 + 5*cosh(x)^4 - 2*cosh(x)^3 - 6*cosh(x)^2 - cosh(x) + 1)*sin h(x) + 2*cosh(x) + 1)*log(cosh(x) + sinh(x) + 1) - 5*(cosh(x)^6 + 2*(3*cos h(x) + 1)*sinh(x)^5 + sinh(x)^6 + 2*cosh(x)^5 + (15*cosh(x)^2 + 10*cosh(x) - 1)*sinh(x)^4 - cosh(x)^4 + 4*(5*cosh(x)^3 + 5*cosh(x)^2 - cosh(x) - 1)* sinh(x)^3 - 4*cosh(x)^3 + (15*cosh(x)^4 + 20*cosh(x)^3 - 6*cosh(x)^2 - 12* cosh(x) - 1)*sinh(x)^2 - cosh(x)^2 + 2*(3*cosh(x)^5 + 5*cosh(x)^4 - 2*cosh (x)^3 - 6*cosh(x)^2 - cosh(x) + 1)*sinh(x) + 2*cosh(x) + 1)*log(cosh(x) + sinh(x) - 1) + 2*(24*x*cosh(x)^5 + 5*(8*x - 5)*cosh(x)^4 - 8*(2*x - 3)*cos h(x)^3 - 6*(8*x - 7)*cosh(x)^2 - 4*(2*x - 3)*cosh(x) + 8*x - 5)*sinh(x) + 8*x)/(a*cosh(x)^6 + a*sinh(x)^6 + 2*a*cosh(x)^5 + 2*(3*a*cosh(x) + a)*s...
\[ \int \frac {\coth ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\int \frac {\coth ^{3}{\left (x \right )}}{\operatorname {sech}{\left (x \right )} + 1}\, dx}{a} \]
Time = 0.20 (sec) , antiderivative size = 108, normalized size of antiderivative = 1.59 \[ \int \frac {\coth ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {x}{a} + \frac {5 \, e^{\left (-x\right )} - 6 \, e^{\left (-2 \, x\right )} - 14 \, e^{\left (-3 \, x\right )} - 6 \, e^{\left (-4 \, x\right )} + 5 \, e^{\left (-5 \, x\right )}}{4 \, {\left (2 \, a e^{\left (-x\right )} - a e^{\left (-2 \, x\right )} - 4 \, a e^{\left (-3 \, x\right )} - a e^{\left (-4 \, x\right )} + 2 \, a e^{\left (-5 \, x\right )} + a e^{\left (-6 \, x\right )} + a\right )}} + \frac {11 \, \log \left (e^{\left (-x\right )} + 1\right )}{8 \, a} + \frac {5 \, \log \left (e^{\left (-x\right )} - 1\right )}{8 \, a} \]
x/a + 1/4*(5*e^(-x) - 6*e^(-2*x) - 14*e^(-3*x) - 6*e^(-4*x) + 5*e^(-5*x))/ (2*a*e^(-x) - a*e^(-2*x) - 4*a*e^(-3*x) - a*e^(-4*x) + 2*a*e^(-5*x) + a*e^ (-6*x) + a) + 11/8*log(e^(-x) + 1)/a + 5/8*log(e^(-x) - 1)/a
Time = 0.28 (sec) , antiderivative size = 94, normalized size of antiderivative = 1.38 \[ \int \frac {\coth ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {11 \, \log \left (e^{\left (-x\right )} + e^{x} + 2\right )}{16 \, a} + \frac {5 \, \log \left (e^{\left (-x\right )} + e^{x} - 2\right )}{16 \, a} - \frac {5 \, e^{\left (-x\right )} + 5 \, e^{x} - 6}{16 \, a {\left (e^{\left (-x\right )} + e^{x} - 2\right )}} - \frac {33 \, {\left (e^{\left (-x\right )} + e^{x}\right )}^{2} + 84 \, e^{\left (-x\right )} + 84 \, e^{x} + 52}{32 \, a {\left (e^{\left (-x\right )} + e^{x} + 2\right )}^{2}} \]
11/16*log(e^(-x) + e^x + 2)/a + 5/16*log(e^(-x) + e^x - 2)/a - 1/16*(5*e^( -x) + 5*e^x - 6)/(a*(e^(-x) + e^x - 2)) - 1/32*(33*(e^(-x) + e^x)^2 + 84*e ^(-x) + 84*e^x + 52)/(a*(e^(-x) + e^x + 2)^2)
Time = 2.10 (sec) , antiderivative size = 160, normalized size of antiderivative = 2.35 \[ \int \frac {\coth ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\ln \left (9\,{\mathrm {e}}^{2\,x}-9\right )}{a}-\frac {x}{a}-\frac {1}{2\,\left (a+4\,a\,{\mathrm {e}}^x+6\,a\,{\mathrm {e}}^{2\,x}+4\,a\,{\mathrm {e}}^{3\,x}+a\,{\mathrm {e}}^{4\,x}\right )}+\frac {1}{a+3\,a\,{\mathrm {e}}^x+3\,a\,{\mathrm {e}}^{2\,x}+a\,{\mathrm {e}}^{3\,x}}-\frac {1}{4\,\left (a-2\,a\,{\mathrm {e}}^x+a\,{\mathrm {e}}^{2\,x}\right )}-\frac {2}{a+2\,a\,{\mathrm {e}}^x+a\,{\mathrm {e}}^{2\,x}}+\frac {3\,\mathrm {atan}\left (\frac {{\mathrm {e}}^x\,\sqrt {-a^2}}{a}\right )}{4\,\sqrt {-a^2}}+\frac {3}{2\,\left (a+a\,{\mathrm {e}}^x\right )}+\frac {1}{4\,\left (a-a\,{\mathrm {e}}^x\right )} \]
log(9*exp(2*x) - 9)/a - x/a - 1/(2*(a + 4*a*exp(x) + 6*a*exp(2*x) + 4*a*ex p(3*x) + a*exp(4*x))) + 1/(a + 3*a*exp(x) + 3*a*exp(2*x) + a*exp(3*x)) - 1 /(4*(a - 2*a*exp(x) + a*exp(2*x))) - 2/(a + 2*a*exp(x) + a*exp(2*x)) + (3* atan((exp(x)*(-a^2)^(1/2))/a))/(4*(-a^2)^(1/2)) + 3/(2*(a + a*exp(x))) + 1 /(4*(a - a*exp(x)))