Integrand size = 29, antiderivative size = 159 \[ \int x^{7/2} (A+B x) \left (a^2+2 a b x+b^2 x^2\right )^3 \, dx=\frac {2}{9} a^6 A x^{9/2}+\frac {2}{11} a^5 (6 A b+a B) x^{11/2}+\frac {6}{13} a^4 b (5 A b+2 a B) x^{13/2}+\frac {2}{3} a^3 b^2 (4 A b+3 a B) x^{15/2}+\frac {10}{17} a^2 b^3 (3 A b+4 a B) x^{17/2}+\frac {6}{19} a b^4 (2 A b+5 a B) x^{19/2}+\frac {2}{21} b^5 (A b+6 a B) x^{21/2}+\frac {2}{23} b^6 B x^{23/2} \] Output:
2/9*a^6*A*x^(9/2)+2/11*a^5*(6*A*b+B*a)*x^(11/2)+6/13*a^4*b*(5*A*b+2*B*a)*x ^(13/2)+2/3*a^3*b^2*(4*A*b+3*B*a)*x^(15/2)+10/17*a^2*b^3*(3*A*b+4*B*a)*x^( 17/2)+6/19*a*b^4*(2*A*b+5*B*a)*x^(19/2)+2/21*b^5*(A*b+6*B*a)*x^(21/2)+2/23 *b^6*B*x^(23/2)
Time = 0.12 (sec) , antiderivative size = 152, normalized size of antiderivative = 0.96 \[ \int x^{7/2} (A+B x) \left (a^2+2 a b x+b^2 x^2\right )^3 \, dx=\frac {2}{99} a^6 x^{9/2} (11 A+9 B x)+\frac {12}{143} a^5 b x^{11/2} (13 A+11 B x)+\frac {2}{13} a^4 b^2 x^{13/2} (15 A+13 B x)+\frac {8}{51} a^3 b^3 x^{15/2} (17 A+15 B x)+\frac {30}{323} a^2 b^4 x^{17/2} (19 A+17 B x)+\frac {4}{133} a b^5 x^{19/2} (21 A+19 B x)+\frac {2}{483} b^6 x^{21/2} (23 A+21 B x) \] Input:
Integrate[x^(7/2)*(A + B*x)*(a^2 + 2*a*b*x + b^2*x^2)^3,x]
Output:
(2*a^6*x^(9/2)*(11*A + 9*B*x))/99 + (12*a^5*b*x^(11/2)*(13*A + 11*B*x))/14 3 + (2*a^4*b^2*x^(13/2)*(15*A + 13*B*x))/13 + (8*a^3*b^3*x^(15/2)*(17*A + 15*B*x))/51 + (30*a^2*b^4*x^(17/2)*(19*A + 17*B*x))/323 + (4*a*b^5*x^(19/2 )*(21*A + 19*B*x))/133 + (2*b^6*x^(21/2)*(23*A + 21*B*x))/483
Time = 0.51 (sec) , antiderivative size = 159, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.138, Rules used = {1184, 27, 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 x^{7/2} \left (a^2+2 a b x+b^2 x^2\right )^3 (A+B x) \, dx\) |
\(\Big \downarrow \) 1184 |
\(\displaystyle \frac {\int b^6 x^{7/2} (a+b x)^6 (A+B x)dx}{b^6}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \int x^{7/2} (a+b x)^6 (A+B x)dx\) |
\(\Big \downarrow \) 85 |
\(\displaystyle \int \left (a^6 A x^{7/2}+a^5 x^{9/2} (a B+6 A b)+3 a^4 b x^{11/2} (2 a B+5 A b)+5 a^3 b^2 x^{13/2} (3 a B+4 A b)+5 a^2 b^3 x^{15/2} (4 a B+3 A b)+b^5 x^{19/2} (6 a B+A b)+3 a b^4 x^{17/2} (5 a B+2 A b)+b^6 B x^{21/2}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {2}{9} a^6 A x^{9/2}+\frac {2}{11} a^5 x^{11/2} (a B+6 A b)+\frac {6}{13} a^4 b x^{13/2} (2 a B+5 A b)+\frac {2}{3} a^3 b^2 x^{15/2} (3 a B+4 A b)+\frac {10}{17} a^2 b^3 x^{17/2} (4 a B+3 A b)+\frac {2}{21} b^5 x^{21/2} (6 a B+A b)+\frac {6}{19} a b^4 x^{19/2} (5 a B+2 A b)+\frac {2}{23} b^6 B x^{23/2}\) |
Input:
Int[x^(7/2)*(A + B*x)*(a^2 + 2*a*b*x + b^2*x^2)^3,x]
Output:
(2*a^6*A*x^(9/2))/9 + (2*a^5*(6*A*b + a*B)*x^(11/2))/11 + (6*a^4*b*(5*A*b + 2*a*B)*x^(13/2))/13 + (2*a^3*b^2*(4*A*b + 3*a*B)*x^(15/2))/3 + (10*a^2*b ^3*(3*A*b + 4*a*B)*x^(17/2))/17 + (6*a*b^4*(2*A*b + 5*a*B)*x^(19/2))/19 + (2*b^5*(A*b + 6*a*B)*x^(21/2))/21 + (2*b^6*B*x^(23/2))/23
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
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[((d_.) + (e_.)*(x_))^(m_.)*((f_.) + (g_.)*(x_))^(n_.)*((a_) + (b_.)*(x_ ) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[1/c^p Int[(d + e*x)^m*(f + g*x )^n*(b/2 + c*x)^(2*p), x], x] /; FreeQ[{a, b, c, d, e, f, g, m, n}, x] && E qQ[b^2 - 4*a*c, 0] && IntegerQ[p]
Time = 0.98 (sec) , antiderivative size = 148, normalized size of antiderivative = 0.93
method | result | size |
gosper | \(\frac {2 x^{\frac {9}{2}} \left (2909907 b^{6} B \,x^{7}+3187041 A \,b^{6} x^{6}+19122246 B a \,b^{5} x^{6}+21135114 A a \,b^{5} x^{5}+52837785 B \,a^{2} b^{4} x^{5}+59053995 A \,a^{2} b^{4} x^{4}+78738660 B \,a^{3} b^{3} x^{4}+89237148 A \,a^{3} b^{3} x^{3}+66927861 B \,a^{4} b^{2} x^{3}+77224455 A \,a^{4} b^{2} x^{2}+30889782 B \,a^{5} b \,x^{2}+36506106 A \,a^{5} b x +6084351 B \,a^{6} x +7436429 A \,a^{6}\right )}{66927861}\) | \(148\) |
derivativedivides | \(\frac {2 b^{6} B \,x^{\frac {23}{2}}}{23}+\frac {2 \left (A \,b^{6}+6 B a \,b^{5}\right ) x^{\frac {21}{2}}}{21}+\frac {2 \left (6 A a \,b^{5}+15 B \,a^{2} b^{4}\right ) x^{\frac {19}{2}}}{19}+\frac {2 \left (15 A \,a^{2} b^{4}+20 B \,a^{3} b^{3}\right ) x^{\frac {17}{2}}}{17}+\frac {2 \left (20 A \,a^{3} b^{3}+15 B \,a^{4} b^{2}\right ) x^{\frac {15}{2}}}{15}+\frac {2 \left (15 A \,a^{4} b^{2}+6 B \,a^{5} b \right ) x^{\frac {13}{2}}}{13}+\frac {2 \left (6 A \,a^{5} b +B \,a^{6}\right ) x^{\frac {11}{2}}}{11}+\frac {2 a^{6} A \,x^{\frac {9}{2}}}{9}\) | \(148\) |
default | \(\frac {2 b^{6} B \,x^{\frac {23}{2}}}{23}+\frac {2 \left (A \,b^{6}+6 B a \,b^{5}\right ) x^{\frac {21}{2}}}{21}+\frac {2 \left (6 A a \,b^{5}+15 B \,a^{2} b^{4}\right ) x^{\frac {19}{2}}}{19}+\frac {2 \left (15 A \,a^{2} b^{4}+20 B \,a^{3} b^{3}\right ) x^{\frac {17}{2}}}{17}+\frac {2 \left (20 A \,a^{3} b^{3}+15 B \,a^{4} b^{2}\right ) x^{\frac {15}{2}}}{15}+\frac {2 \left (15 A \,a^{4} b^{2}+6 B \,a^{5} b \right ) x^{\frac {13}{2}}}{13}+\frac {2 \left (6 A \,a^{5} b +B \,a^{6}\right ) x^{\frac {11}{2}}}{11}+\frac {2 a^{6} A \,x^{\frac {9}{2}}}{9}\) | \(148\) |
trager | \(\frac {2 x^{\frac {9}{2}} \left (2909907 b^{6} B \,x^{7}+3187041 A \,b^{6} x^{6}+19122246 B a \,b^{5} x^{6}+21135114 A a \,b^{5} x^{5}+52837785 B \,a^{2} b^{4} x^{5}+59053995 A \,a^{2} b^{4} x^{4}+78738660 B \,a^{3} b^{3} x^{4}+89237148 A \,a^{3} b^{3} x^{3}+66927861 B \,a^{4} b^{2} x^{3}+77224455 A \,a^{4} b^{2} x^{2}+30889782 B \,a^{5} b \,x^{2}+36506106 A \,a^{5} b x +6084351 B \,a^{6} x +7436429 A \,a^{6}\right )}{66927861}\) | \(148\) |
risch | \(\frac {2 x^{\frac {9}{2}} \left (2909907 b^{6} B \,x^{7}+3187041 A \,b^{6} x^{6}+19122246 B a \,b^{5} x^{6}+21135114 A a \,b^{5} x^{5}+52837785 B \,a^{2} b^{4} x^{5}+59053995 A \,a^{2} b^{4} x^{4}+78738660 B \,a^{3} b^{3} x^{4}+89237148 A \,a^{3} b^{3} x^{3}+66927861 B \,a^{4} b^{2} x^{3}+77224455 A \,a^{4} b^{2} x^{2}+30889782 B \,a^{5} b \,x^{2}+36506106 A \,a^{5} b x +6084351 B \,a^{6} x +7436429 A \,a^{6}\right )}{66927861}\) | \(148\) |
orering | \(\frac {2 \left (2909907 b^{6} B \,x^{7}+3187041 A \,b^{6} x^{6}+19122246 B a \,b^{5} x^{6}+21135114 A a \,b^{5} x^{5}+52837785 B \,a^{2} b^{4} x^{5}+59053995 A \,a^{2} b^{4} x^{4}+78738660 B \,a^{3} b^{3} x^{4}+89237148 A \,a^{3} b^{3} x^{3}+66927861 B \,a^{4} b^{2} x^{3}+77224455 A \,a^{4} b^{2} x^{2}+30889782 B \,a^{5} b \,x^{2}+36506106 A \,a^{5} b x +6084351 B \,a^{6} x +7436429 A \,a^{6}\right ) x^{\frac {9}{2}} \left (b^{2} x^{2}+2 a b x +a^{2}\right )^{3}}{66927861 \left (b x +a \right )^{6}}\) | \(173\) |
Input:
int(x^(7/2)*(B*x+A)*(b^2*x^2+2*a*b*x+a^2)^3,x,method=_RETURNVERBOSE)
Output:
2/66927861*x^(9/2)*(2909907*B*b^6*x^7+3187041*A*b^6*x^6+19122246*B*a*b^5*x ^6+21135114*A*a*b^5*x^5+52837785*B*a^2*b^4*x^5+59053995*A*a^2*b^4*x^4+7873 8660*B*a^3*b^3*x^4+89237148*A*a^3*b^3*x^3+66927861*B*a^4*b^2*x^3+77224455* A*a^4*b^2*x^2+30889782*B*a^5*b*x^2+36506106*A*a^5*b*x+6084351*B*a^6*x+7436 429*A*a^6)
Time = 0.07 (sec) , antiderivative size = 152, normalized size of antiderivative = 0.96 \[ \int x^{7/2} (A+B x) \left (a^2+2 a b x+b^2 x^2\right )^3 \, dx=\frac {2}{66927861} \, {\left (2909907 \, B b^{6} x^{11} + 7436429 \, A a^{6} x^{4} + 3187041 \, {\left (6 \, B a b^{5} + A b^{6}\right )} x^{10} + 10567557 \, {\left (5 \, B a^{2} b^{4} + 2 \, A a b^{5}\right )} x^{9} + 19684665 \, {\left (4 \, B a^{3} b^{3} + 3 \, A a^{2} b^{4}\right )} x^{8} + 22309287 \, {\left (3 \, B a^{4} b^{2} + 4 \, A a^{3} b^{3}\right )} x^{7} + 15444891 \, {\left (2 \, B a^{5} b + 5 \, A a^{4} b^{2}\right )} x^{6} + 6084351 \, {\left (B a^{6} + 6 \, A a^{5} b\right )} x^{5}\right )} \sqrt {x} \] Input:
integrate(x^(7/2)*(B*x+A)*(b^2*x^2+2*a*b*x+a^2)^3,x, algorithm="fricas")
Output:
2/66927861*(2909907*B*b^6*x^11 + 7436429*A*a^6*x^4 + 3187041*(6*B*a*b^5 + A*b^6)*x^10 + 10567557*(5*B*a^2*b^4 + 2*A*a*b^5)*x^9 + 19684665*(4*B*a^3*b ^3 + 3*A*a^2*b^4)*x^8 + 22309287*(3*B*a^4*b^2 + 4*A*a^3*b^3)*x^7 + 1544489 1*(2*B*a^5*b + 5*A*a^4*b^2)*x^6 + 6084351*(B*a^6 + 6*A*a^5*b)*x^5)*sqrt(x)
Time = 1.04 (sec) , antiderivative size = 214, normalized size of antiderivative = 1.35 \[ \int x^{7/2} (A+B x) \left (a^2+2 a b x+b^2 x^2\right )^3 \, dx=\frac {2 A a^{6} x^{\frac {9}{2}}}{9} + \frac {12 A a^{5} b x^{\frac {11}{2}}}{11} + \frac {30 A a^{4} b^{2} x^{\frac {13}{2}}}{13} + \frac {8 A a^{3} b^{3} x^{\frac {15}{2}}}{3} + \frac {30 A a^{2} b^{4} x^{\frac {17}{2}}}{17} + \frac {12 A a b^{5} x^{\frac {19}{2}}}{19} + \frac {2 A b^{6} x^{\frac {21}{2}}}{21} + \frac {2 B a^{6} x^{\frac {11}{2}}}{11} + \frac {12 B a^{5} b x^{\frac {13}{2}}}{13} + 2 B a^{4} b^{2} x^{\frac {15}{2}} + \frac {40 B a^{3} b^{3} x^{\frac {17}{2}}}{17} + \frac {30 B a^{2} b^{4} x^{\frac {19}{2}}}{19} + \frac {4 B a b^{5} x^{\frac {21}{2}}}{7} + \frac {2 B b^{6} x^{\frac {23}{2}}}{23} \] Input:
integrate(x**(7/2)*(B*x+A)*(b**2*x**2+2*a*b*x+a**2)**3,x)
Output:
2*A*a**6*x**(9/2)/9 + 12*A*a**5*b*x**(11/2)/11 + 30*A*a**4*b**2*x**(13/2)/ 13 + 8*A*a**3*b**3*x**(15/2)/3 + 30*A*a**2*b**4*x**(17/2)/17 + 12*A*a*b**5 *x**(19/2)/19 + 2*A*b**6*x**(21/2)/21 + 2*B*a**6*x**(11/2)/11 + 12*B*a**5* b*x**(13/2)/13 + 2*B*a**4*b**2*x**(15/2) + 40*B*a**3*b**3*x**(17/2)/17 + 3 0*B*a**2*b**4*x**(19/2)/19 + 4*B*a*b**5*x**(21/2)/7 + 2*B*b**6*x**(23/2)/2 3
Time = 0.03 (sec) , antiderivative size = 147, normalized size of antiderivative = 0.92 \[ \int x^{7/2} (A+B x) \left (a^2+2 a b x+b^2 x^2\right )^3 \, dx=\frac {2}{23} \, B b^{6} x^{\frac {23}{2}} + \frac {2}{9} \, A a^{6} x^{\frac {9}{2}} + \frac {2}{21} \, {\left (6 \, B a b^{5} + A b^{6}\right )} x^{\frac {21}{2}} + \frac {6}{19} \, {\left (5 \, B a^{2} b^{4} + 2 \, A a b^{5}\right )} x^{\frac {19}{2}} + \frac {10}{17} \, {\left (4 \, B a^{3} b^{3} + 3 \, A a^{2} b^{4}\right )} x^{\frac {17}{2}} + \frac {2}{3} \, {\left (3 \, B a^{4} b^{2} + 4 \, A a^{3} b^{3}\right )} x^{\frac {15}{2}} + \frac {6}{13} \, {\left (2 \, B a^{5} b + 5 \, A a^{4} b^{2}\right )} x^{\frac {13}{2}} + \frac {2}{11} \, {\left (B a^{6} + 6 \, A a^{5} b\right )} x^{\frac {11}{2}} \] Input:
integrate(x^(7/2)*(B*x+A)*(b^2*x^2+2*a*b*x+a^2)^3,x, algorithm="maxima")
Output:
2/23*B*b^6*x^(23/2) + 2/9*A*a^6*x^(9/2) + 2/21*(6*B*a*b^5 + A*b^6)*x^(21/2 ) + 6/19*(5*B*a^2*b^4 + 2*A*a*b^5)*x^(19/2) + 10/17*(4*B*a^3*b^3 + 3*A*a^2 *b^4)*x^(17/2) + 2/3*(3*B*a^4*b^2 + 4*A*a^3*b^3)*x^(15/2) + 6/13*(2*B*a^5* b + 5*A*a^4*b^2)*x^(13/2) + 2/11*(B*a^6 + 6*A*a^5*b)*x^(11/2)
Time = 0.24 (sec) , antiderivative size = 149, normalized size of antiderivative = 0.94 \[ \int x^{7/2} (A+B x) \left (a^2+2 a b x+b^2 x^2\right )^3 \, dx=\frac {2}{23} \, B b^{6} x^{\frac {23}{2}} + \frac {4}{7} \, B a b^{5} x^{\frac {21}{2}} + \frac {2}{21} \, A b^{6} x^{\frac {21}{2}} + \frac {30}{19} \, B a^{2} b^{4} x^{\frac {19}{2}} + \frac {12}{19} \, A a b^{5} x^{\frac {19}{2}} + \frac {40}{17} \, B a^{3} b^{3} x^{\frac {17}{2}} + \frac {30}{17} \, A a^{2} b^{4} x^{\frac {17}{2}} + 2 \, B a^{4} b^{2} x^{\frac {15}{2}} + \frac {8}{3} \, A a^{3} b^{3} x^{\frac {15}{2}} + \frac {12}{13} \, B a^{5} b x^{\frac {13}{2}} + \frac {30}{13} \, A a^{4} b^{2} x^{\frac {13}{2}} + \frac {2}{11} \, B a^{6} x^{\frac {11}{2}} + \frac {12}{11} \, A a^{5} b x^{\frac {11}{2}} + \frac {2}{9} \, A a^{6} x^{\frac {9}{2}} \] Input:
integrate(x^(7/2)*(B*x+A)*(b^2*x^2+2*a*b*x+a^2)^3,x, algorithm="giac")
Output:
2/23*B*b^6*x^(23/2) + 4/7*B*a*b^5*x^(21/2) + 2/21*A*b^6*x^(21/2) + 30/19*B *a^2*b^4*x^(19/2) + 12/19*A*a*b^5*x^(19/2) + 40/17*B*a^3*b^3*x^(17/2) + 30 /17*A*a^2*b^4*x^(17/2) + 2*B*a^4*b^2*x^(15/2) + 8/3*A*a^3*b^3*x^(15/2) + 1 2/13*B*a^5*b*x^(13/2) + 30/13*A*a^4*b^2*x^(13/2) + 2/11*B*a^6*x^(11/2) + 1 2/11*A*a^5*b*x^(11/2) + 2/9*A*a^6*x^(9/2)
Time = 0.07 (sec) , antiderivative size = 131, normalized size of antiderivative = 0.82 \[ \int x^{7/2} (A+B x) \left (a^2+2 a b x+b^2 x^2\right )^3 \, dx=x^{11/2}\,\left (\frac {2\,B\,a^6}{11}+\frac {12\,A\,b\,a^5}{11}\right )+x^{21/2}\,\left (\frac {2\,A\,b^6}{21}+\frac {4\,B\,a\,b^5}{7}\right )+\frac {2\,A\,a^6\,x^{9/2}}{9}+\frac {2\,B\,b^6\,x^{23/2}}{23}+\frac {2\,a^3\,b^2\,x^{15/2}\,\left (4\,A\,b+3\,B\,a\right )}{3}+\frac {10\,a^2\,b^3\,x^{17/2}\,\left (3\,A\,b+4\,B\,a\right )}{17}+\frac {6\,a^4\,b\,x^{13/2}\,\left (5\,A\,b+2\,B\,a\right )}{13}+\frac {6\,a\,b^4\,x^{19/2}\,\left (2\,A\,b+5\,B\,a\right )}{19} \] Input:
int(x^(7/2)*(A + B*x)*(a^2 + b^2*x^2 + 2*a*b*x)^3,x)
Output:
x^(11/2)*((2*B*a^6)/11 + (12*A*a^5*b)/11) + x^(21/2)*((2*A*b^6)/21 + (4*B* a*b^5)/7) + (2*A*a^6*x^(9/2))/9 + (2*B*b^6*x^(23/2))/23 + (2*a^3*b^2*x^(15 /2)*(4*A*b + 3*B*a))/3 + (10*a^2*b^3*x^(17/2)*(3*A*b + 4*B*a))/17 + (6*a^4 *b*x^(13/2)*(5*A*b + 2*B*a))/13 + (6*a*b^4*x^(19/2)*(2*A*b + 5*B*a))/19
Time = 0.28 (sec) , antiderivative size = 81, normalized size of antiderivative = 0.51 \[ \int x^{7/2} (A+B x) \left (a^2+2 a b x+b^2 x^2\right )^3 \, dx=\frac {2 \sqrt {x}\, x^{4} \left (415701 b^{7} x^{7}+3187041 a \,b^{6} x^{6}+10567557 a^{2} b^{5} x^{5}+19684665 a^{3} b^{4} x^{4}+22309287 a^{4} b^{3} x^{3}+15444891 a^{5} b^{2} x^{2}+6084351 a^{6} b x +1062347 a^{7}\right )}{9561123} \] Input:
int(x^(7/2)*(B*x+A)*(b^2*x^2+2*a*b*x+a^2)^3,x)
Output:
(2*sqrt(x)*x**4*(1062347*a**7 + 6084351*a**6*b*x + 15444891*a**5*b**2*x**2 + 22309287*a**4*b**3*x**3 + 19684665*a**3*b**4*x**4 + 10567557*a**2*b**5* x**5 + 3187041*a*b**6*x**6 + 415701*b**7*x**7))/9561123