Optimal. Leaf size=124 \[ \frac {(b c-4 a d+4 a c x) \sqrt [4]{b x^3+a x^4}}{4 a}+\frac {\left (3 b^2 c+4 a b d\right ) \text {ArcTan}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b x^3+a x^4}}\right )}{8 a^{7/4}}+\frac {\left (-3 b^2 c-4 a b d\right ) \tanh ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b x^3+a x^4}}\right )}{8 a^{7/4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 193, normalized size of antiderivative = 1.56, number of steps
used = 8, number of rules used = 8, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.296, Rules used = {2064, 2046,
2057, 65, 338, 304, 209, 212} \begin {gather*} \frac {b x^{9/4} (a x+b)^{3/4} \text {ArcTan}\left (\frac {\sqrt [4]{a} \sqrt [4]{x}}{\sqrt [4]{a x+b}}\right ) (4 a d+3 b c)}{8 a^{7/4} \left (a x^4+b x^3\right )^{3/4}}-\frac {b x^{9/4} (a x+b)^{3/4} (4 a d+3 b c) \tanh ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [4]{x}}{\sqrt [4]{a x+b}}\right )}{8 a^{7/4} \left (a x^4+b x^3\right )^{3/4}}-\frac {\sqrt [4]{a x^4+b x^3} (4 a d+3 b c)}{4 a}+\frac {c \left (a x^4+b x^3\right )^{5/4}}{a x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 209
Rule 212
Rule 304
Rule 338
Rule 2046
Rule 2057
Rule 2064
Rubi steps
\begin {align*} \int \frac {(-d+2 c x) \sqrt [4]{b x^3+a x^4}}{x} \, dx &=\frac {c \left (b x^3+a x^4\right )^{5/4}}{a x^3}-\frac {\left (\frac {3 b c}{2}+2 a d\right ) \int \frac {\sqrt [4]{b x^3+a x^4}}{x} \, dx}{2 a}\\ &=-\frac {(3 b c+4 a d) \sqrt [4]{b x^3+a x^4}}{4 a}+\frac {c \left (b x^3+a x^4\right )^{5/4}}{a x^3}-\frac {(b (3 b c+4 a d)) \int \frac {x^2}{\left (b x^3+a x^4\right )^{3/4}} \, dx}{16 a}\\ &=-\frac {(3 b c+4 a d) \sqrt [4]{b x^3+a x^4}}{4 a}+\frac {c \left (b x^3+a x^4\right )^{5/4}}{a x^3}-\frac {\left (b (3 b c+4 a d) x^{9/4} (b+a x)^{3/4}\right ) \int \frac {1}{\sqrt [4]{x} (b+a x)^{3/4}} \, dx}{16 a \left (b x^3+a x^4\right )^{3/4}}\\ &=-\frac {(3 b c+4 a d) \sqrt [4]{b x^3+a x^4}}{4 a}+\frac {c \left (b x^3+a x^4\right )^{5/4}}{a x^3}-\frac {\left (b (3 b c+4 a d) x^{9/4} (b+a x)^{3/4}\right ) \text {Subst}\left (\int \frac {x^2}{\left (b+a x^4\right )^{3/4}} \, dx,x,\sqrt [4]{x}\right )}{4 a \left (b x^3+a x^4\right )^{3/4}}\\ &=-\frac {(3 b c+4 a d) \sqrt [4]{b x^3+a x^4}}{4 a}+\frac {c \left (b x^3+a x^4\right )^{5/4}}{a x^3}-\frac {\left (b (3 b c+4 a d) x^{9/4} (b+a x)^{3/4}\right ) \text {Subst}\left (\int \frac {x^2}{1-a x^4} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{4 a \left (b x^3+a x^4\right )^{3/4}}\\ &=-\frac {(3 b c+4 a d) \sqrt [4]{b x^3+a x^4}}{4 a}+\frac {c \left (b x^3+a x^4\right )^{5/4}}{a x^3}-\frac {\left (b (3 b c+4 a d) x^{9/4} (b+a x)^{3/4}\right ) \text {Subst}\left (\int \frac {1}{1-\sqrt {a} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{8 a^{3/2} \left (b x^3+a x^4\right )^{3/4}}+\frac {\left (b (3 b c+4 a d) x^{9/4} (b+a x)^{3/4}\right ) \text {Subst}\left (\int \frac {1}{1+\sqrt {a} x^2} \, dx,x,\frac {\sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{8 a^{3/2} \left (b x^3+a x^4\right )^{3/4}}\\ &=-\frac {(3 b c+4 a d) \sqrt [4]{b x^3+a x^4}}{4 a}+\frac {c \left (b x^3+a x^4\right )^{5/4}}{a x^3}+\frac {b (3 b c+4 a d) x^{9/4} (b+a x)^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{8 a^{7/4} \left (b x^3+a x^4\right )^{3/4}}-\frac {b (3 b c+4 a d) x^{9/4} (b+a x)^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )}{8 a^{7/4} \left (b x^3+a x^4\right )^{3/4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.49, size = 136, normalized size = 1.10 \begin {gather*} \frac {x^{9/4} (b+a x)^{3/4} \left (2 a^{3/4} x^{3/4} \sqrt [4]{b+a x} (b c-4 a d+4 a c x)+b (3 b c+4 a d) \text {ArcTan}\left (\frac {\sqrt [4]{a} \sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )-b (3 b c+4 a d) \tanh ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [4]{x}}{\sqrt [4]{b+a x}}\right )\right )}{8 a^{7/4} \left (x^3 (b+a x)\right )^{3/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (2 c x -d \right ) \left (a \,x^{4}+b \,x^{3}\right )^{\frac {1}{4}}}{x}\, 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. 771 vs.
\(2 (104) = 208\).
time = 0.38, size = 771, normalized size = 6.22 \begin {gather*} \frac {4 \, a \left (\frac {81 \, b^{8} c^{4} + 432 \, a b^{7} c^{3} d + 864 \, a^{2} b^{6} c^{2} d^{2} + 768 \, a^{3} b^{5} c d^{3} + 256 \, a^{4} b^{4} d^{4}}{a^{7}}\right )^{\frac {1}{4}} \arctan \left (\frac {a^{5} x \sqrt {\frac {a^{4} x^{2} \sqrt {\frac {81 \, b^{8} c^{4} + 432 \, a b^{7} c^{3} d + 864 \, a^{2} b^{6} c^{2} d^{2} + 768 \, a^{3} b^{5} c d^{3} + 256 \, a^{4} b^{4} d^{4}}{a^{7}}} + {\left (9 \, b^{4} c^{2} + 24 \, a b^{3} c d + 16 \, a^{2} b^{2} d^{2}\right )} \sqrt {a x^{4} + b x^{3}}}{x^{2}}} \left (\frac {81 \, b^{8} c^{4} + 432 \, a b^{7} c^{3} d + 864 \, a^{2} b^{6} c^{2} d^{2} + 768 \, a^{3} b^{5} c d^{3} + 256 \, a^{4} b^{4} d^{4}}{a^{7}}\right )^{\frac {3}{4}} - {\left (3 \, a^{5} b^{2} c + 4 \, a^{6} b d\right )} {\left (a x^{4} + b x^{3}\right )}^{\frac {1}{4}} \left (\frac {81 \, b^{8} c^{4} + 432 \, a b^{7} c^{3} d + 864 \, a^{2} b^{6} c^{2} d^{2} + 768 \, a^{3} b^{5} c d^{3} + 256 \, a^{4} b^{4} d^{4}}{a^{7}}\right )^{\frac {3}{4}}}{{\left (81 \, b^{8} c^{4} + 432 \, a b^{7} c^{3} d + 864 \, a^{2} b^{6} c^{2} d^{2} + 768 \, a^{3} b^{5} c d^{3} + 256 \, a^{4} b^{4} d^{4}\right )} x}\right ) - a \left (\frac {81 \, b^{8} c^{4} + 432 \, a b^{7} c^{3} d + 864 \, a^{2} b^{6} c^{2} d^{2} + 768 \, a^{3} b^{5} c d^{3} + 256 \, a^{4} b^{4} d^{4}}{a^{7}}\right )^{\frac {1}{4}} \log \left (\frac {a^{2} x \left (\frac {81 \, b^{8} c^{4} + 432 \, a b^{7} c^{3} d + 864 \, a^{2} b^{6} c^{2} d^{2} + 768 \, a^{3} b^{5} c d^{3} + 256 \, a^{4} b^{4} d^{4}}{a^{7}}\right )^{\frac {1}{4}} + {\left (a x^{4} + b x^{3}\right )}^{\frac {1}{4}} {\left (3 \, b^{2} c + 4 \, a b d\right )}}{x}\right ) + a \left (\frac {81 \, b^{8} c^{4} + 432 \, a b^{7} c^{3} d + 864 \, a^{2} b^{6} c^{2} d^{2} + 768 \, a^{3} b^{5} c d^{3} + 256 \, a^{4} b^{4} d^{4}}{a^{7}}\right )^{\frac {1}{4}} \log \left (-\frac {a^{2} x \left (\frac {81 \, b^{8} c^{4} + 432 \, a b^{7} c^{3} d + 864 \, a^{2} b^{6} c^{2} d^{2} + 768 \, a^{3} b^{5} c d^{3} + 256 \, a^{4} b^{4} d^{4}}{a^{7}}\right )^{\frac {1}{4}} - {\left (a x^{4} + b x^{3}\right )}^{\frac {1}{4}} {\left (3 \, b^{2} c + 4 \, a b d\right )}}{x}\right ) + 4 \, {\left (a x^{4} + b x^{3}\right )}^{\frac {1}{4}} {\left (4 \, a c x + b c - 4 \, a d\right )}}{16 \, a} \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 )} \left (2 c x - d\right )}{x}\, 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. 322 vs.
\(2 (104) = 208\).
time = 0.44, size = 322, normalized size = 2.60 \begin {gather*} \frac {\frac {2 \, \sqrt {2} {\left (3 \, b^{3} c + 4 \, a b^{2} d\right )} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \left (-a\right )^{\frac {1}{4}} + 2 \, {\left (a + \frac {b}{x}\right )}^{\frac {1}{4}}\right )}}{2 \, \left (-a\right )^{\frac {1}{4}}}\right )}{\left (-a\right )^{\frac {3}{4}} a} + \frac {2 \, \sqrt {2} {\left (3 \, b^{3} c + 4 \, a b^{2} d\right )} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \left (-a\right )^{\frac {1}{4}} - 2 \, {\left (a + \frac {b}{x}\right )}^{\frac {1}{4}}\right )}}{2 \, \left (-a\right )^{\frac {1}{4}}}\right )}{\left (-a\right )^{\frac {3}{4}} a} + \frac {\sqrt {2} {\left (3 \, b^{3} c + 4 \, a b^{2} d\right )} \log \left (\sqrt {2} \left (-a\right )^{\frac {1}{4}} {\left (a + \frac {b}{x}\right )}^{\frac {1}{4}} + \sqrt {-a} + \sqrt {a + \frac {b}{x}}\right )}{\left (-a\right )^{\frac {3}{4}} a} - \frac {\sqrt {2} {\left (3 \, b^{3} c + 4 \, a b^{2} d\right )} \log \left (-\sqrt {2} \left (-a\right )^{\frac {1}{4}} {\left (a + \frac {b}{x}\right )}^{\frac {1}{4}} + \sqrt {-a} + \sqrt {a + \frac {b}{x}}\right )}{\left (-a\right )^{\frac {3}{4}} a} + \frac {8 \, {\left ({\left (a + \frac {b}{x}\right )}^{\frac {5}{4}} b^{3} c + 3 \, {\left (a + \frac {b}{x}\right )}^{\frac {1}{4}} a b^{3} c - 4 \, {\left (a + \frac {b}{x}\right )}^{\frac {5}{4}} a b^{2} d + 4 \, {\left (a + \frac {b}{x}\right )}^{\frac {1}{4}} a^{2} b^{2} d\right )} x^{2}}{a b^{2}}}{32 \, 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 {{\left (a\,x^4+b\,x^3\right )}^{1/4}\,\left (d-2\,c\,x\right )}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________