3.7.20 \(\int \frac {1}{x (a+b \log (x))} \, dx\) [620]

Optimal. Leaf size=11 \[ \frac {\log (a+b \log (x))}{b} \]

[Out]

ln(a+b*ln(x))/b

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2339, 29} \begin {gather*} \frac {\log (a+b \log (x))}{b} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

Log[a + b*Log[x]]/b

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 2339

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/(x_), x_Symbol] :> Dist[1/(b*n), Subst[Int[x^p, x], x, a + b*L
og[c*x^n]], x] /; FreeQ[{a, b, c, n, p}, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 11, normalized size = 1.00 \begin {gather*} \frac {\log (a+b \log (x))}{b} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

Log[a + b*Log[x]]/b

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 12, normalized size = 1.09

method result size
derivativedivides \(\frac {\ln \left (a +b \ln \left (x \right )\right )}{b}\) \(12\)
default \(\frac {\ln \left (a +b \ln \left (x \right )\right )}{b}\) \(12\)
norman \(\frac {\ln \left (a +b \ln \left (x \right )\right )}{b}\) \(12\)
risch \(\frac {\ln \left (\ln \left (x \right )+\frac {a}{b}\right )}{b}\) \(14\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x/(a+b*ln(x)),x,method=_RETURNVERBOSE)

[Out]

ln(a+b*ln(x))/b

________________________________________________________________________________________

Maxima [A]
time = 2.18, size = 11, normalized size = 1.00 \begin {gather*} \frac {\log \left (b \log \left (x\right ) + a\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(a+b*log(x)),x, algorithm="maxima")

[Out]

log(b*log(x) + a)/b

________________________________________________________________________________________

Fricas [A]
time = 0.78, size = 11, normalized size = 1.00 \begin {gather*} \frac {\log \left (b \log \left (x\right ) + a\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(a+b*log(x)),x, algorithm="fricas")

[Out]

log(b*log(x) + a)/b

________________________________________________________________________________________

Sympy [A]
time = 0.04, size = 8, normalized size = 0.73 \begin {gather*} \frac {\log {\left (\frac {a}{b} + \log {\left (x \right )} \right )}}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(a+b*ln(x)),x)

[Out]

log(a/b + log(x))/b

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 30 vs. \(2 (11) = 22\).
time = 0.81, size = 30, normalized size = 2.73 \begin {gather*} \frac {\log \left (\frac {1}{4} \, \pi ^{2} b^{2} {\left (\mathrm {sgn}\left (x\right ) - 1\right )}^{2} + {\left (b \log \left ({\left | x \right |}\right ) + a\right )}^{2}\right )}{2 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(a+b*log(x)),x, algorithm="giac")

[Out]

1/2*log(1/4*pi^2*b^2*(sgn(x) - 1)^2 + (b*log(abs(x)) + a)^2)/b

________________________________________________________________________________________

Mupad [B]
time = 0.29, size = 11, normalized size = 1.00 \begin {gather*} \frac {\ln \left (a+b\,\ln \left (x\right )\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x*(a + b*log(x))),x)

[Out]

log(a + b*log(x))/b

________________________________________________________________________________________