\(\int \frac {-200-120 x^2+50 x^3-56 x^4+12 x^5-10 x^6+2 x^7+x^9+2 x^{10}}{100 x+80 x^3-40 x^4+56 x^5-16 x^6+20 x^7-8 x^8+4 x^9+4 x^{10}+4 x^{11}} \, dx\) [2903]

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

Optimal result

Integrand size = 92, antiderivative size = 34 \[ \int \frac {-200-120 x^2+50 x^3-56 x^4+12 x^5-10 x^6+2 x^7+x^9+2 x^{10}}{100 x+80 x^3-40 x^4+56 x^5-16 x^6+20 x^7-8 x^8+4 x^9+4 x^{10}+4 x^{11}} \, dx=1+\frac {1}{4} \log \left (x+x^2+\frac {\left (\frac {2+\frac {5}{x^2}-x}{x}+x\right )^2}{x^2}\right ) \]

[Out]

1/4*ln(x^2+((5/x^2+2-x)/x+x)^2/x^2+x)+1

Rubi [A] (verified)

Time = 0.26 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.50, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.022, Rules used = {2099, 1601} \[ \int \frac {-200-120 x^2+50 x^3-56 x^4+12 x^5-10 x^6+2 x^7+x^9+2 x^{10}}{100 x+80 x^3-40 x^4+56 x^5-16 x^6+20 x^7-8 x^8+4 x^9+4 x^{10}+4 x^{11}} \, dx=\frac {1}{4} \log \left (x^{10}+x^9+x^8-2 x^7+5 x^6-4 x^5+14 x^4-10 x^3+20 x^2+25\right )-2 \log (x) \]

[In]

Int[(-200 - 120*x^2 + 50*x^3 - 56*x^4 + 12*x^5 - 10*x^6 + 2*x^7 + x^9 + 2*x^10)/(100*x + 80*x^3 - 40*x^4 + 56*
x^5 - 16*x^6 + 20*x^7 - 8*x^8 + 4*x^9 + 4*x^10 + 4*x^11),x]

[Out]

-2*Log[x] + Log[25 + 20*x^2 - 10*x^3 + 14*x^4 - 4*x^5 + 5*x^6 - 2*x^7 + x^8 + x^9 + x^10]/4

Rule 1601

Int[(Pp_)/(Qq_), x_Symbol] :> With[{p = Expon[Pp, x], q = Expon[Qq, x]}, Simp[Coeff[Pp, x, p]*(Log[RemoveConte
nt[Qq, x]]/(q*Coeff[Qq, x, q])), x] /; EqQ[p, q - 1] && EqQ[Pp, Simplify[(Coeff[Pp, x, p]/(q*Coeff[Qq, x, q]))
*D[Qq, x]]]] /; PolyQ[Pp, x] && PolyQ[Qq, x]

Rule 2099

Int[(P_)^(p_)*(Q_)^(q_.), x_Symbol] :> With[{PP = Factor[P]}, Int[ExpandIntegrand[PP^p*Q^q, x], x] /;  !SumQ[N
onfreeFactors[PP, x]]] /; FreeQ[q, x] && PolyQ[P, x] && PolyQ[Q, x] && IntegerQ[p] && NeQ[P, x]

Rubi steps \begin{align*} \text {integral}& = \int \left (-\frac {2}{x}+\frac {x \left (40-30 x+56 x^2-20 x^3+30 x^4-14 x^5+8 x^6+9 x^7+10 x^8\right )}{4 \left (25+20 x^2-10 x^3+14 x^4-4 x^5+5 x^6-2 x^7+x^8+x^9+x^{10}\right )}\right ) \, dx \\ & = -2 \log (x)+\frac {1}{4} \int \frac {x \left (40-30 x+56 x^2-20 x^3+30 x^4-14 x^5+8 x^6+9 x^7+10 x^8\right )}{25+20 x^2-10 x^3+14 x^4-4 x^5+5 x^6-2 x^7+x^8+x^9+x^{10}} \, dx \\ & = -2 \log (x)+\frac {1}{4} \log \left (25+20 x^2-10 x^3+14 x^4-4 x^5+5 x^6-2 x^7+x^8+x^9+x^{10}\right ) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.04 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.50 \[ \int \frac {-200-120 x^2+50 x^3-56 x^4+12 x^5-10 x^6+2 x^7+x^9+2 x^{10}}{100 x+80 x^3-40 x^4+56 x^5-16 x^6+20 x^7-8 x^8+4 x^9+4 x^{10}+4 x^{11}} \, dx=\frac {1}{4} \left (-8 \log (x)+\log \left (25+20 x^2-10 x^3+14 x^4-4 x^5+5 x^6-2 x^7+x^8+x^9+x^{10}\right )\right ) \]

