Optimal. Leaf size=125 \[ \frac {1}{2} \text {ArcTan}\left (\frac {\sqrt {-x-x^2+x^3}}{-1-x+x^2}\right )-\frac {1}{4} \sqrt {1-2 i} \text {ArcTan}\left (\frac {\sqrt {1-2 i} \sqrt {-x-x^2+x^3}}{-1-x+x^2}\right )-\frac {1}{4} \sqrt {1+2 i} \text {ArcTan}\left (\frac {\sqrt {1+2 i} \sqrt {-x-x^2+x^3}}{-1-x+x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [C] Result contains higher order function than in optimal. Order 4 vs. order 3 in
optimal.
time = 3.33, antiderivative size = 1650, normalized size of antiderivative = 13.20, number of
steps used = 55, number of rules used = 19, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.792, Rules used = {2081,
6857, 932, 6865, 1730, 1201, 1112, 1198, 1228, 1470, 554, 432, 430, 552, 551, 1726, 1714, 1712,
211} \begin {gather*} -\frac {\sqrt {1-2 i} \sqrt {x^3-x^2-x} \text {ArcTan}\left (\frac {\sqrt {1-2 i} \sqrt {x}}{\sqrt {x^2-x-1}}\right )}{4 \sqrt {x} \sqrt {x^2-x-1}}-\frac {\sqrt {1+2 i} \sqrt {x^3-x^2-x} \text {ArcTan}\left (\frac {\sqrt {1+2 i} \sqrt {x}}{\sqrt {x^2-x-1}}\right )}{4 \sqrt {x} \sqrt {x^2-x-1}}+\frac {\left (1+\sqrt {5}\right ) \sqrt {2 x+\sqrt {5}-1} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {x^3-x^2-x} F\left (\text {ArcSin}\left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right )|\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{2 \sqrt {2} \left (3+\sqrt {5}\right ) \sqrt {x} \left (-x^2+x+1\right )}+\frac {\left (1+\sqrt {5}\right ) \sqrt {2 x+\sqrt {5}-1} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {x^3-x^2-x} F\left (\text {ArcSin}\left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right )|\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{2 \sqrt {2} \left (1-\sqrt {5}\right ) \sqrt {x} \left (-x^2+x+1\right )}-\frac {\sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2} \sqrt {\frac {\left (1+\sqrt {5}\right ) x+2}{\left (1-\sqrt {5}\right ) x+2}} \sqrt {x^3-x^2-x} F\left (\text {ArcSin}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{2 \sqrt [4]{5} \left (3+\sqrt {5}\right ) \sqrt {x} \sqrt {\frac {1}{\left (1-\sqrt {5}\right ) x+2}} \left (-x^2+x+1\right )}+\frac {\left (\frac {1}{8}+\frac {i}{24}\right ) \left ((1+2 i)+\sqrt {5}\right ) \sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2} \sqrt {\frac {\left (1+\sqrt {5}\right ) x+2}{\left (1-\sqrt {5}\right ) x+2}} \sqrt {x^3-x^2-x} F\left (\text {ArcSin}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{\sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{\left (1-\sqrt {5}\right ) x+2}} \left (-x^2+x+1\right )}+\frac {\left (\frac {1}{8}-\frac {i}{24}\right ) \left ((1-2 i)+\sqrt {5}\right ) \sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2} \sqrt {\frac {\left (1+\sqrt {5}\right ) x+2}{\left (1-\sqrt {5}\right ) x+2}} \sqrt {x^3-x^2-x} F\left (\text {ArcSin}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{\sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{\left (1-\sqrt {5}\right ) x+2}} \left (-x^2+x+1\right )}+\frac {\left (1-\sqrt {5}\right ) \sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2} \sqrt {\frac {\left (1+\sqrt {5}\right ) x+2}{\left (1-\sqrt {5}\right ) x+2}} \sqrt {x^3-x^2-x} F\left (\text {ArcSin}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{4 \sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{\left (1-\sqrt {5}\right ) x+2}} \left (-x^2+x+1\right )}-\frac {\sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2} \sqrt {\frac {\left (1+\sqrt {5}\right ) x+2}{\left (1-\sqrt {5}\right ) x+2}} \sqrt {x^3-x^2-x} F\left (\text {ArcSin}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{2 \sqrt [4]{5} \left (1-\sqrt {5}\right ) \sqrt {x} \sqrt {\frac {1}{\left (1-\sqrt {5}\right ) x+2}} \left (-x^2+x+1\right )}-\frac {\sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2} \sqrt {\frac {\left (1+\sqrt {5}\right ) x+2}{\left (1-\sqrt {5}\right ) x+2}} \sqrt {x^3-x^2-x} F\left (\text {ArcSin}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-\left (\left (1-\sqrt {5}\right ) x\right )-2}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{12 \sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{\left (1-\sqrt {5}\right ) x+2}} \left (-x^2+x+1\right )}-\frac {\left (2+\sqrt {5}\right ) \sqrt {2 x+\sqrt {5}-1} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {x^3-x^2-x} \Pi \left (\frac {1}{2} \left (-1-\sqrt {5}\right );\text {ArcSin}\left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right )|\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{\sqrt {2} \left (3+\sqrt {5}\right ) \sqrt {x} \left (-x^2+x+1\right )}+\frac {\sqrt {2 x+\sqrt {5}-1} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {x^3-x^2-x} \Pi \left (\frac {1}{2} \left (1+\sqrt {5}\right );\text {ArcSin}\left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right )|\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{\sqrt {2} \left (1-\sqrt {5}\right ) \sqrt {x} \left (-x^2+x+1\right )} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 211
Rule 430
Rule 432
Rule 551
Rule 552
Rule 554
Rule 932
Rule 1112
Rule 1198
Rule 1201
Rule 1228
Rule 1470
Rule 1712
Rule 1714
Rule 1726
Rule 1730
Rule 2081
Rule 6857
Rule 6865
Rubi steps
\begin {align*} \int \frac {\sqrt {-x-x^2+x^3}}{-1+x^4} \, dx &=\frac {\sqrt {-x-x^2+x^3} \int \frac {\sqrt {x} \sqrt {-1-x+x^2}}{-1+x^4} \, dx}{\sqrt {x} \sqrt {-1-x+x^2}}\\ &=\frac {\sqrt {-x-x^2+x^3} \int \left (-\frac {\sqrt {x} \sqrt {-1-x+x^2}}{2 \left (1-x^2\right )}-\frac {\sqrt {x} \sqrt {-1-x+x^2}}{2 \left (1+x^2\right )}\right ) \, dx}{\sqrt {x} \sqrt {-1-x+x^2}}\\ &=-\frac {\sqrt {-x-x^2+x^3} \int \frac {\sqrt {x} \sqrt {-1-x+x^2}}{1-x^2} \, dx}{2 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {-x-x^2+x^3} \int \frac {\sqrt {x} \sqrt {-1-x+x^2}}{1+x^2} \, dx}{2 \sqrt {x} \sqrt {-1-x+x^2}}\\ &=-\frac {\sqrt {-x-x^2+x^3} \int \left (\frac {i \sqrt {x} \sqrt {-1-x+x^2}}{2 (i-x)}+\frac {i \sqrt {x} \sqrt {-1-x+x^2}}{2 (i+x)}\right ) \, dx}{2 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {-x-x^2+x^3} \int \left (\frac {\sqrt {x} \sqrt {-1-x+x^2}}{2 (1-x)}+\frac {\sqrt {x} \sqrt {-1-x+x^2}}{2 (1+x)}\right ) \, dx}{2 \sqrt {x} \sqrt {-1-x+x^2}}\\ &=-\frac {\left (i \sqrt {-x-x^2+x^3}\right ) \int \frac {\sqrt {x} \sqrt {-1-x+x^2}}{i-x} \, dx}{4 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\left (i \sqrt {-x-x^2+x^3}\right ) \int \frac {\sqrt {x} \sqrt {-1-x+x^2}}{i+x} \, dx}{4 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {-x-x^2+x^3} \int \frac {\sqrt {x} \sqrt {-1-x+x^2}}{1-x} \, dx}{4 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {-x-x^2+x^3} \int \frac {\sqrt {x} \sqrt {-1-x+x^2}}{1+x} \, dx}{4 \sqrt {x} \sqrt {-1-x+x^2}}\\ &=-\frac {\left (i \sqrt {-x-x^2+x^3}\right ) \int \frac {-i-(2+2 i) x-(1-3 i) x^2}{(i-x) \sqrt {x} \sqrt {-1-x+x^2}} \, dx}{12 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\left (i \sqrt {-x-x^2+x^3}\right ) \int \frac {-i+(2-2 i) x+(1+3 i) x^2}{\sqrt {x} (i+x) \sqrt {-1-x+x^2}} \, dx}{12 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {-x-x^2+x^3} \int \frac {-1-4 x+2 x^2}{(1-x) \sqrt {x} \sqrt {-1-x+x^2}} \, dx}{12 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\sqrt {-x-x^2+x^3} \int \frac {-1+4 x^2}{\sqrt {x} (1+x) \sqrt {-1-x+x^2}} \, dx}{12 \sqrt {x} \sqrt {-1-x+x^2}}\\ &=-\frac {\left (i \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {-i-(2+2 i) x^2-(1-3 i) x^4}{\left (i-x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{6 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\left (i \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {-i+(2-2 i) x^2+(1+3 i) x^4}{\left (i+x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{6 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {-1-4 x^2+2 x^4}{\left (1-x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{6 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {-1+4 x^4}{\left (1+x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{6 \sqrt {x} \sqrt {-1-x+x^2}}\\ &=-\frac {\left (i \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {(1-4 i)-(2+2 i) x^2}{\left (i-x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{6 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\left (i \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {(-1-4 i)+(2-2 i) x^2}{\left (i+x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{6 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {4-4 x^2}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{6 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {-2+2 x^2}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{6 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {1}{\left (1+x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\left (\left (\frac {1}{2}-\frac {i}{6}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {i-x^2}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}-\frac {\left (\left (\frac {1}{2}+\frac {i}{6}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {i+x^2}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}\\ &=-\frac {\left (\left (\frac {1}{4}-\frac {i}{12}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {-1-\sqrt {5}+2 x^2}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}+-\frac {\left (\left (\frac {1}{4}+\frac {i}{2}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {i-x^2}{\left (i+x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}--\frac {\left (\left (\frac {1}{12}+\frac {i}{6}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}+\frac {\left (\left (\frac {1}{12}-\frac {i}{6}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}+\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {-1-\sqrt {5}+2 x^2}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{6 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\left (\left (\frac {1}{4}+\frac {i}{12}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {-1-\sqrt {5}+2 x^2}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}-\frac {\left (\left (\frac {1}{4}-\frac {i}{2}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {i+x^2}{\left (i-x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}+\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {-1-\sqrt {5}+2 x^2}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{3 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\left (\left (\frac {1}{4}-\frac {i}{12}\right ) \left ((-1+2 i)-\sqrt {5}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}+\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {-1-\sqrt {5}+2 x^2}{\left (1-x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{2 \left (1-\sqrt {5}\right ) \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {1}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\left (1-\sqrt {5}\right ) \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\left (\left (1-\sqrt {5}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{6 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\left (\left (1-\sqrt {5}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{3 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\left (\left (\frac {1}{4}+\frac {i}{12}\right ) \left ((1+2 i)+\sqrt {5}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {-1-\sqrt {5}+2 x^2}{\left (1+x^2\right ) \sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{2 \left (3+\sqrt {5}\right ) \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\sqrt {-x-x^2+x^3} \text {Subst}\left (\int \frac {1}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\left (3+\sqrt {5}\right ) \sqrt {x} \sqrt {-1-x+x^2}}\\ &=-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{12 \sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{2 \sqrt [4]{5} \left (1-\sqrt {5}\right ) \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (1-\sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{4 \sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\left (\frac {1}{24}+\frac {i}{8}\right ) \left ((2+i)+i \sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{\sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (\frac {1}{8}+\frac {i}{24}\right ) \left ((1+2 i)+\sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{\sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{2 \sqrt [4]{5} \left (3+\sqrt {5}\right ) \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (\sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x} \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {\sqrt {-1-\sqrt {5}+2 x^2}}{\left (1-x^2\right ) \sqrt {-\frac {1}{-1-\sqrt {5}}+\frac {x^2}{2}}} \, dx,x,\sqrt {x}\right )}{4 \left (1-\sqrt {5}\right ) \sqrt {x} \left (-1-x+x^2\right )}-\frac {\left (\sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x} \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {\sqrt {-1-\sqrt {5}+2 x^2}}{\sqrt {-\frac {1}{-1-\sqrt {5}}+\frac {x^2}{2}} \left (1+x^2\right )} \, dx,x,\sqrt {x}\right )}{4 \left (3+\sqrt {5}\right ) \sqrt {x} \left (-1-x+x^2\right )}+\frac {\left (\left (\frac {1}{2}-\frac {i}{4}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{i-(2-i) x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt {-1-x+x^2}}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}-\frac {\left (\left (\frac {1}{2}+\frac {i}{4}\right ) \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{i+(2+i) x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt {-1-x+x^2}}\right )}{\sqrt {x} \sqrt {-1-x+x^2}}\\ &=-\frac {\sqrt {1-2 i} \sqrt {-x-x^2+x^3} \tan ^{-1}\left (\frac {\sqrt {1-2 i} \sqrt {x}}{\sqrt {-1-x+x^2}}\right )}{4 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {1+2 i} \sqrt {-x-x^2+x^3} \tan ^{-1}\left (\frac {\sqrt {1+2 i} \sqrt {x}}{\sqrt {-1-x+x^2}}\right )}{4 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{12 \sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{2 \sqrt [4]{5} \left (1-\sqrt {5}\right ) \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (1-\sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{4 \sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\left (\frac {1}{24}+\frac {i}{8}\right ) \left ((2+i)+i \sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{\sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (\frac {1}{8}+\frac {i}{24}\right ) \left ((1+2 i)+\sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{\sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{2 \sqrt [4]{5} \left (3+\sqrt {5}\right ) \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (\sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x} \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \sqrt {-\frac {1}{-1-\sqrt {5}}+\frac {x^2}{2}} \sqrt {-1-\sqrt {5}+2 x^2}} \, dx,x,\sqrt {x}\right )}{4 \sqrt {x} \left (-1-x+x^2\right )}-\frac {\left (\sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x} \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-\frac {1}{-1-\sqrt {5}}+\frac {x^2}{2}} \sqrt {-1-\sqrt {5}+2 x^2}} \, dx,x,\sqrt {x}\right )}{2 \left (1-\sqrt {5}\right ) \sqrt {x} \left (-1-x+x^2\right )}-\frac {\left (\sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x} \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-\frac {1}{-1-\sqrt {5}}+\frac {x^2}{2}} \sqrt {-1-\sqrt {5}+2 x^2}} \, dx,x,\sqrt {x}\right )}{2 \left (3+\sqrt {5}\right ) \sqrt {x} \left (-1-x+x^2\right )}-\frac {\left (\left (-3-\sqrt {5}\right ) \sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x} \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-\frac {1}{-1-\sqrt {5}}+\frac {x^2}{2}} \left (1+x^2\right ) \sqrt {-1-\sqrt {5}+2 x^2}} \, dx,x,\sqrt {x}\right )}{4 \left (3+\sqrt {5}\right ) \sqrt {x} \left (-1-x+x^2\right )}\\ &=-\frac {\sqrt {1-2 i} \sqrt {-x-x^2+x^3} \tan ^{-1}\left (\frac {\sqrt {1-2 i} \sqrt {x}}{\sqrt {-1-x+x^2}}\right )}{4 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {1+2 i} \sqrt {-x-x^2+x^3} \tan ^{-1}\left (\frac {\sqrt {1+2 i} \sqrt {x}}{\sqrt {-1-x+x^2}}\right )}{4 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{12 \sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{2 \sqrt [4]{5} \left (1-\sqrt {5}\right ) \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (1-\sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{4 \sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\left (\frac {1}{24}+\frac {i}{8}\right ) \left ((2+i)+i \sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{\sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (\frac {1}{8}+\frac {i}{24}\right ) \left ((1+2 i)+\sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{\sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{2 \sqrt [4]{5} \left (3+\sqrt {5}\right ) \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (\sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \sqrt {-\frac {1}{-1-\sqrt {5}}+\frac {x^2}{2}} \sqrt {1+\frac {2 x^2}{-1-\sqrt {5}}}} \, dx,x,\sqrt {x}\right )}{4 \sqrt {x} \left (-1-x+x^2\right )}-\frac {\left (\sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-\frac {1}{-1-\sqrt {5}}+\frac {x^2}{2}} \sqrt {1+\frac {2 x^2}{-1-\sqrt {5}}}} \, dx,x,\sqrt {x}\right )}{2 \left (1-\sqrt {5}\right ) \sqrt {x} \left (-1-x+x^2\right )}-\frac {\left (\sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-\frac {1}{-1-\sqrt {5}}+\frac {x^2}{2}} \sqrt {1+\frac {2 x^2}{-1-\sqrt {5}}}} \, dx,x,\sqrt {x}\right )}{2 \left (3+\sqrt {5}\right ) \sqrt {x} \left (-1-x+x^2\right )}-\frac {\left (\left (-3-\sqrt {5}\right ) \sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {-x-x^2+x^3}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-\frac {1}{-1-\sqrt {5}}+\frac {x^2}{2}} \left (1+x^2\right ) \sqrt {1+\frac {2 x^2}{-1-\sqrt {5}}}} \, dx,x,\sqrt {x}\right )}{4 \left (3+\sqrt {5}\right ) \sqrt {x} \left (-1-x+x^2\right )}\\ &=-\frac {\sqrt {1-2 i} \sqrt {-x-x^2+x^3} \tan ^{-1}\left (\frac {\sqrt {1-2 i} \sqrt {x}}{\sqrt {-1-x+x^2}}\right )}{4 \sqrt {x} \sqrt {-1-x+x^2}}-\frac {\sqrt {1+2 i} \sqrt {-x-x^2+x^3} \tan ^{-1}\left (\frac {\sqrt {1+2 i} \sqrt {x}}{\sqrt {-1-x+x^2}}\right )}{4 \sqrt {x} \sqrt {-1-x+x^2}}+\frac {\left (1+\sqrt {5}\right ) \sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right )|\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{2 \sqrt {2} \left (1-\sqrt {5}\right ) \sqrt {x} \left (1+x-x^2\right )}+\frac {\left (1+\sqrt {5}\right ) \sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right )|\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{2 \sqrt {2} \left (3+\sqrt {5}\right ) \sqrt {x} \left (1+x-x^2\right )}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{12 \sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{2 \sqrt [4]{5} \left (1-\sqrt {5}\right ) \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (1-\sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{4 \sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\left (\frac {1}{24}+\frac {i}{8}\right ) \left ((2+i)+i \sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{\sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}+\frac {\left (\frac {1}{8}+\frac {i}{24}\right ) \left ((1+2 i)+\sqrt {5}\right ) \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{\sqrt [4]{5} \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3} F\left (\sin ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{5} \sqrt {x}}{\sqrt {-2-\left (1-\sqrt {5}\right ) x}}\right )|\frac {1}{10} \left (5-\sqrt {5}\right )\right )}{2 \sqrt [4]{5} \left (3+\sqrt {5}\right ) \sqrt {x} \sqrt {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \left (1+x-x^2\right )}-\frac {\left (1+\sqrt {5}\right ) \sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {-x-x^2+x^3} \Pi \left (\frac {1}{2} \left (-1-\sqrt {5}\right );\sin ^{-1}\left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right )|\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{4 \sqrt {2} \sqrt {x} \left (1+x-x^2\right )}-\frac {\left (1+\sqrt {5}\right ) \sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \sqrt {-x-x^2+x^3} \Pi \left (\frac {1}{2} \left (1+\sqrt {5}\right );\sin ^{-1}\left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right )|\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{4 \sqrt {2} \sqrt {x} \left (1+x-x^2\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.40, size = 127, normalized size = 1.02 \begin {gather*} \frac {\sqrt {x} \sqrt {-1-x+x^2} \left (2 \text {ArcTan}\left (\frac {\sqrt {x}}{\sqrt {-1-x+x^2}}\right )-\sqrt {1-2 i} \text {ArcTan}\left (\frac {\sqrt {1-2 i} \sqrt {x}}{\sqrt {-1-x+x^2}}\right )-\sqrt {1+2 i} \text {ArcTan}\left (\frac {\sqrt {1+2 i} \sqrt {x}}{\sqrt {-1-x+x^2}}\right )\right )}{4 \sqrt {x \left (-1-x+x^2\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 4 vs. order
3.
time = 1.75, size = 2289, normalized size = 18.31
method | result | size |
trager | \(\text {Expression too large to display}\) | \(916\) |
elliptic | \(\text {Expression too large to display}\) | \(1430\) |
default | \(\text {Expression too large to display}\) | \(2289\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 2484 vs.
\(2 (97) = 194\).
time = 0.80, size = 2484, normalized size = 19.87 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {x \left (x^{2} - x - 1\right )}}{\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 537, normalized size = 4.30 \begin {gather*} \frac {\left (\frac {\sqrt {5}}{2}+\frac {1}{2}\right )\,\sqrt {\frac {x}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\,\sqrt {\frac {x+\frac {\sqrt {5}}{2}-\frac {1}{2}}{\frac {\sqrt {5}}{2}-\frac {1}{2}}}\,\sqrt {\frac {\frac {\sqrt {5}}{2}-x+\frac {1}{2}}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\,\Pi \left (-\frac {\sqrt {5}}{2}-\frac {1}{2};\mathrm {asin}\left (\sqrt {\frac {x}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\right )\middle |-\frac {\frac {\sqrt {5}}{2}+\frac {1}{2}}{\frac {\sqrt {5}}{2}-\frac {1}{2}}\right )}{2\,\sqrt {x^3-x^2-\left (\frac {\sqrt {5}}{2}-\frac {1}{2}\right )\,\left (\frac {\sqrt {5}}{2}+\frac {1}{2}\right )\,x}}+\frac {\left (\frac {\sqrt {5}}{2}+\frac {1}{2}\right )\,\sqrt {\frac {x}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\,\sqrt {\frac {x+\frac {\sqrt {5}}{2}-\frac {1}{2}}{\frac {\sqrt {5}}{2}-\frac {1}{2}}}\,\sqrt {\frac {\frac {\sqrt {5}}{2}-x+\frac {1}{2}}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\,\Pi \left (\frac {\sqrt {5}}{2}+\frac {1}{2};\mathrm {asin}\left (\sqrt {\frac {x}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\right )\middle |-\frac {\frac {\sqrt {5}}{2}+\frac {1}{2}}{\frac {\sqrt {5}}{2}-\frac {1}{2}}\right )}{2\,\sqrt {x^3-x^2-\left (\frac {\sqrt {5}}{2}-\frac {1}{2}\right )\,\left (\frac {\sqrt {5}}{2}+\frac {1}{2}\right )\,x}}+\frac {\left (\frac {\sqrt {5}}{2}+\frac {1}{2}\right )\,\sqrt {\frac {x}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\,\sqrt {\frac {x+\frac {\sqrt {5}}{2}-\frac {1}{2}}{\frac {\sqrt {5}}{2}-\frac {1}{2}}}\,\sqrt {\frac {\frac {\sqrt {5}}{2}-x+\frac {1}{2}}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\,\Pi \left (-\frac {\sqrt {5}\,1{}\mathrm {i}}{2}-\frac {1}{2}{}\mathrm {i};\mathrm {asin}\left (\sqrt {\frac {x}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\right )\middle |-\frac {\frac {\sqrt {5}}{2}+\frac {1}{2}}{\frac {\sqrt {5}}{2}-\frac {1}{2}}\right )\,\left (-\frac {1}{2}+1{}\mathrm {i}\right )}{\sqrt {x^3-x^2-\left (\frac {\sqrt {5}}{2}-\frac {1}{2}\right )\,\left (\frac {\sqrt {5}}{2}+\frac {1}{2}\right )\,x}}+\frac {\left (\frac {\sqrt {5}}{2}+\frac {1}{2}\right )\,\sqrt {\frac {x}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\,\sqrt {\frac {x+\frac {\sqrt {5}}{2}-\frac {1}{2}}{\frac {\sqrt {5}}{2}-\frac {1}{2}}}\,\sqrt {\frac {\frac {\sqrt {5}}{2}-x+\frac {1}{2}}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\,\Pi \left (\frac {\sqrt {5}\,1{}\mathrm {i}}{2}+\frac {1}{2}{}\mathrm {i};\mathrm {asin}\left (\sqrt {\frac {x}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\right )\middle |-\frac {\frac {\sqrt {5}}{2}+\frac {1}{2}}{\frac {\sqrt {5}}{2}-\frac {1}{2}}\right )\,\left (-\frac {1}{2}-\mathrm {i}\right )}{\sqrt {x^3-x^2-\left (\frac {\sqrt {5}}{2}-\frac {1}{2}\right )\,\left (\frac {\sqrt {5}}{2}+\frac {1}{2}\right )\,x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________