3.33.60 \(\int \frac {-85-80 x+(10+100 x) \log (x)+25 \log ^2(x)}{x+10 x \log (x)+25 x \log ^2(x)} \, dx\)

Optimal. Leaf size=22 \[ \frac {2+4 x+(1-\log (x))^2}{\frac {1}{5}+\log (x)} \]

________________________________________________________________________________________

Rubi [A]  time = 0.38, antiderivative size = 26, normalized size of antiderivative = 1.18, number of steps used = 12, number of rules used = 8, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {6741, 6742, 2353, 2297, 2299, 2178, 2302, 30} \begin {gather*} \frac {20 x}{5 \log (x)+1}+\log (x)+\frac {86}{5 (5 \log (x)+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(-85 - 80*x + (10 + 100*x)*Log[x] + 25*Log[x]^2)/(x + 10*x*Log[x] + 25*x*Log[x]^2),x]

[Out]

Log[x] + 86/(5*(1 + 5*Log[x])) + (20*x)/(1 + 5*Log[x])

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2297

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_), x_Symbol] :> Simp[(x*(a + b*Log[c*x^n])^(p + 1))/(b*n*(p + 1))
, x] - Dist[1/(b*n*(p + 1)), Int[(a + b*Log[c*x^n])^(p + 1), x], x] /; FreeQ[{a, b, c, n}, x] && LtQ[p, -1] &&
 IntegerQ[2*p]

Rule 2299

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

Rule 2302

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]

Rule 2353

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(r_.))^(q_.), x_Symbol]
:> With[{u = ExpandIntegrand[(a + b*Log[c*x^n])^p, (f*x)^m*(d + e*x^r)^q, x]}, Int[u, x] /; SumQ[u]] /; FreeQ[
{a, b, c, d, e, f, m, n, p, q, r}, x] && IntegerQ[q] && (GtQ[q, 0] || (IGtQ[p, 0] && IntegerQ[m] && IntegerQ[r
]))

Rule 6741

Int[u_, x_Symbol] :> With[{v = NormalizeIntegrand[u, x]}, Int[v, x] /; v =!= u]

Rule 6742

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-85-80 x+(10+100 x) \log (x)+25 \log ^2(x)}{x (1+5 \log (x))^2} \, dx\\ &=\int \left (\frac {1}{x}-\frac {2 (43+50 x)}{x (1+5 \log (x))^2}+\frac {20}{1+5 \log (x)}\right ) \, dx\\ &=\log (x)-2 \int \frac {43+50 x}{x (1+5 \log (x))^2} \, dx+20 \int \frac {1}{1+5 \log (x)} \, dx\\ &=\log (x)-2 \int \left (\frac {50}{(1+5 \log (x))^2}+\frac {43}{x (1+5 \log (x))^2}\right ) \, dx+20 \operatorname {Subst}\left (\int \frac {e^x}{1+5 x} \, dx,x,\log (x)\right )\\ &=\frac {4 \text {Ei}\left (\frac {1}{5} (1+5 \log (x))\right )}{\sqrt [5]{e}}+\log (x)-86 \int \frac {1}{x (1+5 \log (x))^2} \, dx-100 \int \frac {1}{(1+5 \log (x))^2} \, dx\\ &=\frac {4 \text {Ei}\left (\frac {1}{5} (1+5 \log (x))\right )}{\sqrt [5]{e}}+\log (x)+\frac {20 x}{1+5 \log (x)}-\frac {86}{5} \operatorname {Subst}\left (\int \frac {1}{x^2} \, dx,x,1+5 \log (x)\right )-20 \int \frac {1}{1+5 \log (x)} \, dx\\ &=\frac {4 \text {Ei}\left (\frac {1}{5} (1+5 \log (x))\right )}{\sqrt [5]{e}}+\log (x)+\frac {86}{5 (1+5 \log (x))}+\frac {20 x}{1+5 \log (x)}-20 \operatorname {Subst}\left (\int \frac {e^x}{1+5 x} \, dx,x,\log (x)\right )\\ &=\log (x)+\frac {86}{5 (1+5 \log (x))}+\frac {20 x}{1+5 \log (x)}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.10, size = 23, normalized size = 1.05 \begin {gather*} 5 \left (\frac {\log (x)}{5}+\frac {86+100 x}{25+125 \log (x)}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-85 - 80*x + (10 + 100*x)*Log[x] + 25*Log[x]^2)/(x + 10*x*Log[x] + 25*x*Log[x]^2),x]

