Optimal. Leaf size=52 \[ -\frac {4 e^{x/2}}{3}-\frac {4}{9} e^{3 x/2}+\frac {4}{3} \tanh ^{-1}\left (e^{x/2}\right )+\frac {2}{3} e^{3 x/2} \log \left (-1+e^x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {2225, 2634, 12,
2280, 308, 213} \begin {gather*} -\frac {4 e^{x/2}}{3}-\frac {4}{9} e^{3 x/2}+\frac {2}{3} e^{3 x/2} \log \left (e^x-1\right )+\frac {4}{3} \tanh ^{-1}\left (e^{x/2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 213
Rule 308
Rule 2225
Rule 2280
Rule 2634
Rubi steps
\begin {align*} \int e^{3 x/2} \log \left (-1+e^x\right ) \, dx &=\frac {2}{3} e^{3 x/2} \log \left (-1+e^x\right )-\int \frac {2 e^{5 x/2}}{3 \left (-1+e^x\right )} \, dx\\ &=\frac {2}{3} e^{3 x/2} \log \left (-1+e^x\right )-\frac {2}{3} \int \frac {e^{5 x/2}}{-1+e^x} \, dx\\ &=\frac {2}{3} e^{3 x/2} \log \left (-1+e^x\right )-\frac {4}{3} \text {Subst}\left (\int \frac {x^4}{-1+x^2} \, dx,x,e^{x/2}\right )\\ &=\frac {2}{3} e^{3 x/2} \log \left (-1+e^x\right )-\frac {4}{3} \text {Subst}\left (\int \left (1+x^2+\frac {1}{-1+x^2}\right ) \, dx,x,e^{x/2}\right )\\ &=-\frac {4 e^{x/2}}{3}-\frac {4}{9} e^{3 x/2}+\frac {2}{3} e^{3 x/2} \log \left (-1+e^x\right )-\frac {4}{3} \text {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,e^{x/2}\right )\\ &=-\frac {4 e^{x/2}}{3}-\frac {4}{9} e^{3 x/2}+\frac {4}{3} \tanh ^{-1}\left (e^{x/2}\right )+\frac {2}{3} e^{3 x/2} \log \left (-1+e^x\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 42, normalized size = 0.81 \begin {gather*} \frac {2}{9} \left (6 \tanh ^{-1}\left (e^{x/2}\right )+e^{x/2} \left (-2 \left (3+e^x\right )+3 e^x \log \left (-1+e^x\right )\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 43, normalized size = 0.83
method | result | size |
risch | \(\frac {2 \,{\mathrm e}^{\frac {3 x}{2}} \ln \left (-1+{\mathrm e}^{x}\right )}{3}-\frac {4 \,{\mathrm e}^{\frac {3 x}{2}}}{9}-\frac {4 \,{\mathrm e}^{\frac {x}{2}}}{3}-\frac {2 \ln \left (-1+{\mathrm e}^{\frac {x}{2}}\right )}{3}+\frac {2 \ln \left ({\mathrm e}^{\frac {x}{2}}+1\right )}{3}\) | \(43\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 3.06, size = 42, normalized size = 0.81 \begin {gather*} \frac {2}{3} \, e^{\left (\frac {3}{2} \, x\right )} \log \left (e^{x} - 1\right ) - \frac {4}{9} \, e^{\left (\frac {3}{2} \, x\right )} - \frac {4}{3} \, e^{\left (\frac {1}{2} \, x\right )} + \frac {2}{3} \, \log \left (e^{\left (\frac {1}{2} \, x\right )} + 1\right ) - \frac {2}{3} \, \log \left (e^{\left (\frac {1}{2} \, x\right )} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.49, size = 42, normalized size = 0.81 \begin {gather*} \frac {2}{3} \, e^{\left (\frac {3}{2} \, x\right )} \log \left (e^{x} - 1\right ) - \frac {4}{9} \, e^{\left (\frac {3}{2} \, x\right )} - \frac {4}{3} \, e^{\left (\frac {1}{2} \, x\right )} + \frac {2}{3} \, \log \left (e^{\left (\frac {1}{2} \, x\right )} + 1\right ) - \frac {2}{3} \, \log \left (e^{\left (\frac {1}{2} \, x\right )} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.16, size = 43, normalized size = 0.83 \begin {gather*} \frac {2}{3} \, e^{\left (\frac {3}{2} \, x\right )} \log \left (e^{x} - 1\right ) - \frac {4}{9} \, e^{\left (\frac {3}{2} \, x\right )} - \frac {4}{3} \, e^{\left (\frac {1}{2} \, x\right )} + \frac {2}{3} \, \log \left (e^{\left (\frac {1}{2} \, x\right )} + 1\right ) - \frac {2}{3} \, \log \left ({\left | e^{\left (\frac {1}{2} \, x\right )} - 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.55, size = 31, normalized size = 0.60 \begin {gather*} \frac {4\,\mathrm {atanh}\left (\sqrt {{\mathrm {e}}^x}\right )}{3}-\frac {4\,{\mathrm {e}}^{\frac {3\,x}{2}}}{9}-\frac {4\,{\mathrm {e}}^{x/2}}{3}+\frac {2\,{\mathrm {e}}^{\frac {3\,x}{2}}\,\ln \left ({\mathrm {e}}^x-1\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________