Optimal. Leaf size=215 \[ \frac {\sqrt {p^2 x^6+2 p q x^3-2 p q x^2+q^2} \left (3 a p^3 x^9+9 a p^2 q x^6-3 a p^2 q x^5+9 a p q^2 x^3-3 a p q^2 x^2+3 a q^3+4 b p^2 x^7+8 b p q x^4-8 b p q x^3+4 b q^2 x+6 c p x^5+6 c q x^2\right )}{12 x^4}+\frac {1}{2} \left (-a p^2 q^2-2 c p q\right ) \log \left (\sqrt {p^2 x^6+2 p q x^3-2 p q x^2+q^2}+p x^3+q\right )+\frac {1}{2} \log (x) \left (a p^2 q^2+2 c p q\right ) \]
________________________________________________________________________________________
Rubi [F] time = 1.88, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {\left (-q+2 p x^3\right ) \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6} \left (b q x+c x^2+b p x^4+a \left (q+p x^3\right )^2\right )}{x^5} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\left (-q+2 p x^3\right ) \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6} \left (b q x+c x^2+b p x^4+a \left (q+p x^3\right )^2\right )}{x^5} \, dx &=\int \left (2 c p \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}-\frac {a q^3 \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}}{x^5}-\frac {b q^2 \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}}{x^4}-\frac {c q \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}}{x^3}+\frac {b p q \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}}{x}+3 a p^2 q x \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}+2 b p^2 x^2 \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}+2 a p^3 x^4 \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}\right ) \, dx\\ &=(2 c p) \int \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6} \, dx+\left (2 b p^2\right ) \int x^2 \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6} \, dx+\left (2 a p^3\right ) \int x^4 \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6} \, dx-(c q) \int \frac {\sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}}{x^3} \, dx+(b p q) \int \frac {\sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}}{x} \, dx+\left (3 a p^2 q\right ) \int x \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6} \, dx-\left (b q^2\right ) \int \frac {\sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}}{x^4} \, dx-\left (a q^3\right ) \int \frac {\sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}}{x^5} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 1.15, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (-q+2 p x^3\right ) \sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6} \left (b q x+c x^2+b p x^4+a \left (q+p x^3\right )^2\right )}{x^5} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.64, size = 215, normalized size = 1.00 \begin {gather*} \frac {\sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6} \left (3 a q^3+4 b q^2 x+6 c q x^2-3 a p q^2 x^2-8 b p q x^3+9 a p q^2 x^3+8 b p q x^4+6 c p x^5-3 a p^2 q x^5+9 a p^2 q x^6+4 b p^2 x^7+3 a p^3 x^9\right )}{12 x^4}+\frac {1}{2} \left (2 c p q+a p^2 q^2\right ) \log (x)+\frac {1}{2} \left (-2 c p q-a p^2 q^2\right ) \log \left (q+p x^3+\sqrt {q^2-2 p q x^2+2 p q x^3+p^2 x^6}\right ) \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 [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {p^{2} x^{6} + 2 \, p q x^{3} - 2 \, p q x^{2} + q^{2}} {\left (b p x^{4} + {\left (p x^{3} + q\right )}^{2} a + b q x + c x^{2}\right )} {\left (2 \, p x^{3} - q\right )}}{x^{5}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {\left (2 p \,x^{3}-q \right ) \sqrt {p^{2} x^{6}+2 p q \,x^{3}-2 p q \,x^{2}+q^{2}}\, \left (b q x +c \,x^{2}+b p \,x^{4}+a \left (p \,x^{3}+q \right )^{2}\right )}{x^{5}}\, 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*} \int \frac {\sqrt {p^{2} x^{6} + 2 \, p q x^{3} - 2 \, p q x^{2} + q^{2}} {\left (b p x^{4} + {\left (p x^{3} + q\right )}^{2} a + b q x + c x^{2}\right )} {\left (2 \, p x^{3} - q\right )}}{x^{5}}\,{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.00 \begin {gather*} -\int \frac {\left (q-2\,p\,x^3\right )\,\left (a\,{\left (p\,x^3+q\right )}^2+c\,x^2+b\,p\,x^4+b\,q\,x\right )\,\sqrt {p^2\,x^6+2\,p\,q\,x^3-2\,p\,q\,x^2+q^2}}{x^5} \,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 {\left (2 p x^{3} - q\right ) \sqrt {p^{2} x^{6} + 2 p q x^{3} - 2 p q x^{2} + q^{2}} \left (a p^{2} x^{6} + 2 a p q x^{3} + a q^{2} + b p x^{4} + b q x + c x^{2}\right )}{x^{5}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________