Integrand size = 29, antiderivative size = 97 \[ \int \frac {-1+x^2}{\left (1+x^2\right ) \sqrt {-x-x^2+x^3}} \, dx=-\sqrt {\frac {1}{5}+\frac {2 i}{5}} \arctan \left (\frac {\sqrt {1-2 i} \sqrt {-x-x^2+x^3}}{-1-x+x^2}\right )-\sqrt {\frac {1}{5}-\frac {2 i}{5}} \arctan \left (\frac {\sqrt {1+2 i} \sqrt {-x-x^2+x^3}}{-1-x+x^2}\right ) \]
[Out]
Result contains higher order function than in optimal. Order 4 vs. order 3 in optimal.
Time = 0.68 (sec) , antiderivative size = 375, normalized size of antiderivative = 3.87, number of steps used = 15, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.276, Rules used = {2081, 6857, 730, 1112, 948, 174, 552, 551} \[ \int \frac {-1+x^2}{\left (1+x^2\right ) \sqrt {-x-x^2+x^3}} \, dx=\frac {\sqrt {x} \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}} \operatorname {EllipticF}\left (\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 {\frac {1}{\left (1-\sqrt {5}\right ) x+2}} \sqrt {x^3-x^2-x}}-\frac {\sqrt {3+\sqrt {5}} \sqrt {x} \sqrt {2 x+\sqrt {5}-1} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \operatorname {EllipticPi}\left (-\frac {1}{2} i \left (1+\sqrt {5}\right ),\arcsin \left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right ),\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{\sqrt {x^3-x^2-x}}-\frac {\sqrt {3+\sqrt {5}} \sqrt {x} \sqrt {2 x+\sqrt {5}-1} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \operatorname {EllipticPi}\left (\frac {1}{2} i \left (1+\sqrt {5}\right ),\arcsin \left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right ),\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{\sqrt {x^3-x^2-x}} \]
[In]
[Out]
Rule 174
Rule 551
Rule 552
Rule 730
Rule 948
Rule 1112
Rule 2081
Rule 6857
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt {x} \sqrt {-1-x+x^2}\right ) \int \frac {-1+x^2}{\sqrt {x} \left (1+x^2\right ) \sqrt {-1-x+x^2}} \, dx}{\sqrt {-x-x^2+x^3}} \\ & = \frac {\left (\sqrt {x} \sqrt {-1-x+x^2}\right ) \int \left (\frac {1}{\sqrt {x} \sqrt {-1-x+x^2}}-\frac {2}{\sqrt {x} \left (1+x^2\right ) \sqrt {-1-x+x^2}}\right ) \, dx}{\sqrt {-x-x^2+x^3}} \\ & = \frac {\left (\sqrt {x} \sqrt {-1-x+x^2}\right ) \int \frac {1}{\sqrt {x} \sqrt {-1-x+x^2}} \, dx}{\sqrt {-x-x^2+x^3}}-\frac {\left (2 \sqrt {x} \sqrt {-1-x+x^2}\right ) \int \frac {1}{\sqrt {x} \left (1+x^2\right ) \sqrt {-1-x+x^2}} \, dx}{\sqrt {-x-x^2+x^3}} \\ & = -\frac {\left (2 \sqrt {x} \sqrt {-1-x+x^2}\right ) \int \left (\frac {i}{2 (i-x) \sqrt {x} \sqrt {-1-x+x^2}}+\frac {i}{2 \sqrt {x} (i+x) \sqrt {-1-x+x^2}}\right ) \, dx}{\sqrt {-x-x^2+x^3}}+\frac {\left (2 \sqrt {x} \sqrt {-1-x+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1-x^2+x^4}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x-x^2+x^3}} \\ & = \frac {\sqrt {x} \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \operatorname {EllipticF}\left (\arcsin \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 {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3}}-\frac {\left (i \sqrt {x} \sqrt {-1-x+x^2}\right ) \int \frac {1}{(i-x) \sqrt {x} \sqrt {-1-x+x^2}} \, dx}{\sqrt {-x-x^2+x^3}}-\frac {\left (i \sqrt {x} \sqrt {-1-x+x^2}\right ) \int \frac {1}{\sqrt {x} (i+x) \sqrt {-1-x+x^2}} \, dx}{\sqrt {-x-x^2+x^3}} \\ & = \frac {\sqrt {x} \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \operatorname {EllipticF}\left (\arcsin \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 {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3}}-\frac {\left (i \sqrt {x} \sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x}\right ) \int \frac {1}{(i-x) \sqrt {x} \sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x}} \, dx}{\sqrt {-x-x^2+x^3}}-\frac {\left (i \sqrt {x} \sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x}\right ) \int \frac {1}{\sqrt {x} (i+x) \sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x}} \, dx}{\sqrt {-x-x^2+x^3}} \\ & = \frac {\sqrt {x} \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \operatorname {EllipticF}\left (\arcsin \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 {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3}}+\frac {\left (2 i \sqrt {x} \sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x}\right ) \text {Subst}\left (\int \frac {1}{\left (-i-x^2\right ) \sqrt {-1-\sqrt {5}+2 x^2} \sqrt {-1+\sqrt {5}+2 x^2}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x-x^2+x^3}}+\frac {\left (2 i \sqrt {x} \sqrt {-1-\sqrt {5}+2 x} \sqrt {-1+\sqrt {5}+2 x}\right ) \text {Subst}\left (\int \frac {1}{\left (-i+x^2\right ) \sqrt {-1-\sqrt {5}+2 x^2} \sqrt {-1+\sqrt {5}+2 x^2}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x-x^2+x^3}} \\ & = \frac {\sqrt {x} \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \operatorname {EllipticF}\left (\arcsin \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 {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3}}+\frac {\left (2 i \sqrt {x} \sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}}\right ) \text {Subst}\left (\int \frac {1}{\left (-i-x^2\right ) \sqrt {-1+\sqrt {5}+2 x^2} \sqrt {1+\frac {2 x^2}{-1-\sqrt {5}}}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x-x^2+x^3}}+\frac {\left (2 i \sqrt {x} \sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}}\right ) \text {Subst}\left (\int \frac {1}{\left (-i+x^2\right ) \sqrt {-1+\sqrt {5}+2 x^2} \sqrt {1+\frac {2 x^2}{-1-\sqrt {5}}}} \, dx,x,\sqrt {x}\right )}{\sqrt {-x-x^2+x^3}} \\ & = \frac {\sqrt {x} \sqrt {-2-\left (1-\sqrt {5}\right ) x} \sqrt {\frac {2+\left (1+\sqrt {5}\right ) x}{2+\left (1-\sqrt {5}\right ) x}} \operatorname {EllipticF}\left (\arcsin \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 {\frac {1}{2+\left (1-\sqrt {5}\right ) x}} \sqrt {-x-x^2+x^3}}-\frac {\sqrt {3+\sqrt {5}} \sqrt {x} \sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \operatorname {EllipticPi}\left (-\frac {1}{2} i \left (1+\sqrt {5}\right ),\arcsin \left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right ),\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{\sqrt {-x-x^2+x^3}}-\frac {\sqrt {3+\sqrt {5}} \sqrt {x} \sqrt {-1+\sqrt {5}+2 x} \sqrt {1-\frac {2 x}{1+\sqrt {5}}} \operatorname {EllipticPi}\left (\frac {1}{2} i \left (1+\sqrt {5}\right ),\arcsin \left (\sqrt {\frac {2}{1+\sqrt {5}}} \sqrt {x}\right ),\frac {1}{2} \left (-3-\sqrt {5}\right )\right )}{\sqrt {-x-x^2+x^3}} \\ \end{align*}
Time = 0.39 (sec) , antiderivative size = 107, normalized size of antiderivative = 1.10 \[ \int \frac {-1+x^2}{\left (1+x^2\right ) \sqrt {-x-x^2+x^3}} \, dx=-\frac {\sqrt {x} \sqrt {-1-x+x^2} \left (\sqrt {1+2 i} \arctan \left (\frac {\sqrt {1-2 i} \sqrt {x}}{\sqrt {-1-x+x^2}}\right )+\sqrt {1-2 i} \arctan \left (\frac {\sqrt {1+2 i} \sqrt {x}}{\sqrt {-1-x+x^2}}\right )\right )}{\sqrt {5} \sqrt {x \left (-1-x+x^2\right )}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(191\) vs. \(2(77)=154\).
Time = 18.80 (sec) , antiderivative size = 192, normalized size of antiderivative = 1.98
method | result | size |
default | \(-\frac {-\sqrt {5}\, \ln \left (\frac {-\sqrt {x \left (x^{2}-x -1\right )}\, \sqrt {-2+2 \sqrt {5}}+x \sqrt {5}+x^{2}-x -1}{x}\right )+\sqrt {5}\, \ln \left (\frac {\sqrt {x \left (x^{2}-x -1\right )}\, \sqrt {-2+2 \sqrt {5}}+x \sqrt {5}+x^{2}-x -1}{x}\right )+\left (5+\sqrt {5}\right ) \left (\arctan \left (\frac {\sqrt {-2+2 \sqrt {5}}\, x -2 \sqrt {x \left (x^{2}-x -1\right )}}{x \sqrt {2+2 \sqrt {5}}}\right )-\arctan \left (\frac {\sqrt {-2+2 \sqrt {5}}\, x +2 \sqrt {x \left (x^{2}-x -1\right )}}{x \sqrt {2+2 \sqrt {5}}}\right )\right )}{5 \sqrt {2+2 \sqrt {5}}}\) | \(192\) |
pseudoelliptic | \(-\frac {-\sqrt {5}\, \ln \left (\frac {-\sqrt {x \left (x^{2}-x -1\right )}\, \sqrt {-2+2 \sqrt {5}}+x \sqrt {5}+x^{2}-x -1}{x}\right )+\sqrt {5}\, \ln \left (\frac {\sqrt {x \left (x^{2}-x -1\right )}\, \sqrt {-2+2 \sqrt {5}}+x \sqrt {5}+x^{2}-x -1}{x}\right )+\left (5+\sqrt {5}\right ) \left (\arctan \left (\frac {\sqrt {-2+2 \sqrt {5}}\, x -2 \sqrt {x \left (x^{2}-x -1\right )}}{x \sqrt {2+2 \sqrt {5}}}\right )-\arctan \left (\frac {\sqrt {-2+2 \sqrt {5}}\, x +2 \sqrt {x \left (x^{2}-x -1\right )}}{x \sqrt {2+2 \sqrt {5}}}\right )\right )}{5 \sqrt {2+2 \sqrt {5}}}\) | \(192\) |
trager | \(\frac {\operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right ) \ln \left (-\frac {325 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{5} x^{2}-325 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{5}+90 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{3} x^{2}+520 x \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{3}+80 \sqrt {x^{3}-x^{2}-x}\, \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}-90 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{3}-31 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right ) x^{2}+248 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right ) x +192 \sqrt {x^{3}-x^{2}-x}+31 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )}{{\left (5 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2} x -5 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}-x -3\right )}^{2}}\right )}{2}-\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}+25 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}+10\right ) \ln \left (\frac {65 \operatorname {RootOf}\left (\textit {\_Z}^{2}+25 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}+10\right ) \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{4} x^{2}-65 \operatorname {RootOf}\left (\textit {\_Z}^{2}+25 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}+10\right ) \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{4}+34 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2} \operatorname {RootOf}\left (\textit {\_Z}^{2}+25 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}+10\right ) x^{2}-104 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2} \operatorname {RootOf}\left (\textit {\_Z}^{2}+25 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}+10\right ) x +80 \sqrt {x^{3}-x^{2}-x}\, \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}-34 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2} \operatorname {RootOf}\left (\textit {\_Z}^{2}+25 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}+10\right )-3 \operatorname {RootOf}\left (\textit {\_Z}^{2}+25 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}+10\right ) x^{2}+8 \operatorname {RootOf}\left (\textit {\_Z}^{2}+25 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}+10\right ) x -160 \sqrt {x^{3}-x^{2}-x}+3 \operatorname {RootOf}\left (\textit {\_Z}^{2}+25 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}+10\right )}{{\left (5 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2} x -5 \operatorname {RootOf}\left (5 \textit {\_Z}^{4}+2 \textit {\_Z}^{2}+1\right )^{2}+3 x +1\right )}^{2}}\right )}{10}\) | \(654\) |
elliptic | \(\text {Expression too large to display}\) | \(873\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 293 vs. \(2 (69) = 138\).
Time = 0.30 (sec) , antiderivative size = 293, normalized size of antiderivative = 3.02 \[ \int \frac {-1+x^2}{\left (1+x^2\right ) \sqrt {-x-x^2+x^3}} \, dx=\frac {1}{40} \, \sqrt {5} \sqrt {-8 i - 4} \log \left (\frac {5 \, x^{4} + \left (20 i - 10\right ) \, x^{3} + \sqrt {5} \sqrt {-8 i - 4} \sqrt {x^{3} - x^{2} - x} {\left (-\left (2 i - 1\right ) \, x^{2} + \left (2 i + 4\right ) \, x + 2 i - 1\right )} - \left (20 i + 30\right ) \, x^{2} - \left (20 i - 10\right ) \, x + 5}{x^{4} + 2 \, x^{2} + 1}\right ) - \frac {1}{40} \, \sqrt {5} \sqrt {-8 i - 4} \log \left (\frac {5 \, x^{4} + \left (20 i - 10\right ) \, x^{3} + \sqrt {5} \sqrt {-8 i - 4} \sqrt {x^{3} - x^{2} - x} {\left (\left (2 i - 1\right ) \, x^{2} - \left (2 i + 4\right ) \, x - 2 i + 1\right )} - \left (20 i + 30\right ) \, x^{2} - \left (20 i - 10\right ) \, x + 5}{x^{4} + 2 \, x^{2} + 1}\right ) + \frac {1}{40} \, \sqrt {5} \sqrt {8 i - 4} \log \left (\frac {5 \, x^{4} - \left (20 i + 10\right ) \, x^{3} + \sqrt {5} \sqrt {8 i - 4} \sqrt {x^{3} - x^{2} - x} {\left (\left (2 i + 1\right ) \, x^{2} - \left (2 i - 4\right ) \, x - 2 i - 1\right )} + \left (20 i - 30\right ) \, x^{2} + \left (20 i + 10\right ) \, x + 5}{x^{4} + 2 \, x^{2} + 1}\right ) - \frac {1}{40} \, \sqrt {5} \sqrt {8 i - 4} \log \left (\frac {5 \, x^{4} - \left (20 i + 10\right ) \, x^{3} + \sqrt {5} \sqrt {8 i - 4} \sqrt {x^{3} - x^{2} - x} {\left (-\left (2 i + 1\right ) \, x^{2} + \left (2 i - 4\right ) \, x + 2 i + 1\right )} + \left (20 i - 30\right ) \, x^{2} + \left (20 i + 10\right ) \, x + 5}{x^{4} + 2 \, x^{2} + 1}\right ) \]
[In]
[Out]
\[ \int \frac {-1+x^2}{\left (1+x^2\right ) \sqrt {-x-x^2+x^3}} \, dx=\int \frac {\left (x - 1\right ) \left (x + 1\right )}{\sqrt {x \left (x^{2} - x - 1\right )} \left (x^{2} + 1\right )}\, dx \]
[In]
[Out]
\[ \int \frac {-1+x^2}{\left (1+x^2\right ) \sqrt {-x-x^2+x^3}} \, dx=\int { \frac {x^{2} - 1}{\sqrt {x^{3} - x^{2} - x} {\left (x^{2} + 1\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {-1+x^2}{\left (1+x^2\right ) \sqrt {-x-x^2+x^3}} \, dx=\int { \frac {x^{2} - 1}{\sqrt {x^{3} - x^{2} - x} {\left (x^{2} + 1\right )}} \,d x } \]
[In]
[Out]
Time = 0.15 (sec) , antiderivative size = 210, normalized size of antiderivative = 2.16 \[ \int \frac {-1+x^2}{\left (1+x^2\right ) \sqrt {-x-x^2+x^3}} \, dx=-\frac {\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}}}\,\left (\sqrt {5}+1\right )\,\sqrt {\frac {\frac {\sqrt {5}}{2}-x+\frac {1}{2}}{\frac {\sqrt {5}}{2}+\frac {1}{2}}}\,\left (-\mathrm {F}\left (\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 )+\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 )+\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 )\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}} \]
[In]
[Out]