Optimal. Leaf size=22 \[ \frac {x}{\frac {13}{3}-e^2 x-\log \left (4+e^2\right )} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 32, normalized size of antiderivative = 1.45, number of steps used = 4, number of rules used = 4, integrand size = 54, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {12, 1981, 27, 32} \begin {gather*} \frac {13-3 \log \left (4+e^2\right )}{e^2 \left (-3 e^2 x+13-3 \log \left (4+e^2\right )\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 27
Rule 32
Rule 1981
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\left (3 \left (13-3 \log \left (4+e^2\right )\right )\right ) \int \frac {1}{169-78 e^2 x+9 e^4 x^2+\left (-78+18 e^2 x\right ) \log \left (4+e^2\right )+9 \log ^2\left (4+e^2\right )} \, dx\\ &=\left (3 \left (13-3 \log \left (4+e^2\right )\right )\right ) \int \frac {1}{9 e^4 x^2-6 e^2 x \left (13-3 \log \left (4+e^2\right )\right )+\left (13-3 \log \left (4+e^2\right )\right )^2} \, dx\\ &=\left (3 \left (13-3 \log \left (4+e^2\right )\right )\right ) \int \frac {1}{\left (-13+3 e^2 x+3 \log \left (4+e^2\right )\right )^2} \, dx\\ &=\frac {13-3 \log \left (4+e^2\right )}{e^2 \left (13-3 e^2 x-3 \log \left (4+e^2\right )\right )}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 35, normalized size = 1.59 \begin {gather*} -\frac {39-9 \log \left (4+e^2\right )}{3 e^2 \left (-13+3 e^2 x+3 \log \left (4+e^2\right )\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.78, size = 31, normalized size = 1.41 \begin {gather*} \frac {3 \, \log \left (e^{2} + 4\right ) - 13}{3 \, x e^{4} + 3 \, e^{2} \log \left (e^{2} + 4\right ) - 13 \, e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.68, size = 31, normalized size = 1.41
method | result | size |
gosper | \(\frac {\left (3 \ln \left (4+{\mathrm e}^{2}\right )-13\right ) {\mathrm e}^{-2}}{3 \,{\mathrm e}^{2} x +3 \ln \left (4+{\mathrm e}^{2}\right )-13}\) | \(31\) |
norman | \(\frac {\left (3 \ln \left (4+{\mathrm e}^{2}\right )-13\right ) {\mathrm e}^{-2}}{3 \,{\mathrm e}^{2} x +3 \ln \left (4+{\mathrm e}^{2}\right )-13}\) | \(31\) |
risch | \(\frac {{\mathrm e}^{-2} \ln \left (4+{\mathrm e}^{2}\right )}{{\mathrm e}^{2} x +\ln \left (4+{\mathrm e}^{2}\right )-\frac {13}{3}}-\frac {13 \,{\mathrm e}^{-2}}{3 \left ({\mathrm e}^{2} x +\ln \left (4+{\mathrm e}^{2}\right )-\frac {13}{3}\right )}\) | \(40\) |
meijerg | \(\frac {9 \ln \left (4+{\mathrm e}^{2}\right ) \left (-3 \ln \left (4+{\mathrm e}^{2}\right )+13\right ) x}{\left (3 \ln \left (4+{\mathrm e}^{2}\right )-13\right )^{3} \left (1+\frac {3 x \,{\mathrm e}^{2}}{3 \ln \left (4+{\mathrm e}^{2}\right )-13}\right )}-\frac {39 \left (-3 \ln \left (4+{\mathrm e}^{2}\right )+13\right ) x}{\left (3 \ln \left (4+{\mathrm e}^{2}\right )-13\right )^{3} \left (1+\frac {3 x \,{\mathrm e}^{2}}{3 \ln \left (4+{\mathrm e}^{2}\right )-13}\right )}\) | \(93\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 31, normalized size = 1.41 \begin {gather*} \frac {3 \, \log \left (e^{2} + 4\right ) - 13}{3 \, x e^{4} + 3 \, e^{2} \log \left (e^{2} + 4\right ) - 13 \, e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.18, size = 28, normalized size = 1.27 \begin {gather*} \frac {{\mathrm {e}}^{-2}\,\left (3\,\ln \left ({\mathrm {e}}^2+4\right )-13\right )}{3\,\ln \left ({\mathrm {e}}^2+4\right )+3\,x\,{\mathrm {e}}^2-13} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.26, size = 34, normalized size = 1.55 \begin {gather*} - \frac {39 - 9 \log {\left (4 + e^{2} \right )}}{9 x e^{4} - 39 e^{2} + 9 e^{2} \log {\left (4 + e^{2} \right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________