Integrand size = 15, antiderivative size = 92 \[ \int (a+b x)^5 (c+d x)^3 \, dx=\frac {(b c-a d)^3 (a+b x)^6}{6 b^4}+\frac {3 d (b c-a d)^2 (a+b x)^7}{7 b^4}+\frac {3 d^2 (b c-a d) (a+b x)^8}{8 b^4}+\frac {d^3 (a+b x)^9}{9 b^4} \] Output:
1/6*(-a*d+b*c)^3*(b*x+a)^6/b^4+3/7*d*(-a*d+b*c)^2*(b*x+a)^7/b^4+3/8*d^2*(- a*d+b*c)*(b*x+a)^8/b^4+1/9*d^3*(b*x+a)^9/b^4
Leaf count is larger than twice the leaf count of optimal. \(235\) vs. \(2(92)=184\).
Time = 0.05 (sec) , antiderivative size = 235, normalized size of antiderivative = 2.55 \[ \int (a+b x)^5 (c+d x)^3 \, dx=\frac {1}{504} x \left (126 a^5 \left (4 c^3+6 c^2 d x+4 c d^2 x^2+d^3 x^3\right )+126 a^4 b x \left (10 c^3+20 c^2 d x+15 c d^2 x^2+4 d^3 x^3\right )+84 a^3 b^2 x^2 \left (20 c^3+45 c^2 d x+36 c d^2 x^2+10 d^3 x^3\right )+36 a^2 b^3 x^3 \left (35 c^3+84 c^2 d x+70 c d^2 x^2+20 d^3 x^3\right )+9 a b^4 x^4 \left (56 c^3+140 c^2 d x+120 c d^2 x^2+35 d^3 x^3\right )+b^5 x^5 \left (84 c^3+216 c^2 d x+189 c d^2 x^2+56 d^3 x^3\right )\right ) \] Input:
Integrate[(a + b*x)^5*(c + d*x)^3,x]
Output:
(x*(126*a^5*(4*c^3 + 6*c^2*d*x + 4*c*d^2*x^2 + d^3*x^3) + 126*a^4*b*x*(10* c^3 + 20*c^2*d*x + 15*c*d^2*x^2 + 4*d^3*x^3) + 84*a^3*b^2*x^2*(20*c^3 + 45 *c^2*d*x + 36*c*d^2*x^2 + 10*d^3*x^3) + 36*a^2*b^3*x^3*(35*c^3 + 84*c^2*d* x + 70*c*d^2*x^2 + 20*d^3*x^3) + 9*a*b^4*x^4*(56*c^3 + 140*c^2*d*x + 120*c *d^2*x^2 + 35*d^3*x^3) + b^5*x^5*(84*c^3 + 216*c^2*d*x + 189*c*d^2*x^2 + 5 6*d^3*x^3)))/504
Time = 0.30 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {49, 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 (a+b x)^5 (c+d x)^3 \, dx\) |
\(\Big \downarrow \) 49 |
\(\displaystyle \int \left (\frac {3 d^2 (a+b x)^7 (b c-a d)}{b^3}+\frac {3 d (a+b x)^6 (b c-a d)^2}{b^3}+\frac {(a+b x)^5 (b c-a d)^3}{b^3}+\frac {d^3 (a+b x)^8}{b^3}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {3 d^2 (a+b x)^8 (b c-a d)}{8 b^4}+\frac {3 d (a+b x)^7 (b c-a d)^2}{7 b^4}+\frac {(a+b x)^6 (b c-a d)^3}{6 b^4}+\frac {d^3 (a+b x)^9}{9 b^4}\) |
Input:
Int[(a + b*x)^5*(c + d*x)^3,x]
Output:
((b*c - a*d)^3*(a + b*x)^6)/(6*b^4) + (3*d*(b*c - a*d)^2*(a + b*x)^7)/(7*b ^4) + (3*d^2*(b*c - a*d)*(a + b*x)^8)/(8*b^4) + (d^3*(a + b*x)^9)/(9*b^4)
Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int [ExpandIntegrand[(a + b*x)^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d}, x] && IGtQ[m, 0] && IGtQ[m + n + 2, 0]
Leaf count of result is larger than twice the leaf count of optimal. \(272\) vs. \(2(84)=168\).
Time = 0.08 (sec) , antiderivative size = 273, normalized size of antiderivative = 2.97
method | result | size |
norman | \(\frac {b^{5} d^{3} x^{9}}{9}+\left (\frac {5}{8} a \,b^{4} d^{3}+\frac {3}{8} b^{5} c \,d^{2}\right ) x^{8}+\left (\frac {10}{7} a^{2} b^{3} d^{3}+\frac {15}{7} a \,b^{4} c \,d^{2}+\frac {3}{7} b^{5} c^{2} d \right ) x^{7}+\left (\frac {5}{3} a^{3} b^{2} d^{3}+5 a^{2} b^{3} c \,d^{2}+\frac {5}{2} a \,b^{4} c^{2} d +\frac {1}{6} b^{5} c^{3}\right ) x^{6}+\left (a^{4} b \,d^{3}+6 a^{3} b^{2} c \,d^{2}+6 a^{2} b^{3} c^{2} d +a \,b^{4} c^{3}\right ) x^{5}+\left (\frac {1}{4} a^{5} d^{3}+\frac {15}{4} a^{4} b c \,d^{2}+\frac {15}{2} a^{3} b^{2} c^{2} d +\frac {5}{2} a^{2} b^{3} c^{3}\right ) x^{4}+\left (a^{5} c \,d^{2}+5 a^{4} b \,c^{2} d +\frac {10}{3} a^{3} b^{2} c^{3}\right ) x^{3}+\left (\frac {3}{2} a^{5} c^{2} d +\frac {5}{2} a^{4} b \,c^{3}\right ) x^{2}+a^{5} c^{3} x\) | \(273\) |
default | \(\frac {b^{5} d^{3} x^{9}}{9}+\frac {\left (5 a \,b^{4} d^{3}+3 b^{5} c \,d^{2}\right ) x^{8}}{8}+\frac {\left (10 a^{2} b^{3} d^{3}+15 a \,b^{4} c \,d^{2}+3 b^{5} c^{2} d \right ) x^{7}}{7}+\frac {\left (10 a^{3} b^{2} d^{3}+30 a^{2} b^{3} c \,d^{2}+15 a \,b^{4} c^{2} d +b^{5} c^{3}\right ) x^{6}}{6}+\frac {\left (5 a^{4} b \,d^{3}+30 a^{3} b^{2} c \,d^{2}+30 a^{2} b^{3} c^{2} d +5 a \,b^{4} c^{3}\right ) x^{5}}{5}+\frac {\left (a^{5} d^{3}+15 a^{4} b c \,d^{2}+30 a^{3} b^{2} c^{2} d +10 a^{2} b^{3} c^{3}\right ) x^{4}}{4}+\frac {\left (3 a^{5} c \,d^{2}+15 a^{4} b \,c^{2} d +10 a^{3} b^{2} c^{3}\right ) x^{3}}{3}+\frac {\left (3 a^{5} c^{2} d +5 a^{4} b \,c^{3}\right ) x^{2}}{2}+a^{5} c^{3} x\) | \(281\) |
gosper | \(\frac {1}{9} b^{5} d^{3} x^{9}+\frac {5}{8} x^{8} a \,b^{4} d^{3}+\frac {3}{8} x^{8} b^{5} c \,d^{2}+\frac {10}{7} x^{7} a^{2} b^{3} d^{3}+\frac {15}{7} x^{7} a \,b^{4} c \,d^{2}+\frac {3}{7} x^{7} b^{5} c^{2} d +\frac {5}{3} x^{6} a^{3} b^{2} d^{3}+5 x^{6} a^{2} b^{3} c \,d^{2}+\frac {5}{2} x^{6} a \,b^{4} c^{2} d +\frac {1}{6} b^{5} c^{3} x^{6}+a^{4} b \,d^{3} x^{5}+6 a^{3} b^{2} c \,d^{2} x^{5}+6 a^{2} b^{3} c^{2} d \,x^{5}+a \,b^{4} c^{3} x^{5}+\frac {1}{4} x^{4} a^{5} d^{3}+\frac {15}{4} x^{4} a^{4} b c \,d^{2}+\frac {15}{2} x^{4} a^{3} b^{2} c^{2} d +\frac {5}{2} a^{2} b^{3} c^{3} x^{4}+x^{3} a^{5} c \,d^{2}+5 x^{3} a^{4} b \,c^{2} d +\frac {10}{3} a^{3} c^{3} b^{2} x^{3}+\frac {3}{2} x^{2} a^{5} c^{2} d +\frac {5}{2} a^{4} c^{3} b \,x^{2}+a^{5} c^{3} x\) | \(304\) |
risch | \(\frac {1}{9} b^{5} d^{3} x^{9}+\frac {5}{8} x^{8} a \,b^{4} d^{3}+\frac {3}{8} x^{8} b^{5} c \,d^{2}+\frac {10}{7} x^{7} a^{2} b^{3} d^{3}+\frac {15}{7} x^{7} a \,b^{4} c \,d^{2}+\frac {3}{7} x^{7} b^{5} c^{2} d +\frac {5}{3} x^{6} a^{3} b^{2} d^{3}+5 x^{6} a^{2} b^{3} c \,d^{2}+\frac {5}{2} x^{6} a \,b^{4} c^{2} d +\frac {1}{6} b^{5} c^{3} x^{6}+a^{4} b \,d^{3} x^{5}+6 a^{3} b^{2} c \,d^{2} x^{5}+6 a^{2} b^{3} c^{2} d \,x^{5}+a \,b^{4} c^{3} x^{5}+\frac {1}{4} x^{4} a^{5} d^{3}+\frac {15}{4} x^{4} a^{4} b c \,d^{2}+\frac {15}{2} x^{4} a^{3} b^{2} c^{2} d +\frac {5}{2} a^{2} b^{3} c^{3} x^{4}+x^{3} a^{5} c \,d^{2}+5 x^{3} a^{4} b \,c^{2} d +\frac {10}{3} a^{3} c^{3} b^{2} x^{3}+\frac {3}{2} x^{2} a^{5} c^{2} d +\frac {5}{2} a^{4} c^{3} b \,x^{2}+a^{5} c^{3} x\) | \(304\) |
parallelrisch | \(\frac {1}{9} b^{5} d^{3} x^{9}+\frac {5}{8} x^{8} a \,b^{4} d^{3}+\frac {3}{8} x^{8} b^{5} c \,d^{2}+\frac {10}{7} x^{7} a^{2} b^{3} d^{3}+\frac {15}{7} x^{7} a \,b^{4} c \,d^{2}+\frac {3}{7} x^{7} b^{5} c^{2} d +\frac {5}{3} x^{6} a^{3} b^{2} d^{3}+5 x^{6} a^{2} b^{3} c \,d^{2}+\frac {5}{2} x^{6} a \,b^{4} c^{2} d +\frac {1}{6} b^{5} c^{3} x^{6}+a^{4} b \,d^{3} x^{5}+6 a^{3} b^{2} c \,d^{2} x^{5}+6 a^{2} b^{3} c^{2} d \,x^{5}+a \,b^{4} c^{3} x^{5}+\frac {1}{4} x^{4} a^{5} d^{3}+\frac {15}{4} x^{4} a^{4} b c \,d^{2}+\frac {15}{2} x^{4} a^{3} b^{2} c^{2} d +\frac {5}{2} a^{2} b^{3} c^{3} x^{4}+x^{3} a^{5} c \,d^{2}+5 x^{3} a^{4} b \,c^{2} d +\frac {10}{3} a^{3} c^{3} b^{2} x^{3}+\frac {3}{2} x^{2} a^{5} c^{2} d +\frac {5}{2} a^{4} c^{3} b \,x^{2}+a^{5} c^{3} x\) | \(304\) |
orering | \(\frac {x \left (56 b^{5} d^{3} x^{8}+315 a \,b^{4} d^{3} x^{7}+189 b^{5} c \,d^{2} x^{7}+720 a^{2} b^{3} d^{3} x^{6}+1080 a \,b^{4} c \,d^{2} x^{6}+216 b^{5} c^{2} d \,x^{6}+840 a^{3} b^{2} d^{3} x^{5}+2520 a^{2} b^{3} c \,d^{2} x^{5}+1260 a \,b^{4} c^{2} d \,x^{5}+84 b^{5} c^{3} x^{5}+504 a^{4} b \,d^{3} x^{4}+3024 a^{3} b^{2} c \,d^{2} x^{4}+3024 a^{2} b^{3} c^{2} d \,x^{4}+504 a \,b^{4} c^{3} x^{4}+126 a^{5} d^{3} x^{3}+1890 a^{4} b c \,d^{2} x^{3}+3780 a^{3} b^{2} c^{2} d \,x^{3}+1260 a^{2} b^{3} c^{3} x^{3}+504 a^{5} c \,d^{2} x^{2}+2520 a^{4} b \,c^{2} d \,x^{2}+1680 a^{3} b^{2} c^{3} x^{2}+756 a^{5} c^{2} d x +1260 a^{4} b \,c^{3} x +504 a^{5} c^{3}\right )}{504}\) | \(306\) |
Input:
int((b*x+a)^5*(d*x+c)^3,x,method=_RETURNVERBOSE)
Output:
1/9*b^5*d^3*x^9+(5/8*a*b^4*d^3+3/8*b^5*c*d^2)*x^8+(10/7*a^2*b^3*d^3+15/7*a *b^4*c*d^2+3/7*b^5*c^2*d)*x^7+(5/3*a^3*b^2*d^3+5*a^2*b^3*c*d^2+5/2*a*b^4*c ^2*d+1/6*b^5*c^3)*x^6+(a^4*b*d^3+6*a^3*b^2*c*d^2+6*a^2*b^3*c^2*d+a*b^4*c^3 )*x^5+(1/4*a^5*d^3+15/4*a^4*b*c*d^2+15/2*a^3*b^2*c^2*d+5/2*a^2*b^3*c^3)*x^ 4+(a^5*c*d^2+5*a^4*b*c^2*d+10/3*a^3*b^2*c^3)*x^3+(3/2*a^5*c^2*d+5/2*a^4*b* c^3)*x^2+a^5*c^3*x
Leaf count of result is larger than twice the leaf count of optimal. 277 vs. \(2 (84) = 168\).
Time = 0.08 (sec) , antiderivative size = 277, normalized size of antiderivative = 3.01 \[ \int (a+b x)^5 (c+d x)^3 \, dx=\frac {1}{9} \, b^{5} d^{3} x^{9} + a^{5} c^{3} x + \frac {1}{8} \, {\left (3 \, b^{5} c d^{2} + 5 \, a b^{4} d^{3}\right )} x^{8} + \frac {1}{7} \, {\left (3 \, b^{5} c^{2} d + 15 \, a b^{4} c d^{2} + 10 \, a^{2} b^{3} d^{3}\right )} x^{7} + \frac {1}{6} \, {\left (b^{5} c^{3} + 15 \, a b^{4} c^{2} d + 30 \, a^{2} b^{3} c d^{2} + 10 \, a^{3} b^{2} d^{3}\right )} x^{6} + {\left (a b^{4} c^{3} + 6 \, a^{2} b^{3} c^{2} d + 6 \, a^{3} b^{2} c d^{2} + a^{4} b d^{3}\right )} x^{5} + \frac {1}{4} \, {\left (10 \, a^{2} b^{3} c^{3} + 30 \, a^{3} b^{2} c^{2} d + 15 \, a^{4} b c d^{2} + a^{5} d^{3}\right )} x^{4} + \frac {1}{3} \, {\left (10 \, a^{3} b^{2} c^{3} + 15 \, a^{4} b c^{2} d + 3 \, a^{5} c d^{2}\right )} x^{3} + \frac {1}{2} \, {\left (5 \, a^{4} b c^{3} + 3 \, a^{5} c^{2} d\right )} x^{2} \] Input:
integrate((b*x+a)^5*(d*x+c)^3,x, algorithm="fricas")
Output:
1/9*b^5*d^3*x^9 + a^5*c^3*x + 1/8*(3*b^5*c*d^2 + 5*a*b^4*d^3)*x^8 + 1/7*(3 *b^5*c^2*d + 15*a*b^4*c*d^2 + 10*a^2*b^3*d^3)*x^7 + 1/6*(b^5*c^3 + 15*a*b^ 4*c^2*d + 30*a^2*b^3*c*d^2 + 10*a^3*b^2*d^3)*x^6 + (a*b^4*c^3 + 6*a^2*b^3* c^2*d + 6*a^3*b^2*c*d^2 + a^4*b*d^3)*x^5 + 1/4*(10*a^2*b^3*c^3 + 30*a^3*b^ 2*c^2*d + 15*a^4*b*c*d^2 + a^5*d^3)*x^4 + 1/3*(10*a^3*b^2*c^3 + 15*a^4*b*c ^2*d + 3*a^5*c*d^2)*x^3 + 1/2*(5*a^4*b*c^3 + 3*a^5*c^2*d)*x^2
Leaf count of result is larger than twice the leaf count of optimal. 308 vs. \(2 (82) = 164\).
Time = 0.04 (sec) , antiderivative size = 308, normalized size of antiderivative = 3.35 \[ \int (a+b x)^5 (c+d x)^3 \, dx=a^{5} c^{3} x + \frac {b^{5} d^{3} x^{9}}{9} + x^{8} \cdot \left (\frac {5 a b^{4} d^{3}}{8} + \frac {3 b^{5} c d^{2}}{8}\right ) + x^{7} \cdot \left (\frac {10 a^{2} b^{3} d^{3}}{7} + \frac {15 a b^{4} c d^{2}}{7} + \frac {3 b^{5} c^{2} d}{7}\right ) + x^{6} \cdot \left (\frac {5 a^{3} b^{2} d^{3}}{3} + 5 a^{2} b^{3} c d^{2} + \frac {5 a b^{4} c^{2} d}{2} + \frac {b^{5} c^{3}}{6}\right ) + x^{5} \left (a^{4} b d^{3} + 6 a^{3} b^{2} c d^{2} + 6 a^{2} b^{3} c^{2} d + a b^{4} c^{3}\right ) + x^{4} \left (\frac {a^{5} d^{3}}{4} + \frac {15 a^{4} b c d^{2}}{4} + \frac {15 a^{3} b^{2} c^{2} d}{2} + \frac {5 a^{2} b^{3} c^{3}}{2}\right ) + x^{3} \left (a^{5} c d^{2} + 5 a^{4} b c^{2} d + \frac {10 a^{3} b^{2} c^{3}}{3}\right ) + x^{2} \cdot \left (\frac {3 a^{5} c^{2} d}{2} + \frac {5 a^{4} b c^{3}}{2}\right ) \] Input:
integrate((b*x+a)**5*(d*x+c)**3,x)
Output:
a**5*c**3*x + b**5*d**3*x**9/9 + x**8*(5*a*b**4*d**3/8 + 3*b**5*c*d**2/8) + x**7*(10*a**2*b**3*d**3/7 + 15*a*b**4*c*d**2/7 + 3*b**5*c**2*d/7) + x**6 *(5*a**3*b**2*d**3/3 + 5*a**2*b**3*c*d**2 + 5*a*b**4*c**2*d/2 + b**5*c**3/ 6) + x**5*(a**4*b*d**3 + 6*a**3*b**2*c*d**2 + 6*a**2*b**3*c**2*d + a*b**4* c**3) + x**4*(a**5*d**3/4 + 15*a**4*b*c*d**2/4 + 15*a**3*b**2*c**2*d/2 + 5 *a**2*b**3*c**3/2) + x**3*(a**5*c*d**2 + 5*a**4*b*c**2*d + 10*a**3*b**2*c* *3/3) + x**2*(3*a**5*c**2*d/2 + 5*a**4*b*c**3/2)
Leaf count of result is larger than twice the leaf count of optimal. 277 vs. \(2 (84) = 168\).
Time = 0.03 (sec) , antiderivative size = 277, normalized size of antiderivative = 3.01 \[ \int (a+b x)^5 (c+d x)^3 \, dx=\frac {1}{9} \, b^{5} d^{3} x^{9} + a^{5} c^{3} x + \frac {1}{8} \, {\left (3 \, b^{5} c d^{2} + 5 \, a b^{4} d^{3}\right )} x^{8} + \frac {1}{7} \, {\left (3 \, b^{5} c^{2} d + 15 \, a b^{4} c d^{2} + 10 \, a^{2} b^{3} d^{3}\right )} x^{7} + \frac {1}{6} \, {\left (b^{5} c^{3} + 15 \, a b^{4} c^{2} d + 30 \, a^{2} b^{3} c d^{2} + 10 \, a^{3} b^{2} d^{3}\right )} x^{6} + {\left (a b^{4} c^{3} + 6 \, a^{2} b^{3} c^{2} d + 6 \, a^{3} b^{2} c d^{2} + a^{4} b d^{3}\right )} x^{5} + \frac {1}{4} \, {\left (10 \, a^{2} b^{3} c^{3} + 30 \, a^{3} b^{2} c^{2} d + 15 \, a^{4} b c d^{2} + a^{5} d^{3}\right )} x^{4} + \frac {1}{3} \, {\left (10 \, a^{3} b^{2} c^{3} + 15 \, a^{4} b c^{2} d + 3 \, a^{5} c d^{2}\right )} x^{3} + \frac {1}{2} \, {\left (5 \, a^{4} b c^{3} + 3 \, a^{5} c^{2} d\right )} x^{2} \] Input:
integrate((b*x+a)^5*(d*x+c)^3,x, algorithm="maxima")
Output:
1/9*b^5*d^3*x^9 + a^5*c^3*x + 1/8*(3*b^5*c*d^2 + 5*a*b^4*d^3)*x^8 + 1/7*(3 *b^5*c^2*d + 15*a*b^4*c*d^2 + 10*a^2*b^3*d^3)*x^7 + 1/6*(b^5*c^3 + 15*a*b^ 4*c^2*d + 30*a^2*b^3*c*d^2 + 10*a^3*b^2*d^3)*x^6 + (a*b^4*c^3 + 6*a^2*b^3* c^2*d + 6*a^3*b^2*c*d^2 + a^4*b*d^3)*x^5 + 1/4*(10*a^2*b^3*c^3 + 30*a^3*b^ 2*c^2*d + 15*a^4*b*c*d^2 + a^5*d^3)*x^4 + 1/3*(10*a^3*b^2*c^3 + 15*a^4*b*c ^2*d + 3*a^5*c*d^2)*x^3 + 1/2*(5*a^4*b*c^3 + 3*a^5*c^2*d)*x^2
Leaf count of result is larger than twice the leaf count of optimal. 303 vs. \(2 (84) = 168\).
Time = 0.12 (sec) , antiderivative size = 303, normalized size of antiderivative = 3.29 \[ \int (a+b x)^5 (c+d x)^3 \, dx=\frac {1}{9} \, b^{5} d^{3} x^{9} + \frac {3}{8} \, b^{5} c d^{2} x^{8} + \frac {5}{8} \, a b^{4} d^{3} x^{8} + \frac {3}{7} \, b^{5} c^{2} d x^{7} + \frac {15}{7} \, a b^{4} c d^{2} x^{7} + \frac {10}{7} \, a^{2} b^{3} d^{3} x^{7} + \frac {1}{6} \, b^{5} c^{3} x^{6} + \frac {5}{2} \, a b^{4} c^{2} d x^{6} + 5 \, a^{2} b^{3} c d^{2} x^{6} + \frac {5}{3} \, a^{3} b^{2} d^{3} x^{6} + a b^{4} c^{3} x^{5} + 6 \, a^{2} b^{3} c^{2} d x^{5} + 6 \, a^{3} b^{2} c d^{2} x^{5} + a^{4} b d^{3} x^{5} + \frac {5}{2} \, a^{2} b^{3} c^{3} x^{4} + \frac {15}{2} \, a^{3} b^{2} c^{2} d x^{4} + \frac {15}{4} \, a^{4} b c d^{2} x^{4} + \frac {1}{4} \, a^{5} d^{3} x^{4} + \frac {10}{3} \, a^{3} b^{2} c^{3} x^{3} + 5 \, a^{4} b c^{2} d x^{3} + a^{5} c d^{2} x^{3} + \frac {5}{2} \, a^{4} b c^{3} x^{2} + \frac {3}{2} \, a^{5} c^{2} d x^{2} + a^{5} c^{3} x \] Input:
integrate((b*x+a)^5*(d*x+c)^3,x, algorithm="giac")
Output:
1/9*b^5*d^3*x^9 + 3/8*b^5*c*d^2*x^8 + 5/8*a*b^4*d^3*x^8 + 3/7*b^5*c^2*d*x^ 7 + 15/7*a*b^4*c*d^2*x^7 + 10/7*a^2*b^3*d^3*x^7 + 1/6*b^5*c^3*x^6 + 5/2*a* b^4*c^2*d*x^6 + 5*a^2*b^3*c*d^2*x^6 + 5/3*a^3*b^2*d^3*x^6 + a*b^4*c^3*x^5 + 6*a^2*b^3*c^2*d*x^5 + 6*a^3*b^2*c*d^2*x^5 + a^4*b*d^3*x^5 + 5/2*a^2*b^3* c^3*x^4 + 15/2*a^3*b^2*c^2*d*x^4 + 15/4*a^4*b*c*d^2*x^4 + 1/4*a^5*d^3*x^4 + 10/3*a^3*b^2*c^3*x^3 + 5*a^4*b*c^2*d*x^3 + a^5*c*d^2*x^3 + 5/2*a^4*b*c^3 *x^2 + 3/2*a^5*c^2*d*x^2 + a^5*c^3*x
Time = 0.06 (sec) , antiderivative size = 261, normalized size of antiderivative = 2.84 \[ \int (a+b x)^5 (c+d x)^3 \, dx=x^5\,\left (a^4\,b\,d^3+6\,a^3\,b^2\,c\,d^2+6\,a^2\,b^3\,c^2\,d+a\,b^4\,c^3\right )+x^4\,\left (\frac {a^5\,d^3}{4}+\frac {15\,a^4\,b\,c\,d^2}{4}+\frac {15\,a^3\,b^2\,c^2\,d}{2}+\frac {5\,a^2\,b^3\,c^3}{2}\right )+x^6\,\left (\frac {5\,a^3\,b^2\,d^3}{3}+5\,a^2\,b^3\,c\,d^2+\frac {5\,a\,b^4\,c^2\,d}{2}+\frac {b^5\,c^3}{6}\right )+a^5\,c^3\,x+\frac {b^5\,d^3\,x^9}{9}+\frac {a^4\,c^2\,x^2\,\left (3\,a\,d+5\,b\,c\right )}{2}+\frac {b^4\,d^2\,x^8\,\left (5\,a\,d+3\,b\,c\right )}{8}+\frac {a^3\,c\,x^3\,\left (3\,a^2\,d^2+15\,a\,b\,c\,d+10\,b^2\,c^2\right )}{3}+\frac {b^3\,d\,x^7\,\left (10\,a^2\,d^2+15\,a\,b\,c\,d+3\,b^2\,c^2\right )}{7} \] Input:
int((a + b*x)^5*(c + d*x)^3,x)
Output:
x^5*(a*b^4*c^3 + a^4*b*d^3 + 6*a^2*b^3*c^2*d + 6*a^3*b^2*c*d^2) + x^4*((a^ 5*d^3)/4 + (5*a^2*b^3*c^3)/2 + (15*a^3*b^2*c^2*d)/2 + (15*a^4*b*c*d^2)/4) + x^6*((b^5*c^3)/6 + (5*a^3*b^2*d^3)/3 + 5*a^2*b^3*c*d^2 + (5*a*b^4*c^2*d) /2) + a^5*c^3*x + (b^5*d^3*x^9)/9 + (a^4*c^2*x^2*(3*a*d + 5*b*c))/2 + (b^4 *d^2*x^8*(5*a*d + 3*b*c))/8 + (a^3*c*x^3*(3*a^2*d^2 + 10*b^2*c^2 + 15*a*b* c*d))/3 + (b^3*d*x^7*(10*a^2*d^2 + 3*b^2*c^2 + 15*a*b*c*d))/7
Time = 0.17 (sec) , antiderivative size = 305, normalized size of antiderivative = 3.32 \[ \int (a+b x)^5 (c+d x)^3 \, dx=\frac {x \left (56 b^{5} d^{3} x^{8}+315 a \,b^{4} d^{3} x^{7}+189 b^{5} c \,d^{2} x^{7}+720 a^{2} b^{3} d^{3} x^{6}+1080 a \,b^{4} c \,d^{2} x^{6}+216 b^{5} c^{2} d \,x^{6}+840 a^{3} b^{2} d^{3} x^{5}+2520 a^{2} b^{3} c \,d^{2} x^{5}+1260 a \,b^{4} c^{2} d \,x^{5}+84 b^{5} c^{3} x^{5}+504 a^{4} b \,d^{3} x^{4}+3024 a^{3} b^{2} c \,d^{2} x^{4}+3024 a^{2} b^{3} c^{2} d \,x^{4}+504 a \,b^{4} c^{3} x^{4}+126 a^{5} d^{3} x^{3}+1890 a^{4} b c \,d^{2} x^{3}+3780 a^{3} b^{2} c^{2} d \,x^{3}+1260 a^{2} b^{3} c^{3} x^{3}+504 a^{5} c \,d^{2} x^{2}+2520 a^{4} b \,c^{2} d \,x^{2}+1680 a^{3} b^{2} c^{3} x^{2}+756 a^{5} c^{2} d x +1260 a^{4} b \,c^{3} x +504 a^{5} c^{3}\right )}{504} \] Input:
int((b*x+a)^5*(d*x+c)^3,x)
Output:
(x*(504*a**5*c**3 + 756*a**5*c**2*d*x + 504*a**5*c*d**2*x**2 + 126*a**5*d* *3*x**3 + 1260*a**4*b*c**3*x + 2520*a**4*b*c**2*d*x**2 + 1890*a**4*b*c*d** 2*x**3 + 504*a**4*b*d**3*x**4 + 1680*a**3*b**2*c**3*x**2 + 3780*a**3*b**2* c**2*d*x**3 + 3024*a**3*b**2*c*d**2*x**4 + 840*a**3*b**2*d**3*x**5 + 1260* a**2*b**3*c**3*x**3 + 3024*a**2*b**3*c**2*d*x**4 + 2520*a**2*b**3*c*d**2*x **5 + 720*a**2*b**3*d**3*x**6 + 504*a*b**4*c**3*x**4 + 1260*a*b**4*c**2*d* x**5 + 1080*a*b**4*c*d**2*x**6 + 315*a*b**4*d**3*x**7 + 84*b**5*c**3*x**5 + 216*b**5*c**2*d*x**6 + 189*b**5*c*d**2*x**7 + 56*b**5*d**3*x**8))/504