Optimal. Leaf size=21 \[ x \log \left (\frac {x}{e^{39-e^3-x}+x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.35, 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 = {6820, 6874,
2628, 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 2628
Rule 6820
Rule 6874
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 = 162.45, 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]
________________________________________________________________________________________
Maple [A]
time = 1.10, 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 \left (x \right )-\frac {i x \pi \,\mathrm {csgn}\left (i x \right ) \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}+\frac {i x \pi \,\mathrm {csgn}\left (i 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 )^{2}}{2}-\frac {i x \pi \mathrm {csgn}\left (\frac {i x}{{\mathrm e}^{-{\mathrm e}^{3}-x +39}+x}\right )^{3}}{2}\) | \(170\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, 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 \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, 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]
________________________________________________________________________________________
Sympy [A]
time = 0.11, 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]
________________________________________________________________________________________
Giac [A]
time = 0.44, size = 21, normalized size = 1.00 \begin {gather*} -x \log \left (x + e^{\left (-x - e^{3} + 39\right )}\right ) + x \log \left (x\right ) \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]
________________________________________________________________________________________