Integrand size = 24, antiderivative size = 110 \[ \int \frac {1}{x^4 \left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx=-\frac {\sqrt {c+d x^2}}{3 a c x^3}+\frac {(3 b c+2 a d) \sqrt {c+d x^2}}{3 a^2 c^2 x}+\frac {b^2 \arctan \left (\frac {\sqrt {b c-a d} x}{\sqrt {a} \sqrt {c+d x^2}}\right )}{a^{5/2} \sqrt {b c-a d}} \] Output:
-1/3*(d*x^2+c)^(1/2)/a/c/x^3+1/3*(2*a*d+3*b*c)*(d*x^2+c)^(1/2)/a^2/c^2/x+b ^2*arctan((-a*d+b*c)^(1/2)*x/a^(1/2)/(d*x^2+c)^(1/2))/a^(5/2)/(-a*d+b*c)^( 1/2)
Time = 0.25 (sec) , antiderivative size = 117, normalized size of antiderivative = 1.06 \[ \int \frac {1}{x^4 \left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx=\frac {\sqrt {c+d x^2} \left (-a c+3 b c x^2+2 a d x^2\right )}{3 a^2 c^2 x^3}-\frac {b^2 \arctan \left (\frac {a \sqrt {d}+b x \left (\sqrt {d} x-\sqrt {c+d x^2}\right )}{\sqrt {a} \sqrt {b c-a d}}\right )}{a^{5/2} \sqrt {b c-a d}} \] Input:
Integrate[1/(x^4*(a + b*x^2)*Sqrt[c + d*x^2]),x]
Output:
(Sqrt[c + d*x^2]*(-(a*c) + 3*b*c*x^2 + 2*a*d*x^2))/(3*a^2*c^2*x^3) - (b^2* ArcTan[(a*Sqrt[d] + b*x*(Sqrt[d]*x - Sqrt[c + d*x^2]))/(Sqrt[a]*Sqrt[b*c - a*d])])/(a^(5/2)*Sqrt[b*c - a*d])
Time = 0.28 (sec) , antiderivative size = 121, normalized size of antiderivative = 1.10, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {382, 25, 445, 27, 291, 218}
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 {1}{x^4 \left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx\) |
\(\Big \downarrow \) 382 |
\(\displaystyle \frac {\int -\frac {2 b d x^2+3 b c+2 a d}{x^2 \left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{3 a c}-\frac {\sqrt {c+d x^2}}{3 a c x^3}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -\frac {\int \frac {2 b d x^2+3 b c+2 a d}{x^2 \left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{3 a c}-\frac {\sqrt {c+d x^2}}{3 a c x^3}\) |
\(\Big \downarrow \) 445 |
\(\displaystyle -\frac {-\frac {\int \frac {3 b^2 c^2}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{a c}-\frac {\sqrt {c+d x^2} (2 a d+3 b c)}{a c x}}{3 a c}-\frac {\sqrt {c+d x^2}}{3 a c x^3}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle -\frac {-\frac {3 b^2 c \int \frac {1}{\left (b x^2+a\right ) \sqrt {d x^2+c}}dx}{a}-\frac {\sqrt {c+d x^2} (2 a d+3 b c)}{a c x}}{3 a c}-\frac {\sqrt {c+d x^2}}{3 a c x^3}\) |
\(\Big \downarrow \) 291 |
\(\displaystyle -\frac {-\frac {3 b^2 c \int \frac {1}{a-\frac {(a d-b c) x^2}{d x^2+c}}d\frac {x}{\sqrt {d x^2+c}}}{a}-\frac {\sqrt {c+d x^2} (2 a d+3 b c)}{a c x}}{3 a c}-\frac {\sqrt {c+d x^2}}{3 a c x^3}\) |
\(\Big \downarrow \) 218 |
\(\displaystyle -\frac {-\frac {3 b^2 c \arctan \left (\frac {x \sqrt {b c-a d}}{\sqrt {a} \sqrt {c+d x^2}}\right )}{a^{3/2} \sqrt {b c-a d}}-\frac {\sqrt {c+d x^2} (2 a d+3 b c)}{a c x}}{3 a c}-\frac {\sqrt {c+d x^2}}{3 a c x^3}\) |
Input:
Int[1/(x^4*(a + b*x^2)*Sqrt[c + d*x^2]),x]
Output:
-1/3*Sqrt[c + d*x^2]/(a*c*x^3) - (-(((3*b*c + 2*a*d)*Sqrt[c + d*x^2])/(a*c *x)) - (3*b^2*c*ArcTan[(Sqrt[b*c - a*d]*x)/(Sqrt[a]*Sqrt[c + d*x^2])])/(a^ (3/2)*Sqrt[b*c - a*d]))/(3*a*c)
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/R t[a/b, 2]], x] /; FreeQ[{a, b}, x] && PosQ[a/b]
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*((c_) + (d_.)*(x_)^2)), x_Symbol] :> Subst [Int[1/(c - (b*c - a*d)*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]
Int[((e_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_) , x_Symbol] :> Simp[(e*x)^(m + 1)*(a + b*x^2)^(p + 1)*((c + d*x^2)^(q + 1)/ (a*c*e*(m + 1))), x] - Simp[1/(a*c*e^2*(m + 1)) Int[(e*x)^(m + 2)*(a + b* x^2)^p*(c + d*x^2)^q*Simp[(b*c + a*d)*(m + 3) + 2*(b*c*p + a*d*q) + b*d*(m + 2*p + 2*q + 5)*x^2, x], x], x] /; FreeQ[{a, b, c, d, e, p, q}, x] && NeQ[ b*c - a*d, 0] && LtQ[m, -1] && IntBinomialQ[a, b, c, d, e, m, 2, p, q, x]
Int[((g_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_ .)*((e_) + (f_.)*(x_)^2), x_Symbol] :> Simp[e*(g*x)^(m + 1)*(a + b*x^2)^(p + 1)*((c + d*x^2)^(q + 1)/(a*c*g*(m + 1))), x] + Simp[1/(a*c*g^2*(m + 1)) Int[(g*x)^(m + 2)*(a + b*x^2)^p*(c + d*x^2)^q*Simp[a*f*c*(m + 1) - e*(b*c + a*d)*(m + 2 + 1) - e*2*(b*c*p + a*d*q) - b*e*d*(m + 2*(p + q + 2) + 1)*x^ 2, x], x], x] /; FreeQ[{a, b, c, d, e, f, g, p, q}, x] && LtQ[m, -1]
Time = 0.74 (sec) , antiderivative size = 87, normalized size of antiderivative = 0.79
method | result | size |
pseudoelliptic | \(\frac {-\frac {\sqrt {x^{2} d +c}\, \left (-2 a d \,x^{2}-3 x^{2} b c +a c \right )}{3 x^{3}}+\frac {b^{2} c^{2} \operatorname {arctanh}\left (\frac {\sqrt {x^{2} d +c}\, a}{x \sqrt {\left (a d -b c \right ) a}}\right )}{\sqrt {\left (a d -b c \right ) a}}}{a^{2} c^{2}}\) | \(87\) |
risch | \(-\frac {\sqrt {x^{2} d +c}\, \left (-2 a d \,x^{2}-3 x^{2} b c +a c \right )}{3 c^{2} a^{2} x^{3}}+\frac {b^{2} \left (-\frac {\ln \left (\frac {-\frac {2 \left (a d -b c \right )}{b}+\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}+2 \sqrt {-\frac {a d -b c}{b}}\, \sqrt {\left (x -\frac {\sqrt {-a b}}{b}\right )^{2} d +\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{x -\frac {\sqrt {-a b}}{b}}\right )}{2 \sqrt {-a b}\, \sqrt {-\frac {a d -b c}{b}}}+\frac {\ln \left (\frac {-\frac {2 \left (a d -b c \right )}{b}-\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}+2 \sqrt {-\frac {a d -b c}{b}}\, \sqrt {\left (x +\frac {\sqrt {-a b}}{b}\right )^{2} d -\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{x +\frac {\sqrt {-a b}}{b}}\right )}{2 \sqrt {-a b}\, \sqrt {-\frac {a d -b c}{b}}}\right )}{a^{2}}\) | \(352\) |
default | \(\frac {-\frac {\sqrt {x^{2} d +c}}{3 c \,x^{3}}+\frac {2 d \sqrt {x^{2} d +c}}{3 c^{2} x}}{a}+\frac {b \sqrt {x^{2} d +c}}{a^{2} c x}-\frac {b^{2} \ln \left (\frac {-\frac {2 \left (a d -b c \right )}{b}+\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}+2 \sqrt {-\frac {a d -b c}{b}}\, \sqrt {\left (x -\frac {\sqrt {-a b}}{b}\right )^{2} d +\frac {2 d \sqrt {-a b}\, \left (x -\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{x -\frac {\sqrt {-a b}}{b}}\right )}{2 a^{2} \sqrt {-a b}\, \sqrt {-\frac {a d -b c}{b}}}+\frac {b^{2} \ln \left (\frac {-\frac {2 \left (a d -b c \right )}{b}-\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}+2 \sqrt {-\frac {a d -b c}{b}}\, \sqrt {\left (x +\frac {\sqrt {-a b}}{b}\right )^{2} d -\frac {2 d \sqrt {-a b}\, \left (x +\frac {\sqrt {-a b}}{b}\right )}{b}-\frac {a d -b c}{b}}}{x +\frac {\sqrt {-a b}}{b}}\right )}{2 a^{2} \sqrt {-a b}\, \sqrt {-\frac {a d -b c}{b}}}\) | \(378\) |
Input:
int(1/x^4/(b*x^2+a)/(d*x^2+c)^(1/2),x,method=_RETURNVERBOSE)
Output:
1/a^2*(-1/3*(d*x^2+c)^(1/2)*(-2*a*d*x^2-3*b*c*x^2+a*c)/x^3+b^2*c^2/((a*d-b *c)*a)^(1/2)*arctanh((d*x^2+c)^(1/2)/x*a/((a*d-b*c)*a)^(1/2)))/c^2
Leaf count of result is larger than twice the leaf count of optimal. 187 vs. \(2 (92) = 184\).
Time = 0.14 (sec) , antiderivative size = 414, normalized size of antiderivative = 3.76 \[ \int \frac {1}{x^4 \left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx=\left [-\frac {3 \, \sqrt {-a b c + a^{2} d} b^{2} c^{2} x^{3} \log \left (\frac {{\left (b^{2} c^{2} - 8 \, a b c d + 8 \, a^{2} d^{2}\right )} x^{4} + a^{2} c^{2} - 2 \, {\left (3 \, a b c^{2} - 4 \, a^{2} c d\right )} x^{2} - 4 \, {\left ({\left (b c - 2 \, a d\right )} x^{3} - a c x\right )} \sqrt {-a b c + a^{2} d} \sqrt {d x^{2} + c}}{b^{2} x^{4} + 2 \, a b x^{2} + a^{2}}\right ) + 4 \, {\left (a^{2} b c^{2} - a^{3} c d - {\left (3 \, a b^{2} c^{2} - a^{2} b c d - 2 \, a^{3} d^{2}\right )} x^{2}\right )} \sqrt {d x^{2} + c}}{12 \, {\left (a^{3} b c^{3} - a^{4} c^{2} d\right )} x^{3}}, \frac {3 \, \sqrt {a b c - a^{2} d} b^{2} c^{2} x^{3} \arctan \left (\frac {\sqrt {a b c - a^{2} d} {\left ({\left (b c - 2 \, a d\right )} x^{2} - a c\right )} \sqrt {d x^{2} + c}}{2 \, {\left ({\left (a b c d - a^{2} d^{2}\right )} x^{3} + {\left (a b c^{2} - a^{2} c d\right )} x\right )}}\right ) - 2 \, {\left (a^{2} b c^{2} - a^{3} c d - {\left (3 \, a b^{2} c^{2} - a^{2} b c d - 2 \, a^{3} d^{2}\right )} x^{2}\right )} \sqrt {d x^{2} + c}}{6 \, {\left (a^{3} b c^{3} - a^{4} c^{2} d\right )} x^{3}}\right ] \] Input:
integrate(1/x^4/(b*x^2+a)/(d*x^2+c)^(1/2),x, algorithm="fricas")
Output:
[-1/12*(3*sqrt(-a*b*c + a^2*d)*b^2*c^2*x^3*log(((b^2*c^2 - 8*a*b*c*d + 8*a ^2*d^2)*x^4 + a^2*c^2 - 2*(3*a*b*c^2 - 4*a^2*c*d)*x^2 - 4*((b*c - 2*a*d)*x ^3 - a*c*x)*sqrt(-a*b*c + a^2*d)*sqrt(d*x^2 + c))/(b^2*x^4 + 2*a*b*x^2 + a ^2)) + 4*(a^2*b*c^2 - a^3*c*d - (3*a*b^2*c^2 - a^2*b*c*d - 2*a^3*d^2)*x^2) *sqrt(d*x^2 + c))/((a^3*b*c^3 - a^4*c^2*d)*x^3), 1/6*(3*sqrt(a*b*c - a^2*d )*b^2*c^2*x^3*arctan(1/2*sqrt(a*b*c - a^2*d)*((b*c - 2*a*d)*x^2 - a*c)*sqr t(d*x^2 + c)/((a*b*c*d - a^2*d^2)*x^3 + (a*b*c^2 - a^2*c*d)*x)) - 2*(a^2*b *c^2 - a^3*c*d - (3*a*b^2*c^2 - a^2*b*c*d - 2*a^3*d^2)*x^2)*sqrt(d*x^2 + c ))/((a^3*b*c^3 - a^4*c^2*d)*x^3)]
\[ \int \frac {1}{x^4 \left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx=\int \frac {1}{x^{4} \left (a + b x^{2}\right ) \sqrt {c + d x^{2}}}\, dx \] Input:
integrate(1/x**4/(b*x**2+a)/(d*x**2+c)**(1/2),x)
Output:
Integral(1/(x**4*(a + b*x**2)*sqrt(c + d*x**2)), x)
\[ \int \frac {1}{x^4 \left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx=\int { \frac {1}{{\left (b x^{2} + a\right )} \sqrt {d x^{2} + c} x^{4}} \,d x } \] Input:
integrate(1/x^4/(b*x^2+a)/(d*x^2+c)^(1/2),x, algorithm="maxima")
Output:
integrate(1/((b*x^2 + a)*sqrt(d*x^2 + c)*x^4), x)
Leaf count of result is larger than twice the leaf count of optimal. 195 vs. \(2 (92) = 184\).
Time = 0.25 (sec) , antiderivative size = 195, normalized size of antiderivative = 1.77 \[ \int \frac {1}{x^4 \left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx=-\frac {1}{3} \, d^{\frac {5}{2}} {\left (\frac {3 \, b^{2} \arctan \left (\frac {{\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} b - b c + 2 \, a d}{2 \, \sqrt {a b c d - a^{2} d^{2}}}\right )}{\sqrt {a b c d - a^{2} d^{2}} a^{2} d^{2}} + \frac {2 \, {\left (3 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{4} b - 6 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} b c - 6 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} a d + 3 \, b c^{2} + 2 \, a c d\right )}}{{\left ({\left (\sqrt {d} x - \sqrt {d x^{2} + c}\right )}^{2} - c\right )}^{3} a^{2} d^{2}}\right )} \] Input:
integrate(1/x^4/(b*x^2+a)/(d*x^2+c)^(1/2),x, algorithm="giac")
Output:
-1/3*d^(5/2)*(3*b^2*arctan(1/2*((sqrt(d)*x - sqrt(d*x^2 + c))^2*b - b*c + 2*a*d)/sqrt(a*b*c*d - a^2*d^2))/(sqrt(a*b*c*d - a^2*d^2)*a^2*d^2) + 2*(3*( sqrt(d)*x - sqrt(d*x^2 + c))^4*b - 6*(sqrt(d)*x - sqrt(d*x^2 + c))^2*b*c - 6*(sqrt(d)*x - sqrt(d*x^2 + c))^2*a*d + 3*b*c^2 + 2*a*c*d)/(((sqrt(d)*x - sqrt(d*x^2 + c))^2 - c)^3*a^2*d^2))
Timed out. \[ \int \frac {1}{x^4 \left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx=\int \frac {1}{x^4\,\left (b\,x^2+a\right )\,\sqrt {d\,x^2+c}} \,d x \] Input:
int(1/(x^4*(a + b*x^2)*(c + d*x^2)^(1/2)),x)
Output:
int(1/(x^4*(a + b*x^2)*(c + d*x^2)^(1/2)), x)
Time = 0.30 (sec) , antiderivative size = 348, normalized size of antiderivative = 3.16 \[ \int \frac {1}{x^4 \left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx=\frac {3 \sqrt {a}\, \sqrt {a d -b c}\, \mathrm {log}\left (-\sqrt {2 \sqrt {d}\, \sqrt {a}\, \sqrt {a d -b c}-2 a d +b c}+\sqrt {b}\, \sqrt {d \,x^{2}+c}+\sqrt {d}\, \sqrt {b}\, x \right ) b^{2} c^{2} x^{3}+3 \sqrt {a}\, \sqrt {a d -b c}\, \mathrm {log}\left (\sqrt {2 \sqrt {d}\, \sqrt {a}\, \sqrt {a d -b c}-2 a d +b c}+\sqrt {b}\, \sqrt {d \,x^{2}+c}+\sqrt {d}\, \sqrt {b}\, x \right ) b^{2} c^{2} x^{3}-3 \sqrt {a}\, \sqrt {a d -b c}\, \mathrm {log}\left (2 \sqrt {d}\, \sqrt {a}\, \sqrt {a d -b c}+2 \sqrt {d}\, \sqrt {d \,x^{2}+c}\, b x +2 a d +2 b d \,x^{2}\right ) b^{2} c^{2} x^{3}-2 \sqrt {d \,x^{2}+c}\, a^{3} c d +4 \sqrt {d \,x^{2}+c}\, a^{3} d^{2} x^{2}+2 \sqrt {d \,x^{2}+c}\, a^{2} b \,c^{2}+2 \sqrt {d \,x^{2}+c}\, a^{2} b c d \,x^{2}-6 \sqrt {d \,x^{2}+c}\, a \,b^{2} c^{2} x^{2}-4 \sqrt {d}\, a^{3} d^{2} x^{3}+2 \sqrt {d}\, a^{2} b c d \,x^{3}+2 \sqrt {d}\, a \,b^{2} c^{2} x^{3}}{6 a^{3} c^{2} x^{3} \left (a d -b c \right )} \] Input:
int(1/x^4/(b*x^2+a)/(d*x^2+c)^(1/2),x)
Output:
(3*sqrt(a)*sqrt(a*d - b*c)*log( - sqrt(2*sqrt(d)*sqrt(a)*sqrt(a*d - b*c) - 2*a*d + b*c) + sqrt(b)*sqrt(c + d*x**2) + sqrt(d)*sqrt(b)*x)*b**2*c**2*x* *3 + 3*sqrt(a)*sqrt(a*d - b*c)*log(sqrt(2*sqrt(d)*sqrt(a)*sqrt(a*d - b*c) - 2*a*d + b*c) + sqrt(b)*sqrt(c + d*x**2) + sqrt(d)*sqrt(b)*x)*b**2*c**2*x **3 - 3*sqrt(a)*sqrt(a*d - b*c)*log(2*sqrt(d)*sqrt(a)*sqrt(a*d - b*c) + 2* sqrt(d)*sqrt(c + d*x**2)*b*x + 2*a*d + 2*b*d*x**2)*b**2*c**2*x**3 - 2*sqrt (c + d*x**2)*a**3*c*d + 4*sqrt(c + d*x**2)*a**3*d**2*x**2 + 2*sqrt(c + d*x **2)*a**2*b*c**2 + 2*sqrt(c + d*x**2)*a**2*b*c*d*x**2 - 6*sqrt(c + d*x**2) *a*b**2*c**2*x**2 - 4*sqrt(d)*a**3*d**2*x**3 + 2*sqrt(d)*a**2*b*c*d*x**3 + 2*sqrt(d)*a*b**2*c**2*x**3)/(6*a**3*c**2*x**3*(a*d - b*c))