Integrand size = 38, antiderivative size = 78 \[ \int \frac {-84-576 x-400 x^2+2560 x^3}{9+24 x-12 x^2+80 x^3+320 x^4} \, dx=2 \sqrt {11} \arctan \left (\frac {7-40 x}{5 \sqrt {11}}\right )-2 \sqrt {11} \arctan \left (\frac {57+30 x-40 x^2+800 x^3}{6 \sqrt {11}}\right )+2 \log \left (9+24 x-12 x^2+80 x^3+320 x^4\right ) \] Output:
2*11^(1/2)*arctan(1/55*(7-40*x)*11^(1/2))-2*11^(1/2)*arctan(1/66*(800*x^3- 40*x^2+30*x+57)*11^(1/2))+2*ln(320*x^4+80*x^3-12*x^2+24*x+9)
Result contains higher order function than in optimal. Order 9 vs. order 3 in optimal.
Time = 0.03 (sec) , antiderivative size = 99, normalized size of antiderivative = 1.27 \[ \int \frac {-84-576 x-400 x^2+2560 x^3}{9+24 x-12 x^2+80 x^3+320 x^4} \, dx=\frac {1}{2} \text {RootSum}\left [9+24 \text {$\#$1}-12 \text {$\#$1}^2+80 \text {$\#$1}^3+320 \text {$\#$1}^4\&,\frac {-21 \log (x-\text {$\#$1})-144 \log (x-\text {$\#$1}) \text {$\#$1}-100 \log (x-\text {$\#$1}) \text {$\#$1}^2+640 \log (x-\text {$\#$1}) \text {$\#$1}^3}{3-3 \text {$\#$1}+30 \text {$\#$1}^2+160 \text {$\#$1}^3}\&\right ] \] Input:
Integrate[(-84 - 576*x - 400*x^2 + 2560*x^3)/(9 + 24*x - 12*x^2 + 80*x^3 + 320*x^4),x]
Output:
RootSum[9 + 24*#1 - 12*#1^2 + 80*#1^3 + 320*#1^4 & , (-21*Log[x - #1] - 14 4*Log[x - #1]*#1 - 100*Log[x - #1]*#1^2 + 640*Log[x - #1]*#1^3)/(3 - 3*#1 + 30*#1^2 + 160*#1^3) & ]/2
Time = 0.45 (sec) , antiderivative size = 85, normalized size of antiderivative = 1.09, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.079, Rules used = {2525, 27, 2502}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {2560 x^3-400 x^2-576 x-84}{320 x^4+80 x^3-12 x^2+24 x+9} \, dx\) |
\(\Big \downarrow \) 2525 |
\(\displaystyle \frac {\int -\frac {56320 \left (20 x^2+12 x+3\right )}{320 x^4+80 x^3-12 x^2+24 x+9}dx}{1280}+2 \log \left (320 x^4+80 x^3-12 x^2+24 x+9\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle 2 \log \left (320 x^4+80 x^3-12 x^2+24 x+9\right )-44 \int \frac {20 x^2+12 x+3}{320 x^4+80 x^3-12 x^2+24 x+9}dx\) |
\(\Big \downarrow \) 2502 |
\(\displaystyle 2 \log \left (320 x^4+80 x^3-12 x^2+24 x+9\right )-44 \left (\frac {\arctan \left (\frac {800 x^3-40 x^2+30 x+57}{6 \sqrt {11}}\right )}{2 \sqrt {11}}-\frac {\arctan \left (\frac {7-40 x}{5 \sqrt {11}}\right )}{2 \sqrt {11}}\right )\) |
Input:
Int[(-84 - 576*x - 400*x^2 + 2560*x^3)/(9 + 24*x - 12*x^2 + 80*x^3 + 320*x ^4),x]
Output:
-44*(-1/2*ArcTan[(7 - 40*x)/(5*Sqrt[11])]/Sqrt[11] + ArcTan[(57 + 30*x - 4 0*x^2 + 800*x^3)/(6*Sqrt[11])]/(2*Sqrt[11])) + 2*Log[9 + 24*x - 12*x^2 + 8 0*x^3 + 320*x^4]
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((A_.) + (B_.)*(x_) + (C_.)*(x_)^2)/((a_) + (b_.)*(x_) + (c_.)*(x_)^2 + (d_.)*(x_)^3 + (e_.)*(x_)^4), x_Symbol] :> With[{q = Rt[(-C)*(2*e*(B*d - 4 *A*e) + C*(d^2 - 4*c*e)), 2]}, Simp[2*(C^2/q)*ArcTan[(C*d - B*e + 2*C*e*x)/ q], x] - Simp[2*(C^2/q)*ArcTan[C*((4*B*c*C - 3*B^2*d - 4*A*C*d + 12*A*B*e + 4*C*(2*c*C - B*d + 2*A*e)*x + 4*C*(2*C*d - B*e)*x^2 + 8*C^2*e*x^3)/(q*(B^2 - 4*A*C)))], x]] /; FreeQ[{a, b, c, d, e, A, B, C}, x] && EqQ[B^2*d + 2*C* (b*C + A*d) - 2*B*(c*C + 2*A*e), 0] && EqQ[2*B^2*c*C - 8*a*C^3 - B^3*d - 4* A*B*C*d + 4*A*(B^2 + 2*A*C)*e, 0] && NegQ[C*(2*e*(B*d - 4*A*e) + C*(d^2 - 4 *c*e))]
Int[(Pm_)/(Qn_), x_Symbol] :> With[{m = Expon[Pm, x], n = Expon[Qn, x]}, Si mp[Coeff[Pm, x, m]*(Log[Qn]/(n*Coeff[Qn, x, n])), x] + Simp[1/(n*Coeff[Qn, x, n]) Int[ExpandToSum[n*Coeff[Qn, x, n]*Pm - Coeff[Pm, x, m]*D[Qn, x], x ]/Qn, x], x] /; EqQ[m, n - 1]] /; PolyQ[Pm, x] && PolyQ[Qn, x]
Result contains complex when optimal does not.
Time = 0.06 (sec) , antiderivative size = 70, normalized size of antiderivative = 0.90
method | result | size |
default | \(4 \left (\frac {1}{2}+\frac {i \sqrt {11}}{4}\right ) \ln \left (80 x^{2}+\left (-10 i \sqrt {11}+10\right ) x -3 i \sqrt {11}-9\right )+4 \left (\frac {1}{2}-\frac {i \sqrt {11}}{4}\right ) \ln \left (80 x^{2}+\left (10 i \sqrt {11}+10\right ) x +3 i \sqrt {11}-9\right )\) | \(70\) |
risch | \(2 \ln \left (6400 x^{4}+1600 x^{3}-240 x^{2}+480 x +180\right )-2 \arctan \left (-\frac {20 \sqrt {11}\, x^{2}}{33}+\frac {5 x \sqrt {11}}{11}+\frac {19 \sqrt {11}}{22}+\frac {400 \sqrt {11}\, x^{3}}{33}\right ) \sqrt {11}-2 \arctan \left (\frac {\left (40 x -7\right ) \sqrt {11}}{55}\right ) \sqrt {11}\) | \(75\) |
Input:
int((2560*x^3-400*x^2-576*x-84)/(320*x^4+80*x^3-12*x^2+24*x+9),x,method=_R ETURNVERBOSE)
Output:
4*(1/2+1/4*I*11^(1/2))*ln(80*x^2+(-10*I*11^(1/2)+10)*x-3*I*11^(1/2)-9)+4*( 1/2-1/4*I*11^(1/2))*ln(80*x^2+(10*I*11^(1/2)+10)*x+3*I*11^(1/2)-9)
Time = 0.07 (sec) , antiderivative size = 66, normalized size of antiderivative = 0.85 \[ \int \frac {-84-576 x-400 x^2+2560 x^3}{9+24 x-12 x^2+80 x^3+320 x^4} \, dx=-2 \, \sqrt {11} \arctan \left (\frac {1}{66} \, \sqrt {11} {\left (800 \, x^{3} - 40 \, x^{2} + 30 \, x + 57\right )}\right ) - 2 \, \sqrt {11} \arctan \left (\frac {1}{55} \, \sqrt {11} {\left (40 \, x - 7\right )}\right ) + 2 \, \log \left (320 \, x^{4} + 80 \, x^{3} - 12 \, x^{2} + 24 \, x + 9\right ) \] Input:
integrate((2560*x^3-400*x^2-576*x-84)/(320*x^4+80*x^3-12*x^2+24*x+9),x, al gorithm="fricas")
Output:
-2*sqrt(11)*arctan(1/66*sqrt(11)*(800*x^3 - 40*x^2 + 30*x + 57)) - 2*sqrt( 11)*arctan(1/55*sqrt(11)*(40*x - 7)) + 2*log(320*x^4 + 80*x^3 - 12*x^2 + 2 4*x + 9)
Time = 0.10 (sec) , antiderivative size = 100, normalized size of antiderivative = 1.28 \[ \int \frac {-84-576 x-400 x^2+2560 x^3}{9+24 x-12 x^2+80 x^3+320 x^4} \, dx=\sqrt {11} \left (- 2 \operatorname {atan}{\left (\frac {8 \sqrt {11} x}{11} - \frac {7 \sqrt {11}}{55} \right )} - 2 \operatorname {atan}{\left (\frac {400 \sqrt {11} x^{3}}{33} - \frac {20 \sqrt {11} x^{2}}{33} + \frac {5 \sqrt {11} x}{11} + \frac {19 \sqrt {11}}{22} \right )}\right ) + 2 \log {\left (x^{4} + \frac {x^{3}}{4} - \frac {3 x^{2}}{80} + \frac {3 x}{40} + \frac {9}{320} \right )} \] Input:
integrate((2560*x**3-400*x**2-576*x-84)/(320*x**4+80*x**3-12*x**2+24*x+9), x)
Output:
sqrt(11)*(-2*atan(8*sqrt(11)*x/11 - 7*sqrt(11)/55) - 2*atan(400*sqrt(11)*x **3/33 - 20*sqrt(11)*x**2/33 + 5*sqrt(11)*x/11 + 19*sqrt(11)/22)) + 2*log( x**4 + x**3/4 - 3*x**2/80 + 3*x/40 + 9/320)
\[ \int \frac {-84-576 x-400 x^2+2560 x^3}{9+24 x-12 x^2+80 x^3+320 x^4} \, dx=\int { \frac {4 \, {\left (640 \, x^{3} - 100 \, x^{2} - 144 \, x - 21\right )}}{320 \, x^{4} + 80 \, x^{3} - 12 \, x^{2} + 24 \, x + 9} \,d x } \] Input:
integrate((2560*x^3-400*x^2-576*x-84)/(320*x^4+80*x^3-12*x^2+24*x+9),x, al gorithm="maxima")
Output:
4*integrate((640*x^3 - 100*x^2 - 144*x - 21)/(320*x^4 + 80*x^3 - 12*x^2 + 24*x + 9), x)
Time = 0.29 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.82 \[ \int \frac {-84-576 x-400 x^2+2560 x^3}{9+24 x-12 x^2+80 x^3+320 x^4} \, dx=-2 \, \sqrt {11} {\left (\arctan \left (\frac {1}{66} \, \sqrt {11} {\left (800 \, x^{3} - 40 \, x^{2} + 30 \, x + 57\right )}\right ) - \arctan \left (-\frac {1}{55} \, \sqrt {11} {\left (40 \, x - 7\right )}\right )\right )} + 2 \, \log \left (320 \, x^{4} + 80 \, x^{3} - 12 \, x^{2} + 24 \, x + 9\right ) \] Input:
integrate((2560*x^3-400*x^2-576*x-84)/(320*x^4+80*x^3-12*x^2+24*x+9),x, al gorithm="giac")
Output:
-2*sqrt(11)*(arctan(1/66*sqrt(11)*(800*x^3 - 40*x^2 + 30*x + 57)) - arctan (-1/55*sqrt(11)*(40*x - 7))) + 2*log(320*x^4 + 80*x^3 - 12*x^2 + 24*x + 9)
Time = 0.11 (sec) , antiderivative size = 76, normalized size of antiderivative = 0.97 \[ \int \frac {-84-576 x-400 x^2+2560 x^3}{9+24 x-12 x^2+80 x^3+320 x^4} \, dx=2\,\ln \left (320\,x^4+80\,x^3-12\,x^2+24\,x+9\right )-2\,\sqrt {11}\,\mathrm {atan}\left (\frac {8\,\sqrt {11}\,x}{11}-\frac {7\,\sqrt {11}}{55}\right )-2\,\sqrt {11}\,\mathrm {atan}\left (\frac {400\,\sqrt {11}\,x^3}{33}-\frac {20\,\sqrt {11}\,x^2}{33}+\frac {5\,\sqrt {11}\,x}{11}+\frac {19\,\sqrt {11}}{22}\right ) \] Input:
int(-(576*x + 400*x^2 - 2560*x^3 + 84)/(24*x - 12*x^2 + 80*x^3 + 320*x^4 + 9),x)
Output:
2*log(24*x - 12*x^2 + 80*x^3 + 320*x^4 + 9) - 2*11^(1/2)*atan((8*11^(1/2)* x)/11 - (7*11^(1/2))/55) - 2*11^(1/2)*atan((5*11^(1/2)*x)/11 + (19*11^(1/2 ))/22 - (20*11^(1/2)*x^2)/33 + (400*11^(1/2)*x^3)/33)
\[ \int \frac {-84-576 x-400 x^2+2560 x^3}{9+24 x-12 x^2+80 x^3+320 x^4} \, dx=-880 \left (\int \frac {x^{2}}{320 x^{4}+80 x^{3}-12 x^{2}+24 x +9}d x \right )-528 \left (\int \frac {x}{320 x^{4}+80 x^{3}-12 x^{2}+24 x +9}d x \right )-132 \left (\int \frac {1}{320 x^{4}+80 x^{3}-12 x^{2}+24 x +9}d x \right )+2 \,\mathrm {log}\left (320 x^{4}+80 x^{3}-12 x^{2}+24 x +9\right ) \] Input:
int((2560*x^3-400*x^2-576*x-84)/(320*x^4+80*x^3-12*x^2+24*x+9),x)
Output:
2*( - 440*int(x**2/(320*x**4 + 80*x**3 - 12*x**2 + 24*x + 9),x) - 264*int( x/(320*x**4 + 80*x**3 - 12*x**2 + 24*x + 9),x) - 66*int(1/(320*x**4 + 80*x **3 - 12*x**2 + 24*x + 9),x) + log(320*x**4 + 80*x**3 - 12*x**2 + 24*x + 9 ))