Optimal. Leaf size=21 \[ e^3+e^x-\log \left (\frac {1}{2 x}-x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 16, normalized size of antiderivative = 0.76, number of steps
used = 7, number of rules used = 5, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.156, Rules used = {1607, 6820,
2225, 457, 78} \begin {gather*} -\log \left (1-2 x^2\right )+e^x+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 457
Rule 1607
Rule 2225
Rule 6820
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-1-2 x^2+e^x \left (-x+2 x^3\right )}{x \left (-1+2 x^2\right )} \, dx\\ &=\int \left (e^x+\frac {1+2 x^2}{x \left (1-2 x^2\right )}\right ) \, dx\\ &=\int e^x \, dx+\int \frac {1+2 x^2}{x \left (1-2 x^2\right )} \, dx\\ &=e^x+\frac {1}{2} \text {Subst}\left (\int \frac {1+2 x}{(1-2 x) x} \, dx,x,x^2\right )\\ &=e^x+\frac {1}{2} \text {Subst}\left (\int \left (\frac {1}{x}-\frac {4}{-1+2 x}\right ) \, dx,x,x^2\right )\\ &=e^x+\log (x)-\log \left (1-2 x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.42, size = 16, normalized size = 0.76 \begin {gather*} e^x+\log (x)-\log \left (1-2 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.94, size = 16, normalized size = 0.76
method | result | size |
default | \(\ln \left (x \right )-\ln \left (2 x^{2}-1\right )+{\mathrm e}^{x}\) | \(16\) |
norman | \(\ln \left (x \right )-\ln \left (2 x^{2}-1\right )+{\mathrm e}^{x}\) | \(16\) |
risch | \(\ln \left (x \right )-\ln \left (2 x^{2}-1\right )+{\mathrm e}^{x}\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 15, normalized size = 0.71 \begin {gather*} e^{x} - \log \left (2 \, x^{2} - 1\right ) + \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 15, normalized size = 0.71 \begin {gather*} e^{x} - \log \left (2 \, x^{2} - 1\right ) + \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 14, normalized size = 0.67 \begin {gather*} e^{x} + \log {\left (x \right )} - \log {\left (2 x^{2} - 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 15, normalized size = 0.71 \begin {gather*} e^{x} - \log \left (2 \, x^{2} - 1\right ) + \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.18, size = 13, normalized size = 0.62 \begin {gather*} {\mathrm {e}}^x-\ln \left (x^2-\frac {1}{2}\right )+\ln \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________