Optimal. Leaf size=128 \[ -\frac {\sqrt {2} \text {ArcTan}\left (\frac {\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^3}}{-\sqrt {b}+\sqrt {-b+a x^3}}\right )}{3 \sqrt [4]{b}}-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\frac {\sqrt [4]{b}}{\sqrt {2}}+\frac {\sqrt {-b+a x^3}}{\sqrt {2} \sqrt [4]{b}}}{\sqrt [4]{-b+a x^3}}\right )}{3 \sqrt [4]{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 201, normalized size of antiderivative = 1.57, number of steps
used = 11, number of rules used = 8, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.471, Rules used = {272, 65, 303,
1176, 631, 210, 1179, 642} \begin {gather*} -\frac {\sqrt {2} \text {ArcTan}\left (1-\frac {\sqrt {2} \sqrt [4]{a x^3-b}}{\sqrt [4]{b}}\right )}{3 \sqrt [4]{b}}+\frac {\sqrt {2} \text {ArcTan}\left (\frac {\sqrt {2} \sqrt [4]{a x^3-b}}{\sqrt [4]{b}}+1\right )}{3 \sqrt [4]{b}}+\frac {\log \left (-\sqrt {2} \sqrt [4]{b} \sqrt [4]{a x^3-b}+\sqrt {a x^3-b}+\sqrt {b}\right )}{3 \sqrt {2} \sqrt [4]{b}}-\frac {\log \left (\sqrt {2} \sqrt [4]{b} \sqrt [4]{a x^3-b}+\sqrt {a x^3-b}+\sqrt {b}\right )}{3 \sqrt {2} \sqrt [4]{b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 210
Rule 272
Rule 303
Rule 631
Rule 642
Rule 1176
Rule 1179
Rubi steps
\begin {align*} \int \frac {1}{x \sqrt [4]{-b+a x^3}} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {1}{x \sqrt [4]{-b+a x}} \, dx,x,x^3\right )\\ &=\frac {4 \text {Subst}\left (\int \frac {x^2}{\frac {b}{a}+\frac {x^4}{a}} \, dx,x,\sqrt [4]{-b+a x^3}\right )}{3 a}\\ &=-\frac {2 \text {Subst}\left (\int \frac {\sqrt {b}-x^2}{\frac {b}{a}+\frac {x^4}{a}} \, dx,x,\sqrt [4]{-b+a x^3}\right )}{3 a}+\frac {2 \text {Subst}\left (\int \frac {\sqrt {b}+x^2}{\frac {b}{a}+\frac {x^4}{a}} \, dx,x,\sqrt [4]{-b+a x^3}\right )}{3 a}\\ &=\frac {1}{3} \text {Subst}\left (\int \frac {1}{\sqrt {b}-\sqrt {2} \sqrt [4]{b} x+x^2} \, dx,x,\sqrt [4]{-b+a x^3}\right )+\frac {1}{3} \text {Subst}\left (\int \frac {1}{\sqrt {b}+\sqrt {2} \sqrt [4]{b} x+x^2} \, dx,x,\sqrt [4]{-b+a x^3}\right )+\frac {\text {Subst}\left (\int \frac {\sqrt {2} \sqrt [4]{b}+2 x}{-\sqrt {b}-\sqrt {2} \sqrt [4]{b} x-x^2} \, dx,x,\sqrt [4]{-b+a x^3}\right )}{3 \sqrt {2} \sqrt [4]{b}}+\frac {\text {Subst}\left (\int \frac {\sqrt {2} \sqrt [4]{b}-2 x}{-\sqrt {b}+\sqrt {2} \sqrt [4]{b} x-x^2} \, dx,x,\sqrt [4]{-b+a x^3}\right )}{3 \sqrt {2} \sqrt [4]{b}}\\ &=\frac {\log \left (\sqrt {b}-\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^3}+\sqrt {-b+a x^3}\right )}{3 \sqrt {2} \sqrt [4]{b}}-\frac {\log \left (\sqrt {b}+\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^3}+\sqrt {-b+a x^3}\right )}{3 \sqrt {2} \sqrt [4]{b}}+\frac {\sqrt {2} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt [4]{-b+a x^3}}{\sqrt [4]{b}}\right )}{3 \sqrt [4]{b}}-\frac {\sqrt {2} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt [4]{-b+a x^3}}{\sqrt [4]{b}}\right )}{3 \sqrt [4]{b}}\\ &=-\frac {\sqrt {2} \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{-b+a x^3}}{\sqrt [4]{b}}\right )}{3 \sqrt [4]{b}}+\frac {\sqrt {2} \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{-b+a x^3}}{\sqrt [4]{b}}\right )}{3 \sqrt [4]{b}}+\frac {\log \left (\sqrt {b}-\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^3}+\sqrt {-b+a x^3}\right )}{3 \sqrt {2} \sqrt [4]{b}}-\frac {\log \left (\sqrt {b}+\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^3}+\sqrt {-b+a x^3}\right )}{3 \sqrt {2} \sqrt [4]{b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.12, size = 109, normalized size = 0.85 \begin {gather*} \frac {\sqrt {2} \left (\text {ArcTan}\left (\frac {-\sqrt {b}+\sqrt {-b+a x^3}}{\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^3}}\right )-\tanh ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{b} \sqrt [4]{-b+a x^3}}{\sqrt {b}+\sqrt {-b+a x^3}}\right )\right )}{3 \sqrt [4]{b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {1}{x \left (a \,x^{3}-b \right )^{\frac {1}{4}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.46, size = 162, normalized size = 1.27 \begin {gather*} \frac {\sqrt {2} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} b^{\frac {1}{4}} + 2 \, {\left (a x^{3} - b\right )}^{\frac {1}{4}}\right )}}{2 \, b^{\frac {1}{4}}}\right )}{3 \, b^{\frac {1}{4}}} + \frac {\sqrt {2} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} b^{\frac {1}{4}} - 2 \, {\left (a x^{3} - b\right )}^{\frac {1}{4}}\right )}}{2 \, b^{\frac {1}{4}}}\right )}{3 \, b^{\frac {1}{4}}} - \frac {\sqrt {2} \log \left (\sqrt {2} {\left (a x^{3} - b\right )}^{\frac {1}{4}} b^{\frac {1}{4}} + \sqrt {a x^{3} - b} + \sqrt {b}\right )}{6 \, b^{\frac {1}{4}}} + \frac {\sqrt {2} \log \left (-\sqrt {2} {\left (a x^{3} - b\right )}^{\frac {1}{4}} b^{\frac {1}{4}} + \sqrt {a x^{3} - b} + \sqrt {b}\right )}{6 \, b^{\frac {1}{4}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 127, normalized size = 0.99 \begin {gather*} -\frac {4}{3} \, \left (-\frac {1}{b}\right )^{\frac {1}{4}} \arctan \left (\sqrt {-b \sqrt {-\frac {1}{b}} + \sqrt {a x^{3} - b}} \left (-\frac {1}{b}\right )^{\frac {1}{4}} - {\left (a x^{3} - b\right )}^{\frac {1}{4}} \left (-\frac {1}{b}\right )^{\frac {1}{4}}\right ) + \frac {1}{3} \, \left (-\frac {1}{b}\right )^{\frac {1}{4}} \log \left (b \left (-\frac {1}{b}\right )^{\frac {3}{4}} + {\left (a x^{3} - b\right )}^{\frac {1}{4}}\right ) - \frac {1}{3} \, \left (-\frac {1}{b}\right )^{\frac {1}{4}} \log \left (-b \left (-\frac {1}{b}\right )^{\frac {3}{4}} + {\left (a x^{3} - b\right )}^{\frac {1}{4}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.48, size = 42, normalized size = 0.33 \begin {gather*} - \frac {\Gamma \left (\frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{4}, \frac {1}{4} \\ \frac {5}{4} \end {matrix}\middle | {\frac {b e^{2 i \pi }}{a x^{3}}} \right )}}{3 \sqrt [4]{a} x^{\frac {3}{4}} \Gamma \left (\frac {5}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 162, normalized size = 1.27 \begin {gather*} \frac {\sqrt {2} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} b^{\frac {1}{4}} + 2 \, {\left (a x^{3} - b\right )}^{\frac {1}{4}}\right )}}{2 \, b^{\frac {1}{4}}}\right )}{3 \, b^{\frac {1}{4}}} + \frac {\sqrt {2} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} b^{\frac {1}{4}} - 2 \, {\left (a x^{3} - b\right )}^{\frac {1}{4}}\right )}}{2 \, b^{\frac {1}{4}}}\right )}{3 \, b^{\frac {1}{4}}} - \frac {\sqrt {2} \log \left (\sqrt {2} {\left (a x^{3} - b\right )}^{\frac {1}{4}} b^{\frac {1}{4}} + \sqrt {a x^{3} - b} + \sqrt {b}\right )}{6 \, b^{\frac {1}{4}}} + \frac {\sqrt {2} \log \left (-\sqrt {2} {\left (a x^{3} - b\right )}^{\frac {1}{4}} b^{\frac {1}{4}} + \sqrt {a x^{3} - b} + \sqrt {b}\right )}{6 \, b^{\frac {1}{4}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.96, size = 51, normalized size = 0.40 \begin {gather*} \frac {2\,\mathrm {atan}\left (\frac {{\left (a\,x^3-b\right )}^{1/4}}{{\left (-b\right )}^{1/4}}\right )}{3\,{\left (-b\right )}^{1/4}}-\frac {2\,\mathrm {atanh}\left (\frac {{\left (a\,x^3-b\right )}^{1/4}}{{\left (-b\right )}^{1/4}}\right )}{3\,{\left (-b\right )}^{1/4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________