Integrand size = 10, antiderivative size = 105 \[ \int e^x \text {csch}^2(3 x) \, dx=\frac {2 e^x}{3 \left (1-e^{6 x}\right )}+\frac {\arctan \left (\frac {1-2 e^x}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {\arctan \left (\frac {1+2 e^x}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2 \text {arctanh}\left (e^x\right )}{9}+\frac {1}{18} \log \left (1-e^x+e^{2 x}\right )-\frac {1}{18} \log \left (1+e^x+e^{2 x}\right ) \]
[Out]
Time = 0.10 (sec) , antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.900, Rules used = {2320, 12, 294, 216, 648, 632, 210, 642, 212} \[ \int e^x \text {csch}^2(3 x) \, dx=\frac {\arctan \left (\frac {1-2 e^x}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {\arctan \left (\frac {2 e^x+1}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2 \text {arctanh}\left (e^x\right )}{9}+\frac {2 e^x}{3 \left (1-e^{6 x}\right )}+\frac {1}{18} \log \left (-e^x+e^{2 x}+1\right )-\frac {1}{18} \log \left (e^x+e^{2 x}+1\right ) \]
[In]
[Out]
Rule 12
Rule 210
Rule 212
Rule 216
Rule 294
Rule 632
Rule 642
Rule 648
Rule 2320
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \frac {4 x^6}{\left (1-x^6\right )^2} \, dx,x,e^x\right ) \\ & = 4 \text {Subst}\left (\int \frac {x^6}{\left (1-x^6\right )^2} \, dx,x,e^x\right ) \\ & = \frac {2 e^x}{3 \left (1-e^{6 x}\right )}-\frac {2}{3} \text {Subst}\left (\int \frac {1}{1-x^6} \, dx,x,e^x\right ) \\ & = \frac {2 e^x}{3 \left (1-e^{6 x}\right )}-\frac {2}{9} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,e^x\right )-\frac {2}{9} \text {Subst}\left (\int \frac {1-\frac {x}{2}}{1-x+x^2} \, dx,x,e^x\right )-\frac {2}{9} \text {Subst}\left (\int \frac {1+\frac {x}{2}}{1+x+x^2} \, dx,x,e^x\right ) \\ & = \frac {2 e^x}{3 \left (1-e^{6 x}\right )}-\frac {2 \text {arctanh}\left (e^x\right )}{9}+\frac {1}{18} \text {Subst}\left (\int \frac {-1+2 x}{1-x+x^2} \, dx,x,e^x\right )-\frac {1}{18} \text {Subst}\left (\int \frac {1+2 x}{1+x+x^2} \, dx,x,e^x\right )-\frac {1}{6} \text {Subst}\left (\int \frac {1}{1-x+x^2} \, dx,x,e^x\right )-\frac {1}{6} \text {Subst}\left (\int \frac {1}{1+x+x^2} \, dx,x,e^x\right ) \\ & = \frac {2 e^x}{3 \left (1-e^{6 x}\right )}-\frac {2 \text {arctanh}\left (e^x\right )}{9}+\frac {1}{18} \log \left (1-e^x+e^{2 x}\right )-\frac {1}{18} \log \left (1+e^x+e^{2 x}\right )+\frac {1}{3} \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,-1+2 e^x\right )+\frac {1}{3} \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+2 e^x\right ) \\ & = \frac {2 e^x}{3 \left (1-e^{6 x}\right )}+\frac {\arctan \left (\frac {1-2 e^x}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {\arctan \left (\frac {1+2 e^x}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2 \text {arctanh}\left (e^x\right )}{9}+\frac {1}{18} \log \left (1-e^x+e^{2 x}\right )-\frac {1}{18} \log \left (1+e^x+e^{2 x}\right ) \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
Time = 0.02 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.32 \[ \int e^x \text {csch}^2(3 x) \, dx=\frac {2}{3} e^x \left (\frac {1}{1-e^{6 x}}-\operatorname {Hypergeometric2F1}\left (\frac {1}{6},1,\frac {7}{6},e^{6 x}\right )\right ) \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.74 (sec) , antiderivative size = 148, normalized size of antiderivative = 1.41
method | result | size |
risch | \(-\frac {2 \,{\mathrm e}^{x}}{3 \left ({\mathrm e}^{6 x}-1\right )}+\frac {\ln \left ({\mathrm e}^{x}-\frac {1}{2}-\frac {i \sqrt {3}}{2}\right )}{18}+\frac {i \sqrt {3}\, \ln \left ({\mathrm e}^{x}-\frac {1}{2}-\frac {i \sqrt {3}}{2}\right )}{18}+\frac {\ln \left ({\mathrm e}^{x}-\frac {1}{2}+\frac {i \sqrt {3}}{2}\right )}{18}-\frac {i \sqrt {3}\, \ln \left ({\mathrm e}^{x}-\frac {1}{2}+\frac {i \sqrt {3}}{2}\right )}{18}+\frac {\ln \left ({\mathrm e}^{x}-1\right )}{9}-\frac {\ln \left ({\mathrm e}^{x}+1\right )}{9}-\frac {\ln \left ({\mathrm e}^{x}+\frac {1}{2}-\frac {i \sqrt {3}}{2}\right )}{18}+\frac {i \sqrt {3}\, \ln \left ({\mathrm e}^{x}+\frac {1}{2}-\frac {i \sqrt {3}}{2}\right )}{18}-\frac {\ln \left ({\mathrm e}^{x}+\frac {1}{2}+\frac {i \sqrt {3}}{2}\right )}{18}-\frac {i \sqrt {3}\, \ln \left ({\mathrm e}^{x}+\frac {1}{2}+\frac {i \sqrt {3}}{2}\right )}{18}\) | \(148\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 560 vs. \(2 (76) = 152\).
Time = 0.28 (sec) , antiderivative size = 560, normalized size of antiderivative = 5.33 \[ \int e^x \text {csch}^2(3 x) \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int e^x \text {csch}^2(3 x) \, dx=\int e^{x} \operatorname {csch}^{2}{\left (3 x \right )}\, dx \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 85, normalized size of antiderivative = 0.81 \[ \int e^x \text {csch}^2(3 x) \, dx=-\frac {1}{9} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, e^{x} + 1\right )}\right ) - \frac {1}{9} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, e^{x} - 1\right )}\right ) - \frac {2 \, e^{x}}{3 \, {\left (e^{\left (6 \, x\right )} - 1\right )}} - \frac {1}{18} \, \log \left (e^{\left (2 \, x\right )} + e^{x} + 1\right ) + \frac {1}{18} \, \log \left (e^{\left (2 \, x\right )} - e^{x} + 1\right ) - \frac {1}{9} \, \log \left (e^{x} + 1\right ) + \frac {1}{9} \, \log \left (e^{x} - 1\right ) \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.82 \[ \int e^x \text {csch}^2(3 x) \, dx=-\frac {1}{9} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, e^{x} + 1\right )}\right ) - \frac {1}{9} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, e^{x} - 1\right )}\right ) - \frac {2 \, e^{x}}{3 \, {\left (e^{\left (6 \, x\right )} - 1\right )}} - \frac {1}{18} \, \log \left (e^{\left (2 \, x\right )} + e^{x} + 1\right ) + \frac {1}{18} \, \log \left (e^{\left (2 \, x\right )} - e^{x} + 1\right ) - \frac {1}{9} \, \log \left (e^{x} + 1\right ) + \frac {1}{9} \, \log \left ({\left | e^{x} - 1 \right |}\right ) \]
[In]
[Out]
Time = 0.39 (sec) , antiderivative size = 91, normalized size of antiderivative = 0.87 \[ \int e^x \text {csch}^2(3 x) \, dx=\frac {\ln \left (\frac {2}{3}-\frac {2\,{\mathrm {e}}^x}{3}\right )}{9}-\frac {\ln \left (-\frac {2\,{\mathrm {e}}^x}{3}-\frac {2}{3}\right )}{9}+\frac {\ln \left ({\left (\frac {2\,{\mathrm {e}}^x}{3}-\frac {1}{3}\right )}^2+\frac {1}{3}\right )}{18}-\frac {\ln \left ({\left (\frac {2\,{\mathrm {e}}^x}{3}+\frac {1}{3}\right )}^2+\frac {1}{3}\right )}{18}-\frac {2\,{\mathrm {e}}^x}{3\,\left ({\mathrm {e}}^{6\,x}-1\right )}-\frac {\sqrt {3}\,\mathrm {atan}\left (\sqrt {3}\,\left (\frac {2\,{\mathrm {e}}^x}{3}-\frac {1}{3}\right )\right )}{9}-\frac {\sqrt {3}\,\mathrm {atan}\left (\sqrt {3}\,\left (\frac {2\,{\mathrm {e}}^x}{3}+\frac {1}{3}\right )\right )}{9} \]
[In]
[Out]