[Out]

5*(Log[x]/5 + (86 + 100*x)/(25 + 125*Log[x]))

________________________________________________________________________________________

fricas [A]  time = 0.64, size = 25, normalized size = 1.14 \begin {gather*} \frac {25 \, \log \relax (x)^{2} + 100 \, x + 5 \, \log \relax (x) + 86}{5 \, {\left (5 \, \log \relax (x) + 1\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((25*log(x)^2+(100*x+10)*log(x)-80*x-85)/(25*x*log(x)^2+10*x*log(x)+x),x, algorithm="fricas")

[Out]

1/5*(25*log(x)^2 + 100*x + 5*log(x) + 86)/(5*log(x) + 1)

________________________________________________________________________________________

giac [A]  time = 0.16, size = 18, normalized size = 0.82 \begin {gather*} \frac {2 \, {\left (50 \, x + 43\right )}}{5 \, {\left (5 \, \log \relax (x) + 1\right )}} + \log \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((25*log(x)^2+(100*x+10)*log(x)-80*x-85)/(25*x*log(x)^2+10*x*log(x)+x),x, algorithm="giac")

[Out]

2/5*(50*x + 43)/(5*log(x) + 1) + log(x)

________________________________________________________________________________________

maple [A]  time = 0.02, size = 19, normalized size = 0.86




method result size



risch \(\ln \relax (x )+\frac {20 x +\frac {86}{5}}{1+5 \ln \relax (x )}\) \(19\)
norman \(\frac {5 \ln \relax (x )^{2}-85 \ln \relax (x )+20 x}{1+5 \ln \relax (x )}\) \(24\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((25*ln(x)^2+(100*x+10)*ln(x)-80*x-85)/(25*x*ln(x)^2+10*x*ln(x)+x),x,method=_RETURNVERBOSE)

[Out]

ln(x)+2/5*(50*x+43)/(1+5*ln(x))

________________________________________________________________________________________

maxima [A]  time = 0.41, size = 28, normalized size = 1.27 \begin {gather*} \frac {100 \, x + 1}{5 \, {\left (5 \, \log \relax (x) + 1\right )}} + \frac {17}{5 \, \log \relax (x) + 1} + \log \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((25*log(x)^2+(100*x+10)*log(x)-80*x-85)/(25*x*log(x)^2+10*x*log(x)+x),x, algorithm="maxima")

[Out]

1/5*(100*x + 1)/(5*log(x) + 1) + 17/(5*log(x) + 1) + log(x)

________________________________________________________________________________________

mupad [B]  time = 1.97, size = 17, normalized size = 0.77 \begin {gather*} \ln \relax (x)+\frac {20\,x+\frac {86}{5}}{5\,\ln \relax (x)+1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(80*x - 25*log(x)^2 - log(x)*(100*x + 10) + 85)/(x + 25*x*log(x)^2 + 10*x*log(x)),x)

[Out]

log(x) + (20*x + 86/5)/(5*log(x) + 1)

________________________________________________________________________________________

sympy [A]  time = 0.11, size = 14, normalized size = 0.64 \begin {gather*} \frac {100 x + 86}{25 \log {\relax (x )} + 5} + \log {\relax (x )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((25*ln(x)**2+(100*x+10)*ln(x)-80*x-85)/(25*x*ln(x)**2+10*x*ln(x)+x),x)

[Out]

(100*x + 86)/(25*log(x) + 5) + log(x)

________________________________________________________________________________________