Optimal. Leaf size=103 \[ -\frac {2^{3/4} \text {ArcTan}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} \left (b x+a x^4\right )^{3/4}}{b+a x^3}\right )}{3 \sqrt [4]{a} b}-\frac {2^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} \left (b x+a x^4\right )^{3/4}}{b+a x^3}\right )}{3 \sqrt [4]{a} b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 149, normalized size of antiderivative = 1.45, number of steps
used = 7, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {2081, 477, 476,
385, 218, 212, 209} \begin {gather*} -\frac {2^{3/4} \sqrt [4]{x} \sqrt [4]{a x^3+b} \text {ArcTan}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} x^{3/4}}{\sqrt [4]{a x^3+b}}\right )}{3 \sqrt [4]{a} b \sqrt [4]{a x^4+b x}}-\frac {2^{3/4} \sqrt [4]{x} \sqrt [4]{a x^3+b} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} x^{3/4}}{\sqrt [4]{a x^3+b}}\right )}{3 \sqrt [4]{a} b \sqrt [4]{a x^4+b x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 385
Rule 476
Rule 477
Rule 2081
Rubi steps
\begin {align*} \int \frac {1}{\left (-b+a x^3\right ) \sqrt [4]{b x+a x^4}} \, dx &=\frac {\left (\sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \int \frac {1}{\sqrt [4]{x} \left (-b+a x^3\right ) \sqrt [4]{b+a x^3}} \, dx}{\sqrt [4]{b x+a x^4}}\\ &=\frac {\left (4 \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \text {Subst}\left (\int \frac {x^2}{\left (-b+a x^{12}\right ) \sqrt [4]{b+a x^{12}}} \, dx,x,\sqrt [4]{x}\right )}{\sqrt [4]{b x+a x^4}}\\ &=\frac {\left (4 \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \text {Subst}\left (\int \frac {1}{\left (-b+a x^4\right ) \sqrt [4]{b+a x^4}} \, dx,x,x^{3/4}\right )}{3 \sqrt [4]{b x+a x^4}}\\ &=\frac {\left (4 \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \text {Subst}\left (\int \frac {1}{-b+2 a b x^4} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{b+a x^3}}\right )}{3 \sqrt [4]{b x+a x^4}}\\ &=-\frac {\left (2 \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \text {Subst}\left (\int \frac {1}{1-\sqrt {2} \sqrt {a} x^2} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{b+a x^3}}\right )}{3 b \sqrt [4]{b x+a x^4}}-\frac {\left (2 \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \text {Subst}\left (\int \frac {1}{1+\sqrt {2} \sqrt {a} x^2} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{b+a x^3}}\right )}{3 b \sqrt [4]{b x+a x^4}}\\ &=-\frac {2^{3/4} \sqrt [4]{x} \sqrt [4]{b+a x^3} \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} x^{3/4}}{\sqrt [4]{b+a x^3}}\right )}{3 \sqrt [4]{a} b \sqrt [4]{b x+a x^4}}-\frac {2^{3/4} \sqrt [4]{x} \sqrt [4]{b+a x^3} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} x^{3/4}}{\sqrt [4]{b+a x^3}}\right )}{3 \sqrt [4]{a} b \sqrt [4]{b x+a x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 10.03, size = 44, normalized size = 0.43 \begin {gather*} -\frac {4 x \, _2F_1\left (\frac {1}{4},1;\frac {5}{4};\frac {2 a x^3}{b+a x^3}\right )}{3 b \sqrt [4]{x \left (b+a x^3\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {1}{\left (a \,x^{3}-b \right ) \left (a \,x^{4}+b x \right )^{\frac {1}{4}}}\, dx\]
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. 422 vs.
\(2 (79) = 158\).
time = 58.36, size = 422, normalized size = 4.10 \begin {gather*} \frac {2}{3} \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \left (\frac {1}{a b^{4}}\right )^{\frac {1}{4}} \arctan \left (\frac {2 \, {\left (2 \, \left (\frac {1}{2}\right )^{\frac {3}{4}} {\left (a x^{4} + b x\right )}^{\frac {3}{4}} a b^{3} \left (\frac {1}{a b^{4}}\right )^{\frac {3}{4}} + 2 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} {\left (a x^{4} + b x\right )}^{\frac {1}{4}} a b x^{2} \left (\frac {1}{a b^{4}}\right )^{\frac {1}{4}} + {\left (2 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \sqrt {a x^{4} + b x} a b x \left (\frac {1}{a b^{4}}\right )^{\frac {1}{4}} + \left (\frac {1}{2}\right )^{\frac {3}{4}} {\left (3 \, a^{2} b^{3} x^{3} + a b^{4}\right )} \left (\frac {1}{a b^{4}}\right )^{\frac {3}{4}}\right )} \sqrt {\sqrt {\frac {1}{2}} b^{2} \sqrt {\frac {1}{a b^{4}}}}\right )}}{a x^{3} - b}\right ) - \frac {1}{6} \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \left (\frac {1}{a b^{4}}\right )^{\frac {1}{4}} \log \left (\frac {4 \, \left (\frac {1}{2}\right )^{\frac {3}{4}} \sqrt {a x^{4} + b x} a b^{3} x \left (\frac {1}{a b^{4}}\right )^{\frac {3}{4}} + 4 \, \sqrt {\frac {1}{2}} {\left (a x^{4} + b x\right )}^{\frac {1}{4}} a b^{2} x^{2} \sqrt {\frac {1}{a b^{4}}} + \left (\frac {1}{2}\right )^{\frac {1}{4}} {\left (3 \, a b x^{3} + b^{2}\right )} \left (\frac {1}{a b^{4}}\right )^{\frac {1}{4}} + 2 \, {\left (a x^{4} + b x\right )}^{\frac {3}{4}}}{a x^{3} - b}\right ) + \frac {1}{6} \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \left (\frac {1}{a b^{4}}\right )^{\frac {1}{4}} \log \left (-\frac {4 \, \left (\frac {1}{2}\right )^{\frac {3}{4}} \sqrt {a x^{4} + b x} a b^{3} x \left (\frac {1}{a b^{4}}\right )^{\frac {3}{4}} - 4 \, \sqrt {\frac {1}{2}} {\left (a x^{4} + b x\right )}^{\frac {1}{4}} a b^{2} x^{2} \sqrt {\frac {1}{a b^{4}}} + \left (\frac {1}{2}\right )^{\frac {1}{4}} {\left (3 \, a b x^{3} + b^{2}\right )} \left (\frac {1}{a b^{4}}\right )^{\frac {1}{4}} - 2 \, {\left (a x^{4} + b x\right )}^{\frac {3}{4}}}{a x^{3} - b}\right ) \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 {1}{\sqrt [4]{x \left (a x^{3} + b\right )} \left (a x^{3} - b\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 203 vs.
\(2 (79) = 158\).
time = 0.42, size = 203, normalized size = 1.97 \begin {gather*} -\frac {2^{\frac {1}{4}} \left (-a\right )^{\frac {3}{4}} \arctan \left (\frac {2^{\frac {1}{4}} {\left (2^{\frac {3}{4}} \left (-a\right )^{\frac {1}{4}} + 2 \, {\left (a + \frac {b}{x^{3}}\right )}^{\frac {1}{4}}\right )}}{2 \, \left (-a\right )^{\frac {1}{4}}}\right )}{3 \, a b} - \frac {2^{\frac {1}{4}} \left (-a\right )^{\frac {3}{4}} \arctan \left (-\frac {2^{\frac {1}{4}} {\left (2^{\frac {3}{4}} \left (-a\right )^{\frac {1}{4}} - 2 \, {\left (a + \frac {b}{x^{3}}\right )}^{\frac {1}{4}}\right )}}{2 \, \left (-a\right )^{\frac {1}{4}}}\right )}{3 \, a b} - \frac {2^{\frac {1}{4}} \log \left (2^{\frac {3}{4}} \left (-a\right )^{\frac {1}{4}} {\left (a + \frac {b}{x^{3}}\right )}^{\frac {1}{4}} + \sqrt {2} \sqrt {-a} + \sqrt {a + \frac {b}{x^{3}}}\right )}{6 \, \left (-a\right )^{\frac {1}{4}} b} - \frac {2^{\frac {1}{4}} \left (-a\right )^{\frac {3}{4}} \log \left (-2^{\frac {3}{4}} \left (-a\right )^{\frac {1}{4}} {\left (a + \frac {b}{x^{3}}\right )}^{\frac {1}{4}} + \sqrt {2} \sqrt {-a} + \sqrt {a + \frac {b}{x^{3}}}\right )}{6 \, a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} -\int \frac {1}{{\left (a\,x^4+b\,x\right )}^{1/4}\,\left (b-a\,x^3\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________