Integrand size = 25, antiderivative size = 31 \[ \int \left (a+c x^2\right ) \left (1+\left (d+a x+\frac {c x^3}{3}\right )^5\right ) \, dx=a x+\frac {c x^3}{3}+\frac {1}{6} \left (d+a x+\frac {c x^3}{3}\right )^6 \]
Leaf count is larger than twice the leaf count of optimal. \(140\) vs. \(2(31)=62\).
Time = 0.03 (sec) , antiderivative size = 140, normalized size of antiderivative = 4.52 \[ \int \left (a+c x^2\right ) \left (1+\left (d+a x+\frac {c x^3}{3}\right )^5\right ) \, dx=\frac {x \left (3 a+c x^2\right ) \left (1458+1458 d^5+243 a^5 x^5+405 a^4 c x^7+270 a^3 c^2 x^9+90 a^2 c^3 x^{11}+15 a c^4 x^{13}+c^5 x^{15}+1215 d^4 \left (3 a x+c x^3\right )+540 d^3 \left (3 a x+c x^3\right )^2+135 d^2 \left (3 a x+c x^3\right )^3+18 d \left (3 a x+c x^3\right )^4\right )}{4374} \]
(x*(3*a + c*x^2)*(1458 + 1458*d^5 + 243*a^5*x^5 + 405*a^4*c*x^7 + 270*a^3* c^2*x^9 + 90*a^2*c^3*x^11 + 15*a*c^4*x^13 + c^5*x^15 + 1215*d^4*(3*a*x + c *x^3) + 540*d^3*(3*a*x + c*x^3)^2 + 135*d^2*(3*a*x + c*x^3)^3 + 18*d*(3*a* x + c*x^3)^4))/4374
Time = 0.26 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.03, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {2024, 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 \left (a+c x^2\right ) \left (\left (a x+\frac {c x^3}{3}+d\right )^5+1\right ) \, dx\) |
\(\Big \downarrow \) 2024 |
\(\displaystyle \int \left (\left (a x+\frac {c x^3}{3}+d\right )^5+1\right )d\left (a x+\frac {c x^3}{3}+d\right )\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{6} \left (a x+\frac {c x^3}{3}+d\right )^6+a x+\frac {c x^3}{3}+d\) |
3.3.11.3.1 Defintions of rubi rules used
Int[((a_.) + (b_.)*(Pq_)^(n_.))^(p_.)*(Qr_), x_Symbol] :> With[{q = Expon[P q, x], r = Expon[Qr, x]}, Simp[Coeff[Qr, x, r]/(q*Coeff[Pq, x, q]) Subst[ Int[(a + b*x^n)^p, x], x, Pq], x] /; EqQ[r, q - 1] && EqQ[Coeff[Qr, x, r]*D [Pq, x], q*Coeff[Pq, x, q]*Qr]] /; FreeQ[{a, b, n, p}, x] && PolyQ[Pq, x] & & PolyQ[Qr, x]
Time = 0.20 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.87
method | result | size |
default | \(\frac {\left (d +a x +\frac {1}{3} c \,x^{3}\right )^{6}}{6}+d +a x +\frac {c \,x^{3}}{3}\) | \(27\) |
norman | \(\left (\frac {5}{18} a^{4} c^{2}+\frac {10}{27} a \,c^{3} d^{2}\right ) x^{10}+\left (\frac {5}{2} a^{4} d^{2}+\frac {5}{3} a c \,d^{4}\right ) x^{4}+\left (\frac {1}{3} c \,a^{5}+\frac {5}{3} a^{2} c^{2} d^{2}\right ) x^{8}+\left (\frac {10}{81} c^{3} a^{3}+\frac {5}{162} d^{2} c^{4}\right ) x^{12}+\left (d \,a^{5}+\frac {10}{3} a^{2} c \,d^{3}\right ) x^{5}+\left (\frac {10}{9} a^{3} c^{2} d +\frac {10}{81} c^{3} d^{3}\right ) x^{9}+\left (\frac {5}{3} a^{4} c d +\frac {10}{9} a \,c^{2} d^{3}\right ) x^{7}+\left (\frac {1}{6} a^{6}+\frac {10}{3} a^{3} c \,d^{2}+\frac {5}{18} c^{2} d^{4}\right ) x^{6}+\left (\frac {10}{3} a^{3} d^{3}+\frac {1}{3} c \,d^{5}+\frac {1}{3} c \right ) x^{3}+\left (a \,d^{5}+a \right ) x +\frac {c^{6} x^{18}}{4374}+\frac {a \,c^{5} x^{16}}{243}+\frac {5 a^{2} c^{4} x^{14}}{162}+\frac {5 a^{2} d^{4} x^{2}}{2}+\frac {c^{5} d \,x^{15}}{243}+\frac {5 a \,c^{4} d \,x^{13}}{81}+\frac {10 a^{2} c^{3} d \,x^{11}}{27}\) | \(277\) |
risch | \(\frac {5}{2} a^{2} d^{4} x^{2}+\frac {10}{3} x^{6} a^{3} c \,d^{2}+\frac {10}{3} x^{5} a^{2} c \,d^{3}+\frac {5}{3} x^{4} a c \,d^{4}+\frac {5}{81} a \,c^{4} d \,x^{13}+\frac {1}{6} a^{6} x^{6}+\frac {1}{3} c \,x^{3}+a x +\frac {5}{162} x^{12} d^{2} c^{4}+\frac {10}{81} x^{9} c^{3} d^{3}+\frac {5}{18} x^{6} c^{2} d^{4}+x^{5} d \,a^{5}+\frac {5}{2} x^{4} a^{4} d^{2}+\frac {10}{3} x^{3} a^{3} d^{3}+\frac {1}{3} x^{3} c \,d^{5}+\frac {1}{243} c^{5} d \,x^{15}+\frac {1}{243} a \,c^{5} x^{16}+\frac {1}{3} c \,a^{5} x^{8}+\frac {5}{18} a^{4} c^{2} x^{10}+\frac {10}{81} c^{3} a^{3} x^{12}+\frac {5}{162} a^{2} c^{4} x^{14}+\frac {10}{27} x^{10} a \,c^{3} d^{2}+\frac {5}{3} x^{8} a^{2} c^{2} d^{2}+\frac {10}{9} x^{7} a \,c^{2} d^{3}+\frac {1}{4374} c^{6} x^{18}+\frac {5}{3} a^{4} c d \,x^{7}+\frac {10}{9} a^{3} c^{2} d \,x^{9}+\frac {10}{27} a^{2} c^{3} d \,x^{11}+a \,d^{5} x\) | \(292\) |
parallelrisch | \(\frac {5}{2} a^{2} d^{4} x^{2}+\frac {10}{3} x^{6} a^{3} c \,d^{2}+\frac {10}{3} x^{5} a^{2} c \,d^{3}+\frac {5}{3} x^{4} a c \,d^{4}+\frac {5}{81} a \,c^{4} d \,x^{13}+\frac {1}{6} a^{6} x^{6}+\frac {1}{3} c \,x^{3}+a x +\frac {5}{162} x^{12} d^{2} c^{4}+\frac {10}{81} x^{9} c^{3} d^{3}+\frac {5}{18} x^{6} c^{2} d^{4}+x^{5} d \,a^{5}+\frac {5}{2} x^{4} a^{4} d^{2}+\frac {10}{3} x^{3} a^{3} d^{3}+\frac {1}{3} x^{3} c \,d^{5}+\frac {1}{243} c^{5} d \,x^{15}+\frac {1}{243} a \,c^{5} x^{16}+\frac {1}{3} c \,a^{5} x^{8}+\frac {5}{18} a^{4} c^{2} x^{10}+\frac {10}{81} c^{3} a^{3} x^{12}+\frac {5}{162} a^{2} c^{4} x^{14}+\frac {10}{27} x^{10} a \,c^{3} d^{2}+\frac {5}{3} x^{8} a^{2} c^{2} d^{2}+\frac {10}{9} x^{7} a \,c^{2} d^{3}+\frac {1}{4374} c^{6} x^{18}+\frac {5}{3} a^{4} c d \,x^{7}+\frac {10}{9} a^{3} c^{2} d \,x^{9}+\frac {10}{27} a^{2} c^{3} d \,x^{11}+a \,d^{5} x\) | \(292\) |
gosper | \(\frac {x \left (c^{6} x^{17}+18 a \,c^{5} x^{15}+18 c^{5} d \,x^{14}+135 a^{2} c^{4} x^{13}+270 a \,c^{4} d \,x^{12}+540 c^{3} a^{3} x^{11}+135 x^{11} d^{2} c^{4}+1620 a^{2} c^{3} d \,x^{10}+1215 a^{4} c^{2} x^{9}+1620 x^{9} a \,c^{3} d^{2}+4860 a^{3} c^{2} d \,x^{8}+540 c^{3} d^{3} x^{8}+1458 c \,a^{5} x^{7}+7290 a^{2} c^{2} d^{2} x^{7}+7290 a^{4} c d \,x^{6}+4860 a \,c^{2} d^{3} x^{6}+729 a^{6} x^{5}+14580 x^{5} a^{3} c \,d^{2}+1215 x^{5} c^{2} d^{4}+4374 a^{5} d \,x^{4}+14580 a^{2} c \,d^{3} x^{4}+10935 x^{3} a^{4} d^{2}+7290 x^{3} a c \,d^{4}+14580 a^{3} d^{3} x^{2}+1458 x^{2} c \,d^{5}+10935 a^{2} d^{4} x +4374 a \,d^{5}+1458 c \,x^{2}+4374 a \right )}{4374}\) | \(293\) |
Leaf count of result is larger than twice the leaf count of optimal. 280 vs. \(2 (27) = 54\).
Time = 0.26 (sec) , antiderivative size = 280, normalized size of antiderivative = 9.03 \[ \int \left (a+c x^2\right ) \left (1+\left (d+a x+\frac {c x^3}{3}\right )^5\right ) \, dx=\frac {1}{4374} \, c^{6} x^{18} + \frac {1}{243} \, a c^{5} x^{16} + \frac {1}{243} \, c^{5} d x^{15} + \frac {5}{162} \, a^{2} c^{4} x^{14} + \frac {5}{81} \, a c^{4} d x^{13} + \frac {10}{27} \, a^{2} c^{3} d x^{11} + \frac {5}{162} \, {\left (4 \, a^{3} c^{3} + c^{4} d^{2}\right )} x^{12} + \frac {5}{54} \, {\left (3 \, a^{4} c^{2} + 4 \, a c^{3} d^{2}\right )} x^{10} + \frac {10}{81} \, {\left (9 \, a^{3} c^{2} d + c^{3} d^{3}\right )} x^{9} + \frac {1}{3} \, {\left (a^{5} c + 5 \, a^{2} c^{2} d^{2}\right )} x^{8} + \frac {5}{2} \, a^{2} d^{4} x^{2} + \frac {5}{9} \, {\left (3 \, a^{4} c d + 2 \, a c^{2} d^{3}\right )} x^{7} + \frac {1}{18} \, {\left (3 \, a^{6} + 60 \, a^{3} c d^{2} + 5 \, c^{2} d^{4}\right )} x^{6} + \frac {1}{3} \, {\left (3 \, a^{5} d + 10 \, a^{2} c d^{3}\right )} x^{5} + \frac {5}{6} \, {\left (3 \, a^{4} d^{2} + 2 \, a c d^{4}\right )} x^{4} + \frac {1}{3} \, {\left (10 \, a^{3} d^{3} + c d^{5} + c\right )} x^{3} + {\left (a d^{5} + a\right )} x \]
1/4374*c^6*x^18 + 1/243*a*c^5*x^16 + 1/243*c^5*d*x^15 + 5/162*a^2*c^4*x^14 + 5/81*a*c^4*d*x^13 + 10/27*a^2*c^3*d*x^11 + 5/162*(4*a^3*c^3 + c^4*d^2)* x^12 + 5/54*(3*a^4*c^2 + 4*a*c^3*d^2)*x^10 + 10/81*(9*a^3*c^2*d + c^3*d^3) *x^9 + 1/3*(a^5*c + 5*a^2*c^2*d^2)*x^8 + 5/2*a^2*d^4*x^2 + 5/9*(3*a^4*c*d + 2*a*c^2*d^3)*x^7 + 1/18*(3*a^6 + 60*a^3*c*d^2 + 5*c^2*d^4)*x^6 + 1/3*(3* a^5*d + 10*a^2*c*d^3)*x^5 + 5/6*(3*a^4*d^2 + 2*a*c*d^4)*x^4 + 1/3*(10*a^3* d^3 + c*d^5 + c)*x^3 + (a*d^5 + a)*x
Leaf count of result is larger than twice the leaf count of optimal. 314 vs. \(2 (24) = 48\).
Time = 0.06 (sec) , antiderivative size = 314, normalized size of antiderivative = 10.13 \[ \int \left (a+c x^2\right ) \left (1+\left (d+a x+\frac {c x^3}{3}\right )^5\right ) \, dx=\frac {5 a^{2} c^{4} x^{14}}{162} + \frac {10 a^{2} c^{3} d x^{11}}{27} + \frac {5 a^{2} d^{4} x^{2}}{2} + \frac {a c^{5} x^{16}}{243} + \frac {5 a c^{4} d x^{13}}{81} + \frac {c^{6} x^{18}}{4374} + \frac {c^{5} d x^{15}}{243} + x^{12} \cdot \left (\frac {10 a^{3} c^{3}}{81} + \frac {5 c^{4} d^{2}}{162}\right ) + x^{10} \cdot \left (\frac {5 a^{4} c^{2}}{18} + \frac {10 a c^{3} d^{2}}{27}\right ) + x^{9} \cdot \left (\frac {10 a^{3} c^{2} d}{9} + \frac {10 c^{3} d^{3}}{81}\right ) + x^{8} \left (\frac {a^{5} c}{3} + \frac {5 a^{2} c^{2} d^{2}}{3}\right ) + x^{7} \cdot \left (\frac {5 a^{4} c d}{3} + \frac {10 a c^{2} d^{3}}{9}\right ) + x^{6} \left (\frac {a^{6}}{6} + \frac {10 a^{3} c d^{2}}{3} + \frac {5 c^{2} d^{4}}{18}\right ) + x^{5} \left (a^{5} d + \frac {10 a^{2} c d^{3}}{3}\right ) + x^{4} \cdot \left (\frac {5 a^{4} d^{2}}{2} + \frac {5 a c d^{4}}{3}\right ) + x^{3} \cdot \left (\frac {10 a^{3} d^{3}}{3} + \frac {c d^{5}}{3} + \frac {c}{3}\right ) + x \left (a d^{5} + a\right ) \]
5*a**2*c**4*x**14/162 + 10*a**2*c**3*d*x**11/27 + 5*a**2*d**4*x**2/2 + a*c **5*x**16/243 + 5*a*c**4*d*x**13/81 + c**6*x**18/4374 + c**5*d*x**15/243 + x**12*(10*a**3*c**3/81 + 5*c**4*d**2/162) + x**10*(5*a**4*c**2/18 + 10*a* c**3*d**2/27) + x**9*(10*a**3*c**2*d/9 + 10*c**3*d**3/81) + x**8*(a**5*c/3 + 5*a**2*c**2*d**2/3) + x**7*(5*a**4*c*d/3 + 10*a*c**2*d**3/9) + x**6*(a* *6/6 + 10*a**3*c*d**2/3 + 5*c**2*d**4/18) + x**5*(a**5*d + 10*a**2*c*d**3/ 3) + x**4*(5*a**4*d**2/2 + 5*a*c*d**4/3) + x**3*(10*a**3*d**3/3 + c*d**5/3 + c/3) + x*(a*d**5 + a)
Leaf count of result is larger than twice the leaf count of optimal. 280 vs. \(2 (27) = 54\).
Time = 0.19 (sec) , antiderivative size = 280, normalized size of antiderivative = 9.03 \[ \int \left (a+c x^2\right ) \left (1+\left (d+a x+\frac {c x^3}{3}\right )^5\right ) \, dx=\frac {1}{4374} \, c^{6} x^{18} + \frac {1}{243} \, a c^{5} x^{16} + \frac {1}{243} \, c^{5} d x^{15} + \frac {5}{162} \, a^{2} c^{4} x^{14} + \frac {5}{81} \, a c^{4} d x^{13} + \frac {10}{27} \, a^{2} c^{3} d x^{11} + \frac {5}{162} \, {\left (4 \, a^{3} c^{3} + c^{4} d^{2}\right )} x^{12} + \frac {5}{54} \, {\left (3 \, a^{4} c^{2} + 4 \, a c^{3} d^{2}\right )} x^{10} + \frac {10}{81} \, {\left (9 \, a^{3} c^{2} d + c^{3} d^{3}\right )} x^{9} + \frac {1}{3} \, {\left (a^{5} c + 5 \, a^{2} c^{2} d^{2}\right )} x^{8} + \frac {5}{2} \, a^{2} d^{4} x^{2} + \frac {5}{9} \, {\left (3 \, a^{4} c d + 2 \, a c^{2} d^{3}\right )} x^{7} + \frac {1}{18} \, {\left (3 \, a^{6} + 60 \, a^{3} c d^{2} + 5 \, c^{2} d^{4}\right )} x^{6} + \frac {1}{3} \, {\left (3 \, a^{5} d + 10 \, a^{2} c d^{3}\right )} x^{5} + \frac {5}{6} \, {\left (3 \, a^{4} d^{2} + 2 \, a c d^{4}\right )} x^{4} + \frac {1}{3} \, {\left (10 \, a^{3} d^{3} + c d^{5} + c\right )} x^{3} + {\left (a d^{5} + a\right )} x \]
1/4374*c^6*x^18 + 1/243*a*c^5*x^16 + 1/243*c^5*d*x^15 + 5/162*a^2*c^4*x^14 + 5/81*a*c^4*d*x^13 + 10/27*a^2*c^3*d*x^11 + 5/162*(4*a^3*c^3 + c^4*d^2)* x^12 + 5/54*(3*a^4*c^2 + 4*a*c^3*d^2)*x^10 + 10/81*(9*a^3*c^2*d + c^3*d^3) *x^9 + 1/3*(a^5*c + 5*a^2*c^2*d^2)*x^8 + 5/2*a^2*d^4*x^2 + 5/9*(3*a^4*c*d + 2*a*c^2*d^3)*x^7 + 1/18*(3*a^6 + 60*a^3*c*d^2 + 5*c^2*d^4)*x^6 + 1/3*(3* a^5*d + 10*a^2*c*d^3)*x^5 + 5/6*(3*a^4*d^2 + 2*a*c*d^4)*x^4 + 1/3*(10*a^3* d^3 + c*d^5 + c)*x^3 + (a*d^5 + a)*x
Leaf count of result is larger than twice the leaf count of optimal. 105 vs. \(2 (27) = 54\).
Time = 0.27 (sec) , antiderivative size = 105, normalized size of antiderivative = 3.39 \[ \int \left (a+c x^2\right ) \left (1+\left (d+a x+\frac {c x^3}{3}\right )^5\right ) \, dx=\frac {1}{4374} \, {\left (c x^{3} + 3 \, a x\right )}^{6} + \frac {1}{243} \, {\left (c x^{3} + 3 \, a x\right )}^{5} d + \frac {5}{162} \, {\left (c x^{3} + 3 \, a x\right )}^{4} d^{2} + \frac {10}{81} \, {\left (c x^{3} + 3 \, a x\right )}^{3} d^{3} + \frac {5}{18} \, {\left (c x^{3} + 3 \, a x\right )}^{2} d^{4} + \frac {1}{3} \, {\left (c x^{3} + 3 \, a x\right )} d^{5} + \frac {1}{3} \, c x^{3} + a x \]
1/4374*(c*x^3 + 3*a*x)^6 + 1/243*(c*x^3 + 3*a*x)^5*d + 5/162*(c*x^3 + 3*a* x)^4*d^2 + 10/81*(c*x^3 + 3*a*x)^3*d^3 + 5/18*(c*x^3 + 3*a*x)^2*d^4 + 1/3* (c*x^3 + 3*a*x)*d^5 + 1/3*c*x^3 + a*x
Time = 9.49 (sec) , antiderivative size = 266, normalized size of antiderivative = 8.58 \[ \int \left (a+c x^2\right ) \left (1+\left (d+a x+\frac {c x^3}{3}\right )^5\right ) \, dx=x^5\,\left (a^5\,d+\frac {10\,c\,a^2\,d^3}{3}\right )+x^4\,\left (\frac {5\,a^4\,d^2}{2}+\frac {5\,c\,a\,d^4}{3}\right )+x^3\,\left (\frac {10\,a^3\,d^3}{3}+\frac {c\,d^5}{3}+\frac {c}{3}\right )+x^6\,\left (\frac {a^6}{6}+\frac {10\,a^3\,c\,d^2}{3}+\frac {5\,c^2\,d^4}{18}\right )+\frac {c^6\,x^{18}}{4374}+\frac {a\,c^5\,x^{16}}{243}+a\,x\,\left (d^5+1\right )+\frac {c^5\,d\,x^{15}}{243}+\frac {5\,a^2\,c^4\,x^{14}}{162}+\frac {5\,a^2\,d^4\,x^2}{2}+\frac {5\,c^3\,x^{12}\,\left (4\,a^3+c\,d^2\right )}{162}+\frac {a^2\,c\,x^8\,\left (a^3+5\,c\,d^2\right )}{3}+\frac {10\,a^2\,c^3\,d\,x^{11}}{27}+\frac {5\,a\,c^2\,x^{10}\,\left (3\,a^3+4\,c\,d^2\right )}{54}+\frac {10\,c^2\,d\,x^9\,\left (9\,a^3+c\,d^2\right )}{81}+\frac {5\,a\,c^4\,d\,x^{13}}{81}+\frac {5\,a\,c\,d\,x^7\,\left (3\,a^3+2\,c\,d^2\right )}{9} \]
x^5*(a^5*d + (10*a^2*c*d^3)/3) + x^4*((5*a^4*d^2)/2 + (5*a*c*d^4)/3) + x^3 *(c/3 + (c*d^5)/3 + (10*a^3*d^3)/3) + x^6*(a^6/6 + (5*c^2*d^4)/18 + (10*a^ 3*c*d^2)/3) + (c^6*x^18)/4374 + (a*c^5*x^16)/243 + a*x*(d^5 + 1) + (c^5*d* x^15)/243 + (5*a^2*c^4*x^14)/162 + (5*a^2*d^4*x^2)/2 + (5*c^3*x^12*(c*d^2 + 4*a^3))/162 + (a^2*c*x^8*(5*c*d^2 + a^3))/3 + (10*a^2*c^3*d*x^11)/27 + ( 5*a*c^2*x^10*(4*c*d^2 + 3*a^3))/54 + (10*c^2*d*x^9*(c*d^2 + 9*a^3))/81 + ( 5*a*c^4*d*x^13)/81 + (5*a*c*d*x^7*(2*c*d^2 + 3*a^3))/9