3.292 \(\int \frac {1-\log (x)}{x (x+\log (x))} \, dx\)

Optimal. Leaf size=9 \[ \log \left (\frac {\log (x)}{x}+1\right ) \]

[Out]

ln(1+ln(x)/x)

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 9, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {6712, 31} \[ \log \left (\frac {\log (x)}{x}+1\right ) \]

Antiderivative was successfully verified.

[In]

Int[(1 - Log[x])/(x*(x + Log[x])),x]

[Out]

Log[1 + Log[x]/x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 6712

Int[(u_)*(v_)^(r_.)*((a_.)*(v_)^(p_.) + (b_.)*(w_)^(q_.))^(m_.), x_Symbol] :> With[{c = Simplify[u/(p*w*D[v, x
] - q*v*D[w, x])]}, -Dist[c*q, Subst[Int[(a + b*x^q)^m, x], x, v^(m*p + r + 1)*w], x] /; FreeQ[c, x]] /; FreeQ
[{a, b, m, p, q, r}, x] && EqQ[p + q*(m*p + r + 1), 0] && IntegerQ[q] && IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {1-\log (x)}{x (x+\log (x))} \, dx &=\operatorname {Subst}\left (\int \frac {1}{1+x} \, dx,x,\frac {\log (x)}{x}\right )\\ &=\log \left (1+\frac {\log (x)}{x}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.05, size = 10, normalized size = 1.11 \[ \log (x+\log (x))-\log (x) \]

Antiderivative was successfully verified.

[In]

Integrate[(1 - Log[x])/(x*(x + Log[x])),x]

[Out]

-Log[x] + Log[x + Log[x]]

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 10, normalized size = 1.11 \[ \log \left (x + \log \relax (x)\right ) - \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-log(x))/x/(x+log(x)),x, algorithm="fricas")

[Out]

log(x + log(x)) - log(x)

________________________________________________________________________________________

giac [A]  time = 0.17, size = 14, normalized size = 1.56 \[ -\log \relax (x) + \log \left (-x - \log \relax (x)\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-log(x))/x/(x+log(x)),x, algorithm="giac")

[Out]

-log(x) + log(-x - log(x))

________________________________________________________________________________________

maple [A]  time = 0.07, size = 11, normalized size = 1.22 \[ -\ln \relax (x )+\ln \left (x +\ln \relax (x )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-ln(x))/x/(x+ln(x)),x)

[Out]

-ln(x)+ln(x+ln(x))

________________________________________________________________________________________

maxima [A]  time = 0.90, size = 10, normalized size = 1.11 \[ \log \left (x + \log \relax (x)\right ) - \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-log(x))/x/(x+log(x)),x, algorithm="maxima")

[Out]

log(x + log(x)) - log(x)

________________________________________________________________________________________

mupad [B]  time = 0.37, size = 10, normalized size = 1.11 \[ \ln \left (x+\ln \relax (x)\right )-\ln \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(log(x) - 1)/(x*(x + log(x))),x)

[Out]

log(x + log(x)) - log(x)

________________________________________________________________________________________

sympy [A]  time = 0.14, size = 8, normalized size = 0.89 \[ - \log {\relax (x )} + \log {\left (x + \log {\relax (x )} \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-ln(x))/x/(x+ln(x)),x)

[Out]

-log(x) + log(x + log(x))

________________________________________________________________________________________