Integrand size = 20, antiderivative size = 213 \[ \int \frac {\left (a+b x^2\right )^p}{x^3 (c+d x)} \, dx=-\frac {\left (a+b x^2\right )^{1+p}}{2 a c x^2}+\frac {d \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \operatorname {AppellF1}\left (-\frac {1}{2},-p,1,\frac {1}{2},-\frac {b x^2}{a},\frac {d^2 x^2}{c^2}\right )}{c^2 x}+\frac {d^4 \left (a+b x^2\right )^{1+p} \operatorname {Hypergeometric2F1}\left (1,1+p,2+p,\frac {d^2 \left (a+b x^2\right )}{b c^2+a d^2}\right )}{2 c^3 \left (b c^2+a d^2\right ) (1+p)}-\frac {\left (a d^2+b c^2 p\right ) \left (a+b x^2\right )^{1+p} \operatorname {Hypergeometric2F1}\left (1,1+p,2+p,1+\frac {b x^2}{a}\right )}{2 a^2 c^3 (1+p)} \] Output:
-1/2*(b*x^2+a)^(p+1)/a/c/x^2+d*(b*x^2+a)^p*AppellF1(-1/2,1,-p,1/2,d^2*x^2/ c^2,-b*x^2/a)/c^2/x/((1+b*x^2/a)^p)+1/2*d^4*(b*x^2+a)^(p+1)*hypergeom([1, p+1],[2+p],d^2*(b*x^2+a)/(a*d^2+b*c^2))/c^3/(a*d^2+b*c^2)/(p+1)-1/2*(b*c^2 *p+a*d^2)*(b*x^2+a)^(p+1)*hypergeom([1, p+1],[2+p],1+b*x^2/a)/a^2/c^3/(p+1 )
Time = 0.36 (sec) , antiderivative size = 256, normalized size of antiderivative = 1.20 \[ \int \frac {\left (a+b x^2\right )^p}{x^3 (c+d x)} \, dx=\frac {\left (a+b x^2\right )^p \left (-\frac {d^2 \left (\frac {d \left (-\sqrt {-\frac {a}{b}}+x\right )}{c+d x}\right )^{-p} \left (\frac {d \left (\sqrt {-\frac {a}{b}}+x\right )}{c+d x}\right )^{-p} \operatorname {AppellF1}\left (-2 p,-p,-p,1-2 p,\frac {c-\sqrt {-\frac {a}{b}} d}{c+d x},\frac {c+\sqrt {-\frac {a}{b}} d}{c+d x}\right )}{p}+\frac {2 c d \left (1+\frac {b x^2}{a}\right )^{-p} \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},-p,\frac {1}{2},-\frac {b x^2}{a}\right )}{x}+\left (1+\frac {a}{b x^2}\right )^{-p} \left (\frac {c^2 \operatorname {Hypergeometric2F1}\left (1-p,-p,2-p,-\frac {a}{b x^2}\right )}{(-1+p) x^2}+\frac {d^2 \operatorname {Hypergeometric2F1}\left (-p,-p,1-p,-\frac {a}{b x^2}\right )}{p}\right )\right )}{2 c^3} \] Input:
Integrate[(a + b*x^2)^p/(x^3*(c + d*x)),x]
Output:
((a + b*x^2)^p*(-((d^2*AppellF1[-2*p, -p, -p, 1 - 2*p, (c - Sqrt[-(a/b)]*d )/(c + d*x), (c + Sqrt[-(a/b)]*d)/(c + d*x)])/(p*((d*(-Sqrt[-(a/b)] + x))/ (c + d*x))^p*((d*(Sqrt[-(a/b)] + x))/(c + d*x))^p)) + (2*c*d*Hypergeometri c2F1[-1/2, -p, 1/2, -((b*x^2)/a)])/(x*(1 + (b*x^2)/a)^p) + ((c^2*Hypergeom etric2F1[1 - p, -p, 2 - p, -(a/(b*x^2))])/((-1 + p)*x^2) + (d^2*Hypergeome tric2F1[-p, -p, 1 - p, -(a/(b*x^2))])/p)/(1 + a/(b*x^2))^p))/(2*c^3)
Time = 0.65 (sec) , antiderivative size = 218, normalized size of antiderivative = 1.02, number of steps used = 10, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.450, Rules used = {621, 354, 114, 25, 174, 75, 78, 395, 394}
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 {\left (a+b x^2\right )^p}{x^3 (c+d x)} \, dx\) |
\(\Big \downarrow \) 621 |
\(\displaystyle c \int \frac {\left (b x^2+a\right )^p}{x^3 \left (c^2-d^2 x^2\right )}dx-d \int \frac {\left (b x^2+a\right )^p}{x^2 \left (c^2-d^2 x^2\right )}dx\) |
\(\Big \downarrow \) 354 |
\(\displaystyle \frac {1}{2} c \int \frac {\left (b x^2+a\right )^p}{x^4 \left (c^2-d^2 x^2\right )}dx^2-d \int \frac {\left (b x^2+a\right )^p}{x^2 \left (c^2-d^2 x^2\right )}dx\) |
\(\Big \downarrow \) 114 |
\(\displaystyle \frac {1}{2} c \left (-\frac {\int -\frac {\left (b x^2+a\right )^p \left (b p c^2+a d^2-b d^2 p x^2\right )}{x^2 \left (c^2-d^2 x^2\right )}dx^2}{a c^2}-\frac {\left (a+b x^2\right )^{p+1}}{a c^2 x^2}\right )-d \int \frac {\left (b x^2+a\right )^p}{x^2 \left (c^2-d^2 x^2\right )}dx\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {1}{2} c \left (\frac {\int \frac {\left (b x^2+a\right )^p \left (b p c^2+a d^2-b d^2 p x^2\right )}{x^2 \left (c^2-d^2 x^2\right )}dx^2}{a c^2}-\frac {\left (a+b x^2\right )^{p+1}}{a c^2 x^2}\right )-d \int \frac {\left (b x^2+a\right )^p}{x^2 \left (c^2-d^2 x^2\right )}dx\) |
\(\Big \downarrow \) 174 |
\(\displaystyle \frac {1}{2} c \left (\frac {\left (\frac {a d^2}{c^2}+b p\right ) \int \frac {\left (b x^2+a\right )^p}{x^2}dx^2+\frac {a d^4 \int \frac {\left (b x^2+a\right )^p}{c^2-d^2 x^2}dx^2}{c^2}}{a c^2}-\frac {\left (a+b x^2\right )^{p+1}}{a c^2 x^2}\right )-d \int \frac {\left (b x^2+a\right )^p}{x^2 \left (c^2-d^2 x^2\right )}dx\) |
\(\Big \downarrow \) 75 |
\(\displaystyle \frac {1}{2} c \left (\frac {\frac {a d^4 \int \frac {\left (b x^2+a\right )^p}{c^2-d^2 x^2}dx^2}{c^2}-\frac {\left (a+b x^2\right )^{p+1} \left (\frac {a d^2}{c^2}+b p\right ) \operatorname {Hypergeometric2F1}\left (1,p+1,p+2,\frac {b x^2}{a}+1\right )}{a (p+1)}}{a c^2}-\frac {\left (a+b x^2\right )^{p+1}}{a c^2 x^2}\right )-d \int \frac {\left (b x^2+a\right )^p}{x^2 \left (c^2-d^2 x^2\right )}dx\) |
\(\Big \downarrow \) 78 |
\(\displaystyle \frac {1}{2} c \left (\frac {\frac {a d^4 \left (a+b x^2\right )^{p+1} \operatorname {Hypergeometric2F1}\left (1,p+1,p+2,\frac {d^2 \left (b x^2+a\right )}{b c^2+a d^2}\right )}{c^2 (p+1) \left (a d^2+b c^2\right )}-\frac {\left (a+b x^2\right )^{p+1} \left (\frac {a d^2}{c^2}+b p\right ) \operatorname {Hypergeometric2F1}\left (1,p+1,p+2,\frac {b x^2}{a}+1\right )}{a (p+1)}}{a c^2}-\frac {\left (a+b x^2\right )^{p+1}}{a c^2 x^2}\right )-d \int \frac {\left (b x^2+a\right )^p}{x^2 \left (c^2-d^2 x^2\right )}dx\) |
\(\Big \downarrow \) 395 |
\(\displaystyle \frac {1}{2} c \left (\frac {\frac {a d^4 \left (a+b x^2\right )^{p+1} \operatorname {Hypergeometric2F1}\left (1,p+1,p+2,\frac {d^2 \left (b x^2+a\right )}{b c^2+a d^2}\right )}{c^2 (p+1) \left (a d^2+b c^2\right )}-\frac {\left (a+b x^2\right )^{p+1} \left (\frac {a d^2}{c^2}+b p\right ) \operatorname {Hypergeometric2F1}\left (1,p+1,p+2,\frac {b x^2}{a}+1\right )}{a (p+1)}}{a c^2}-\frac {\left (a+b x^2\right )^{p+1}}{a c^2 x^2}\right )-d \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \int \frac {\left (\frac {b x^2}{a}+1\right )^p}{x^2 \left (c^2-d^2 x^2\right )}dx\) |
\(\Big \downarrow \) 394 |
\(\displaystyle \frac {d \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \operatorname {AppellF1}\left (-\frac {1}{2},-p,1,\frac {1}{2},-\frac {b x^2}{a},\frac {d^2 x^2}{c^2}\right )}{c^2 x}+\frac {1}{2} c \left (\frac {\frac {a d^4 \left (a+b x^2\right )^{p+1} \operatorname {Hypergeometric2F1}\left (1,p+1,p+2,\frac {d^2 \left (b x^2+a\right )}{b c^2+a d^2}\right )}{c^2 (p+1) \left (a d^2+b c^2\right )}-\frac {\left (a+b x^2\right )^{p+1} \left (\frac {a d^2}{c^2}+b p\right ) \operatorname {Hypergeometric2F1}\left (1,p+1,p+2,\frac {b x^2}{a}+1\right )}{a (p+1)}}{a c^2}-\frac {\left (a+b x^2\right )^{p+1}}{a c^2 x^2}\right )\) |
Input:
Int[(a + b*x^2)^p/(x^3*(c + d*x)),x]
Output:
(d*(a + b*x^2)^p*AppellF1[-1/2, -p, 1, 1/2, -((b*x^2)/a), (d^2*x^2)/c^2])/ (c^2*x*(1 + (b*x^2)/a)^p) + (c*(-((a + b*x^2)^(1 + p)/(a*c^2*x^2)) + ((a*d ^4*(a + b*x^2)^(1 + p)*Hypergeometric2F1[1, 1 + p, 2 + p, (d^2*(a + b*x^2) )/(b*c^2 + a*d^2)])/(c^2*(b*c^2 + a*d^2)*(1 + p)) - (((a*d^2)/c^2 + b*p)*( a + b*x^2)^(1 + p)*Hypergeometric2F1[1, 1 + p, 2 + p, 1 + (b*x^2)/a])/(a*( 1 + p)))/(a*c^2)))/2
Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((c + d*x )^(n + 1)/(d*(n + 1)*(-d/(b*c))^m))*Hypergeometric2F1[-m, n + 1, n + 2, 1 + d*(x/c)], x] /; FreeQ[{b, c, d, m, n}, x] && !IntegerQ[n] && (IntegerQ[m] || GtQ[-d/(b*c), 0])
Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(b *c - a*d)^n*((a + b*x)^(m + 1)/(b^(n + 1)*(m + 1)))*Hypergeometric2F1[-n, m + 1, m + 2, (-d)*((a + b*x)/(b*c - a*d))], x] /; FreeQ[{a, b, c, d, m}, x] && !IntegerQ[m] && IntegerQ[n]
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_) )^(p_), x_] :> Simp[b*(a + b*x)^(m + 1)*(c + d*x)^(n + 1)*((e + f*x)^(p + 1 )/((m + 1)*(b*c - a*d)*(b*e - a*f))), x] + Simp[1/((m + 1)*(b*c - a*d)*(b*e - a*f)) Int[(a + b*x)^(m + 1)*(c + d*x)^n*(e + f*x)^p*Simp[a*d*f*(m + 1) - b*(d*e*(m + n + 2) + c*f*(m + p + 2)) - b*d*f*(m + n + p + 3)*x, x], x], x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && ILtQ[m, -1] && (IntegerQ[n] || IntegersQ[2*n, 2*p] || ILtQ[m + n + p + 3, 0])
Int[(((e_.) + (f_.)*(x_))^(p_)*((g_.) + (h_.)*(x_)))/(((a_.) + (b_.)*(x_))* ((c_.) + (d_.)*(x_))), x_] :> Simp[(b*g - a*h)/(b*c - a*d) Int[(e + f*x)^ p/(a + b*x), x], x] - Simp[(d*g - c*h)/(b*c - a*d) Int[(e + f*x)^p/(c + d *x), x], x] /; FreeQ[{a, b, c, d, e, f, g, h}, x]
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.), x_S ymbol] :> Simp[1/2 Subst[Int[x^((m - 1)/2)*(a + b*x)^p*(c + d*x)^q, x], x , x^2], x] /; FreeQ[{a, b, c, d, p, q}, x] && NeQ[b*c - a*d, 0] && IntegerQ [(m - 1)/2]
Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_ ), x_Symbol] :> Simp[a^p*c^q*((e*x)^(m + 1)/(e*(m + 1)))*AppellF1[(m + 1)/2 , -p, -q, 1 + (m + 1)/2, (-b)*(x^2/a), (-d)*(x^2/c)], x] /; FreeQ[{a, b, c, d, e, m, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[m, -1] && NeQ[m, 1] && (Int egerQ[p] || GtQ[a, 0]) && (IntegerQ[q] || GtQ[c, 0])
Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_ ), x_Symbol] :> Simp[a^IntPart[p]*((a + b*x^2)^FracPart[p]/(1 + b*(x^2/a))^ FracPart[p]) Int[(e*x)^m*(1 + b*(x^2/a))^p*(c + d*x^2)^q, x], x] /; FreeQ [{a, b, c, d, e, m, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[m, -1] && NeQ[m, 1] && !(IntegerQ[p] || GtQ[a, 0])
Int[((x_)^(m_.)*((a_) + (b_.)*(x_)^2)^(p_))/((c_) + (d_.)*(x_)), x_Symbol] :> Simp[c Int[x^m*((a + b*x^2)^p/(c^2 - d^2*x^2)), x], x] - Simp[d Int[ x^(m + 1)*((a + b*x^2)^p/(c^2 - d^2*x^2)), x], x] /; FreeQ[{a, b, c, d, m, p}, x]
\[\int \frac {\left (b \,x^{2}+a \right )^{p}}{x^{3} \left (d x +c \right )}d x\]
Input:
int((b*x^2+a)^p/x^3/(d*x+c),x)
Output:
int((b*x^2+a)^p/x^3/(d*x+c),x)
\[ \int \frac {\left (a+b x^2\right )^p}{x^3 (c+d x)} \, dx=\int { \frac {{\left (b x^{2} + a\right )}^{p}}{{\left (d x + c\right )} x^{3}} \,d x } \] Input:
integrate((b*x^2+a)^p/x^3/(d*x+c),x, algorithm="fricas")
Output:
integral((b*x^2 + a)^p/(d*x^4 + c*x^3), x)
\[ \int \frac {\left (a+b x^2\right )^p}{x^3 (c+d x)} \, dx=\int \frac {\left (a + b x^{2}\right )^{p}}{x^{3} \left (c + d x\right )}\, dx \] Input:
integrate((b*x**2+a)**p/x**3/(d*x+c),x)
Output:
Integral((a + b*x**2)**p/(x**3*(c + d*x)), x)
\[ \int \frac {\left (a+b x^2\right )^p}{x^3 (c+d x)} \, dx=\int { \frac {{\left (b x^{2} + a\right )}^{p}}{{\left (d x + c\right )} x^{3}} \,d x } \] Input:
integrate((b*x^2+a)^p/x^3/(d*x+c),x, algorithm="maxima")
Output:
integrate((b*x^2 + a)^p/((d*x + c)*x^3), x)
\[ \int \frac {\left (a+b x^2\right )^p}{x^3 (c+d x)} \, dx=\int { \frac {{\left (b x^{2} + a\right )}^{p}}{{\left (d x + c\right )} x^{3}} \,d x } \] Input:
integrate((b*x^2+a)^p/x^3/(d*x+c),x, algorithm="giac")
Output:
integrate((b*x^2 + a)^p/((d*x + c)*x^3), x)
Timed out. \[ \int \frac {\left (a+b x^2\right )^p}{x^3 (c+d x)} \, dx=\int \frac {{\left (b\,x^2+a\right )}^p}{x^3\,\left (c+d\,x\right )} \,d x \] Input:
int((a + b*x^2)^p/(x^3*(c + d*x)),x)
Output:
int((a + b*x^2)^p/(x^3*(c + d*x)), x)
\[ \int \frac {\left (a+b x^2\right )^p}{x^3 (c+d x)} \, dx=\int \frac {\left (b \,x^{2}+a \right )^{p}}{d \,x^{4}+c \,x^{3}}d x \] Input:
int((b*x^2+a)^p/x^3/(d*x+c),x)
Output:
int((a + b*x**2)**p/(c*x**3 + d*x**4),x)