3.96.9 \(\int \frac {-5775+1520 x-28975 x^2+7700 x^3-500 x^4+(5775-1500 x+100 x^2) \log (x)}{5929 x^2-1540 x^3+100 x^4} \, dx\)

Optimal. Leaf size=28 \[ \frac {5 x^2+\log (x)}{\frac {2}{5 \left (2-\frac {15}{x}\right )}-x} \]

________________________________________________________________________________________

Rubi [A]  time = 0.39, antiderivative size = 42, normalized size of antiderivative = 1.50, number of steps used = 17, number of rules used = 9, integrand size = 52, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.173, Rules used = {1594, 27, 6742, 44, 43, 2357, 2304, 2314, 31} \begin {gather*} -5 x+\frac {77}{77-10 x}+\frac {200 x \log (x)}{5929 (77-10 x)}+\frac {20 \log (x)}{5929}-\frac {75 \log (x)}{77 x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(-5775 + 1520*x - 28975*x^2 + 7700*x^3 - 500*x^4 + (5775 - 1500*x + 100*x^2)*Log[x])/(5929*x^2 - 1540*x^3
+ 100*x^4),x]

[Out]

77/(77 - 10*x) - 5*x + (20*Log[x])/5929 - (75*Log[x])/(77*x) + (200*x*Log[x])/(5929*(77 - 10*x))

Rule 27

Int[(u_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[u*Cancel[(b/2 + c*x)^(2*p)/c^p], x] /; Fr
eeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 31

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

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 44

Int[((a_) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d*
x)^n, x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && ILtQ[m, 0] && IntegerQ[n] &&  !(IGtQ[n, 0] && L
tQ[m + n + 2, 0])

Rule 1594

Int[(u_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.) + (c_.)*(x_)^(r_.))^(n_.), x_Symbol] :> Int[u*x^(n*p)*(a + b*x^
(q - p) + c*x^(r - p))^n, x] /; FreeQ[{a, b, c, p, q, r}, x] && IntegerQ[n] && PosQ[q - p] && PosQ[r - p]

Rule 2304

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log[c*x^
n]))/(d*(m + 1)), x] - Simp[(b*n*(d*x)^(m + 1))/(d*(m + 1)^2), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rule 2314

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_) + (e_.)*(x_)^(r_.))^(q_), x_Symbol] :> Simp[(x*(d + e*x^r)^(q
+ 1)*(a + b*Log[c*x^n]))/d, x] - Dist[(b*n)/d, Int[(d + e*x^r)^(q + 1), x], x] /; FreeQ[{a, b, c, d, e, n, q,
r}, x] && EqQ[r*(q + 1) + 1, 0]

