Integrand size = 57, antiderivative size = 96 \[ \int \frac {\sqrt {q+p x^5} \left (-2 q+3 p x^5\right ) \left (a q+b x^2+a p x^5\right )}{x^4 \left (c q+d x^2+c p x^5\right )} \, dx=\frac {2 \sqrt {q+p x^5} \left (a c q+3 b c x^2-3 a d x^2+a c p x^5\right )}{3 c^2 x^3}+\frac {2 \left (b c \sqrt {d}-a d^{3/2}\right ) \arctan \left (\frac {\sqrt {d} x}{\sqrt {c} \sqrt {q+p x^5}}\right )}{c^{5/2}} \] Output:
2/3*(p*x^5+q)^(1/2)*(a*c*p*x^5-3*a*d*x^2+3*b*c*x^2+a*c*q)/c^2/x^3+2*(b*c*d ^(1/2)-a*d^(3/2))*arctan(d^(1/2)*x/c^(1/2)/(p*x^5+q)^(1/2))/c^(5/2)
Time = 6.87 (sec) , antiderivative size = 92, normalized size of antiderivative = 0.96 \[ \int \frac {\sqrt {q+p x^5} \left (-2 q+3 p x^5\right ) \left (a q+b x^2+a p x^5\right )}{x^4 \left (c q+d x^2+c p x^5\right )} \, dx=\frac {2 \sqrt {q+p x^5} \left (a c q+3 b c x^2-3 a d x^2+a c p x^5\right )}{3 c^2 x^3}+\frac {2 \sqrt {d} (b c-a d) \arctan \left (\frac {\sqrt {d} x}{\sqrt {c} \sqrt {q+p x^5}}\right )}{c^{5/2}} \] Input:
Integrate[(Sqrt[q + p*x^5]*(-2*q + 3*p*x^5)*(a*q + b*x^2 + a*p*x^5))/(x^4* (c*q + d*x^2 + c*p*x^5)),x]
Output:
(2*Sqrt[q + p*x^5]*(a*c*q + 3*b*c*x^2 - 3*a*d*x^2 + a*c*p*x^5))/(3*c^2*x^3 ) + (2*Sqrt[d]*(b*c - a*d)*ArcTan[(Sqrt[d]*x)/(Sqrt[c]*Sqrt[q + p*x^5])])/ c^(5/2)
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\sqrt {p x^5+q} \left (3 p x^5-2 q\right ) \left (a p x^5+a q+b x^2\right )}{x^4 \left (c p x^5+c q+d x^2\right )} \, dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \int \left (-\frac {2 \sqrt {p x^5+q} (b c-a d)}{c^2 x^2}+\frac {\sqrt {p x^5+q} (b c-a d) \left (5 c p x^3+2 d\right )}{c^2 \left (c p x^5+c q+d x^2\right )}+\frac {3 a p x \sqrt {p x^5+q}}{c}-\frac {2 a q \sqrt {p x^5+q}}{c x^4}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {2 d (b c-a d) \int \frac {\sqrt {p x^5+q}}{c p x^5+d x^2+c q}dx}{c^2}+\frac {5 p (b c-a d) \int \frac {x^3 \sqrt {p x^5+q}}{c p x^5+d x^2+c q}dx}{c}-\frac {5 p x^4 \sqrt {\frac {p x^5}{q}+1} (b c-a d) \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {4}{5},\frac {9}{5},-\frac {p x^5}{q}\right )}{4 c^2 \sqrt {p x^5+q}}+\frac {2 \sqrt {p x^5+q} (b c-a d)}{c^2 x}+\frac {2 a q \sqrt {p x^5+q}}{3 c x^3}+\frac {2 a p x^2 \sqrt {p x^5+q}}{3 c}\) |
Input:
Int[(Sqrt[q + p*x^5]*(-2*q + 3*p*x^5)*(a*q + b*x^2 + a*p*x^5))/(x^4*(c*q + d*x^2 + c*p*x^5)),x]
Output:
$Aborted
Time = 0.59 (sec) , antiderivative size = 89, normalized size of antiderivative = 0.93
method | result | size |
pseudoelliptic | \(\frac {2 d \,x^{3} \left (a d -b c \right ) \arctan \left (\frac {c \sqrt {p \,x^{5}+q}}{x \sqrt {d c}}\right )+\frac {2 \sqrt {d c}\, \sqrt {p \,x^{5}+q}\, \left (a c p \,x^{5}+\left (-3 a d +3 b c \right ) x^{2}+a c q \right )}{3}}{x^{3} c^{2} \sqrt {d c}}\) | \(89\) |
Input:
int((p*x^5+q)^(1/2)*(3*p*x^5-2*q)*(a*p*x^5+b*x^2+a*q)/x^4/(c*p*x^5+d*x^2+c *q),x,method=_RETURNVERBOSE)
Output:
2/3/(d*c)^(1/2)*(3*d*x^3*(a*d-b*c)*arctan(c*(p*x^5+q)^(1/2)/x/(d*c)^(1/2)) +(d*c)^(1/2)*(p*x^5+q)^(1/2)*(a*c*p*x^5+(-3*a*d+3*b*c)*x^2+a*c*q))/x^3/c^2
Timed out. \[ \int \frac {\sqrt {q+p x^5} \left (-2 q+3 p x^5\right ) \left (a q+b x^2+a p x^5\right )}{x^4 \left (c q+d x^2+c p x^5\right )} \, dx=\text {Timed out} \] Input:
integrate((p*x^5+q)^(1/2)*(3*p*x^5-2*q)*(a*p*x^5+b*x^2+a*q)/x^4/(c*p*x^5+d *x^2+c*q),x, algorithm="fricas")
Output:
Timed out
\[ \int \frac {\sqrt {q+p x^5} \left (-2 q+3 p x^5\right ) \left (a q+b x^2+a p x^5\right )}{x^4 \left (c q+d x^2+c p x^5\right )} \, dx=\int \frac {\sqrt {p x^{5} + q} \left (3 p x^{5} - 2 q\right ) \left (a p x^{5} + a q + b x^{2}\right )}{x^{4} \left (c p x^{5} + c q + d x^{2}\right )}\, dx \] Input:
integrate((p*x**5+q)**(1/2)*(3*p*x**5-2*q)*(a*p*x**5+b*x**2+a*q)/x**4/(c*p *x**5+d*x**2+c*q),x)
Output:
Integral(sqrt(p*x**5 + q)*(3*p*x**5 - 2*q)*(a*p*x**5 + a*q + b*x**2)/(x**4 *(c*p*x**5 + c*q + d*x**2)), x)
\[ \int \frac {\sqrt {q+p x^5} \left (-2 q+3 p x^5\right ) \left (a q+b x^2+a p x^5\right )}{x^4 \left (c q+d x^2+c p x^5\right )} \, dx=\int { \frac {{\left (a p x^{5} + b x^{2} + a q\right )} {\left (3 \, p x^{5} - 2 \, q\right )} \sqrt {p x^{5} + q}}{{\left (c p x^{5} + d x^{2} + c q\right )} x^{4}} \,d x } \] Input:
integrate((p*x^5+q)^(1/2)*(3*p*x^5-2*q)*(a*p*x^5+b*x^2+a*q)/x^4/(c*p*x^5+d *x^2+c*q),x, algorithm="maxima")
Output:
integrate((a*p*x^5 + b*x^2 + a*q)*(3*p*x^5 - 2*q)*sqrt(p*x^5 + q)/((c*p*x^ 5 + d*x^2 + c*q)*x^4), x)
\[ \int \frac {\sqrt {q+p x^5} \left (-2 q+3 p x^5\right ) \left (a q+b x^2+a p x^5\right )}{x^4 \left (c q+d x^2+c p x^5\right )} \, dx=\int { \frac {{\left (a p x^{5} + b x^{2} + a q\right )} {\left (3 \, p x^{5} - 2 \, q\right )} \sqrt {p x^{5} + q}}{{\left (c p x^{5} + d x^{2} + c q\right )} x^{4}} \,d x } \] Input:
integrate((p*x^5+q)^(1/2)*(3*p*x^5-2*q)*(a*p*x^5+b*x^2+a*q)/x^4/(c*p*x^5+d *x^2+c*q),x, algorithm="giac")
Output:
integrate((a*p*x^5 + b*x^2 + a*q)*(3*p*x^5 - 2*q)*sqrt(p*x^5 + q)/((c*p*x^ 5 + d*x^2 + c*q)*x^4), x)
Time = 16.67 (sec) , antiderivative size = 184, normalized size of antiderivative = 1.92 \[ \int \frac {\sqrt {q+p x^5} \left (-2 q+3 p x^5\right ) \left (a q+b x^2+a p x^5\right )}{x^4 \left (c q+d x^2+c p x^5\right )} \, dx=\frac {2\,a\,{\left (p\,x^5+q\right )}^{3/2}}{3\,c\,x^3}+\frac {2\,b\,\sqrt {p\,x^5+q}}{c\,x}-\frac {2\,a\,d\,\sqrt {p\,x^5+q}}{c^2\,x}+\frac {a\,d^{3/2}\,\ln \left (\frac {c\,q-d\,x^2+c\,p\,x^5+\sqrt {c}\,\sqrt {d}\,x\,\sqrt {p\,x^5+q}\,2{}\mathrm {i}}{c\,p\,x^5+d\,x^2+c\,q}\right )\,1{}\mathrm {i}}{c^{5/2}}-\frac {b\,\sqrt {d}\,\ln \left (\frac {c\,q-d\,x^2+c\,p\,x^5+\sqrt {c}\,\sqrt {d}\,x\,\sqrt {p\,x^5+q}\,2{}\mathrm {i}}{c\,p\,x^5+d\,x^2+c\,q}\right )\,1{}\mathrm {i}}{c^{3/2}} \] Input:
int(-((q + p*x^5)^(1/2)*(2*q - 3*p*x^5)*(a*q + b*x^2 + a*p*x^5))/(x^4*(c*q + d*x^2 + c*p*x^5)),x)
Output:
(a*d^(3/2)*log((c*q - d*x^2 + c*p*x^5 + c^(1/2)*d^(1/2)*x*(q + p*x^5)^(1/2 )*2i)/(c*q + d*x^2 + c*p*x^5))*1i)/c^(5/2) - (b*d^(1/2)*log((c*q - d*x^2 + c*p*x^5 + c^(1/2)*d^(1/2)*x*(q + p*x^5)^(1/2)*2i)/(c*q + d*x^2 + c*p*x^5) )*1i)/c^(3/2) + (2*a*(q + p*x^5)^(3/2))/(3*c*x^3) + (2*b*(q + p*x^5)^(1/2) )/(c*x) - (2*a*d*(q + p*x^5)^(1/2))/(c^2*x)
\[ \int \frac {\sqrt {q+p x^5} \left (-2 q+3 p x^5\right ) \left (a q+b x^2+a p x^5\right )}{x^4 \left (c q+d x^2+c p x^5\right )} \, dx =\text {Too large to display} \] Input:
int((p*x^5+q)^(1/2)*(3*p*x^5-2*q)*(a*p*x^5+b*x^2+a*q)/x^4/(c*p*x^5+d*x^2+c *q),x)
Output:
(2*sqrt(p*x**5 + q)*a*c**3*p**2*q*x**5 + 2*sqrt(p*x**5 + q)*a*c**3*p*q**2 - 6*sqrt(p*x**5 + q)*a*c**2*d*p*q*x**2 + 2*sqrt(p*x**5 + q)*a*c*d**2*p*x** 4 - 14*sqrt(p*x**5 + q)*a*d**3*x + 6*sqrt(p*x**5 + q)*b*c**3*p*q*x**2 - 2* sqrt(p*x**5 + q)*b*c**2*d*p*x**4 + 14*sqrt(p*x**5 + q)*b*c*d**2*x - 28*int (sqrt(p*x**5 + q)/(c*p**2*x**13 + 2*c*p*q*x**8 + c*q**2*x**3 + d*p*x**10 + d*q*x**5),x)*a*c*d**3*q**2*x**3 + 28*int(sqrt(p*x**5 + q)/(c*p**2*x**13 + 2*c*p*q*x**8 + c*q**2*x**3 + d*p*x**10 + d*q*x**5),x)*b*c**2*d**2*q**2*x* *3 - 28*int(sqrt(p*x**5 + q)/(c*p**2*x**11 + 2*c*p*q*x**6 + c*q**2*x + d*p *x**8 + d*q*x**3),x)*a*d**4*q*x**3 + 28*int(sqrt(p*x**5 + q)/(c*p**2*x**11 + 2*c*p*q*x**6 + c*q**2*x + d*p*x**8 + d*q*x**3),x)*b*c*d**3*q*x**3 - 8*i nt(sqrt(p*x**5 + q)/(c*p**2*x**10 + 2*c*p*q*x**5 + c*q**2 + d*p*x**7 + d*q *x**2),x)*a*c**2*d**2*p*q**2*x**3 + 8*int(sqrt(p*x**5 + q)/(c*p**2*x**10 + 2*c*p*q*x**5 + c*q**2 + d*p*x**7 + d*q*x**2),x)*b*c**3*d*p*q**2*x**3 - 7* int((sqrt(p*x**5 + q)*x**10)/(c*p**2*x**10 + 2*c*p*q*x**5 + c*q**2 + d*p*x **7 + d*q*x**2),x)*a*c**2*d**2*p**3*x**3 + 7*int((sqrt(p*x**5 + q)*x**10)/ (c*p**2*x**10 + 2*c*p*q*x**5 + c*q**2 + d*p*x**7 + d*q*x**2),x)*b*c**3*d*p **3*x**3 + 7*int((sqrt(p*x**5 + q)*x**4)/(c*p**2*x**10 + 2*c*p*q*x**5 + c* q**2 + d*p*x**7 + d*q*x**2),x)*a*d**4*p*x**3 - 7*int((sqrt(p*x**5 + q)*x** 4)/(c*p**2*x**10 + 2*c*p*q*x**5 + c*q**2 + d*p*x**7 + d*q*x**2),x)*b*c*d** 3*p*x**3 - 23*int((sqrt(p*x**5 + q)*x**2)/(c*p**2*x**10 + 2*c*p*q*x**5 ...