Integrand size = 20, antiderivative size = 114 \[ \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^7} \, dx=-\frac {a^5 A}{6 x^6}-\frac {a^4 (5 A b+a B)}{4 x^4}-\frac {5 a^3 b (2 A b+a B)}{2 x^2}+\frac {5}{2} a b^3 (A b+2 a B) x^2+\frac {1}{4} b^4 (A b+5 a B) x^4+\frac {1}{6} b^5 B x^6+10 a^2 b^2 (A b+a B) \log (x) \] Output:
-1/6*a^5*A/x^6-1/4*a^4*(5*A*b+B*a)/x^4-5/2*a^3*b*(2*A*b+B*a)/x^2+5/2*a*b^3 *(A*b+2*B*a)*x^2+1/4*b^4*(A*b+5*B*a)*x^4+1/6*b^5*B*x^6+10*a^2*b^2*(A*b+B*a )*ln(x)
Time = 0.03 (sec) , antiderivative size = 116, normalized size of antiderivative = 1.02 \[ \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^7} \, dx=\frac {1}{12} \left (-\frac {60 a^3 A b^2}{x^2}+60 a^2 b^3 B x^2+15 a b^4 x^2 \left (2 A+B x^2\right )-\frac {15 a^4 b \left (A+2 B x^2\right )}{x^4}+b^5 x^4 \left (3 A+2 B x^2\right )-\frac {a^5 \left (2 A+3 B x^2\right )}{x^6}+120 a^2 b^2 (A b+a B) \log (x)\right ) \] Input:
Integrate[((a + b*x^2)^5*(A + B*x^2))/x^7,x]
Output:
((-60*a^3*A*b^2)/x^2 + 60*a^2*b^3*B*x^2 + 15*a*b^4*x^2*(2*A + B*x^2) - (15 *a^4*b*(A + 2*B*x^2))/x^4 + b^5*x^4*(3*A + 2*B*x^2) - (a^5*(2*A + 3*B*x^2) )/x^6 + 120*a^2*b^2*(A*b + a*B)*Log[x])/12
Time = 0.26 (sec) , antiderivative size = 116, normalized size of antiderivative = 1.02, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {354, 85, 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 {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^7} \, dx\) |
\(\Big \downarrow \) 354 |
\(\displaystyle \frac {1}{2} \int \frac {\left (b x^2+a\right )^5 \left (B x^2+A\right )}{x^8}dx^2\) |
\(\Big \downarrow \) 85 |
\(\displaystyle \frac {1}{2} \int \left (\frac {A a^5}{x^8}+\frac {(5 A b+a B) a^4}{x^6}+\frac {5 b (2 A b+a B) a^3}{x^4}+\frac {10 b^2 (A b+a B) a^2}{x^2}+5 b^3 (A b+2 a B) a+b^5 B x^4+b^4 (A b+5 a B) x^2\right )dx^2\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{2} \left (-\frac {a^5 A}{3 x^6}-\frac {a^4 (a B+5 A b)}{2 x^4}-\frac {5 a^3 b (a B+2 A b)}{x^2}+10 a^2 b^2 \log \left (x^2\right ) (a B+A b)+\frac {1}{2} b^4 x^4 (5 a B+A b)+5 a b^3 x^2 (2 a B+A b)+\frac {1}{3} b^5 B x^6\right )\) |
Input:
Int[((a + b*x^2)^5*(A + B*x^2))/x^7,x]
Output:
(-1/3*(a^5*A)/x^6 - (a^4*(5*A*b + a*B))/(2*x^4) - (5*a^3*b*(2*A*b + a*B))/ x^2 + 5*a*b^3*(A*b + 2*a*B)*x^2 + (b^4*(A*b + 5*a*B)*x^4)/2 + (b^5*B*x^6)/ 3 + 10*a^2*b^2*(A*b + a*B)*Log[x^2])/2
Int[((d_.)*(x_))^(n_.)*((a_) + (b_.)*(x_))*((e_) + (f_.)*(x_))^(p_.), x_] : > Int[ExpandIntegrand[(a + b*x)*(d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, d, e, f, n}, x] && IGtQ[p, 0] && (NeQ[n, -1] || EqQ[p, 1]) && NeQ[b*e + a* f, 0] && ( !IntegerQ[n] || LtQ[9*p + 5*n, 0] || GeQ[n + p + 1, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, d, e, f])) && (NeQ[n + p + 3, 0] || EqQ[p, 1])
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.), x_S ymbol] :> Simp[1/2 Subst[Int[x^((m - 1)/2)*(a + b*x)^p*(c + d*x)^q, x], x , x^2], x] /; FreeQ[{a, b, c, d, p, q}, x] && NeQ[b*c - a*d, 0] && IntegerQ [(m - 1)/2]
Time = 0.30 (sec) , antiderivative size = 111, normalized size of antiderivative = 0.97
method | result | size |
default | \(\frac {B \,b^{5} x^{6}}{6}+\frac {A \,b^{5} x^{4}}{4}+\frac {5 B a \,b^{4} x^{4}}{4}+\frac {5 A a \,b^{4} x^{2}}{2}+5 B \,a^{2} b^{3} x^{2}-\frac {5 a^{3} b \left (2 A b +B a \right )}{2 x^{2}}-\frac {a^{4} \left (5 A b +B a \right )}{4 x^{4}}+10 a^{2} b^{2} \left (A b +B a \right ) \ln \left (x \right )-\frac {a^{5} A}{6 x^{6}}\) | \(111\) |
norman | \(\frac {\left (\frac {1}{4} b^{5} A +\frac {5}{4} a \,b^{4} B \right ) x^{10}+\left (\frac {5}{2} a \,b^{4} A +5 a^{2} b^{3} B \right ) x^{8}+\left (-5 a^{3} b^{2} A -\frac {5}{2} a^{4} b B \right ) x^{4}+\left (-\frac {5}{4} a^{4} b A -\frac {1}{4} a^{5} B \right ) x^{2}-\frac {a^{5} A}{6}+\frac {b^{5} B \,x^{12}}{6}}{x^{6}}+\left (10 a^{2} b^{3} A +10 a^{3} b^{2} B \right ) \ln \left (x \right )\) | \(122\) |
risch | \(\frac {B \,b^{5} x^{6}}{6}+\frac {A \,b^{5} x^{4}}{4}+\frac {5 B a \,b^{4} x^{4}}{4}+\frac {5 A a \,b^{4} x^{2}}{2}+5 B \,a^{2} b^{3} x^{2}+\frac {\left (-5 a^{3} b^{2} A -\frac {5}{2} a^{4} b B \right ) x^{4}+\left (-\frac {5}{4} a^{4} b A -\frac {1}{4} a^{5} B \right ) x^{2}-\frac {a^{5} A}{6}}{x^{6}}+10 A \ln \left (x \right ) a^{2} b^{3}+10 B \ln \left (x \right ) a^{3} b^{2}\) | \(124\) |
parallelrisch | \(\frac {2 b^{5} B \,x^{12}+3 A \,b^{5} x^{10}+15 B a \,b^{4} x^{10}+30 a A \,b^{4} x^{8}+60 B \,a^{2} b^{3} x^{8}+120 A \ln \left (x \right ) x^{6} a^{2} b^{3}+120 B \ln \left (x \right ) x^{6} a^{3} b^{2}-60 a^{3} A \,b^{2} x^{4}-30 B \,a^{4} b \,x^{4}-15 a^{4} A b \,x^{2}-3 B \,a^{5} x^{2}-2 a^{5} A}{12 x^{6}}\) | \(132\) |
Input:
int((b*x^2+a)^5*(B*x^2+A)/x^7,x,method=_RETURNVERBOSE)
Output:
1/6*B*b^5*x^6+1/4*A*b^5*x^4+5/4*B*a*b^4*x^4+5/2*A*a*b^4*x^2+5*B*a^2*b^3*x^ 2-5/2*a^3*b*(2*A*b+B*a)/x^2-1/4*a^4*(5*A*b+B*a)/x^4+10*a^2*b^2*(A*b+B*a)*l n(x)-1/6*a^5*A/x^6
Time = 0.08 (sec) , antiderivative size = 123, normalized size of antiderivative = 1.08 \[ \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^7} \, dx=\frac {2 \, B b^{5} x^{12} + 3 \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{10} + 30 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{8} + 120 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{6} \log \left (x\right ) - 2 \, A a^{5} - 30 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{4} - 3 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x^{2}}{12 \, x^{6}} \] Input:
integrate((b*x^2+a)^5*(B*x^2+A)/x^7,x, algorithm="fricas")
Output:
1/12*(2*B*b^5*x^12 + 3*(5*B*a*b^4 + A*b^5)*x^10 + 30*(2*B*a^2*b^3 + A*a*b^ 4)*x^8 + 120*(B*a^3*b^2 + A*a^2*b^3)*x^6*log(x) - 2*A*a^5 - 30*(B*a^4*b + 2*A*a^3*b^2)*x^4 - 3*(B*a^5 + 5*A*a^4*b)*x^2)/x^6
Time = 0.70 (sec) , antiderivative size = 128, normalized size of antiderivative = 1.12 \[ \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^7} \, dx=\frac {B b^{5} x^{6}}{6} + 10 a^{2} b^{2} \left (A b + B a\right ) \log {\left (x \right )} + x^{4} \left (\frac {A b^{5}}{4} + \frac {5 B a b^{4}}{4}\right ) + x^{2} \cdot \left (\frac {5 A a b^{4}}{2} + 5 B a^{2} b^{3}\right ) + \frac {- 2 A a^{5} + x^{4} \left (- 60 A a^{3} b^{2} - 30 B a^{4} b\right ) + x^{2} \left (- 15 A a^{4} b - 3 B a^{5}\right )}{12 x^{6}} \] Input:
integrate((b*x**2+a)**5*(B*x**2+A)/x**7,x)
Output:
B*b**5*x**6/6 + 10*a**2*b**2*(A*b + B*a)*log(x) + x**4*(A*b**5/4 + 5*B*a*b **4/4) + x**2*(5*A*a*b**4/2 + 5*B*a**2*b**3) + (-2*A*a**5 + x**4*(-60*A*a* *3*b**2 - 30*B*a**4*b) + x**2*(-15*A*a**4*b - 3*B*a**5))/(12*x**6)
Time = 0.06 (sec) , antiderivative size = 123, normalized size of antiderivative = 1.08 \[ \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^7} \, dx=\frac {1}{6} \, B b^{5} x^{6} + \frac {1}{4} \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{4} + \frac {5}{2} \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{2} + 5 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} \log \left (x^{2}\right ) - \frac {2 \, A a^{5} + 30 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{4} + 3 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x^{2}}{12 \, x^{6}} \] Input:
integrate((b*x^2+a)^5*(B*x^2+A)/x^7,x, algorithm="maxima")
Output:
1/6*B*b^5*x^6 + 1/4*(5*B*a*b^4 + A*b^5)*x^4 + 5/2*(2*B*a^2*b^3 + A*a*b^4)* x^2 + 5*(B*a^3*b^2 + A*a^2*b^3)*log(x^2) - 1/12*(2*A*a^5 + 30*(B*a^4*b + 2 *A*a^3*b^2)*x^4 + 3*(B*a^5 + 5*A*a^4*b)*x^2)/x^6
Time = 0.12 (sec) , antiderivative size = 151, normalized size of antiderivative = 1.32 \[ \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^7} \, dx=\frac {1}{6} \, B b^{5} x^{6} + \frac {5}{4} \, B a b^{4} x^{4} + \frac {1}{4} \, A b^{5} x^{4} + 5 \, B a^{2} b^{3} x^{2} + \frac {5}{2} \, A a b^{4} x^{2} + 5 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} \log \left (x^{2}\right ) - \frac {110 \, B a^{3} b^{2} x^{6} + 110 \, A a^{2} b^{3} x^{6} + 30 \, B a^{4} b x^{4} + 60 \, A a^{3} b^{2} x^{4} + 3 \, B a^{5} x^{2} + 15 \, A a^{4} b x^{2} + 2 \, A a^{5}}{12 \, x^{6}} \] Input:
integrate((b*x^2+a)^5*(B*x^2+A)/x^7,x, algorithm="giac")
Output:
1/6*B*b^5*x^6 + 5/4*B*a*b^4*x^4 + 1/4*A*b^5*x^4 + 5*B*a^2*b^3*x^2 + 5/2*A* a*b^4*x^2 + 5*(B*a^3*b^2 + A*a^2*b^3)*log(x^2) - 1/12*(110*B*a^3*b^2*x^6 + 110*A*a^2*b^3*x^6 + 30*B*a^4*b*x^4 + 60*A*a^3*b^2*x^4 + 3*B*a^5*x^2 + 15* A*a^4*b*x^2 + 2*A*a^5)/x^6
Time = 0.30 (sec) , antiderivative size = 118, normalized size of antiderivative = 1.04 \[ \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^7} \, dx=x^4\,\left (\frac {A\,b^5}{4}+\frac {5\,B\,a\,b^4}{4}\right )-\frac {\frac {A\,a^5}{6}+x^4\,\left (\frac {5\,B\,a^4\,b}{2}+5\,A\,a^3\,b^2\right )+x^2\,\left (\frac {B\,a^5}{4}+\frac {5\,A\,b\,a^4}{4}\right )}{x^6}+\ln \left (x\right )\,\left (10\,B\,a^3\,b^2+10\,A\,a^2\,b^3\right )+\frac {B\,b^5\,x^6}{6}+\frac {5\,a\,b^3\,x^2\,\left (A\,b+2\,B\,a\right )}{2} \] Input:
int(((A + B*x^2)*(a + b*x^2)^5)/x^7,x)
Output:
x^4*((A*b^5)/4 + (5*B*a*b^4)/4) - ((A*a^5)/6 + x^4*(5*A*a^3*b^2 + (5*B*a^4 *b)/2) + x^2*((B*a^5)/4 + (5*A*a^4*b)/4))/x^6 + log(x)*(10*A*a^2*b^3 + 10* B*a^3*b^2) + (B*b^5*x^6)/6 + (5*a*b^3*x^2*(A*b + 2*B*a))/2
Time = 0.23 (sec) , antiderivative size = 71, normalized size of antiderivative = 0.62 \[ \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^7} \, dx=\frac {120 \,\mathrm {log}\left (x \right ) a^{3} b^{3} x^{6}-a^{6}-9 a^{5} b \,x^{2}-45 a^{4} b^{2} x^{4}+45 a^{2} b^{4} x^{8}+9 a \,b^{5} x^{10}+b^{6} x^{12}}{6 x^{6}} \] Input:
int((b*x^2+a)^5*(B*x^2+A)/x^7,x)
Output:
(120*log(x)*a**3*b**3*x**6 - a**6 - 9*a**5*b*x**2 - 45*a**4*b**2*x**4 + 45 *a**2*b**4*x**8 + 9*a*b**5*x**10 + b**6*x**12)/(6*x**6)