Integrand size = 28, antiderivative size = 544 \[ \int x^2 \left (a+8 x-8 x^2+4 x^3-x^4\right )^{3/2} \, dx=\frac {3}{8} (4+a) \sqrt {3+a-2 (1-x)^2-(1-x)^4} \left (1+(-1+x)^2\right )+\frac {1}{4} \left (3+a-2 (1-x)^2-(1-x)^4\right )^{3/2} \left (1+(-1+x)^2\right )-\frac {2}{315} \left (2 (80+27 a)+3 (20+7 a) (1-x)^2\right ) \sqrt {3+a-2 (1-x)^2-(1-x)^4} (1-x)-\frac {1}{63} \left (15+7 (1-x)^2\right ) \left (3+a-2 (1-x)^2-(1-x)^4\right )^{3/2} (1-x)+\frac {3}{8} (4+a)^2 \arctan \left (\frac {1+(-1+x)^2}{\sqrt {3+a-2 (1-x)^2-(1-x)^4}}\right )-\frac {4 \left (140+111 a+21 a^2\right ) \sqrt {-1+\sqrt {4+a}} \left (1+\sqrt {4+a}\right ) \sqrt {1+\frac {(1-x)^2}{1-\sqrt {4+a}}} \sqrt {1+\frac {(1-x)^2}{1+\sqrt {4+a}}} E\left (\arcsin \left (\frac {1-x}{\sqrt {-1+\sqrt {4+a}}}\right )|\frac {1-\sqrt {4+a}}{1+\sqrt {4+a}}\right )}{315 \sqrt {3+a-2 (1-x)^2-(1-x)^4}}-\frac {4 \sqrt {-1+\sqrt {4+a}} \left (160+88 a+12 a^2-\sqrt {4+a} \left (140+111 a+21 a^2\right )\right ) \sqrt {1+\frac {(1-x)^2}{1-\sqrt {4+a}}} \sqrt {1+\frac {(1-x)^2}{1+\sqrt {4+a}}} \operatorname {EllipticF}\left (\arcsin \left (\frac {1-x}{\sqrt {-1+\sqrt {4+a}}}\right ),\frac {1-\sqrt {4+a}}{1+\sqrt {4+a}}\right )}{315 \sqrt {3+a-2 (1-x)^2-(1-x)^4}} \] Output:
3/8*(4+a)*(3+a-2*(1-x)^2-(1-x)^4)^(1/2)*(1+(-1+x)^2)+1/4*(3+a-2*(1-x)^2-(1 -x)^4)^(3/2)*(1+(-1+x)^2)-2/315*(160+54*a+3*(20+7*a)*(1-x)^2)*(3+a-2*(1-x) ^2-(1-x)^4)^(1/2)*(1-x)-1/63*(15+7*(1-x)^2)*(3+a-2*(1-x)^2-(1-x)^4)^(3/2)* (1-x)+3/8*(4+a)^2*arctan((1+(-1+x)^2)/(3+a-2*(1-x)^2-(1-x)^4)^(1/2))-4/315 *(21*a^2+111*a+140)*(-1+(4+a)^(1/2))^(1/2)*(1+(4+a)^(1/2))*(1+(1-x)^2/(1-( 4+a)^(1/2)))^(1/2)*(1+(1-x)^2/(1+(4+a)^(1/2)))^(1/2)*EllipticE((1-x)/(-1+( 4+a)^(1/2))^(1/2),((1-(4+a)^(1/2))/(1+(4+a)^(1/2)))^(1/2))/(3+a-2*(1-x)^2- (1-x)^4)^(1/2)-4/315*(-1+(4+a)^(1/2))^(1/2)*(160+88*a+12*a^2-(4+a)^(1/2)*( 21*a^2+111*a+140))*(1+(1-x)^2/(1-(4+a)^(1/2)))^(1/2)*(1+(1-x)^2/(1+(4+a)^( 1/2)))^(1/2)*EllipticF((1-x)/(-1+(4+a)^(1/2))^(1/2),((1-(4+a)^(1/2))/(1+(4 +a)^(1/2)))^(1/2))/(3+a-2*(1-x)^2-(1-x)^4)^(1/2)
Leaf count is larger than twice the leaf count of optimal. \(8500\) vs. \(2(544)=1088\).
Time = 17.25 (sec) , antiderivative size = 8500, normalized size of antiderivative = 15.62 \[ \int x^2 \left (a+8 x-8 x^2+4 x^3-x^4\right )^{3/2} \, dx=\text {Result too large to show} \] Input:
Integrate[x^2*(a + 8*x - 8*x^2 + 4*x^3 - x^4)^(3/2),x]
Output:
Result too large to show
Time = 1.65 (sec) , antiderivative size = 651, normalized size of antiderivative = 1.20, number of steps used = 19, number of rules used = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.643, Rules used = {2459, 2006, 2202, 27, 1432, 1087, 1087, 1092, 217, 1490, 27, 1490, 27, 1514, 406, 320, 388, 313}
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^2 \left (a-x^4+4 x^3-8 x^2+8 x\right )^{3/2} \, dx\) |
\(\Big \downarrow \) 2459 |
\(\displaystyle \int \left ((x-1)^2+2 (x-1)+1\right ) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}d(x-1)\) |
\(\Big \downarrow \) 2006 |
\(\displaystyle \int x^2 \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}d(x-1)\) |
\(\Big \downarrow \) 2202 |
\(\displaystyle \int \left ((x-1)^2+1\right ) \left (-(x-1)^4-2 (x-1)^2+a+3\right )^{3/2}d(x-1)+\int 2 \left (-(x-1)^4-2 (x-1)^2+a+3\right )^{3/2} (x-1)d(x-1)\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \int \left ((x-1)^2+1\right ) \left (-(x-1)^4-2 (x-1)^2+a+3\right )^{3/2}d(x-1)+2 \int \left (-(x-1)^4-2 (x-1)^2+a+3\right )^{3/2} (x-1)d(x-1)\) |
\(\Big \downarrow \) 1432 |
\(\displaystyle \int \left (-(x-1)^4-2 (x-1)^2+a+3\right )^{3/2}d(x-1)^2+\int \left ((x-1)^2+1\right ) \left (-(x-1)^4-2 (x-1)^2+a+3\right )^{3/2}d(x-1)\) |
\(\Big \downarrow \) 1087 |
\(\displaystyle \frac {3}{4} (a+4) \int \sqrt {-(x-1)^4-2 (x-1)^2+a+3}d(x-1)^2+\int \left ((x-1)^2+1\right ) \left (-(x-1)^4-2 (x-1)^2+a+3\right )^{3/2}d(x-1)+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 1087 |
\(\displaystyle \frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \int \frac {1}{\sqrt {-(x-1)^4-2 (x-1)^2+a+3}}d(x-1)^2+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\int \left ((x-1)^2+1\right ) \left (-(x-1)^4-2 (x-1)^2+a+3\right )^{3/2}d(x-1)+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 1092 |
\(\displaystyle \frac {3}{4} (a+4) \left ((a+4) \int \frac {1}{-(x-1)^4-4}d\left (-\frac {2 x}{\sqrt {-(x-1)^4-2 (x-1)^2+a+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\int \left ((x-1)^2+1\right ) \left (-(x-1)^4-2 (x-1)^2+a+3\right )^{3/2}d(x-1)+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 217 |
\(\displaystyle \int \left ((x-1)^2+1\right ) \left (-(x-1)^4-2 (x-1)^2+a+3\right )^{3/2}d(x-1)+\frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 1490 |
\(\displaystyle -\frac {1}{21} \int -2 \left ((7 a+20) (x-1)^2+8 (a+3)\right ) \sqrt {-(x-1)^4-2 (x-1)^2+a+3}d(x-1)+\frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {1}{63} \left (7 (x-1)^2+15\right ) (x-1) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {2}{21} \int \left ((7 a+20) (x-1)^2+8 (a+3)\right ) \sqrt {-(x-1)^4-2 (x-1)^2+a+3}d(x-1)+\frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {1}{63} \left (7 (x-1)^2+15\right ) (x-1) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 1490 |
\(\displaystyle \frac {2}{21} \left (\frac {1}{15} (x-1) \left (3 (7 a+20) (x-1)^2+2 (27 a+80)\right ) \sqrt {a-(x-1)^4-2 (x-1)^2+3}-\frac {1}{15} \int -\frac {2 \left (\left (21 a^2+111 a+140\right ) (x-1)^2+(a+3) (33 a+100)\right )}{\sqrt {-(x-1)^4-2 (x-1)^2+a+3}}d(x-1)\right )+\frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {1}{63} \left (7 (x-1)^2+15\right ) (x-1) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {2}{21} \left (\frac {2}{15} \int \frac {\left (21 a^2+111 a+140\right ) (x-1)^2+(a+3) (33 a+100)}{\sqrt {-(x-1)^4-2 (x-1)^2+a+3}}d(x-1)+\frac {1}{15} (x-1) \left (3 (7 a+20) (x-1)^2+2 (27 a+80)\right ) \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {1}{63} \left (7 (x-1)^2+15\right ) (x-1) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 1514 |
\(\displaystyle \frac {2}{21} \left (\frac {2 \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1} \int \frac {\left (21 a^2+111 a+140\right ) (x-1)^2+(a+3) (33 a+100)}{\sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}d(x-1)}{15 \sqrt {a-(x-1)^4-2 (x-1)^2+3}}+\frac {1}{15} (x-1) \left (3 (7 a+20) (x-1)^2+2 (27 a+80)\right ) \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {1}{63} \left (7 (x-1)^2+15\right ) (x-1) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 406 |
\(\displaystyle \frac {2}{21} \left (\frac {2 \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1} \left (\left (21 a^2+111 a+140\right ) \int \frac {(x-1)^2}{\sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}d(x-1)+(a+3) (33 a+100) \int \frac {1}{\sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}d(x-1)\right )}{15 \sqrt {a-(x-1)^4-2 (x-1)^2+3}}+\frac {1}{15} (x-1) \left (3 (7 a+20) (x-1)^2+2 (27 a+80)\right ) \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {1}{63} \left (7 (x-1)^2+15\right ) (x-1) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 320 |
\(\displaystyle \frac {2}{21} \left (\frac {2 \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1} \left (\left (21 a^2+111 a+140\right ) \int \frac {(x-1)^2}{\sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}d(x-1)+\frac {(a+3) (33 a+100) \sqrt {\sqrt {a+4}+1} \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \operatorname {EllipticF}\left (\arctan \left (\frac {x-1}{\sqrt {\sqrt {a+4}+1}}\right ),-\frac {2 \sqrt {a+4}}{1-\sqrt {a+4}}\right )}{\sqrt {\frac {\frac {(x-1)^2}{1-\sqrt {a+4}}+1}{\frac {(x-1)^2}{\sqrt {a+4}+1}+1}} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}\right )}{15 \sqrt {a-(x-1)^4-2 (x-1)^2+3}}+\frac {1}{15} (x-1) \left (3 (7 a+20) (x-1)^2+2 (27 a+80)\right ) \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {1}{63} \left (7 (x-1)^2+15\right ) (x-1) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 388 |
\(\displaystyle \frac {2}{21} \left (\frac {2 \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1} \left (\left (21 a^2+111 a+140\right ) \left (\frac {\left (1-\sqrt {a+4}\right ) (x-1) \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1}}{\sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}-\left (1-\sqrt {a+4}\right ) \int \frac {\sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1}}{\left (\frac {(x-1)^2}{\sqrt {a+4}+1}+1\right )^{3/2}}d(x-1)\right )+\frac {(a+3) (33 a+100) \sqrt {\sqrt {a+4}+1} \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \operatorname {EllipticF}\left (\arctan \left (\frac {x-1}{\sqrt {\sqrt {a+4}+1}}\right ),-\frac {2 \sqrt {a+4}}{1-\sqrt {a+4}}\right )}{\sqrt {\frac {\frac {(x-1)^2}{1-\sqrt {a+4}}+1}{\frac {(x-1)^2}{\sqrt {a+4}+1}+1}} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}\right )}{15 \sqrt {a-(x-1)^4-2 (x-1)^2+3}}+\frac {1}{15} (x-1) \left (3 (7 a+20) (x-1)^2+2 (27 a+80)\right ) \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {1}{63} \left (7 (x-1)^2+15\right ) (x-1) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
\(\Big \downarrow \) 313 |
\(\displaystyle \frac {2}{21} \left (\frac {2 \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1} \left (\left (21 a^2+111 a+140\right ) \left (\frac {\left (1-\sqrt {a+4}\right ) (x-1) \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1}}{\sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}-\frac {\left (1-\sqrt {a+4}\right ) \sqrt {\sqrt {a+4}+1} \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} E\left (\arctan \left (\frac {x-1}{\sqrt {\sqrt {a+4}+1}}\right )|-\frac {2 \sqrt {a+4}}{1-\sqrt {a+4}}\right )}{\sqrt {\frac {\frac {(x-1)^2}{1-\sqrt {a+4}}+1}{\frac {(x-1)^2}{\sqrt {a+4}+1}+1}} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}\right )+\frac {(a+3) (33 a+100) \sqrt {\sqrt {a+4}+1} \sqrt {\frac {(x-1)^2}{1-\sqrt {a+4}}+1} \operatorname {EllipticF}\left (\arctan \left (\frac {x-1}{\sqrt {\sqrt {a+4}+1}}\right ),-\frac {2 \sqrt {a+4}}{1-\sqrt {a+4}}\right )}{\sqrt {\frac {\frac {(x-1)^2}{1-\sqrt {a+4}}+1}{\frac {(x-1)^2}{\sqrt {a+4}+1}+1}} \sqrt {\frac {(x-1)^2}{\sqrt {a+4}+1}+1}}\right )}{15 \sqrt {a-(x-1)^4-2 (x-1)^2+3}}+\frac {1}{15} (x-1) \left (3 (7 a+20) (x-1)^2+2 (27 a+80)\right ) \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {3}{4} (a+4) \left (\frac {1}{2} (a+4) \arctan \left (\frac {x}{\sqrt {a-(x-1)^4-2 (x-1)^2+3}}\right )+\frac {1}{2} x \sqrt {a-(x-1)^4-2 (x-1)^2+3}\right )+\frac {1}{63} \left (7 (x-1)^2+15\right ) (x-1) \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}+\frac {1}{4} x \left (a-(x-1)^4-2 (x-1)^2+3\right )^{3/2}\) |
Input:
Int[x^2*(a + 8*x - 8*x^2 + 4*x^3 - x^4)^(3/2),x]
Output:
((15 + 7*(-1 + x)^2)*(3 + a - 2*(-1 + x)^2 - (-1 + x)^4)^(3/2)*(-1 + x))/6 3 + ((3 + a - 2*(-1 + x)^2 - (-1 + x)^4)^(3/2)*x)/4 + (3*(4 + a)*((Sqrt[3 + a - 2*(-1 + x)^2 - (-1 + x)^4]*x)/2 + ((4 + a)*ArcTan[x/Sqrt[3 + a - 2*( -1 + x)^2 - (-1 + x)^4]])/2))/4 + (2*(((2*(80 + 27*a) + 3*(20 + 7*a)*(-1 + x)^2)*Sqrt[3 + a - 2*(-1 + x)^2 - (-1 + x)^4]*(-1 + x))/15 + (2*Sqrt[1 + (-1 + x)^2/(1 - Sqrt[4 + a])]*Sqrt[1 + (-1 + x)^2/(1 + Sqrt[4 + a])]*((140 + 111*a + 21*a^2)*(((1 - Sqrt[4 + a])*Sqrt[1 + (-1 + x)^2/(1 - Sqrt[4 + a ])]*(-1 + x))/Sqrt[1 + (-1 + x)^2/(1 + Sqrt[4 + a])] - ((1 - Sqrt[4 + a])* Sqrt[1 + Sqrt[4 + a]]*Sqrt[1 + (-1 + x)^2/(1 - Sqrt[4 + a])]*EllipticE[Arc Tan[(-1 + x)/Sqrt[1 + Sqrt[4 + a]]], (-2*Sqrt[4 + a])/(1 - Sqrt[4 + a])])/ (Sqrt[(1 + (-1 + x)^2/(1 - Sqrt[4 + a]))/(1 + (-1 + x)^2/(1 + Sqrt[4 + a]) )]*Sqrt[1 + (-1 + x)^2/(1 + Sqrt[4 + a])])) + ((3 + a)*(100 + 33*a)*Sqrt[1 + Sqrt[4 + a]]*Sqrt[1 + (-1 + x)^2/(1 - Sqrt[4 + a])]*EllipticF[ArcTan[(- 1 + x)/Sqrt[1 + Sqrt[4 + a]]], (-2*Sqrt[4 + a])/(1 - Sqrt[4 + a])])/(Sqrt[ (1 + (-1 + x)^2/(1 - Sqrt[4 + a]))/(1 + (-1 + x)^2/(1 + Sqrt[4 + a]))]*Sqr t[1 + (-1 + x)^2/(1 + Sqrt[4 + a])])))/(15*Sqrt[3 + a - 2*(-1 + x)^2 - (-1 + x)^4])))/21
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^( -1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] & & (LtQ[a, 0] || LtQ[b, 0])
Int[Sqrt[(a_) + (b_.)*(x_)^2]/((c_) + (d_.)*(x_)^2)^(3/2), x_Symbol] :> Sim p[(Sqrt[a + b*x^2]/(c*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*(c + d*x^2)))]))*EllipticE[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /; FreeQ [{a, b, c, d}, x] && PosQ[b/a] && PosQ[d/c]
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> S imp[(Sqrt[a + b*x^2]/(a*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*( c + d*x^2)))]))*EllipticF[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /; Fre eQ[{a, b, c, d}, x] && PosQ[d/c] && PosQ[b/a] && !SimplerSqrtQ[b/a, d/c]
Int[(x_)^2/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[x*(Sqrt[a + b*x^2]/(b*Sqrt[c + d*x^2])), x] - Simp[c/b Int[Sqrt[ a + b*x^2]/(c + d*x^2)^(3/2), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && PosQ[b/a] && PosQ[d/c] && !SimplerSqrtQ[b/a, d/c]
Int[((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.)*((e_) + (f_.)*( x_)^2), x_Symbol] :> Simp[e Int[(a + b*x^2)^p*(c + d*x^2)^q, x], x] + Sim p[f Int[x^2*(a + b*x^2)^p*(c + d*x^2)^q, x], x] /; FreeQ[{a, b, c, d, e, f, p, q}, x]
Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(b + 2*c*x) *((a + b*x + c*x^2)^p/(2*c*(2*p + 1))), x] - Simp[p*((b^2 - 4*a*c)/(2*c*(2* p + 1))) Int[(a + b*x + c*x^2)^(p - 1), x], x] /; FreeQ[{a, b, c}, x] && GtQ[p, 0] && (IntegerQ[4*p] || IntegerQ[3*p])
Int[1/Sqrt[(a_) + (b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Simp[2 Subst[I nt[1/(4*c - x^2), x], x, (b + 2*c*x)/Sqrt[a + b*x + c*x^2]], x] /; FreeQ[{a , b, c}, x]
Int[(x_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Simp[1/2 Subst[Int[(a + b*x + c*x^2)^p, x], x, x^2], x] /; FreeQ[{a, b, c, p}, x]
Int[((d_) + (e_.)*(x_)^2)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symb ol] :> Simp[x*(2*b*e*p + c*d*(4*p + 3) + c*e*(4*p + 1)*x^2)*((a + b*x^2 + c *x^4)^p/(c*(4*p + 1)*(4*p + 3))), x] + Simp[2*(p/(c*(4*p + 1)*(4*p + 3))) Int[Simp[2*a*c*d*(4*p + 3) - a*b*e + (2*a*c*e*(4*p + 1) + b*c*d*(4*p + 3) - b^2*e*(2*p + 1))*x^2, x]*(a + b*x^2 + c*x^4)^(p - 1), x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && GtQ[p, 0] && FractionQ[p] && IntegerQ[2*p]
Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbo l] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Simp[Sqrt[1 + 2*c*(x^2/(b - q))]*(Sqrt [1 + 2*c*(x^2/(b + q))]/Sqrt[a + b*x^2 + c*x^4]) Int[(d + e*x^2)/(Sqrt[1 + 2*c*(x^2/(b - q))]*Sqrt[1 + 2*c*(x^2/(b + q))]), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NegQ[c/a]
Int[(u_.)*(Px_), x_Symbol] :> With[{a = Rt[Coeff[Px, x, 0], Expon[Px, x]], b = Rt[Coeff[Px, x, Expon[Px, x]], Expon[Px, x]]}, Int[u*(a + b*x)^Expon[Px , x], x] /; EqQ[Px, (a + b*x)^Expon[Px, x]]] /; PolyQ[Px, x] && GtQ[Expon[P x, x], 1] && NeQ[Coeff[Px, x, 0], 0] && !MatchQ[Px, (a_.)*(v_)^Expon[Px, x ] /; FreeQ[a, x] && LinearQ[v, x]]
Int[(Pn_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Module[{n = Expon[Pn, x], k}, Int[Sum[Coeff[Pn, x, 2*k]*x^(2*k), {k, 0, n/2}]*(a + b *x^2 + c*x^4)^p, x] + Int[x*Sum[Coeff[Pn, x, 2*k + 1]*x^(2*k), {k, 0, (n - 1)/2}]*(a + b*x^2 + c*x^4)^p, x]] /; FreeQ[{a, b, c, p}, x] && PolyQ[Pn, x] && !PolyQ[Pn, x^2]
Int[(Pn_)^(p_.)*(Qx_), x_Symbol] :> With[{S = Coeff[Pn, x, Expon[Pn, x] - 1 ]/(Expon[Pn, x]*Coeff[Pn, x, Expon[Pn, x]])}, Subst[Int[ExpandToSum[Pn /. x -> x - S, x]^p*ExpandToSum[Qx /. x -> x - S, x], x], x, x + S] /; Binomial Q[Pn /. x -> x - S, x] || (IntegerQ[Expon[Pn, x]/2] && TrinomialQ[Pn /. x - > x - S, x])] /; FreeQ[p, x] && PolyQ[Pn, x] && GtQ[Expon[Pn, x], 2] && NeQ [Coeff[Pn, x, Expon[Pn, x] - 1], 0] && PolyQ[Qx, x] && !(MonomialQ[Qx, x] && IGtQ[p, 0])
Leaf count of result is larger than twice the leaf count of optimal. \(2732\) vs. \(2(471)=942\).
Time = 4.30 (sec) , antiderivative size = 2733, normalized size of antiderivative = 5.02
method | result | size |
default | \(\text {Expression too large to display}\) | \(2733\) |
elliptic | \(\text {Expression too large to display}\) | \(2733\) |
risch | \(\text {Expression too large to display}\) | \(3625\) |
Input:
int(x^2*(-x^4+4*x^3-8*x^2+a+8*x)^(3/2),x,method=_RETURNVERBOSE)
Output:
-1/9*x^7*(-x^4+4*x^3-8*x^2+a+8*x)^(1/2)+19/36*x^6*(-x^4+4*x^3-8*x^2+a+8*x) ^(1/2)-163/126*x^5*(-x^4+4*x^3-8*x^2+a+8*x)^(1/2)+71/42*x^4*(-x^4+4*x^3-8* x^2+a+8*x)^(1/2)+(11/45*a-16/63)*x^3*(-x^4+4*x^3-8*x^2+a+8*x)^(1/2)+(-13/1 20*a-5/18)*x^2*(-x^4+4*x^3-8*x^2+a+8*x)^(1/2)+(9/140*a+23/63)*x*(-x^4+4*x^ 3-8*x^2+a+8*x)^(1/2)+(107/252*a+101/63)*(-x^4+4*x^3-8*x^2+a+8*x)^(1/2)-(-( 9/140*a+23/63)*a-107/63*a-404/63)*((-1-(a+4)^(1/2))^(1/2)+(-1+(a+4)^(1/2)) ^(1/2))*((-(-1-(a+4)^(1/2))^(1/2)+(-1+(a+4)^(1/2))^(1/2))*(x-1-(-1+(a+4)^( 1/2))^(1/2))/(-(-1-(a+4)^(1/2))^(1/2)-(-1+(a+4)^(1/2))^(1/2))/(x-1+(-1+(a+ 4)^(1/2))^(1/2)))^(1/2)*(x-1+(-1+(a+4)^(1/2))^(1/2))^2*(-2*(-1+(a+4)^(1/2) )^(1/2)*(x-1-(-1-(a+4)^(1/2))^(1/2))/((-1-(a+4)^(1/2))^(1/2)-(-1+(a+4)^(1/ 2))^(1/2))/(x-1+(-1+(a+4)^(1/2))^(1/2)))^(1/2)*(-2*(-1+(a+4)^(1/2))^(1/2)* (x-1+(-1-(a+4)^(1/2))^(1/2))/(-(-1-(a+4)^(1/2))^(1/2)-(-1+(a+4)^(1/2))^(1/ 2))/(x-1+(-1+(a+4)^(1/2))^(1/2)))^(1/2)/(-(-1-(a+4)^(1/2))^(1/2)+(-1+(a+4) ^(1/2))^(1/2))/(-1+(a+4)^(1/2))^(1/2)/(-(x-1-(-1+(a+4)^(1/2))^(1/2))*(x-1+ (-1+(a+4)^(1/2))^(1/2))*(x-1-(-1-(a+4)^(1/2))^(1/2))*(x-1+(-1-(a+4)^(1/2)) ^(1/2)))^(1/2)*EllipticF(((-(-1-(a+4)^(1/2))^(1/2)+(-1+(a+4)^(1/2))^(1/2)) *(x-1-(-1+(a+4)^(1/2))^(1/2))/(-(-1-(a+4)^(1/2))^(1/2)-(-1+(a+4)^(1/2))^(1 /2))/(x-1+(-1+(a+4)^(1/2))^(1/2)))^(1/2),((-(-1-(a+4)^(1/2))^(1/2)-(-1+(a+ 4)^(1/2))^(1/2))*((-1-(a+4)^(1/2))^(1/2)+(-1+(a+4)^(1/2))^(1/2))/(-(-1-(a+ 4)^(1/2))^(1/2)+(-1+(a+4)^(1/2))^(1/2))/((-1-(a+4)^(1/2))^(1/2)-(-1+(a+...
\[ \int x^2 \left (a+8 x-8 x^2+4 x^3-x^4\right )^{3/2} \, dx=\int { {\left (-x^{4} + 4 \, x^{3} - 8 \, x^{2} + a + 8 \, x\right )}^{\frac {3}{2}} x^{2} \,d x } \] Input:
integrate(x^2*(-x^4+4*x^3-8*x^2+a+8*x)^(3/2),x, algorithm="fricas")
Output:
integral(-(x^6 - 4*x^5 + 8*x^4 - a*x^2 - 8*x^3)*sqrt(-x^4 + 4*x^3 - 8*x^2 + a + 8*x), x)
\[ \int x^2 \left (a+8 x-8 x^2+4 x^3-x^4\right )^{3/2} \, dx=\int x^{2} \left (a - x^{4} + 4 x^{3} - 8 x^{2} + 8 x\right )^{\frac {3}{2}}\, dx \] Input:
integrate(x**2*(-x**4+4*x**3-8*x**2+a+8*x)**(3/2),x)
Output:
Integral(x**2*(a - x**4 + 4*x**3 - 8*x**2 + 8*x)**(3/2), x)
\[ \int x^2 \left (a+8 x-8 x^2+4 x^3-x^4\right )^{3/2} \, dx=\int { {\left (-x^{4} + 4 \, x^{3} - 8 \, x^{2} + a + 8 \, x\right )}^{\frac {3}{2}} x^{2} \,d x } \] Input:
integrate(x^2*(-x^4+4*x^3-8*x^2+a+8*x)^(3/2),x, algorithm="maxima")
Output:
integrate((-x^4 + 4*x^3 - 8*x^2 + a + 8*x)^(3/2)*x^2, x)
\[ \int x^2 \left (a+8 x-8 x^2+4 x^3-x^4\right )^{3/2} \, dx=\int { {\left (-x^{4} + 4 \, x^{3} - 8 \, x^{2} + a + 8 \, x\right )}^{\frac {3}{2}} x^{2} \,d x } \] Input:
integrate(x^2*(-x^4+4*x^3-8*x^2+a+8*x)^(3/2),x, algorithm="giac")
Output:
integrate((-x^4 + 4*x^3 - 8*x^2 + a + 8*x)^(3/2)*x^2, x)
Timed out. \[ \int x^2 \left (a+8 x-8 x^2+4 x^3-x^4\right )^{3/2} \, dx=\int x^2\,{\left (-x^4+4\,x^3-8\,x^2+8\,x+a\right )}^{3/2} \,d x \] Input:
int(x^2*(a + 8*x - 8*x^2 + 4*x^3 - x^4)^(3/2),x)
Output:
int(x^2*(a + 8*x - 8*x^2 + 4*x^3 - x^4)^(3/2), x)
\[ \int x^2 \left (a+8 x-8 x^2+4 x^3-x^4\right )^{3/2} \, dx=\frac {2 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, a^{2}}{45}+\frac {11 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, a \,x^{3}}{45}-\frac {13 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, a \,x^{2}}{120}+\frac {9 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, a x}{140}+\frac {277 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, a}{420}-\frac {\sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x^{7}}{9}+\frac {19 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x^{6}}{36}-\frac {163 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x^{5}}{126}+\frac {71 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x^{4}}{42}-\frac {16 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x^{3}}{63}-\frac {5 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x^{2}}{18}+\frac {23 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x}{63}+\frac {359 \sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}}{189}-\frac {61 \left (\int \frac {\sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}}{-x^{4}+4 x^{3}-8 x^{2}+a +8 x}d x \right ) a^{2}}{252}-\frac {946 \left (\int \frac {\sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}}{-x^{4}+4 x^{3}-8 x^{2}+a +8 x}d x \right ) a}{315}-\frac {1436 \left (\int \frac {\sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}}{-x^{4}+4 x^{3}-8 x^{2}+a +8 x}d x \right )}{189}+\frac {4 \left (\int \frac {\sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x^{3}}{-x^{4}+4 x^{3}-8 x^{2}+a +8 x}d x \right ) a^{2}}{45}+\frac {148 \left (\int \frac {\sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x^{3}}{-x^{4}+4 x^{3}-8 x^{2}+a +8 x}d x \right ) a}{315}+\frac {16 \left (\int \frac {\sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x^{3}}{-x^{4}+4 x^{3}-8 x^{2}+a +8 x}d x \right )}{27}+\frac {103 \left (\int \frac {\sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x}{-x^{4}+4 x^{3}-8 x^{2}+a +8 x}d x \right ) a^{2}}{180}+\frac {1594 \left (\int \frac {\sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x}{-x^{4}+4 x^{3}-8 x^{2}+a +8 x}d x \right ) a}{315}+\frac {292 \left (\int \frac {\sqrt {-x^{4}+4 x^{3}-8 x^{2}+a +8 x}\, x}{-x^{4}+4 x^{3}-8 x^{2}+a +8 x}d x \right )}{27} \] Input:
int(x^2*(-x^4+4*x^3-8*x^2+a+8*x)^(3/2),x)
Output:
(336*sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)*a**2 + 1848*sqrt(a - x**4 + 4* x**3 - 8*x**2 + 8*x)*a*x**3 - 819*sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)*a *x**2 + 486*sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)*a*x + 4986*sqrt(a - x** 4 + 4*x**3 - 8*x**2 + 8*x)*a - 840*sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)* x**7 + 3990*sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)*x**6 - 9780*sqrt(a - x* *4 + 4*x**3 - 8*x**2 + 8*x)*x**5 + 12780*sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)*x**4 - 1920*sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)*x**3 - 2100*sqrt( a - x**4 + 4*x**3 - 8*x**2 + 8*x)*x**2 + 2760*sqrt(a - x**4 + 4*x**3 - 8*x **2 + 8*x)*x + 14360*sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x) - 1830*int(sqr t(a - x**4 + 4*x**3 - 8*x**2 + 8*x)/(a - x**4 + 4*x**3 - 8*x**2 + 8*x),x)* a**2 - 22704*int(sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)/(a - x**4 + 4*x**3 - 8*x**2 + 8*x),x)*a - 57440*int(sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)/( a - x**4 + 4*x**3 - 8*x**2 + 8*x),x) + 672*int((sqrt(a - x**4 + 4*x**3 - 8 *x**2 + 8*x)*x**3)/(a - x**4 + 4*x**3 - 8*x**2 + 8*x),x)*a**2 + 3552*int(( sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)*x**3)/(a - x**4 + 4*x**3 - 8*x**2 + 8*x),x)*a + 4480*int((sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)*x**3)/(a - x **4 + 4*x**3 - 8*x**2 + 8*x),x) + 4326*int((sqrt(a - x**4 + 4*x**3 - 8*x** 2 + 8*x)*x)/(a - x**4 + 4*x**3 - 8*x**2 + 8*x),x)*a**2 + 38256*int((sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)*x)/(a - x**4 + 4*x**3 - 8*x**2 + 8*x),x)* a + 81760*int((sqrt(a - x**4 + 4*x**3 - 8*x**2 + 8*x)*x)/(a - x**4 + 4*...