Integrand size = 24, antiderivative size = 110 \[ \int \frac {x^{10} \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx=\frac {b (3 b B-2 A c) x}{c^4}-\frac {(2 b B-A c) x^3}{3 c^3}+\frac {B x^5}{5 c^2}+\frac {b^2 (b B-A c) x}{2 c^4 \left (b+c x^2\right )}-\frac {b^{3/2} (7 b B-5 A c) \arctan \left (\frac {\sqrt {c} x}{\sqrt {b}}\right )}{2 c^{9/2}} \] Output:
b*(-2*A*c+3*B*b)*x/c^4-1/3*(-A*c+2*B*b)*x^3/c^3+1/5*B*x^5/c^2+1/2*b^2*(-A* c+B*b)*x/c^4/(c*x^2+b)-1/2*b^(3/2)*(-5*A*c+7*B*b)*arctan(c^(1/2)*x/b^(1/2) )/c^(9/2)
Time = 0.06 (sec) , antiderivative size = 111, normalized size of antiderivative = 1.01 \[ \int \frac {x^{10} \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx=\frac {b (3 b B-2 A c) x}{c^4}+\frac {(-2 b B+A c) x^3}{3 c^3}+\frac {B x^5}{5 c^2}-\frac {\left (-b^3 B+A b^2 c\right ) x}{2 c^4 \left (b+c x^2\right )}-\frac {b^{3/2} (7 b B-5 A c) \arctan \left (\frac {\sqrt {c} x}{\sqrt {b}}\right )}{2 c^{9/2}} \] Input:
Integrate[(x^10*(A + B*x^2))/(b*x^2 + c*x^4)^2,x]
Output:
(b*(3*b*B - 2*A*c)*x)/c^4 + ((-2*b*B + A*c)*x^3)/(3*c^3) + (B*x^5)/(5*c^2) - ((-(b^3*B) + A*b^2*c)*x)/(2*c^4*(b + c*x^2)) - (b^(3/2)*(7*b*B - 5*A*c) *ArcTan[(Sqrt[c]*x)/Sqrt[b]])/(2*c^(9/2))
Time = 0.59 (sec) , antiderivative size = 111, normalized size of antiderivative = 1.01, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {9, 360, 2341, 2009}
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 {x^{10} \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx\) |
\(\Big \downarrow \) 9 |
\(\displaystyle \int \frac {x^6 \left (A+B x^2\right )}{\left (b+c x^2\right )^2}dx\) |
\(\Big \downarrow \) 360 |
\(\displaystyle \frac {b^2 x (b B-A c)}{2 c^4 \left (b+c x^2\right )}-\frac {\int \frac {-2 B c^3 x^6+2 c^2 (b B-A c) x^4-2 b c (b B-A c) x^2+b^2 (b B-A c)}{c x^2+b}dx}{2 c^4}\) |
\(\Big \downarrow \) 2341 |
\(\displaystyle \frac {b^2 x (b B-A c)}{2 c^4 \left (b+c x^2\right )}-\frac {\int \left (-2 B c^2 x^4+2 c (2 b B-A c) x^2-2 b (3 b B-2 A c)+\frac {7 b^3 B-5 A b^2 c}{c x^2+b}\right )dx}{2 c^4}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {b^2 x (b B-A c)}{2 c^4 \left (b+c x^2\right )}-\frac {\frac {b^{3/2} (7 b B-5 A c) \arctan \left (\frac {\sqrt {c} x}{\sqrt {b}}\right )}{\sqrt {c}}+\frac {2}{3} c x^3 (2 b B-A c)-2 b x (3 b B-2 A c)-\frac {2}{5} B c^2 x^5}{2 c^4}\) |
Input:
Int[(x^10*(A + B*x^2))/(b*x^2 + c*x^4)^2,x]
Output:
(b^2*(b*B - A*c)*x)/(2*c^4*(b + c*x^2)) - (-2*b*(3*b*B - 2*A*c)*x + (2*c*( 2*b*B - A*c)*x^3)/3 - (2*B*c^2*x^5)/5 + (b^(3/2)*(7*b*B - 5*A*c)*ArcTan[(S qrt[c]*x)/Sqrt[b]])/Sqrt[c])/(2*c^4)
Int[(u_.)*(Px_)^(p_.)*((e_.)*(x_))^(m_.), x_Symbol] :> With[{r = Expon[Px, x, Min]}, Simp[1/e^(p*r) Int[u*(e*x)^(m + p*r)*ExpandToSum[Px/x^r, x]^p, x], x] /; IGtQ[r, 0]] /; FreeQ[{e, m}, x] && PolyQ[Px, x] && IntegerQ[p] && !MonomialQ[Px, x]
Int[(x_)^(m_)*((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2), x_Symbol] : > Simp[(-a)^(m/2 - 1)*(b*c - a*d)*x*((a + b*x^2)^(p + 1)/(2*b^(m/2 + 1)*(p + 1))), x] + Simp[1/(2*b^(m/2 + 1)*(p + 1)) Int[(a + b*x^2)^(p + 1)*Expan dToSum[2*b*(p + 1)*x^2*Together[(b^(m/2)*x^(m - 2)*(c + d*x^2) - (-a)^(m/2 - 1)*(b*c - a*d))/(a + b*x^2)] - (-a)^(m/2 - 1)*(b*c - a*d), x], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && LtQ[p, -1] && IGtQ[m/2, 0] & & (IntegerQ[p] || EqQ[m + 2*p + 1, 0])
Int[(Pq_)*((a_) + (b_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[Pq* (a + b*x^2)^p, x], x] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] && IGtQ[p, -2]
Time = 0.41 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.91
method | result | size |
default | \(-\frac {-\frac {1}{5} B \,c^{2} x^{5}-\frac {1}{3} A \,c^{2} x^{3}+\frac {2}{3} B b c \,x^{3}+2 A b c x -3 x B \,b^{2}}{c^{4}}+\frac {b^{2} \left (\frac {\left (-\frac {A c}{2}+\frac {B b}{2}\right ) x}{c \,x^{2}+b}+\frac {\left (5 A c -7 B b \right ) \arctan \left (\frac {c x}{\sqrt {b c}}\right )}{2 \sqrt {b c}}\right )}{c^{4}}\) | \(100\) |
risch | \(\frac {B \,x^{5}}{5 c^{2}}+\frac {A \,x^{3}}{3 c^{2}}-\frac {2 B b \,x^{3}}{3 c^{3}}-\frac {2 A b x}{c^{3}}+\frac {3 x B \,b^{2}}{c^{4}}+\frac {\left (-\frac {1}{2} A \,b^{2} c +\frac {1}{2} B \,b^{3}\right ) x}{c^{4} \left (c \,x^{2}+b \right )}+\frac {5 \sqrt {-b c}\, b \ln \left (-\sqrt {-b c}\, x +b \right ) A}{4 c^{4}}-\frac {7 \sqrt {-b c}\, b^{2} \ln \left (-\sqrt {-b c}\, x +b \right ) B}{4 c^{5}}-\frac {5 \sqrt {-b c}\, b \ln \left (\sqrt {-b c}\, x +b \right ) A}{4 c^{4}}+\frac {7 \sqrt {-b c}\, b^{2} \ln \left (\sqrt {-b c}\, x +b \right ) B}{4 c^{5}}\) | \(178\) |
Input:
int(x^10*(B*x^2+A)/(c*x^4+b*x^2)^2,x,method=_RETURNVERBOSE)
Output:
-1/c^4*(-1/5*B*c^2*x^5-1/3*A*c^2*x^3+2/3*B*b*c*x^3+2*A*b*c*x-3*x*B*b^2)+b^ 2/c^4*((-1/2*A*c+1/2*B*b)*x/(c*x^2+b)+1/2*(5*A*c-7*B*b)/(b*c)^(1/2)*arctan (c*x/(b*c)^(1/2)))
Time = 0.09 (sec) , antiderivative size = 298, normalized size of antiderivative = 2.71 \[ \int \frac {x^{10} \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx=\left [\frac {12 \, B c^{3} x^{7} - 4 \, {\left (7 \, B b c^{2} - 5 \, A c^{3}\right )} x^{5} + 20 \, {\left (7 \, B b^{2} c - 5 \, A b c^{2}\right )} x^{3} - 15 \, {\left (7 \, B b^{3} - 5 \, A b^{2} c + {\left (7 \, B b^{2} c - 5 \, A b c^{2}\right )} x^{2}\right )} \sqrt {-\frac {b}{c}} \log \left (\frac {c x^{2} + 2 \, c x \sqrt {-\frac {b}{c}} - b}{c x^{2} + b}\right ) + 30 \, {\left (7 \, B b^{3} - 5 \, A b^{2} c\right )} x}{60 \, {\left (c^{5} x^{2} + b c^{4}\right )}}, \frac {6 \, B c^{3} x^{7} - 2 \, {\left (7 \, B b c^{2} - 5 \, A c^{3}\right )} x^{5} + 10 \, {\left (7 \, B b^{2} c - 5 \, A b c^{2}\right )} x^{3} - 15 \, {\left (7 \, B b^{3} - 5 \, A b^{2} c + {\left (7 \, B b^{2} c - 5 \, A b c^{2}\right )} x^{2}\right )} \sqrt {\frac {b}{c}} \arctan \left (\frac {c x \sqrt {\frac {b}{c}}}{b}\right ) + 15 \, {\left (7 \, B b^{3} - 5 \, A b^{2} c\right )} x}{30 \, {\left (c^{5} x^{2} + b c^{4}\right )}}\right ] \] Input:
integrate(x^10*(B*x^2+A)/(c*x^4+b*x^2)^2,x, algorithm="fricas")
Output:
[1/60*(12*B*c^3*x^7 - 4*(7*B*b*c^2 - 5*A*c^3)*x^5 + 20*(7*B*b^2*c - 5*A*b* c^2)*x^3 - 15*(7*B*b^3 - 5*A*b^2*c + (7*B*b^2*c - 5*A*b*c^2)*x^2)*sqrt(-b/ c)*log((c*x^2 + 2*c*x*sqrt(-b/c) - b)/(c*x^2 + b)) + 30*(7*B*b^3 - 5*A*b^2 *c)*x)/(c^5*x^2 + b*c^4), 1/30*(6*B*c^3*x^7 - 2*(7*B*b*c^2 - 5*A*c^3)*x^5 + 10*(7*B*b^2*c - 5*A*b*c^2)*x^3 - 15*(7*B*b^3 - 5*A*b^2*c + (7*B*b^2*c - 5*A*b*c^2)*x^2)*sqrt(b/c)*arctan(c*x*sqrt(b/c)/b) + 15*(7*B*b^3 - 5*A*b^2* c)*x)/(c^5*x^2 + b*c^4)]
Leaf count of result is larger than twice the leaf count of optimal. 211 vs. \(2 (104) = 208\).
Time = 0.38 (sec) , antiderivative size = 211, normalized size of antiderivative = 1.92 \[ \int \frac {x^{10} \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx=\frac {B x^{5}}{5 c^{2}} + x^{3} \left (\frac {A}{3 c^{2}} - \frac {2 B b}{3 c^{3}}\right ) + x \left (- \frac {2 A b}{c^{3}} + \frac {3 B b^{2}}{c^{4}}\right ) + \frac {x \left (- A b^{2} c + B b^{3}\right )}{2 b c^{4} + 2 c^{5} x^{2}} + \frac {\sqrt {- \frac {b^{3}}{c^{9}}} \left (- 5 A c + 7 B b\right ) \log {\left (- \frac {c^{4} \sqrt {- \frac {b^{3}}{c^{9}}} \left (- 5 A c + 7 B b\right )}{- 5 A b c + 7 B b^{2}} + x \right )}}{4} - \frac {\sqrt {- \frac {b^{3}}{c^{9}}} \left (- 5 A c + 7 B b\right ) \log {\left (\frac {c^{4} \sqrt {- \frac {b^{3}}{c^{9}}} \left (- 5 A c + 7 B b\right )}{- 5 A b c + 7 B b^{2}} + x \right )}}{4} \] Input:
integrate(x**10*(B*x**2+A)/(c*x**4+b*x**2)**2,x)
Output:
B*x**5/(5*c**2) + x**3*(A/(3*c**2) - 2*B*b/(3*c**3)) + x*(-2*A*b/c**3 + 3* B*b**2/c**4) + x*(-A*b**2*c + B*b**3)/(2*b*c**4 + 2*c**5*x**2) + sqrt(-b** 3/c**9)*(-5*A*c + 7*B*b)*log(-c**4*sqrt(-b**3/c**9)*(-5*A*c + 7*B*b)/(-5*A *b*c + 7*B*b**2) + x)/4 - sqrt(-b**3/c**9)*(-5*A*c + 7*B*b)*log(c**4*sqrt( -b**3/c**9)*(-5*A*c + 7*B*b)/(-5*A*b*c + 7*B*b**2) + x)/4
Time = 0.11 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.02 \[ \int \frac {x^{10} \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx=\frac {{\left (B b^{3} - A b^{2} c\right )} x}{2 \, {\left (c^{5} x^{2} + b c^{4}\right )}} - \frac {{\left (7 \, B b^{3} - 5 \, A b^{2} c\right )} \arctan \left (\frac {c x}{\sqrt {b c}}\right )}{2 \, \sqrt {b c} c^{4}} + \frac {3 \, B c^{2} x^{5} - 5 \, {\left (2 \, B b c - A c^{2}\right )} x^{3} + 15 \, {\left (3 \, B b^{2} - 2 \, A b c\right )} x}{15 \, c^{4}} \] Input:
integrate(x^10*(B*x^2+A)/(c*x^4+b*x^2)^2,x, algorithm="maxima")
Output:
1/2*(B*b^3 - A*b^2*c)*x/(c^5*x^2 + b*c^4) - 1/2*(7*B*b^3 - 5*A*b^2*c)*arct an(c*x/sqrt(b*c))/(sqrt(b*c)*c^4) + 1/15*(3*B*c^2*x^5 - 5*(2*B*b*c - A*c^2 )*x^3 + 15*(3*B*b^2 - 2*A*b*c)*x)/c^4
Time = 0.18 (sec) , antiderivative size = 115, normalized size of antiderivative = 1.05 \[ \int \frac {x^{10} \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx=-\frac {{\left (7 \, B b^{3} - 5 \, A b^{2} c\right )} \arctan \left (\frac {c x}{\sqrt {b c}}\right )}{2 \, \sqrt {b c} c^{4}} + \frac {B b^{3} x - A b^{2} c x}{2 \, {\left (c x^{2} + b\right )} c^{4}} + \frac {3 \, B c^{8} x^{5} - 10 \, B b c^{7} x^{3} + 5 \, A c^{8} x^{3} + 45 \, B b^{2} c^{6} x - 30 \, A b c^{7} x}{15 \, c^{10}} \] Input:
integrate(x^10*(B*x^2+A)/(c*x^4+b*x^2)^2,x, algorithm="giac")
Output:
-1/2*(7*B*b^3 - 5*A*b^2*c)*arctan(c*x/sqrt(b*c))/(sqrt(b*c)*c^4) + 1/2*(B* b^3*x - A*b^2*c*x)/((c*x^2 + b)*c^4) + 1/15*(3*B*c^8*x^5 - 10*B*b*c^7*x^3 + 5*A*c^8*x^3 + 45*B*b^2*c^6*x - 30*A*b*c^7*x)/c^10
Time = 9.20 (sec) , antiderivative size = 141, normalized size of antiderivative = 1.28 \[ \int \frac {x^{10} \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx=x^3\,\left (\frac {A}{3\,c^2}-\frac {2\,B\,b}{3\,c^3}\right )-x\,\left (\frac {2\,b\,\left (\frac {A}{c^2}-\frac {2\,B\,b}{c^3}\right )}{c}+\frac {B\,b^2}{c^4}\right )+\frac {B\,x^5}{5\,c^2}+\frac {x\,\left (\frac {B\,b^3}{2}-\frac {A\,b^2\,c}{2}\right )}{c^5\,x^2+b\,c^4}-\frac {b^{3/2}\,\mathrm {atan}\left (\frac {b^{3/2}\,\sqrt {c}\,x\,\left (5\,A\,c-7\,B\,b\right )}{7\,B\,b^3-5\,A\,b^2\,c}\right )\,\left (5\,A\,c-7\,B\,b\right )}{2\,c^{9/2}} \] Input:
int((x^10*(A + B*x^2))/(b*x^2 + c*x^4)^2,x)
Output:
x^3*(A/(3*c^2) - (2*B*b)/(3*c^3)) - x*((2*b*(A/c^2 - (2*B*b)/c^3))/c + (B* b^2)/c^4) + (B*x^5)/(5*c^2) + (x*((B*b^3)/2 - (A*b^2*c)/2))/(b*c^4 + c^5*x ^2) - (b^(3/2)*atan((b^(3/2)*c^(1/2)*x*(5*A*c - 7*B*b))/(7*B*b^3 - 5*A*b^2 *c))*(5*A*c - 7*B*b))/(2*c^(9/2))
Time = 0.20 (sec) , antiderivative size = 177, normalized size of antiderivative = 1.61 \[ \int \frac {x^{10} \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx=\frac {75 \sqrt {c}\, \sqrt {b}\, \mathit {atan} \left (\frac {c x}{\sqrt {c}\, \sqrt {b}}\right ) a \,b^{2} c +75 \sqrt {c}\, \sqrt {b}\, \mathit {atan} \left (\frac {c x}{\sqrt {c}\, \sqrt {b}}\right ) a b \,c^{2} x^{2}-105 \sqrt {c}\, \sqrt {b}\, \mathit {atan} \left (\frac {c x}{\sqrt {c}\, \sqrt {b}}\right ) b^{4}-105 \sqrt {c}\, \sqrt {b}\, \mathit {atan} \left (\frac {c x}{\sqrt {c}\, \sqrt {b}}\right ) b^{3} c \,x^{2}-75 a \,b^{2} c^{2} x -50 a b \,c^{3} x^{3}+10 a \,c^{4} x^{5}+105 b^{4} c x +70 b^{3} c^{2} x^{3}-14 b^{2} c^{3} x^{5}+6 b \,c^{4} x^{7}}{30 c^{5} \left (c \,x^{2}+b \right )} \] Input:
int(x^10*(B*x^2+A)/(c*x^4+b*x^2)^2,x)
Output:
(75*sqrt(c)*sqrt(b)*atan((c*x)/(sqrt(c)*sqrt(b)))*a*b**2*c + 75*sqrt(c)*sq rt(b)*atan((c*x)/(sqrt(c)*sqrt(b)))*a*b*c**2*x**2 - 105*sqrt(c)*sqrt(b)*at an((c*x)/(sqrt(c)*sqrt(b)))*b**4 - 105*sqrt(c)*sqrt(b)*atan((c*x)/(sqrt(c) *sqrt(b)))*b**3*c*x**2 - 75*a*b**2*c**2*x - 50*a*b*c**3*x**3 + 10*a*c**4*x **5 + 105*b**4*c*x + 70*b**3*c**2*x**3 - 14*b**2*c**3*x**5 + 6*b*c**4*x**7 )/(30*c**5*(b + c*x**2))