Optimal. Leaf size=318 \[ \frac{\left (\sqrt{a}-\sqrt{b} c^2\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} (c+d x)+\sqrt{a}+\sqrt{b} (c+d x)^2\right )}{4 \sqrt{2} a^{3/4} b^{3/4} d^3}-\frac{\left (\sqrt{a}-\sqrt{b} c^2\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} (c+d x)+\sqrt{a}+\sqrt{b} (c+d x)^2\right )}{4 \sqrt{2} a^{3/4} b^{3/4} d^3}-\frac{\left (\sqrt{a}+\sqrt{b} c^2\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} (c+d x)}{\sqrt [4]{a}}\right )}{2 \sqrt{2} a^{3/4} b^{3/4} d^3}+\frac{\left (\sqrt{a}+\sqrt{b} c^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} (c+d x)}{\sqrt [4]{a}}+1\right )}{2 \sqrt{2} a^{3/4} b^{3/4} d^3}-\frac{c \tan ^{-1}\left (\frac{\sqrt{b} (c+d x)^2}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b} d^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.312481, antiderivative size = 318, normalized size of antiderivative = 1., number of steps used = 14, number of rules used = 10, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.588, Rules used = {371, 1876, 275, 205, 1168, 1162, 617, 204, 1165, 628} \[ \frac{\left (\sqrt{a}-\sqrt{b} c^2\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} (c+d x)+\sqrt{a}+\sqrt{b} (c+d x)^2\right )}{4 \sqrt{2} a^{3/4} b^{3/4} d^3}-\frac{\left (\sqrt{a}-\sqrt{b} c^2\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} (c+d x)+\sqrt{a}+\sqrt{b} (c+d x)^2\right )}{4 \sqrt{2} a^{3/4} b^{3/4} d^3}-\frac{\left (\sqrt{a}+\sqrt{b} c^2\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} (c+d x)}{\sqrt [4]{a}}\right )}{2 \sqrt{2} a^{3/4} b^{3/4} d^3}+\frac{\left (\sqrt{a}+\sqrt{b} c^2\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} (c+d x)}{\sqrt [4]{a}}+1\right )}{2 \sqrt{2} a^{3/4} b^{3/4} d^3}-\frac{c \tan ^{-1}\left (\frac{\sqrt{b} (c+d x)^2}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b} d^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 1876
Rule 275
Rule 205
Rule 1168
Rule 1162
Rule 617
Rule 204
Rule 1165
Rule 628
Rubi steps
\begin{align*} \int \frac{x^2}{a+b (c+d x)^4} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{(-c+x)^2}{a+b x^4} \, dx,x,c+d x\right )}{d^3}\\ &=\frac{\operatorname{Subst}\left (\int \left (-\frac{2 c x}{a+b x^4}+\frac{c^2+x^2}{a+b x^4}\right ) \, dx,x,c+d x\right )}{d^3}\\ &=\frac{\operatorname{Subst}\left (\int \frac{c^2+x^2}{a+b x^4} \, dx,x,c+d x\right )}{d^3}-\frac{(2 c) \operatorname{Subst}\left (\int \frac{x}{a+b x^4} \, dx,x,c+d x\right )}{d^3}\\ &=-\frac{c \operatorname{Subst}\left (\int \frac{1}{a+b x^2} \, dx,x,(c+d x)^2\right )}{d^3}-\frac{\left (1-\frac{\sqrt{b} c^2}{\sqrt{a}}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{a} \sqrt{b}-b x^2}{a+b x^4} \, dx,x,c+d x\right )}{2 b d^3}+\frac{\left (1+\frac{\sqrt{b} c^2}{\sqrt{a}}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{a} \sqrt{b}+b x^2}{a+b x^4} \, dx,x,c+d x\right )}{2 b d^3}\\ &=-\frac{c \tan ^{-1}\left (\frac{\sqrt{b} (c+d x)^2}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b} d^3}+\frac{\left (\sqrt{a}-\sqrt{b} c^2\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{a}}{\sqrt [4]{b}}+2 x}{-\frac{\sqrt{a}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx,x,c+d x\right )}{4 \sqrt{2} a^{3/4} b^{3/4} d^3}+\frac{\left (\sqrt{a}-\sqrt{b} c^2\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt [4]{a}}{\sqrt [4]{b}}-2 x}{-\frac{\sqrt{a}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx,x,c+d x\right )}{4 \sqrt{2} a^{3/4} b^{3/4} d^3}+\frac{\left (1+\frac{\sqrt{b} c^2}{\sqrt{a}}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{a}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx,x,c+d x\right )}{4 b d^3}+\frac{\left (1+\frac{\sqrt{b} c^2}{\sqrt{a}}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{a}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx,x,c+d x\right )}{4 b d^3}\\ &=-\frac{c \tan ^{-1}\left (\frac{\sqrt{b} (c+d x)^2}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b} d^3}+\frac{\left (\sqrt{a}-\sqrt{b} c^2\right ) \log \left (\sqrt{a}-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} (c+d x)+\sqrt{b} (c+d x)^2\right )}{4 \sqrt{2} a^{3/4} b^{3/4} d^3}-\frac{\left (\sqrt{a}-\sqrt{b} c^2\right ) \log \left (\sqrt{a}+\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} (c+d x)+\sqrt{b} (c+d x)^2\right )}{4 \sqrt{2} a^{3/4} b^{3/4} d^3}+\frac{\left (\sqrt{a}+\sqrt{b} c^2\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{b} (c+d x)}{\sqrt [4]{a}}\right )}{2 \sqrt{2} a^{3/4} b^{3/4} d^3}-\frac{\left (\sqrt{a}+\sqrt{b} c^2\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{b} (c+d x)}{\sqrt [4]{a}}\right )}{2 \sqrt{2} a^{3/4} b^{3/4} d^3}\\ &=-\frac{c \tan ^{-1}\left (\frac{\sqrt{b} (c+d x)^2}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b} d^3}-\frac{\left (\sqrt{a}+\sqrt{b} c^2\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} (c+d x)}{\sqrt [4]{a}}\right )}{2 \sqrt{2} a^{3/4} b^{3/4} d^3}+\frac{\left (\sqrt{a}+\sqrt{b} c^2\right ) \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{b} (c+d x)}{\sqrt [4]{a}}\right )}{2 \sqrt{2} a^{3/4} b^{3/4} d^3}+\frac{\left (\sqrt{a}-\sqrt{b} c^2\right ) \log \left (\sqrt{a}-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} (c+d x)+\sqrt{b} (c+d x)^2\right )}{4 \sqrt{2} a^{3/4} b^{3/4} d^3}-\frac{\left (\sqrt{a}-\sqrt{b} c^2\right ) \log \left (\sqrt{a}+\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} (c+d x)+\sqrt{b} (c+d x)^2\right )}{4 \sqrt{2} a^{3/4} b^{3/4} d^3}\\ \end{align*}
Mathematica [C] time = 0.0325013, size = 106, normalized size = 0.33 \[ \frac{\text{RootSum}\left [6 \text{$\#$1}^2 b c^2 d^2+4 \text{$\#$1}^3 b c d^3+\text{$\#$1}^4 b d^4+4 \text{$\#$1} b c^3 d+a+b c^4\& ,\frac{\text{$\#$1}^2 \log (x-\text{$\#$1})}{3 \text{$\#$1}^2 c d^2+\text{$\#$1}^3 d^3+3 \text{$\#$1} c^2 d+c^3}\& \right ]}{4 b d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.003, size = 97, normalized size = 0.3 \begin{align*}{\frac{1}{4\,bd}\sum _{{\it \_R}={\it RootOf} \left ({{\it \_Z}}^{4}b{d}^{4}+4\,{{\it \_Z}}^{3}bc{d}^{3}+6\,{{\it \_Z}}^{2}b{c}^{2}{d}^{2}+4\,{\it \_Z}\,b{c}^{3}d+b{c}^{4}+a \right ) }{\frac{{{\it \_R}}^{2}\ln \left ( x-{\it \_R} \right ) }{{d}^{3}{{\it \_R}}^{3}+3\,c{d}^{2}{{\it \_R}}^{2}+3\,{\it \_R}\,{c}^{2}d+{c}^{3}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{{\left (d x + c\right )}^{4} b + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.54595, size = 274, normalized size = 0.86 \begin{align*} \operatorname{RootSum}{\left (256 t^{4} a^{3} b^{3} d^{12} + 192 t^{2} a^{2} b^{2} c^{2} d^{6} + t \left (- 32 a^{2} b c d^{3} + 32 a b^{2} c^{5} d^{3}\right ) + a^{2} + 2 a b c^{4} + b^{2} c^{8}, \left ( t \mapsto t \log{\left (x + \frac{64 t^{3} a^{4} b^{2} d^{9} + 448 t^{3} a^{3} b^{3} c^{4} d^{9} + 160 t^{2} a^{3} b^{2} c^{3} d^{6} - 32 t^{2} a^{2} b^{3} c^{7} d^{6} + 60 t a^{3} b c^{2} d^{3} + 256 t a^{2} b^{2} c^{6} d^{3} + 4 t a b^{3} c^{10} d^{3} - 5 a^{3} c - 9 a^{2} b c^{5} - 3 a b^{2} c^{9} + b^{3} c^{13}}{a^{3} d - 33 a^{2} b c^{4} d - 33 a b^{2} c^{8} d + b^{3} c^{12} d} \right )} \right )\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{{\left (d x + c\right )}^{4} b + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]