[In]

Integrate[(-200 - 120*x^2 + 50*x^3 - 56*x^4 + 12*x^5 - 10*x^6 + 2*x^7 + x^9 + 2*x^10)/(100*x + 80*x^3 - 40*x^4
 + 56*x^5 - 16*x^6 + 20*x^7 - 8*x^8 + 4*x^9 + 4*x^10 + 4*x^11),x]

[Out]

(-8*Log[x] + Log[25 + 20*x^2 - 10*x^3 + 14*x^4 - 4*x^5 + 5*x^6 - 2*x^7 + x^8 + x^9 + x^10])/4

Maple [A] (verified)

Time = 0.04 (sec) , antiderivative size = 50, normalized size of antiderivative = 1.47

method result size
default \(\frac {\ln \left (x^{10}+x^{9}+x^{8}-2 x^{7}+5 x^{6}-4 x^{5}+14 x^{4}-10 x^{3}+20 x^{2}+25\right )}{4}-2 \ln \left (x \right )\) \(50\)
norman \(\frac {\ln \left (x^{10}+x^{9}+x^{8}-2 x^{7}+5 x^{6}-4 x^{5}+14 x^{4}-10 x^{3}+20 x^{2}+25\right )}{4}-2 \ln \left (x \right )\) \(50\)
risch \(\frac {\ln \left (x^{10}+x^{9}+x^{8}-2 x^{7}+5 x^{6}-4 x^{5}+14 x^{4}-10 x^{3}+20 x^{2}+25\right )}{4}-2 \ln \left (x \right )\) \(50\)
parallelrisch \(\frac {\ln \left (x^{10}+x^{9}+x^{8}-2 x^{7}+5 x^{6}-4 x^{5}+14 x^{4}-10 x^{3}+20 x^{2}+25\right )}{4}-2 \ln \left (x \right )\) \(50\)

[In]

int((2*x^10+x^9+2*x^7-10*x^6+12*x^5-56*x^4+50*x^3-120*x^2-200)/(4*x^11+4*x^10+4*x^9-8*x^8+20*x^7-16*x^6+56*x^5
-40*x^4+80*x^3+100*x),x,method=_RETURNVERBOSE)

[Out]

1/4*ln(x^10+x^9+x^8-2*x^7+5*x^6-4*x^5+14*x^4-10*x^3+20*x^2+25)-2*ln(x)

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 49, normalized size of antiderivative = 1.44 \[ \int \frac {-200-120 x^2+50 x^3-56 x^4+12 x^5-10 x^6+2 x^7+x^9+2 x^{10}}{100 x+80 x^3-40 x^4+56 x^5-16 x^6+20 x^7-8 x^8+4 x^9+4 x^{10}+4 x^{11}} \, dx=\frac {1}{4} \, \log \left (x^{10} + x^{9} + x^{8} - 2 \, x^{7} + 5 \, x^{6} - 4 \, x^{5} + 14 \, x^{4} - 10 \, x^{3} + 20 \, x^{2} + 25\right ) - 2 \, \log \left (x\right ) \]

[In]

integrate((2*x^10+x^9+2*x^7-10*x^6+12*x^5-56*x^4+50*x^3-120*x^2-200)/(4*x^11+4*x^10+4*x^9-8*x^8+20*x^7-16*x^6+
56*x^5-40*x^4+80*x^3+100*x),x, algorithm="fricas")

[Out]

1/4*log(x^10 + x^9 + x^8 - 2*x^7 + 5*x^6 - 4*x^5 + 14*x^4 - 10*x^3 + 20*x^2 + 25) - 2*log(x)

Sympy [A] (verification not implemented)

Time = 0.11 (sec) , antiderivative size = 49, normalized size of antiderivative = 1.44 \[ \int \frac {-200-120 x^2+50 x^3-56 x^4+12 x^5-10 x^6+2 x^7+x^9+2 x^{10}}{100 x+80 x^3-40 x^4+56 x^5-16 x^6+20 x^7-8 x^8+4 x^9+4 x^{10}+4 x^{11}} \, dx=- 2 \log {\left (x \right )} + \frac {\log {\left (x^{10} + x^{9} + x^{8} - 2 x^{7} + 5 x^{6} - 4 x^{5} + 14 x^{4} - 10 x^{3} + 20 x^{2} + 25 \right )}}{4} \]

