Optimal. Leaf size=149 \[ -\frac {2^{3/4} \left (a^{3/4} b+a^{7/4}\right ) \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} \left (a x^4+b x\right )^{3/4}}{a x^3+b}\right )}{3 b^2}-\frac {2^{3/4} \left (a^{3/4} b+a^{7/4}\right ) \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} \left (a x^4+b x\right )^{3/4}}{a x^3+b}\right )}{3 b^2}+\frac {4 \left (a x^4+b x\right )^{3/4} \left (a x^3+b\right )}{21 b^2 x^6} \]
________________________________________________________________________________________
Rubi [A] time = 1.16, antiderivative size = 253, normalized size of antiderivative = 1.70, number of steps used = 14, number of rules used = 11, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.314, Rules used = {2056, 6725, 271, 264, 466, 465, 494, 461, 212, 206, 203} \begin {gather*} -\frac {2^{3/4} a^{3/4} \sqrt [4]{x} (a+b) \sqrt [4]{a x^3+b} \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} x^{3/4}}{\sqrt [4]{a x^3+b}}\right )}{3 b^2 \sqrt [4]{a x^4+b x}}-\frac {2^{3/4} a^{3/4} \sqrt [4]{x} (a+b) \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 b^2 \sqrt [4]{a x^4+b x}}+\frac {4 (a+b) \left (a x^3+b\right )^2}{21 a b^2 x^5 \sqrt [4]{a x^4+b x}}-\frac {4 \left (a x^3+b\right )}{21 a x^5 \sqrt [4]{a x^4+b x}}-\frac {4 \left (a x^3+b\right )}{21 b x^2 \sqrt [4]{a x^4+b x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 206
Rule 212
Rule 264
Rule 271
Rule 461
Rule 465
Rule 466
Rule 494
Rule 2056
Rule 6725
Rubi steps
\begin {align*} \int \frac {b+a x^6}{x^6 \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 {b+a x^6}{x^{25/4} \left (-b+a x^3\right ) \sqrt [4]{b+a x^3}} \, dx}{\sqrt [4]{b x+a x^4}}\\ &=\frac {\left (\sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \int \left (\frac {b}{a x^{25/4} \sqrt [4]{b+a x^3}}+\frac {1}{x^{13/4} \sqrt [4]{b+a x^3}}+\frac {a b+b^2}{a x^{25/4} \left (-b+a x^3\right ) \sqrt [4]{b+a x^3}}\right ) \, dx}{\sqrt [4]{b x+a x^4}}\\ &=\frac {\left (\sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \int \frac {1}{x^{13/4} \sqrt [4]{b+a x^3}} \, dx}{\sqrt [4]{b x+a x^4}}+\frac {\left (b \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \int \frac {1}{x^{25/4} \sqrt [4]{b+a x^3}} \, dx}{a \sqrt [4]{b x+a x^4}}+\frac {\left (b (a+b) \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \int \frac {1}{x^{25/4} \left (-b+a x^3\right ) \sqrt [4]{b+a x^3}} \, dx}{a \sqrt [4]{b x+a x^4}}\\ &=-\frac {4 \left (b+a x^3\right )}{21 a x^5 \sqrt [4]{b x+a x^4}}-\frac {4 \left (b+a x^3\right )}{9 b x^2 \sqrt [4]{b x+a x^4}}-\frac {\left (4 \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \int \frac {1}{x^{13/4} \sqrt [4]{b+a x^3}} \, dx}{7 \sqrt [4]{b x+a x^4}}+\frac {\left (4 b (a+b) \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \operatorname {Subst}\left (\int \frac {1}{x^{22} \left (-b+a x^{12}\right ) \sqrt [4]{b+a x^{12}}} \, dx,x,\sqrt [4]{x}\right )}{a \sqrt [4]{b x+a x^4}}\\ &=-\frac {4 \left (b+a x^3\right )}{21 a x^5 \sqrt [4]{b x+a x^4}}-\frac {4 \left (b+a x^3\right )}{21 b x^2 \sqrt [4]{b x+a x^4}}+\frac {\left (4 b (a+b) \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \operatorname {Subst}\left (\int \frac {1}{x^8 \left (-b+a x^4\right ) \sqrt [4]{b+a x^4}} \, dx,x,x^{3/4}\right )}{3 a \sqrt [4]{b x+a x^4}}\\ &=-\frac {4 \left (b+a x^3\right )}{21 a x^5 \sqrt [4]{b x+a x^4}}-\frac {4 \left (b+a x^3\right )}{21 b x^2 \sqrt [4]{b x+a x^4}}+\frac {\left (4 (a+b) \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \operatorname {Subst}\left (\int \frac {\left (1-a x^4\right )^2}{x^8 \left (-b+2 a b x^4\right )} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{b+a x^3}}\right )}{3 a b \sqrt [4]{b x+a x^4}}\\ &=-\frac {4 \left (b+a x^3\right )}{21 a x^5 \sqrt [4]{b x+a x^4}}-\frac {4 \left (b+a x^3\right )}{21 b x^2 \sqrt [4]{b x+a x^4}}+\frac {\left (4 (a+b) \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \operatorname {Subst}\left (\int \left (-\frac {1}{b x^8}+\frac {a^2}{b \left (-1+2 a x^4\right )}\right ) \, dx,x,\frac {x^{3/4}}{\sqrt [4]{b+a x^3}}\right )}{3 a b \sqrt [4]{b x+a x^4}}\\ &=-\frac {4 \left (b+a x^3\right )}{21 a x^5 \sqrt [4]{b x+a x^4}}-\frac {4 \left (b+a x^3\right )}{21 b x^2 \sqrt [4]{b x+a x^4}}+\frac {4 (a+b) \left (b+a x^3\right )^2}{21 a b^2 x^5 \sqrt [4]{b x+a x^4}}+\frac {\left (4 a (a+b) \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \operatorname {Subst}\left (\int \frac {1}{-1+2 a x^4} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{b+a x^3}}\right )}{3 b^2 \sqrt [4]{b x+a x^4}}\\ &=-\frac {4 \left (b+a x^3\right )}{21 a x^5 \sqrt [4]{b x+a x^4}}-\frac {4 \left (b+a x^3\right )}{21 b x^2 \sqrt [4]{b x+a x^4}}+\frac {4 (a+b) \left (b+a x^3\right )^2}{21 a b^2 x^5 \sqrt [4]{b x+a x^4}}-\frac {\left (2 a (a+b) \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \operatorname {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^2 \sqrt [4]{b x+a x^4}}-\frac {\left (2 a (a+b) \sqrt [4]{x} \sqrt [4]{b+a x^3}\right ) \operatorname {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^2 \sqrt [4]{b x+a x^4}}\\ &=-\frac {4 \left (b+a x^3\right )}{21 a x^5 \sqrt [4]{b x+a x^4}}-\frac {4 \left (b+a x^3\right )}{21 b x^2 \sqrt [4]{b x+a x^4}}+\frac {4 (a+b) \left (b+a x^3\right )^2}{21 a b^2 x^5 \sqrt [4]{b x+a x^4}}-\frac {2^{3/4} a^{3/4} (a+b) \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 b^2 \sqrt [4]{b x+a x^4}}-\frac {2^{3/4} a^{3/4} (a+b) \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 b^2 \sqrt [4]{b x+a x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 5.22, size = 97, normalized size = 0.65 \begin {gather*} \frac {4 \left (\left (a x^3+b\right )^2-\frac {7 a x^6 (a+b) \sqrt [4]{\frac {a x^3}{b}+1} \, _2F_1\left (\frac {1}{4},\frac {1}{4};\frac {5}{4};-\frac {2 a x^3}{b-a x^3}\right )}{\sqrt [4]{1-\frac {a x^3}{b}}}\right )}{21 b^2 x^5 \sqrt [4]{x \left (a x^3+b\right )}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.90, size = 149, normalized size = 1.00 \begin {gather*} -\frac {2^{3/4} \left (a^{3/4} b+a^{7/4}\right ) \tan ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} \left (a x^4+b x\right )^{3/4}}{a x^3+b}\right )}{3 b^2}-\frac {2^{3/4} \left (a^{3/4} b+a^{7/4}\right ) \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt [4]{a} \left (a x^4+b x\right )^{3/4}}{a x^3+b}\right )}{3 b^2}+\frac {4 \left (a x^4+b x\right )^{3/4} \left (a x^3+b\right )}{21 b^2 x^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.30, size = 272, normalized size = 1.83 \begin {gather*} -\frac {\sqrt {2} {\left (2^{\frac {3}{4}} \left (-a\right )^{\frac {3}{4}} a + 2^{\frac {3}{4}} \left (-a\right )^{\frac {3}{4}} b\right )} \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 )}{6 \, b^{2}} - \frac {\sqrt {2} {\left (2^{\frac {3}{4}} \left (-a\right )^{\frac {3}{4}} a + 2^{\frac {3}{4}} \left (-a\right )^{\frac {3}{4}} b\right )} \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 )}{6 \, b^{2}} + \frac {\sqrt {2} {\left (2^{\frac {3}{4}} \left (-a\right )^{\frac {3}{4}} a + 2^{\frac {3}{4}} \left (-a\right )^{\frac {3}{4}} b\right )} \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 )}{12 \, b^{2}} - \frac {\sqrt {2} {\left (2^{\frac {3}{4}} \left (-a\right )^{\frac {3}{4}} a + 2^{\frac {3}{4}} \left (-a\right )^{\frac {3}{4}} b\right )} \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 )}{12 \, b^{2}} + \frac {4 \, {\left (a + \frac {b}{x^{3}}\right )}^{\frac {7}{4}}}{21 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.41, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a \,x^{6}+b}{x^{6} \left (a \,x^{3}-b \right ) \left (a \,x^{4}+b x \right )^{\frac {1}{4}}}\, dx \end {gather*}
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*} \int \frac {a x^{6} + b}{{\left (a x^{4} + b x\right )}^{\frac {1}{4}} {\left (a x^{3} - b\right )} x^{6}}\,{d x} \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 {a\,x^6+b}{x^6\,{\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]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a x^{6} + b}{x^{6} \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]
________________________________________________________________________________________