Optimal. Leaf size=17 \[ 1+e^5-\frac {x}{4+\log (x)+\log (\log (3))} \]
________________________________________________________________________________________
Rubi [C] time = 0.15, antiderivative size = 86, normalized size of antiderivative = 5.06, number of steps used = 7, number of rules used = 6, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {6688, 2297, 2299, 2178, 2361, 6482} \begin {gather*} -\frac {(\log (x \log (3))+3) \text {Ei}(\log (x)+\log (\log (3))+4)}{e^4 \log (3)}+\frac {(\log (x \log (3))+4) \text {Ei}(\log (x \log (3))+4)}{e^4 \log (3)}-\frac {\text {Ei}(\log (x \log (3))+4)}{e^4 \log (3)}-x+\frac {x (\log (x \log (3))+3)}{\log (x)+4+\log (\log (3))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2178
Rule 2297
Rule 2299
Rule 2361
Rule 6482
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-3-\log (x \log (3))}{\left (\log (x)+4 \left (1+\frac {1}{4} \log (\log (3))\right )\right )^2} \, dx\\ &=-\frac {\text {Ei}(4+\log (x)+\log (\log (3))) (3+\log (x \log (3)))}{e^4 \log (3)}+\frac {x (3+\log (x \log (3)))}{4+\log (x)+\log (\log (3))}+\int \left (\frac {\text {Ei}(4+\log (x \log (3)))}{e^4 x \log (3)}-\frac {1}{4+\log (x \log (3))}\right ) \, dx\\ &=-\frac {\text {Ei}(4+\log (x)+\log (\log (3))) (3+\log (x \log (3)))}{e^4 \log (3)}+\frac {x (3+\log (x \log (3)))}{4+\log (x)+\log (\log (3))}+\frac {\int \frac {\text {Ei}(4+\log (x \log (3)))}{x} \, dx}{e^4 \log (3)}-\int \frac {1}{4+\log (x \log (3))} \, dx\\ &=-\frac {\text {Ei}(4+\log (x)+\log (\log (3))) (3+\log (x \log (3)))}{e^4 \log (3)}+\frac {x (3+\log (x \log (3)))}{4+\log (x)+\log (\log (3))}-\frac {\operatorname {Subst}\left (\int \frac {e^x}{4+x} \, dx,x,\log (x \log (3))\right )}{\log (3)}+\frac {\operatorname {Subst}(\int \text {Ei}(4+x) \, dx,x,\log (x \log (3)))}{e^4 \log (3)}\\ &=-x-\frac {\text {Ei}(4+\log (x \log (3)))}{e^4 \log (3)}-\frac {\text {Ei}(4+\log (x)+\log (\log (3))) (3+\log (x \log (3)))}{e^4 \log (3)}+\frac {x (3+\log (x \log (3)))}{4+\log (x)+\log (\log (3))}+\frac {\text {Ei}(4+\log (x \log (3))) (4+\log (x \log (3)))}{e^4 \log (3)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 12, normalized size = 0.71 \begin {gather*} -\frac {x}{4+\log (x \log (3))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.70, size = 12, normalized size = 0.71 \begin {gather*} -\frac {x}{\log \relax (x) + \log \left (\log \relax (3)\right ) + 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 12, normalized size = 0.71 \begin {gather*} -\frac {x}{\log \relax (x) + \log \left (\log \relax (3)\right ) + 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.43, size = 13, normalized size = 0.76
method | result | size |
default | \(-\frac {x}{\ln \relax (x )+\ln \left (\ln \relax (3)\right )+4}\) | \(13\) |
norman | \(-\frac {x}{\ln \relax (x )+\ln \left (\ln \relax (3)\right )+4}\) | \(13\) |
risch | \(-\frac {x}{\ln \relax (x )+\ln \left (\ln \relax (3)\right )+4}\) | \(13\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.49, size = 12, normalized size = 0.71 \begin {gather*} -\frac {x}{\log \relax (x) + \log \left (\log \relax (3)\right ) + 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.13, size = 12, normalized size = 0.71 \begin {gather*} -\frac {x}{\ln \left (\ln \relax (3)\right )+\ln \relax (x)+4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 12, normalized size = 0.71 \begin {gather*} - \frac {x}{\log {\relax (x )} + \log {\left (\log {\relax (3 )} \right )} + 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________