Integrand size = 26, antiderivative size = 112 \[ \int \frac {x^3 \sqrt {-x+x^4}}{-b+a x^3} \, dx=\frac {x \sqrt {-x+x^4}}{3 a}+\frac {2 \sqrt {a-b} \sqrt {b} \arctan \left (\frac {\sqrt {a-b} x \sqrt {-x+x^4}}{\sqrt {b} (-1+x) \left (1+x+x^2\right )}\right )}{3 a^2}+\frac {(-a+2 b) \text {arctanh}\left (\frac {x^2}{\sqrt {-x+x^4}}\right )}{3 a^2} \]
[Out]
Time = 0.17 (sec) , antiderivative size = 149, normalized size of antiderivative = 1.33, number of steps used = 9, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.346, Rules used = {2067, 477, 476, 489, 537, 223, 212, 385, 211} \[ \int \frac {x^3 \sqrt {-x+x^4}}{-b+a x^3} \, dx=\frac {2 \sqrt {b} \sqrt {x^4-x} \sqrt {a-b} \arctan \left (\frac {x^{3/2} \sqrt {a-b}}{\sqrt {b} \sqrt {x^3-1}}\right )}{3 a^2 \sqrt {x^3-1} \sqrt {x}}-\frac {\sqrt {x^4-x} (a-2 b) \text {arctanh}\left (\frac {x^{3/2}}{\sqrt {x^3-1}}\right )}{3 a^2 \sqrt {x^3-1} \sqrt {x}}+\frac {\sqrt {x^4-x} x}{3 a} \]
[In]
[Out]
Rule 211
Rule 212
Rule 223
Rule 385
Rule 476
Rule 477
Rule 489
Rule 537
Rule 2067
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {-x+x^4} \int \frac {x^{7/2} \sqrt {-1+x^3}}{-b+a x^3} \, dx}{\sqrt {x} \sqrt {-1+x^3}} \\ & = \frac {\left (2 \sqrt {-x+x^4}\right ) \text {Subst}\left (\int \frac {x^8 \sqrt {-1+x^6}}{-b+a x^6} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-1+x^3}} \\ & = \frac {\left (2 \sqrt {-x+x^4}\right ) \text {Subst}\left (\int \frac {x^2 \sqrt {-1+x^2}}{-b+a x^2} \, dx,x,x^{3/2}\right )}{3 \sqrt {x} \sqrt {-1+x^3}} \\ & = \frac {x \sqrt {-x+x^4}}{3 a}-\frac {\sqrt {-x+x^4} \text {Subst}\left (\int \frac {b+(a-2 b) x^2}{\sqrt {-1+x^2} \left (-b+a x^2\right )} \, dx,x,x^{3/2}\right )}{3 a \sqrt {x} \sqrt {-1+x^3}} \\ & = \frac {x \sqrt {-x+x^4}}{3 a}-\frac {\left ((a-2 b) \sqrt {-x+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1+x^2}} \, dx,x,x^{3/2}\right )}{3 a^2 \sqrt {x} \sqrt {-1+x^3}}-\frac {\left (2 (a-b) b \sqrt {-x+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1+x^2} \left (-b+a x^2\right )} \, dx,x,x^{3/2}\right )}{3 a^2 \sqrt {x} \sqrt {-1+x^3}} \\ & = \frac {x \sqrt {-x+x^4}}{3 a}-\frac {\left ((a-2 b) \sqrt {-x+x^4}\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x^{3/2}}{\sqrt {-1+x^3}}\right )}{3 a^2 \sqrt {x} \sqrt {-1+x^3}}-\frac {\left (2 (a-b) b \sqrt {-x+x^4}\right ) \text {Subst}\left (\int \frac {1}{-b-(a-b) x^2} \, dx,x,\frac {x^{3/2}}{\sqrt {-1+x^3}}\right )}{3 a^2 \sqrt {x} \sqrt {-1+x^3}} \\ & = \frac {x \sqrt {-x+x^4}}{3 a}+\frac {2 \sqrt {a-b} \sqrt {b} \sqrt {-x+x^4} \arctan \left (\frac {\sqrt {a-b} x^{3/2}}{\sqrt {b} \sqrt {-1+x^3}}\right )}{3 a^2 \sqrt {x} \sqrt {-1+x^3}}-\frac {(a-2 b) \sqrt {-x+x^4} \text {arctanh}\left (\frac {x^{3/2}}{\sqrt {-1+x^3}}\right )}{3 a^2 \sqrt {x} \sqrt {-1+x^3}} \\ \end{align*}
Time = 0.62 (sec) , antiderivative size = 129, normalized size of antiderivative = 1.15 \[ \int \frac {x^3 \sqrt {-x+x^4}}{-b+a x^3} \, dx=\frac {\sqrt {x} \sqrt {-1+x^3} \left (a x^{3/2} \sqrt {-1+x^3}+2 \sqrt {a-b} \sqrt {b} \arctan \left (\frac {b-a x^{3/2} \left (x^{3/2}+\sqrt {-1+x^3}\right )}{\sqrt {a-b} \sqrt {b}}\right )-(a-2 b) \log \left (x^{3/2}+\sqrt {-1+x^3}\right )\right )}{3 a^2 \sqrt {x \left (-1+x^3\right )}} \]
[In]
[Out]
Time = 1.57 (sec) , antiderivative size = 104, normalized size of antiderivative = 0.93
method | result | size |
risch | \(\frac {x^{2} \left (x^{3}-1\right )}{3 a \sqrt {x \left (x^{3}-1\right )}}-\frac {\frac {\left (a -2 b \right ) \ln \left (-2 x^{3}-2 x \sqrt {x^{4}-x}+1\right )}{3 a}+\frac {4 \left (a -b \right ) b \arctan \left (\frac {\sqrt {x^{4}-x}\, b}{x^{2} \sqrt {\left (a -b \right ) b}}\right )}{3 a \sqrt {\left (a -b \right ) b}}}{2 a}\) | \(104\) |
pseudoelliptic | \(-\frac {2 \left (\left (a -b \right ) b \arctan \left (\frac {\sqrt {x^{4}-x}\, b}{x^{2} \sqrt {\left (a -b \right ) b}}\right )-\frac {\sqrt {\left (a -b \right ) b}\, \left (\left (\frac {a}{2}-b \right ) \ln \left (\frac {-x^{2}+\sqrt {x^{4}-x}}{x^{2}}\right )+\left (-\frac {a}{2}+b \right ) \ln \left (\frac {x^{2}+\sqrt {x^{4}-x}}{x^{2}}\right )+\sqrt {x^{4}-x}\, a x \right )}{2}\right )}{3 \sqrt {\left (a -b \right ) b}\, a^{2}}\) | \(123\) |
default | \(\frac {\frac {x \sqrt {x^{4}-x}}{3}+\frac {\ln \left (\frac {-x^{2}+\sqrt {x^{4}-x}}{x^{2}}\right )}{6}-\frac {\ln \left (\frac {x^{2}+\sqrt {x^{4}-x}}{x^{2}}\right )}{6}}{a}-\frac {b \left (\left (2 a -2 b \right ) \arctan \left (\frac {\sqrt {x^{4}-x}\, b}{x^{2} \sqrt {\left (a -b \right ) b}}\right )+\sqrt {\left (a -b \right ) b}\, \left (\ln \left (\frac {-x^{2}+\sqrt {x^{4}-x}}{x^{2}}\right )-\ln \left (\frac {x^{2}+\sqrt {x^{4}-x}}{x^{2}}\right )\right )\right )}{3 a^{2} \sqrt {\left (a -b \right ) b}}\) | \(160\) |
elliptic | \(\text {Expression too large to display}\) | \(665\) |
[In]
[Out]
none
Time = 1.02 (sec) , antiderivative size = 247, normalized size of antiderivative = 2.21 \[ \int \frac {x^3 \sqrt {-x+x^4}}{-b+a x^3} \, dx=\left [\frac {2 \, \sqrt {x^{4} - x} a x - {\left (a - 2 \, b\right )} \log \left (-2 \, x^{3} - 2 \, \sqrt {x^{4} - x} x + 1\right ) + \sqrt {-a b + b^{2}} \log \left (-\frac {{\left (a^{2} - 8 \, a b + 8 \, b^{2}\right )} x^{6} + 2 \, {\left (3 \, a b - 4 \, b^{2}\right )} x^{3} + 4 \, {\left ({\left (a - 2 \, b\right )} x^{4} + b x\right )} \sqrt {x^{4} - x} \sqrt {-a b + b^{2}} + b^{2}}{a^{2} x^{6} - 2 \, a b x^{3} + b^{2}}\right )}{6 \, a^{2}}, \frac {2 \, \sqrt {x^{4} - x} a x - {\left (a - 2 \, b\right )} \log \left (-2 \, x^{3} - 2 \, \sqrt {x^{4} - x} x + 1\right ) + 2 \, \sqrt {a b - b^{2}} \arctan \left (-\frac {2 \, \sqrt {x^{4} - x} \sqrt {a b - b^{2}} x}{{\left (a - 2 \, b\right )} x^{3} + b}\right )}{6 \, a^{2}}\right ] \]
[In]
[Out]
\[ \int \frac {x^3 \sqrt {-x+x^4}}{-b+a x^3} \, dx=\int \frac {x^{3} \sqrt {x \left (x - 1\right ) \left (x^{2} + x + 1\right )}}{a x^{3} - b}\, dx \]
[In]
[Out]
\[ \int \frac {x^3 \sqrt {-x+x^4}}{-b+a x^3} \, dx=\int { \frac {\sqrt {x^{4} - x} x^{3}}{a x^{3} - b} \,d x } \]
[In]
[Out]
none
Time = 0.38 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.89 \[ \int \frac {x^3 \sqrt {-x+x^4}}{-b+a x^3} \, dx=\frac {\sqrt {x^{4} - x} x}{3 \, a} - \frac {{\left (a - 2 \, b\right )} \log \left (\sqrt {-\frac {1}{x^{3}} + 1} + 1\right )}{6 \, a^{2}} + \frac {{\left (a - 2 \, b\right )} \log \left ({\left | \sqrt {-\frac {1}{x^{3}} + 1} - 1 \right |}\right )}{6 \, a^{2}} - \frac {2 \, \sqrt {a b - b^{2}} \arctan \left (\frac {b \sqrt {-\frac {1}{x^{3}} + 1}}{\sqrt {a b - b^{2}}}\right )}{3 \, a^{2}} \]
[In]
[Out]
Timed out. \[ \int \frac {x^3 \sqrt {-x+x^4}}{-b+a x^3} \, dx=-\int \frac {x^3\,\sqrt {x^4-x}}{b-a\,x^3} \,d x \]
[In]
[Out]