Integrand size = 23, antiderivative size = 188 \[ \int \frac {1}{(-b+a x) \sqrt [4]{-x^3+x^4}} \, dx=\frac {\sqrt {2} \arctan \left (\frac {\sqrt {2} \sqrt [4]{a-b} \sqrt [4]{b} x \sqrt [4]{-x^3+x^4}}{\sqrt {a-b} x^2-\sqrt {b} \sqrt {-x^3+x^4}}\right )}{\sqrt [4]{a-b} b^{3/4}}-\frac {\sqrt {2} \text {arctanh}\left (\frac {\frac {\sqrt [4]{a-b} x^2}{\sqrt {2} \sqrt [4]{b}}+\frac {\sqrt [4]{b} \sqrt {-x^3+x^4}}{\sqrt {2} \sqrt [4]{a-b}}}{x \sqrt [4]{-x^3+x^4}}\right )}{\sqrt [4]{a-b} b^{3/4}} \]
[Out]
Time = 0.08 (sec) , antiderivative size = 139, normalized size of antiderivative = 0.74, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {2081, 95, 218, 214, 211} \[ \int \frac {1}{(-b+a x) \sqrt [4]{-x^3+x^4}} \, dx=-\frac {2 \sqrt [4]{x-1} x^{3/4} \arctan \left (\frac {\sqrt [4]{x} \sqrt [4]{b-a}}{\sqrt [4]{b} \sqrt [4]{x-1}}\right )}{b^{3/4} \sqrt [4]{x^4-x^3} \sqrt [4]{b-a}}-\frac {2 \sqrt [4]{x-1} x^{3/4} \text {arctanh}\left (\frac {\sqrt [4]{x} \sqrt [4]{b-a}}{\sqrt [4]{b} \sqrt [4]{x-1}}\right )}{b^{3/4} \sqrt [4]{x^4-x^3} \sqrt [4]{b-a}} \]
[In]
[Out]
Rule 95
Rule 211
Rule 214
Rule 218
Rule 2081
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt [4]{-1+x} x^{3/4}\right ) \int \frac {1}{\sqrt [4]{-1+x} x^{3/4} (-b+a x)} \, dx}{\sqrt [4]{-x^3+x^4}} \\ & = \frac {\left (4 \sqrt [4]{-1+x} x^{3/4}\right ) \text {Subst}\left (\int \frac {1}{-b-(a-b) x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt [4]{-x^3+x^4}} \\ & = -\frac {\left (2 \sqrt [4]{-1+x} x^{3/4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b}-\sqrt {-a+b} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt {b} \sqrt [4]{-x^3+x^4}}-\frac {\left (2 \sqrt [4]{-1+x} x^{3/4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b}+\sqrt {-a+b} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-1+x}}\right )}{\sqrt {b} \sqrt [4]{-x^3+x^4}} \\ & = -\frac {2 \sqrt [4]{-1+x} x^{3/4} \arctan \left (\frac {\sqrt [4]{-a+b} \sqrt [4]{x}}{\sqrt [4]{b} \sqrt [4]{-1+x}}\right )}{b^{3/4} \sqrt [4]{-a+b} \sqrt [4]{-x^3+x^4}}-\frac {2 \sqrt [4]{-1+x} x^{3/4} \text {arctanh}\left (\frac {\sqrt [4]{-a+b} \sqrt [4]{x}}{\sqrt [4]{b} \sqrt [4]{-1+x}}\right )}{b^{3/4} \sqrt [4]{-a+b} \sqrt [4]{-x^3+x^4}} \\ \end{align*}
Time = 0.57 (sec) , antiderivative size = 173, normalized size of antiderivative = 0.92 \[ \int \frac {1}{(-b+a x) \sqrt [4]{-x^3+x^4}} \, dx=\frac {\sqrt {2} \sqrt [4]{-1+x} x^{3/4} \left (\arctan \left (\frac {\sqrt {2} \sqrt [4]{a-b} \sqrt [4]{b} \sqrt [4]{-1+x} \sqrt [4]{x}}{-\sqrt {b} \sqrt {-1+x}+\sqrt {a-b} \sqrt {x}}\right )-\text {arctanh}\left (\frac {\sqrt {b} \sqrt {-1+x}+\sqrt {a-b} \sqrt {x}}{\sqrt {2} \sqrt [4]{a-b} \sqrt [4]{b} \sqrt [4]{-1+x} \sqrt [4]{x}}\right )\right )}{\sqrt [4]{a-b} b^{3/4} \sqrt [4]{(-1+x) x^3}} \]
[In]
[Out]
Time = 1.33 (sec) , antiderivative size = 217, normalized size of antiderivative = 1.15
method | result | size |
pseudoelliptic | \(\frac {\sqrt {2}\, \left (\ln \left (\frac {-\left (\frac {a -b}{b}\right )^{\frac {1}{4}} \left (x^{3} \left (-1+x \right )\right )^{\frac {1}{4}} \sqrt {2}\, x +\sqrt {\frac {a -b}{b}}\, x^{2}+\sqrt {x^{3} \left (-1+x \right )}}{\left (\frac {a -b}{b}\right )^{\frac {1}{4}} \left (x^{3} \left (-1+x \right )\right )^{\frac {1}{4}} \sqrt {2}\, x +\sqrt {\frac {a -b}{b}}\, x^{2}+\sqrt {x^{3} \left (-1+x \right )}}\right )+2 \arctan \left (\frac {\left (\frac {a -b}{b}\right )^{\frac {1}{4}} x +\sqrt {2}\, \left (x^{3} \left (-1+x \right )\right )^{\frac {1}{4}}}{\left (\frac {a -b}{b}\right )^{\frac {1}{4}} x}\right )-2 \arctan \left (\frac {\left (\frac {a -b}{b}\right )^{\frac {1}{4}} x -\sqrt {2}\, \left (x^{3} \left (-1+x \right )\right )^{\frac {1}{4}}}{\left (\frac {a -b}{b}\right )^{\frac {1}{4}} x}\right )\right )}{2 \left (\frac {a -b}{b}\right )^{\frac {1}{4}} b}\) | \(217\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.26 (sec) , antiderivative size = 269, normalized size of antiderivative = 1.43 \[ \int \frac {1}{(-b+a x) \sqrt [4]{-x^3+x^4}} \, dx=\left (-\frac {1}{a b^{3} - b^{4}}\right )^{\frac {1}{4}} \log \left (\frac {{\left (a b^{2} - b^{3}\right )} x \left (-\frac {1}{a b^{3} - b^{4}}\right )^{\frac {3}{4}} + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) - \left (-\frac {1}{a b^{3} - b^{4}}\right )^{\frac {1}{4}} \log \left (-\frac {{\left (a b^{2} - b^{3}\right )} x \left (-\frac {1}{a b^{3} - b^{4}}\right )^{\frac {3}{4}} - {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) - i \, \left (-\frac {1}{a b^{3} - b^{4}}\right )^{\frac {1}{4}} \log \left (\frac {i \, {\left (a b^{2} - b^{3}\right )} x \left (-\frac {1}{a b^{3} - b^{4}}\right )^{\frac {3}{4}} + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) + i \, \left (-\frac {1}{a b^{3} - b^{4}}\right )^{\frac {1}{4}} \log \left (\frac {-i \, {\left (a b^{2} - b^{3}\right )} x \left (-\frac {1}{a b^{3} - b^{4}}\right )^{\frac {3}{4}} + {\left (x^{4} - x^{3}\right )}^{\frac {1}{4}}}{x}\right ) \]
[In]
[Out]
\[ \int \frac {1}{(-b+a x) \sqrt [4]{-x^3+x^4}} \, dx=\int \frac {1}{\sqrt [4]{x^{3} \left (x - 1\right )} \left (a x - b\right )}\, dx \]
[In]
[Out]
\[ \int \frac {1}{(-b+a x) \sqrt [4]{-x^3+x^4}} \, dx=\int { \frac {1}{{\left (x^{4} - x^{3}\right )}^{\frac {1}{4}} {\left (a x - b\right )}} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 317 vs. \(2 (147) = 294\).
Time = 0.29 (sec) , antiderivative size = 317, normalized size of antiderivative = 1.69 \[ \int \frac {1}{(-b+a x) \sqrt [4]{-x^3+x^4}} \, dx=\frac {2 \, {\left (a b^{3} - b^{4}\right )}^{\frac {3}{4}} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \left (\frac {a - b}{b}\right )^{\frac {1}{4}} + 2 \, {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}\right )}}{2 \, \left (\frac {a - b}{b}\right )^{\frac {1}{4}}}\right )}{\sqrt {2} a b^{3} - \sqrt {2} b^{4}} + \frac {2 \, {\left (a b^{3} - b^{4}\right )}^{\frac {3}{4}} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \left (\frac {a - b}{b}\right )^{\frac {1}{4}} - 2 \, {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}}\right )}}{2 \, \left (\frac {a - b}{b}\right )^{\frac {1}{4}}}\right )}{\sqrt {2} a b^{3} - \sqrt {2} b^{4}} - \frac {{\left (a b^{3} - b^{4}\right )}^{\frac {3}{4}} \log \left (\sqrt {2} \left (\frac {a - b}{b}\right )^{\frac {1}{4}} {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} + \sqrt {\frac {a - b}{b}} + \sqrt {-\frac {1}{x} + 1}\right )}{\sqrt {2} a b^{3} - \sqrt {2} b^{4}} + \frac {{\left (a b^{3} - b^{4}\right )}^{\frac {3}{4}} \log \left (-\sqrt {2} \left (\frac {a - b}{b}\right )^{\frac {1}{4}} {\left (-\frac {1}{x} + 1\right )}^{\frac {1}{4}} + \sqrt {\frac {a - b}{b}} + \sqrt {-\frac {1}{x} + 1}\right )}{\sqrt {2} a b^{3} - \sqrt {2} b^{4}} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{(-b+a x) \sqrt [4]{-x^3+x^4}} \, dx=-\int \frac {1}{{\left (x^4-x^3\right )}^{1/4}\,\left (b-a\,x\right )} \,d x \]
[In]
[Out]