Optimal. Leaf size=21 \[ x \log \left (\frac {x}{e^{39-e^3-x}+x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.33, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 4, integrand size = 68, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {6688, 6742, 2548, 12} \begin {gather*} x \log \left (\frac {x}{x+e^{-x-e^3+39}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2548
Rule 6688
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {e^{39} (1+x)}{e^{39}+e^{e^3+x} x}+\log \left (\frac {x}{e^{39-e^3-x}+x}\right )\right ) \, dx\\ &=e^{39} \int \frac {1+x}{e^{39}+e^{e^3+x} x} \, dx+\int \log \left (\frac {x}{e^{39-e^3-x}+x}\right ) \, dx\\ &=x \log \left (\frac {x}{e^{39-e^3-x}+x}\right )+e^{39} \int \left (\frac {1}{e^{39}+e^{e^3+x} x}+\frac {x}{e^{39}+e^{e^3+x} x}\right ) \, dx-\int \frac {e^{39} (1+x)}{e^{39}+e^{e^3+x} x} \, dx\\ &=x \log \left (\frac {x}{e^{39-e^3-x}+x}\right )+e^{39} \int \frac {1}{e^{39}+e^{e^3+x} x} \, dx+e^{39} \int \frac {x}{e^{39}+e^{e^3+x} x} \, dx-e^{39} \int \frac {1+x}{e^{39}+e^{e^3+x} x} \, dx\\ &=x \log \left (\frac {x}{e^{39-e^3-x}+x}\right )+e^{39} \int \frac {1}{e^{39}+e^{e^3+x} x} \, dx+e^{39} \int \frac {x}{e^{39}+e^{e^3+x} x} \, dx-e^{39} \int \left (\frac {1}{e^{39}+e^{e^3+x} x}+\frac {x}{e^{39}+e^{e^3+x} x}\right ) \, dx\\ &=x \log \left (\frac {x}{e^{39-e^3-x}+x}\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.26, size = 21, normalized size = 1.00 \begin {gather*} x \log \left (\frac {x}{e^{39-e^3-x}+x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.00, size = 19, normalized size = 0.90 \begin {gather*} x \log \left (\frac {x}{x + e^{\left (-x - e^{3} + 39\right )}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 21, normalized size = 1.00 \begin {gather*} -x \log \left (x + e^{\left (-x - e^{3} + 39\right )}\right ) + x \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 20, normalized size = 0.95
method | result | size |
norman | \(x \ln \left (\frac {x}{{\mathrm e}^{-{\mathrm e}^{3}-x +39}+x}\right )\) | \(20\) |
risch | \(-x \ln \left ({\mathrm e}^{-{\mathrm e}^{3}-x +39}+x \right )+x \ln \relax (x )+\frac {i x \pi \,\mathrm {csgn}\left (\frac {i}{{\mathrm e}^{-{\mathrm e}^{3}-x +39}+x}\right ) \mathrm {csgn}\left (\frac {i x}{{\mathrm e}^{-{\mathrm e}^{3}-x +39}+x}\right )^{2}}{2}-\frac {i x \pi \,\mathrm {csgn}\left (\frac {i}{{\mathrm e}^{-{\mathrm e}^{3}-x +39}+x}\right ) \mathrm {csgn}\left (\frac {i x}{{\mathrm e}^{-{\mathrm e}^{3}-x +39}+x}\right ) \mathrm {csgn}\left (i x \right )}{2}-\frac {i x \pi \mathrm {csgn}\left (\frac {i x}{{\mathrm e}^{-{\mathrm e}^{3}-x +39}+x}\right )^{3}}{2}+\frac {i x \pi \mathrm {csgn}\left (\frac {i x}{{\mathrm e}^{-{\mathrm e}^{3}-x +39}+x}\right )^{2} \mathrm {csgn}\left (i x \right )}{2}\) | \(170\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 26, normalized size = 1.24 \begin {gather*} x^{2} + x e^{3} - x \log \left (x e^{\left (x + e^{3}\right )} + e^{39}\right ) + x \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.09, size = 21, normalized size = 1.00 \begin {gather*} x\,\ln \left (\frac {x}{x+{\mathrm {e}}^{-{\mathrm {e}}^3}\,{\mathrm {e}}^{-x}\,{\mathrm {e}}^{39}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.34, size = 14, normalized size = 0.67 \begin {gather*} x \log {\left (\frac {x}{x + e^{- x - e^{3} + 39}} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________