Optimal. Leaf size=92 \[ b \text {RootSum}\left [b^2+a b c+a^2 d-b c \text {$\#$1}^4-2 a d \text {$\#$1}^4+d \text {$\#$1}^8\& ,\frac {-\log (x) \text {$\#$1}+\log \left (\sqrt [4]{-b x^3+a x^4}-x \text {$\#$1}\right ) \text {$\#$1}}{-b c-2 a d+2 d \text {$\#$1}^4}\& \right ] \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.46, antiderivative size = 184, normalized size of antiderivative = 2.00, number of steps
used = 9, number of rules used = 5, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, 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}{c-\sqrt {c^2-4 d}},\frac {a x}{b}\right )}{3 \left (-c \sqrt {c^2-4 d}+c^2-4 d\right ) \sqrt [4]{1-\frac {a x}{b}}}-\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}{c+\sqrt {c^2-4 d}},\frac {a x}{b}\right )}{3 \left (c \sqrt {c^2-4 d}+c^2-4 d\right ) \sqrt [4]{1-\frac {a x}{b}}} \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 (d+c 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 (d+c 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 {c^2-4 d} \sqrt [4]{x} \left (c-\sqrt {c^2-4 d}+2 x\right )}-\frac {2 \sqrt [4]{-b+a x}}{\sqrt {c^2-4 d} \sqrt [4]{x} \left (c+\sqrt {c^2-4 d}+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 (c-\sqrt {c^2-4 d}+2 x\right )} \, dx}{\sqrt {c^2-4 d} 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 (c+\sqrt {c^2-4 d}+2 x\right )} \, dx}{\sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}\\ &=-\frac {\left (\left (2 b+a \left (c-\sqrt {c^2-4 d}\right )\right ) \sqrt [4]{-b x^3+a x^4}\right ) \int \frac {1}{\sqrt [4]{x} \left (c-\sqrt {c^2-4 d}+2 x\right ) (-b+a x)^{3/4}} \, dx}{\sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}+\frac {\left (\left (2 b+a \left (c+\sqrt {c^2-4 d}\right )\right ) \sqrt [4]{-b x^3+a x^4}\right ) \int \frac {1}{\sqrt [4]{x} \left (c+\sqrt {c^2-4 d}+2 x\right ) (-b+a x)^{3/4}} \, dx}{\sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}\\ &=-\frac {\left (4 \left (2 b+a \left (c-\sqrt {c^2-4 d}\right )\right ) \sqrt [4]{-b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {x^2}{c-\sqrt {c^2-4 d}-\left (2 b+a \left (c-\sqrt {c^2-4 d}\right )\right ) x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-b+a x}}\right )}{\sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}+\frac {\left (4 \left (2 b+a \left (c+\sqrt {c^2-4 d}\right )\right ) \sqrt [4]{-b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {x^2}{c+\sqrt {c^2-4 d}-\left (2 b+a \left (c+\sqrt {c^2-4 d}\right )\right ) x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-b+a x}}\right )}{\sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}\\ &=-\frac {\left (2 \sqrt {2 b+a \left (c-\sqrt {c^2-4 d}\right )} \sqrt [4]{-b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {c-\sqrt {c^2-4 d}}-\sqrt {2 b+a c-a \sqrt {c^2-4 d}} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-b+a x}}\right )}{\sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}+\frac {\left (2 \sqrt {2 b+a \left (c-\sqrt {c^2-4 d}\right )} \sqrt [4]{-b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {c-\sqrt {c^2-4 d}}+\sqrt {2 b+a c-a \sqrt {c^2-4 d}} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-b+a x}}\right )}{\sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}+\frac {\left (2 \sqrt {2 b+a \left (c+\sqrt {c^2-4 d}\right )} \sqrt [4]{-b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {c+\sqrt {c^2-4 d}}-\sqrt {2 b+a c+a \sqrt {c^2-4 d}} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-b+a x}}\right )}{\sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}-\frac {\left (2 \sqrt {2 b+a \left (c+\sqrt {c^2-4 d}\right )} \sqrt [4]{-b x^3+a x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {c+\sqrt {c^2-4 d}}+\sqrt {2 b+a c+a \sqrt {c^2-4 d}} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{-b+a x}}\right )}{\sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}\\ &=\frac {2 \sqrt [4]{2 b+a \left (c-\sqrt {c^2-4 d}\right )} \sqrt [4]{-b x^3+a x^4} \tan ^{-1}\left (\frac {\sqrt [4]{2 b+a \left (c-\sqrt {c^2-4 d}\right )} \sqrt [4]{x}}{\sqrt [4]{c-\sqrt {c^2-4 d}} \sqrt [4]{-b+a x}}\right )}{\sqrt [4]{c-\sqrt {c^2-4 d}} \sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}-\frac {2 \sqrt [4]{2 b+a \left (c+\sqrt {c^2-4 d}\right )} \sqrt [4]{-b x^3+a x^4} \tan ^{-1}\left (\frac {\sqrt [4]{2 b+a \left (c+\sqrt {c^2-4 d}\right )} \sqrt [4]{x}}{\sqrt [4]{c+\sqrt {c^2-4 d}} \sqrt [4]{-b+a x}}\right )}{\sqrt [4]{c+\sqrt {c^2-4 d}} \sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}-\frac {2 \sqrt [4]{2 b+a \left (c-\sqrt {c^2-4 d}\right )} \sqrt [4]{-b x^3+a x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{2 b+a \left (c-\sqrt {c^2-4 d}\right )} \sqrt [4]{x}}{\sqrt [4]{c-\sqrt {c^2-4 d}} \sqrt [4]{-b+a x}}\right )}{\sqrt [4]{c-\sqrt {c^2-4 d}} \sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}+\frac {2 \sqrt [4]{2 b+a \left (c+\sqrt {c^2-4 d}\right )} \sqrt [4]{-b x^3+a x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{2 b+a \left (c+\sqrt {c^2-4 d}\right )} \sqrt [4]{x}}{\sqrt [4]{c+\sqrt {c^2-4 d}} \sqrt [4]{-b+a x}}\right )}{\sqrt [4]{c+\sqrt {c^2-4 d}} \sqrt {c^2-4 d} x^{3/4} \sqrt [4]{-b+a x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 126, normalized size = 1.37 \begin {gather*} \frac {b \sqrt [4]{x^3 (-b+a x)} \text {RootSum}\left [b^2+a b c+a^2 d-b c \text {$\#$1}^4-2 a d \text {$\#$1}^4+d \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}}{-b c-2 a d+2 d \text {$\#$1}^4}\&\right ]}{x^{3/4} \sqrt [4]{-b+a x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int \frac {\left (a \,x^{4}-b \,x^{3}\right )^{\frac {1}{4}}}{x \left (c x +x^{2}+d \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.56, size = 2783, normalized size = 30.25 \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 (c x + d + 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.01 \begin {gather*} \int \frac {{\left (a\,x^4-b\,x^3\right )}^{1/4}}{x\,\left (x^2+c\,x+d\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________