Rule 2357

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*(RFx_), x_Symbol] :> With[{u = ExpandIntegrand[(a + b*Log[c*x^
n])^p, RFx, x]}, Int[u, x] /; SumQ[u]] /; FreeQ[{a, b, c, n}, x] && RationalFunctionQ[RFx, x] && IGtQ[p, 0]

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 {-5775+1520 x-28975 x^2+7700 x^3-500 x^4+\left (5775-1500 x+100 x^2\right ) \log (x)}{x^2 \left (5929-1540 x+100 x^2\right )} \, dx\\ &=\int \frac {-5775+1520 x-28975 x^2+7700 x^3-500 x^4+\left (5775-1500 x+100 x^2\right ) \log (x)}{x^2 (-77+10 x)^2} \, dx\\ &=\int \left (-\frac {28975}{(-77+10 x)^2}-\frac {5775}{x^2 (-77+10 x)^2}+\frac {1520}{x (-77+10 x)^2}+\frac {7700 x}{(-77+10 x)^2}-\frac {500 x^2}{(-77+10 x)^2}+\frac {25 \left (231-60 x+4 x^2\right ) \log (x)}{x^2 (-77+10 x)^2}\right ) \, dx\\ &=-\frac {5795}{2 (77-10 x)}+25 \int \frac {\left (231-60 x+4 x^2\right ) \log (x)}{x^2 (-77+10 x)^2} \, dx-500 \int \frac {x^2}{(-77+10 x)^2} \, dx+1520 \int \frac {1}{x (-77+10 x)^2} \, dx-5775 \int \frac {1}{x^2 (-77+10 x)^2} \, dx+7700 \int \frac {x}{(-77+10 x)^2} \, dx\\ &=-\frac {5795}{2 (77-10 x)}+25 \int \left (\frac {3 \log (x)}{77 x^2}+\frac {8 \log (x)}{77 (-77+10 x)^2}\right ) \, dx-500 \int \left (\frac {1}{100}+\frac {5929}{100 (-77+10 x)^2}+\frac {77}{50 (-77+10 x)}\right ) \, dx+1520 \int \left (\frac {1}{5929 x}+\frac {10}{77 (-77+10 x)^2}-\frac {10}{5929 (-77+10 x)}\right ) \, dx-5775 \int \left (\frac {1}{5929 x^2}+\frac {20}{456533 x}+\frac {100}{5929 (-77+10 x)^2}-\frac {200}{456533 (-77+10 x)}\right ) \, dx+7700 \int \left (\frac {77}{10 (-77+10 x)^2}+\frac {1}{10 (-77+10 x)}\right ) \, dx\\ &=\frac {77}{77-10 x}+\frac {75}{77 x}-5 x-\frac {20 \log (77-10 x)}{5929}+\frac {20 \log (x)}{5929}+\frac {75}{77} \int \frac {\log (x)}{x^2} \, dx+\frac {200}{77} \int \frac {\log (x)}{(-77+10 x)^2} \, dx\\ &=\frac {77}{77-10 x}-5 x-\frac {20 \log (77-10 x)}{5929}+\frac {20 \log (x)}{5929}-\frac {75 \log (x)}{77 x}+\frac {200 x \log (x)}{5929 (77-10 x)}+\frac {200 \int \frac {1}{-77+10 x} \, dx}{5929}\\ &=\frac {77}{77-10 x}-5 x+\frac {20 \log (x)}{5929}-\frac {75 \log (x)}{77 x}+\frac {200 x \log (x)}{5929 (77-10 x)}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.06, size = 37, normalized size = 1.32 \begin {gather*} -5 \left (-\frac {77}{5 (77-10 x)}+x-\frac {4 \log (x)}{77 (77-10 x)}+\frac {15 \log (x)}{77 x}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-5775 + 1520*x - 28975*x^2 + 7700*x^3 - 500*x^4 + (5775 - 1500*x + 100*x^2)*Log[x])/(5929*x^2 - 154
0*x^3 + 100*x^4),x]

[Out]

-5*(-77/(5*(77 - 10*x)) + x - (4*Log[x])/(77*(77 - 10*x)) + (15*Log[x])/(77*x))

________________________________________________________________________________________

fricas [A]  time = 0.56, size = 36, normalized size = 1.29 \begin {gather*} -\frac {50 \, x^{3} - 385 \, x^{2} + 5 \, {\left (2 \, x - 15\right )} \log \relax (x) + 77 \, x}{10 \, x^{2} - 77 \, x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((100*x^2-1500*x+5775)*log(x)-500*x^4+7700*x^3-28975*x^2+1520*x-5775)/(100*x^4-1540*x^3+5929*x^2),x,
 algorithm="fricas")

[Out]

-(50*x^3 - 385*x^2 + 5*(2*x - 15)*log(x) + 77*x)/(10*x^2 - 77*x)

________________________________________________________________________________________

giac [A]  time = 0.15, size = 32, normalized size = 1.14 \begin {gather*} -\frac {5}{77} \, {\left (\frac {4}{10 \, x - 77} + \frac {15}{x}\right )} \log \relax (x) - 5 \, x - \frac {77}{10 \, x - 77} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((100*x^2-1500*x+5775)*log(x)-500*x^4+7700*x^3-28975*x^2+1520*x-5775)/(100*x^4-1540*x^3+5929*x^2),x,
 algorithm="giac")

