Optimal. Leaf size=132 \[ \frac {\sqrt {p^2 x^6-2 p q x^4+2 p q x^3+q^2} \left (2 a p^2 x^6-4 a p q x^4+4 a p q x^3+2 a q^2+3 b p x^5+3 b q x^2\right )}{6 x^6}-b p q \log \left (\sqrt {p^2 x^6-2 p q x^4+2 p q x^3+q^2}+p x^3+q\right )+2 b p q \log (x) \]
________________________________________________________________________________________
Rubi [F] time = 1.37, 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 (-2 q+p x^3\right ) \left (a q+b x^2+a p x^3\right ) \sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^7} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\left (-2 q+p x^3\right ) \left (a q+b x^2+a p x^3\right ) \sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^7} \, dx &=\int \left (-\frac {2 a q^2 \sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^7}-\frac {2 b q \sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^5}-\frac {a p q \sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^4}+\frac {b p \sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^2}+\frac {a p^2 \sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x}\right ) \, dx\\ &=(b p) \int \frac {\sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^2} \, dx+\left (a p^2\right ) \int \frac {\sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x} \, dx-(2 b q) \int \frac {\sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^5} \, dx-(a p q) \int \frac {\sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^4} \, dx-\left (2 a q^2\right ) \int \frac {\sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^7} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.65, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (-2 q+p x^3\right ) \left (a q+b x^2+a p x^3\right ) \sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6}}{x^7} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.49, size = 132, normalized size = 1.00 \begin {gather*} \frac {\sqrt {q^2+2 p q x^3-2 p q x^4+p^2 x^6} \left (2 a q^2+3 b q x^2+4 a p q x^3-4 a p q x^4+3 b p x^5+2 a p^2 x^6\right )}{6 x^6}+2 b p q \log (x)-b p q \log \left (q+p x^3+\sqrt {q^2+2 p q x^3-2 p q x^4+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^{4} + 2 \, p q x^{3} + q^{2}} {\left (a p x^{3} + b x^{2} + a q\right )} {\left (p x^{3} - 2 \, q\right )}}{x^{7}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (p \,x^{3}-2 q \right ) \left (a p \,x^{3}+b \,x^{2}+a q \right ) \sqrt {p^{2} x^{6}-2 p q \,x^{4}+2 p q \,x^{3}+q^{2}}}{x^{7}}\, 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^{4} + 2 \, p q x^{3} + q^{2}} {\left (a p x^{3} + b x^{2} + a q\right )} {\left (p x^{3} - 2 \, q\right )}}{x^{7}}\,{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 {\left (2\,q-p\,x^3\right )\,\left (a\,p\,x^3+b\,x^2+a\,q\right )\,\sqrt {p^2\,x^6-2\,p\,q\,x^4+2\,p\,q\,x^3+q^2}}{x^7} \,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 (p x^{3} - 2 q\right ) \left (a p x^{3} + a q + b x^{2}\right ) \sqrt {p^{2} x^{6} - 2 p q x^{4} + 2 p q x^{3} + q^{2}}}{x^{7}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________