\(\int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{361 x^2+190 x^3+25 x^4} \, dx\) [10013]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [B] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 39, antiderivative size = 24 \[ \int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{361 x^2+190 x^3+25 x^4} \, dx=\frac {16}{x}-\frac {4 \log (2 x)}{x (1-5 (4+x))} \]

[Out]

16/x-4*ln(2*x)/x/(-19-5*x)

Rubi [A] (verified)

Time = 0.18 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.62, number of steps used = 11, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.205, Rules used = {1608, 27, 6874, 78, 2404, 2341, 2351, 31} \[ \int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{361 x^2+190 x^3+25 x^4} \, dx=\frac {16}{x}-\frac {20 \log (x)}{361}+\frac {4 \log (2 x)}{19 x}+\frac {100 x \log (2 x)}{361 (5 x+19)} \]

[In]

Int[(-5700 - 3020*x - 400*x^2 + (-76 - 40*x)*Log[2*x])/(361*x^2 + 190*x^3 + 25*x^4),x]

[Out]

16/x - (20*Log[x])/361 + (4*Log[2*x])/(19*x) + (100*x*Log[2*x])/(361*(19 + 5*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 78

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rule 1608

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 2341

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 2351

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 2404

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 6874

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

Rubi steps \begin{align*} \text {integral}& = \int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{x^2 \left (361+190 x+25 x^2\right )} \, dx \\ & = \int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{x^2 (19+5 x)^2} \, dx \\ & = \int \left (-\frac {20 (15+4 x)}{x^2 (19+5 x)}-\frac {4 (19+10 x) \log (2 x)}{x^2 (19+5 x)^2}\right ) \, dx \\ & = -\left (4 \int \frac {(19+10 x) \log (2 x)}{x^2 (19+5 x)^2} \, dx\right )-20 \int \frac {15+4 x}{x^2 (19+5 x)} \, dx \\ & = -\left (4 \int \left (\frac {\log (2 x)}{19 x^2}-\frac {25 \log (2 x)}{19 (19+5 x)^2}\right ) \, dx\right )-20 \int \left (\frac {15}{19 x^2}+\frac {1}{361 x}-\frac {5}{361 (19+5 x)}\right ) \, dx \\ & = \frac {300}{19 x}-\frac {20 \log (x)}{361}+\frac {20}{361} \log (19+5 x)-\frac {4}{19} \int \frac {\log (2 x)}{x^2} \, dx+\frac {100}{19} \int \frac {\log (2 x)}{(19+5 x)^2} \, dx \\ & = \frac {16}{x}-\frac {20 \log (x)}{361}+\frac {4 \log (2 x)}{19 x}+\frac {100 x \log (2 x)}{361 (19+5 x)}+\frac {20}{361} \log (19+5 x)-\frac {100}{361} \int \frac {1}{19+5 x} \, dx \\ & = \frac {16}{x}-\frac {20 \log (x)}{361}+\frac {4 \log (2 x)}{19 x}+\frac {100 x \log (2 x)}{361 (19+5 x)} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.06 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.92 \[ \int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{361 x^2+190 x^3+25 x^4} \, dx=\frac {4 (76+20 x+\log (2 x))}{19 x+5 x^2} \]

[In]

Integrate[(-5700 - 3020*x - 400*x^2 + (-76 - 40*x)*Log[2*x])/(361*x^2 + 190*x^3 + 25*x^4),x]

[Out]

(4*(76 + 20*x + Log[2*x]))/(19*x + 5*x^2)

Maple [A] (verified)

Time = 0.53 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.96

method result size
norman \(\frac {304+80 x +4 \ln \left (2 x \right )}{x \left (5 x +19\right )}\) \(23\)
risch \(\frac {4 \ln \left (2 x \right )}{x \left (5 x +19\right )}+\frac {16}{x}\) \(23\)
parallelrisch \(\frac {1520+400 x +20 \ln \left (2 x \right )}{5 x \left (5 x +19\right )}\) \(24\)
derivativedivides \(\frac {16}{x}-\frac {20 \ln \left (2 x \right )}{361}+\frac {4 \ln \left (2 x \right )}{19 x}+\frac {200 \ln \left (2 x \right ) x}{361 \left (10 x +38\right )}\) \(36\)
default \(\frac {16}{x}-\frac {20 \ln \left (2 x \right )}{361}+\frac {4 \ln \left (2 x \right )}{19 x}+\frac {200 \ln \left (2 x \right ) x}{361 \left (10 x +38\right )}\) \(36\)
parts \(\frac {20 \ln \left (5 x +19\right )}{361}+\frac {16}{x}-\frac {20 \ln \left (x \right )}{361}-\frac {20 \ln \left (10 x +38\right )}{361}+\frac {200 \ln \left (2 x \right ) x}{361 \left (10 x +38\right )}+\frac {4 \ln \left (2 x \right )}{19 x}\) \(50\)

[In]

int(((-40*x-76)*ln(2*x)-400*x^2-3020*x-5700)/(25*x^4+190*x^3+361*x^2),x,method=_RETURNVERBOSE)

[Out]

(304+80*x+4*ln(2*x))/x/(5*x+19)

Fricas [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.92 \[ \int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{361 x^2+190 x^3+25 x^4} \, dx=\frac {4 \, {\left (20 \, x + \log \left (2 \, x\right ) + 76\right )}}{5 \, x^{2} + 19 \, x} \]

[In]

integrate(((-40*x-76)*log(2*x)-400*x^2-3020*x-5700)/(25*x^4+190*x^3+361*x^2),x, algorithm="fricas")

[Out]

4*(20*x + log(2*x) + 76)/(5*x^2 + 19*x)

Sympy [A] (verification not implemented)

Time = 0.08 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.71 \[ \int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{361 x^2+190 x^3+25 x^4} \, dx=\frac {4 \log {\left (2 x \right )}}{5 x^{2} + 19 x} + \frac {16}{x} \]

[In]

integrate(((-40*x-76)*ln(2*x)-400*x**2-3020*x-5700)/(25*x**4+190*x**3+361*x**2),x)

[Out]

4*log(2*x)/(5*x**2 + 19*x) + 16/x

Maxima [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 54 vs. \(2 (22) = 44\).

Time = 0.32 (sec) , antiderivative size = 54, normalized size of antiderivative = 2.25 \[ \int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{361 x^2+190 x^3+25 x^4} \, dx=\frac {300 \, {\left (10 \, x + 19\right )}}{19 \, {\left (5 \, x^{2} + 19 \, x\right )}} + \frac {4 \, {\left (5 \, x + 19 \, \log \left (2\right ) + 19 \, \log \left (x\right ) + 19\right )}}{19 \, {\left (5 \, x^{2} + 19 \, x\right )}} - \frac {1500}{19 \, {\left (5 \, x + 19\right )}} \]

[In]

integrate(((-40*x-76)*log(2*x)-400*x^2-3020*x-5700)/(25*x^4+190*x^3+361*x^2),x, algorithm="maxima")

[Out]

300/19*(10*x + 19)/(5*x^2 + 19*x) + 4/19*(5*x + 19*log(2) + 19*log(x) + 19)/(5*x^2 + 19*x) - 1500/19/(5*x + 19
)

Giac [A] (verification not implemented)

none

Time = 0.28 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.12 \[ \int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{361 x^2+190 x^3+25 x^4} \, dx=-\frac {4}{19} \, {\left (\frac {5}{5 \, x + 19} - \frac {1}{x}\right )} \log \left (2 \, x\right ) + \frac {16}{x} \]

[In]

integrate(((-40*x-76)*log(2*x)-400*x^2-3020*x-5700)/(25*x^4+190*x^3+361*x^2),x, algorithm="giac")

[Out]

-4/19*(5/(5*x + 19) - 1/x)*log(2*x) + 16/x

Mupad [B] (verification not implemented)

Time = 16.28 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.04 \[ \int \frac {-5700-3020 x-400 x^2+(-76-40 x) \log (2 x)}{361 x^2+190 x^3+25 x^4} \, dx=\frac {4\,\left (19\,\ln \left (2\,x\right )-100\,x^2+1444\right )}{19\,x\,\left (5\,x+19\right )} \]

[In]

int(-(3020*x + 400*x^2 + log(2*x)*(40*x + 76) + 5700)/(361*x^2 + 190*x^3 + 25*x^4),x)

[Out]

(4*(19*log(2*x) - 100*x^2 + 1444))/(19*x*(5*x + 19))