Optimal. Leaf size=105 \[ \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 )+\frac {\tan ^{-1}\left (\frac {1-2 e^x}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {\tan ^{-1}\left (\frac {2 e^x+1}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2}{9} \tanh ^{-1}\left (e^x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.14, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 9, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.900, Rules used = {2282, 12, 288, 210, 634, 618, 204, 628, 206} \[ \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 )+\frac {\tan ^{-1}\left (\frac {1-2 e^x}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {\tan ^{-1}\left (\frac {2 e^x+1}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2}{9} \tanh ^{-1}\left (e^x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 204
Rule 206
Rule 210
Rule 288
Rule 618
Rule 628
Rule 634
Rule 2282
Rubi steps
\begin {align*} \int e^x \text {csch}^2(3 x) \, dx &=\operatorname {Subst}\left (\int \frac {4 x^6}{\left (1-x^6\right )^2} \, dx,x,e^x\right )\\ &=4 \operatorname {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} \operatorname {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} \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,e^x\right )-\frac {2}{9} \operatorname {Subst}\left (\int \frac {1-\frac {x}{2}}{1-x+x^2} \, dx,x,e^x\right )-\frac {2}{9} \operatorname {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}{9} \tanh ^{-1}\left (e^x\right )+\frac {1}{18} \operatorname {Subst}\left (\int \frac {-1+2 x}{1-x+x^2} \, dx,x,e^x\right )-\frac {1}{18} \operatorname {Subst}\left (\int \frac {1+2 x}{1+x+x^2} \, dx,x,e^x\right )-\frac {1}{6} \operatorname {Subst}\left (\int \frac {1}{1-x+x^2} \, dx,x,e^x\right )-\frac {1}{6} \operatorname {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}{9} \tanh ^{-1}\left (e^x\right )+\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} \operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,-1+2 e^x\right )+\frac {1}{3} \operatorname {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 {\tan ^{-1}\left (\frac {1-2 e^x}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {\tan ^{-1}\left (\frac {1+2 e^x}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {2}{9} \tanh ^{-1}\left (e^x\right )+\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*}
________________________________________________________________________________________
Mathematica [C] time = 0.03, size = 34, normalized size = 0.32 \[ \frac {2}{3} e^x \left (\frac {1}{1-e^{6 x}}-\, _2F_1\left (\frac {1}{6},1;\frac {7}{6};e^{6 x}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.85, size = 560, normalized size = 5.33 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 86, normalized size = 0.82 \[ -\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 ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.10, size = 148, normalized size = 1.41 \[ -\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 \ln \left ({\mathrm e}^{x}-\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}{18}+\frac {\ln \left ({\mathrm e}^{x}-\frac {1}{2}+\frac {i \sqrt {3}}{2}\right )}{18}-\frac {i \ln \left ({\mathrm e}^{x}-\frac {1}{2}+\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}{18}-\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 \ln \left ({\mathrm e}^{x}+\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}{18}-\frac {\ln \left ({\mathrm e}^{x}+\frac {1}{2}+\frac {i \sqrt {3}}{2}\right )}{18}-\frac {i \ln \left ({\mathrm e}^{x}+\frac {1}{2}+\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}{18}+\frac {\ln \left ({\mathrm e}^{x}-1\right )}{9} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 85, normalized size = 0.81 \[ -\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 ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.40, size = 91, normalized size = 0.87 \[ \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} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int e^{x} \operatorname {csch}^{2}{\left (3 x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________