[In]

integrate((2*x**10+x**9+2*x**7-10*x**6+12*x**5-56*x**4+50*x**3-120*x**2-200)/(4*x**11+4*x**10+4*x**9-8*x**8+20
*x**7-16*x**6+56*x**5-40*x**4+80*x**3+100*x),x)

[Out]

-2*log(x) + log(x**10 + x**9 + x**8 - 2*x**7 + 5*x**6 - 4*x**5 + 14*x**4 - 10*x**3 + 20*x**2 + 25)/4

Maxima [A] (verification not implemented)

none

Time = 0.21 (sec) , antiderivative size = 49, normalized size of antiderivative = 1.44 \[ \int \frac {-200-120 x^2+50 x^3-56 x^4+12 x^5-10 x^6+2 x^7+x^9+2 x^{10}}{100 x+80 x^3-40 x^4+56 x^5-16 x^6+20 x^7-8 x^8+4 x^9+4 x^{10}+4 x^{11}} \, dx=\frac {1}{4} \, \log \left (x^{10} + x^{9} + x^{8} - 2 \, x^{7} + 5 \, x^{6} - 4 \, x^{5} + 14 \, x^{4} - 10 \, x^{3} + 20 \, x^{2} + 25\right ) - 2 \, \log \left (x\right ) \]

[In]

integrate((2*x^10+x^9+2*x^7-10*x^6+12*x^5-56*x^4+50*x^3-120*x^2-200)/(4*x^11+4*x^10+4*x^9-8*x^8+20*x^7-16*x^6+
56*x^5-40*x^4+80*x^3+100*x),x, algorithm="maxima")

[Out]

1/4*log(x^10 + x^9 + x^8 - 2*x^7 + 5*x^6 - 4*x^5 + 14*x^4 - 10*x^3 + 20*x^2 + 25) - 2*log(x)

Giac [A] (verification not implemented)

none

Time = 0.28 (sec) , antiderivative size = 50, normalized size of antiderivative = 1.47 \[ \int \frac {-200-120 x^2+50 x^3-56 x^4+12 x^5-10 x^6+2 x^7+x^9+2 x^{10}}{100 x+80 x^3-40 x^4+56 x^5-16 x^6+20 x^7-8 x^8+4 x^9+4 x^{10}+4 x^{11}} \, dx=\frac {1}{4} \, \log \left (x^{10} + x^{9} + x^{8} - 2 \, x^{7} + 5 \, x^{6} - 4 \, x^{5} + 14 \, x^{4} - 10 \, x^{3} + 20 \, x^{2} + 25\right ) - 2 \, \log \left ({\left | x \right |}\right ) \]

[In]

integrate((2*x^10+x^9+2*x^7-10*x^6+12*x^5-56*x^4+50*x^3-120*x^2-200)/(4*x^11+4*x^10+4*x^9-8*x^8+20*x^7-16*x^6+
56*x^5-40*x^4+80*x^3+100*x),x, algorithm="giac")

[Out]

1/4*log(x^10 + x^9 + x^8 - 2*x^7 + 5*x^6 - 4*x^5 + 14*x^4 - 10*x^3 + 20*x^2 + 25) - 2*log(abs(x))

Mupad [B] (verification not implemented)

Time = 0.17 (sec) , antiderivative size = 49, normalized size of antiderivative = 1.44 \[ \int \frac {-200-120 x^2+50 x^3-56 x^4+12 x^5-10 x^6+2 x^7+x^9+2 x^{10}}{100 x+80 x^3-40 x^4+56 x^5-16 x^6+20 x^7-8 x^8+4 x^9+4 x^{10}+4 x^{11}} \, dx=\frac {\ln \left (x^{10}+x^9+x^8-2\,x^7+5\,x^6-4\,x^5+14\,x^4-10\,x^3+20\,x^2+25\right )}{4}-2\,\ln \left (x\right ) \]

[In]

int((50*x^3 - 120*x^2 - 56*x^4 + 12*x^5 - 10*x^6 + 2*x^7 + x^9 + 2*x^10 - 200)/(100*x + 80*x^3 - 40*x^4 + 56*x
^5 - 16*x^6 + 20*x^7 - 8*x^8 + 4*x^9 + 4*x^10 + 4*x^11),x)

[Out]

log(20*x^2 - 10*x^3 + 14*x^4 - 4*x^5 + 5*x^6 - 2*x^7 + x^8 + x^9 + x^10 + 25)/4 - 2*log(x)