Optimal. Leaf size=63 \[ -\text {RootSum}\left [b-a \text {$\#$1}^4+\text {$\#$1}^8\& ,\frac {-\log (x) \text {$\#$1}+\log \left (\sqrt [4]{b x^3+a x^4}-x \text {$\#$1}\right ) \text {$\#$1}}{-a+2 \text {$\#$1}^4}\& \right ] \]
[Out]
________________________________________________________________________________________
Rubi [B] Leaf count is larger than twice the leaf count of optimal. \(182\) vs. \(2(63)=126\).
time = 0.33, antiderivative size = 182, normalized size of antiderivative = 2.89, number of steps
used = 9, number of rules used = 5, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.172, Rules used = {2081, 925, 129,
525, 524} \begin {gather*} -\frac {8 \sqrt [4]{a x^4+b x^3} F_1\left (\frac {3}{4};1,-\frac {1}{4};\frac {7}{4};-\frac {2 x}{a-\sqrt {a^2-4 b}},-\frac {a x}{b}\right )}{3 \left (-a \sqrt {a^2-4 b}+a^2-4 b\right ) \sqrt [4]{\frac {a x}{b}+1}}-\frac {8 \sqrt [4]{a x^4+b x^3} F_1\left (\frac {3}{4};1,-\frac {1}{4};\frac {7}{4};-\frac {2 x}{a+\sqrt {a^2-4 b}},-\frac {a x}{b}\right )}{3 \left (a \sqrt {a^2-4 b}+a^2-4 b\right ) \sqrt [4]{\frac {a x}{b}+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 129
Rule 524
Rule 525
Rule 925
Rule 2081
Rubi steps
\begin {align*} \int \frac {\sqrt [4]{b x^3+a x^4}}{x \left (b+a x+x^2\right )} \, dx &=\frac {\sqrt [4]{b x^3+a x^4} \int \frac {\sqrt [4]{b+a x}}{\sqrt [4]{x} \left (b+a x+x^2\right )} \, dx}{x^{3/4} \sqrt [4]{b+a x}}\\ &=\frac {\sqrt [4]{b x^3+a x^4} \int \left (\frac {2 \sqrt [4]{b+a x}}{\sqrt {a^2-4 b} \sqrt [4]{x} \left (a-\sqrt {a^2-4 b}+2 x\right )}-\frac {2 \sqrt [4]{b+a x}}{\sqrt {a^2-4 b} \sqrt [4]{x} \left (a+\sqrt {a^2-4 b}+2 x\right )}\right ) \, dx}{x^{3/4} \sqrt [4]{b+a x}}\\ &=\frac {\left (2 \sqrt [4]{b x^3+a x^4}\right ) \int \frac {\sqrt [4]{b+a x}}{\sqrt [4]{x} \left (a-\sqrt {a^2-4 b}+2 x\right )} \, dx}{\sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}-\frac {\left (2 \sqrt [4]{b x^3+a x^4}\right ) \int \frac {\sqrt [4]{b+a x}}{\sqrt [4]{x} \left (a+\sqrt {a^2-4 b}+2 x\right )} \, dx}{\sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}\\ &=\frac {\left (\left (a \left (a+\sqrt {a^2-4 b}\right )-2 b\right ) \sqrt [4]{b x^3+a x^4}\right ) \int \frac {1}{\sqrt [4]{x} \left (a+\sqrt {a^2-4 b}+2 x\right ) (b+a x)^{3/4}} \, dx}{\sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}-\frac {\left (\left (a^2-a \sqrt {a^2-4 b}-2 b\right ) \sqrt [4]{b x^3+a x^4}\right ) \int \frac {1}{\sqrt [4]{x} \left (a-\sqrt {a^2-4 b}+2 x\right ) (b+a x)^{3/4}} \, dx}{\sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}\\ &=\frac {\left (4 \left (a \left (a+\sqrt {a^2-4 b}\right )-2 b\right ) \sqrt [4]{b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {x^2}{a+\sqrt {a^2-4 b}-\left (a \left (a+\sqrt {a^2-4 b}\right )-2 b\right ) x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{\sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}-\frac {\left (4 \left (a^2-a \sqrt {a^2-4 b}-2 b\right ) \sqrt [4]{b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {x^2}{a-\sqrt {a^2-4 b}-\left (a \left (a-\sqrt {a^2-4 b}\right )-2 b\right ) x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{\sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}\\ &=-\frac {\left (2 \sqrt {a^2-a \sqrt {a^2-4 b}-2 b} \sqrt [4]{b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a-\sqrt {a^2-4 b}}-\sqrt {a^2-a \sqrt {a^2-4 b}-2 b} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{\sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}+\frac {\left (2 \sqrt {a^2-a \sqrt {a^2-4 b}-2 b} \sqrt [4]{b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a-\sqrt {a^2-4 b}}+\sqrt {a^2-a \sqrt {a^2-4 b}-2 b} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{\sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}+\frac {\left (2 \left (a \left (a+\sqrt {a^2-4 b}\right )-2 b\right ) \sqrt [4]{b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a+\sqrt {a^2-4 b}}-\sqrt {a^2+a \sqrt {a^2-4 b}-2 b} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{\sqrt {a^2-4 b} \sqrt {a^2+a \sqrt {a^2-4 b}-2 b} x^{3/4} \sqrt [4]{b+a x}}-\frac {\left (2 \left (a \left (a+\sqrt {a^2-4 b}\right )-2 b\right ) \sqrt [4]{b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a+\sqrt {a^2-4 b}}+\sqrt {a^2+a \sqrt {a^2-4 b}-2 b} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{\sqrt {a^2-4 b} \sqrt {a^2+a \sqrt {a^2-4 b}-2 b} x^{3/4} \sqrt [4]{b+a x}}\\ &=\frac {2 \sqrt [4]{a^2-a \sqrt {a^2-4 b}-2 b} \sqrt [4]{b x^3+a x^4} \tan ^{-1}\left (\frac {\sqrt [4]{a^2-a \sqrt {a^2-4 b}-2 b} \sqrt [4]{x}}{\sqrt [4]{a-\sqrt {a^2-4 b}} \sqrt [4]{b+a x}}\right )}{\sqrt [4]{a-\sqrt {a^2-4 b}} \sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}-\frac {2 \sqrt [4]{a^2+a \sqrt {a^2-4 b}-2 b} \sqrt [4]{b x^3+a x^4} \tan ^{-1}\left (\frac {\sqrt [4]{a^2+a \sqrt {a^2-4 b}-2 b} \sqrt [4]{x}}{\sqrt [4]{a+\sqrt {a^2-4 b}} \sqrt [4]{b+a x}}\right )}{\sqrt [4]{a+\sqrt {a^2-4 b}} \sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}-\frac {2 \sqrt [4]{a^2-a \sqrt {a^2-4 b}-2 b} \sqrt [4]{b x^3+a x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{a^2-a \sqrt {a^2-4 b}-2 b} \sqrt [4]{x}}{\sqrt [4]{a-\sqrt {a^2-4 b}} \sqrt [4]{b+a x}}\right )}{\sqrt [4]{a-\sqrt {a^2-4 b}} \sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}+\frac {2 \sqrt [4]{a^2+a \sqrt {a^2-4 b}-2 b} \sqrt [4]{b x^3+a x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{a^2+a \sqrt {a^2-4 b}-2 b} \sqrt [4]{x}}{\sqrt [4]{a+\sqrt {a^2-4 b}} \sqrt [4]{b+a x}}\right )}{\sqrt [4]{a+\sqrt {a^2-4 b}} \sqrt {a^2-4 b} x^{3/4} \sqrt [4]{b+a x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 92, normalized size = 1.46 \begin {gather*} -\frac {\sqrt [4]{x^3 (b+a x)} \text {RootSum}\left [b-a \text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-\log \left (\sqrt [4]{x}\right ) \text {$\#$1}+\log \left (\sqrt [4]{b+a x}-\sqrt [4]{x} \text {$\#$1}\right ) \text {$\#$1}}{-a+2 \text {$\#$1}^4}\&\right ]}{x^{3/4} \sqrt [4]{b+a x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (a \,x^{4}+b \,x^{3}\right )^{\frac {1}{4}}}{x \left (a x +x^{2}+b \right )}\, 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 [C] Result contains higher order function than in optimal. Order 3 vs. order
1.
time = 0.45, size = 1918, normalized size = 30.44 \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 [4]{x^{3} \left (a x + b\right )}}{x \left (a x + b + x^{2}\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 [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (a\,x^4+b\,x^3\right )}^{1/4}}{x\,\left (x^2+a\,x+b\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________