[Out]

-5/77*(4/(10*x - 77) + 15/x)*log(x) - 5*x - 77/(10*x - 77)

________________________________________________________________________________________

maple [A]  time = 0.06, size = 30, normalized size = 1.07




method result size



norman \(\frac {\frac {5775 x}{2}-10 x \ln \relax (x )-50 x^{3}+75 \ln \relax (x )}{x \left (10 x -77\right )}\) \(30\)
default \(-5 x +\frac {20 \ln \relax (x )}{5929}-\frac {77}{10 x -77}-\frac {75 \ln \relax (x )}{77 x}-\frac {200 \ln \relax (x ) x}{5929 \left (10 x -77\right )}\) \(37\)
risch \(-\frac {5 \left (2 x -15\right ) \ln \relax (x )}{x \left (10 x -77\right )}-\frac {50 x^{2}-385 x +77}{10 x -77}\) \(40\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((100*x^2-1500*x+5775)*ln(x)-500*x^4+7700*x^3-28975*x^2+1520*x-5775)/(100*x^4-1540*x^3+5929*x^2),x,method=
_RETURNVERBOSE)

[Out]

(5775/2*x-10*x*ln(x)-50*x^3+75*ln(x))/x/(10*x-77)

________________________________________________________________________________________

maxima [B]  time = 0.40, size = 66, normalized size = 2.36 \begin {gather*} -5 \, x - \frac {25 \, {\left ({\left (8 \, x^{2} + 2310 \, x - 17787\right )} \log \relax (x) + 2310 \, x - 17787\right )}}{5929 \, {\left (10 \, x^{2} - 77 \, x\right )}} + \frac {75 \, {\left (20 \, x - 77\right )}}{77 \, {\left (10 \, x^{2} - 77 \, x\right )}} - \frac {6679}{77 \, {\left (10 \, x - 77\right )}} + \frac {20}{5929} \, \log \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((100*x^2-1500*x+5775)*log(x)-500*x^4+7700*x^3-28975*x^2+1520*x-5775)/(100*x^4-1540*x^3+5929*x^2),x,
 algorithm="maxima")

[Out]

-5*x - 25/5929*((8*x^2 + 2310*x - 17787)*log(x) + 2310*x - 17787)/(10*x^2 - 77*x) + 75/77*(20*x - 77)/(10*x^2
- 77*x) - 6679/77/(10*x - 77) + 20/5929*log(x)

________________________________________________________________________________________

mupad [B]  time = 7.40, size = 25, normalized size = 0.89 \begin {gather*} -\frac {5\,\left (2\,x-15\right )\,\left (\ln \relax (x)+5\,x^2\right )}{x\,\left (10\,x-77\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1520*x + log(x)*(100*x^2 - 1500*x + 5775) - 28975*x^2 + 7700*x^3 - 500*x^4 - 5775)/(5929*x^2 - 1540*x^3 +
 100*x^4),x)

[Out]

-(5*(2*x - 15)*(log(x) + 5*x^2))/(x*(10*x - 77))

________________________________________________________________________________________

sympy [A]  time = 0.18, size = 26, normalized size = 0.93 \begin {gather*} - 5 x + \frac {\left (75 - 10 x\right ) \log {\relax (x )}}{10 x^{2} - 77 x} - \frac {77}{10 x - 77} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((100*x**2-1500*x+5775)*ln(x)-500*x**4+7700*x**3-28975*x**2+1520*x-5775)/(100*x**4-1540*x**3+5929*x*
*2),x)

[Out]

-5*x + (75 - 10*x)*log(x)/(10*x**2 - 77*x) - 77/(10*x - 77)

________________________________________________________________________________________