\(\int \frac {1}{x (\frac {e (a+b x^2)}{c+d x^2})^{3/2}} \, dx\) [89]

Optimal result
Mathematica [A] (verified)
Rubi [A] (warning: unable to verify)
Maple [B] (verified)
Fricas [A] (verification not implemented)
Sympy [F(-1)]
Maxima [F(-2)]
Giac [F(-2)]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 26, antiderivative size = 188 \[ \int \frac {1}{x \left (\frac {e \left (a+b x^2\right )}{c+d x^2}\right )^{3/2}} \, dx=\frac {b c-a d}{a b e \sqrt {\frac {b e}{d}-\frac {(b c-a d) e}{d \left (c+d x^2\right )}}}-\frac {c^{3/2} \text {arctanh}\left (\frac {\sqrt {c} \sqrt {\frac {b e}{d}-\frac {(b c-a d) e}{d \left (c+d x^2\right )}}}{\sqrt {a} \sqrt {e}}\right )}{a^{3/2} e^{3/2}}+\frac {d^{3/2} \text {arctanh}\left (\frac {\sqrt {d} \sqrt {\frac {b e}{d}-\frac {(b c-a d) e}{d \left (c+d x^2\right )}}}{\sqrt {b} \sqrt {e}}\right )}{b^{3/2} e^{3/2}} \] Output:

(-a*d+b*c)/a/b/e/(b*e/d-(-a*d+b*c)*e/d/(d*x^2+c))^(1/2)-c^(3/2)*arctanh(c^ 
(1/2)*(b*e/d-(-a*d+b*c)*e/d/(d*x^2+c))^(1/2)/a^(1/2)/e^(1/2))/a^(3/2)/e^(3 
/2)+d^(3/2)*arctanh(d^(1/2)*(b*e/d-(-a*d+b*c)*e/d/(d*x^2+c))^(1/2)/b^(1/2) 
/e^(1/2))/b^(3/2)/e^(3/2)
                                                                                    
                                                                                    
 

Mathematica [A] (verified)

Time = 2.21 (sec) , antiderivative size = 189, normalized size of antiderivative = 1.01 \[ \int \frac {1}{x \left (\frac {e \left (a+b x^2\right )}{c+d x^2}\right )^{3/2}} \, dx=\frac {-b^{3/2} c^{3/2} \sqrt {a+b x^2} \text {arctanh}\left (\frac {\sqrt {c} \sqrt {a+b x^2}}{\sqrt {a} \sqrt {c+d x^2}}\right )+\sqrt {a} \left (\sqrt {b} (b c-a d) \sqrt {c+d x^2}+a d^{3/2} \sqrt {a+b x^2} \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x^2}}{\sqrt {b} \sqrt {c+d x^2}}\right )\right )}{a^{3/2} b^{3/2} e \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}} \sqrt {c+d x^2}} \] Input:

Integrate[1/(x*((e*(a + b*x^2))/(c + d*x^2))^(3/2)),x]
 

Output:

(-(b^(3/2)*c^(3/2)*Sqrt[a + b*x^2]*ArcTanh[(Sqrt[c]*Sqrt[a + b*x^2])/(Sqrt 
[a]*Sqrt[c + d*x^2])]) + Sqrt[a]*(Sqrt[b]*(b*c - a*d)*Sqrt[c + d*x^2] + a* 
d^(3/2)*Sqrt[a + b*x^2]*ArcTanh[(Sqrt[d]*Sqrt[a + b*x^2])/(Sqrt[b]*Sqrt[c 
+ d*x^2])]))/(a^(3/2)*b^(3/2)*e*Sqrt[(e*(a + b*x^2))/(c + d*x^2)]*Sqrt[c + 
 d*x^2])
 

Rubi [A] (warning: unable to verify)

Time = 0.65 (sec) , antiderivative size = 169, normalized size of antiderivative = 0.90, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {2053, 2052, 25, 382, 397, 221}

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 \left (\frac {e \left (a+b x^2\right )}{c+d x^2}\right )^{3/2}} \, dx\)

\(\Big \downarrow \) 2053

\(\displaystyle \frac {1}{2} \int \frac {1}{x^2 \left (\frac {e \left (b x^2+a\right )}{d x^2+c}\right )^{3/2}}dx^2\)

\(\Big \downarrow \) 2052

\(\displaystyle e (b c-a d) \int -\frac {1}{x^4 \left (a e-c x^4\right ) \left (b e-d x^4\right )}d\sqrt {\frac {e \left (b x^2+a\right )}{d x^2+c}}\)

\(\Big \downarrow \) 25

\(\displaystyle -\left (e (b c-a d) \int \frac {1}{x^4 \left (a e-c x^4\right ) \left (b e-d x^4\right )}d\sqrt {\frac {e \left (b x^2+a\right )}{d x^2+c}}\right )\)

\(\Big \downarrow \) 382

\(\displaystyle e (b c-a d) \left (\frac {1}{a b e^2 x^2}-\frac {\int \frac {(b c+a d) e-c d x^4}{\left (a e-c x^4\right ) \left (b e-d x^4\right )}d\sqrt {\frac {e \left (b x^2+a\right )}{d x^2+c}}}{a b e^2}\right )\)

\(\Big \downarrow \) 397

\(\displaystyle e (b c-a d) \left (\frac {1}{a b e^2 x^2}-\frac {\frac {b c^2 \int \frac {1}{a e-c x^4}d\sqrt {\frac {e \left (b x^2+a\right )}{d x^2+c}}}{b c-a d}-\frac {a d^2 \int \frac {1}{b e-d x^4}d\sqrt {\frac {e \left (b x^2+a\right )}{d x^2+c}}}{b c-a d}}{a b e^2}\right )\)

\(\Big \downarrow \) 221

\(\displaystyle e (b c-a d) \left (\frac {1}{a b e^2 x^2}-\frac {\frac {b c^{3/2} \text {arctanh}\left (\frac {\sqrt {c} \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}}{\sqrt {a} \sqrt {e}}\right )}{\sqrt {a} \sqrt {e} (b c-a d)}-\frac {a d^{3/2} \text {arctanh}\left (\frac {\sqrt {d} \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}}{\sqrt {b} \sqrt {e}}\right )}{\sqrt {b} \sqrt {e} (b c-a d)}}{a b e^2}\right )\)

Input:

Int[1/(x*((e*(a + b*x^2))/(c + d*x^2))^(3/2)),x]
 

Output:

(b*c - a*d)*e*(1/(a*b*e^2*x^2) - ((b*c^(3/2)*ArcTanh[(Sqrt[c]*Sqrt[(e*(a + 
 b*x^2))/(c + d*x^2)])/(Sqrt[a]*Sqrt[e])])/(Sqrt[a]*(b*c - a*d)*Sqrt[e]) - 
 (a*d^(3/2)*ArcTanh[(Sqrt[d]*Sqrt[(e*(a + b*x^2))/(c + d*x^2)])/(Sqrt[b]*S 
qrt[e])])/(Sqrt[b]*(b*c - a*d)*Sqrt[e]))/(a*b*e^2))
 

Defintions of rubi rules used

rule 25
Int[-(Fx_), x_Symbol] :> Simp[Identity[-1]   Int[Fx, x], x]
 

rule 221
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x 
/Rt[-a/b, 2]], x] /; FreeQ[{a, b}, x] && NegQ[a/b]
 

rule 382
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]
 

rule 397
Int[((e_) + (f_.)*(x_)^2)/(((a_) + (b_.)*(x_)^2)*((c_) + (d_.)*(x_)^2)), x_ 
Symbol] :> Simp[(b*e - a*f)/(b*c - a*d)   Int[1/(a + b*x^2), x], x] - Simp[ 
(d*e - c*f)/(b*c - a*d)   Int[1/(c + d*x^2), x], x] /; FreeQ[{a, b, c, d, e 
, f}, x]
 

rule 2052
Int[(x_)^(m_.)*(((e_.)*((a_.) + (b_.)*(x_)))/((c_) + (d_.)*(x_)))^(p_), x_S 
ymbol] :> With[{q = Denominator[p]}, Simp[q*e*(b*c - a*d)   Subst[Int[x^(q* 
(p + 1) - 1)*(((-a)*e + c*x^q)^m/(b*e - d*x^q)^(m + 2)), x], x, (e*((a + b* 
x)/(c + d*x)))^(1/q)], x]] /; FreeQ[{a, b, c, d, e, m}, x] && FractionQ[p] 
&& IntegerQ[m]
 

rule 2053
Int[(x_)^(m_.)*(((e_.)*((a_.) + (b_.)*(x_)^(n_.)))/((c_) + (d_.)*(x_)^(n_.) 
))^(p_), x_Symbol] :> Simp[1/n   Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(e*( 
(a + b*x)/(c + d*x)))^p, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p}, 
 x] && IntegerQ[Simplify[(m + 1)/n]]
 
Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(400\) vs. \(2(158)=316\).

Time = 0.14 (sec) , antiderivative size = 401, normalized size of antiderivative = 2.13

method result size
default \(-\frac {\left (b \,x^{2}+a \right ) \left (\sqrt {b d}\, \ln \left (\frac {a d \,x^{2}+b c \,x^{2}+2 \sqrt {a c}\, \sqrt {d b \,x^{4}+a d \,x^{2}+b c \,x^{2}+a c}+2 a c}{x^{2}}\right ) b^{2} c^{2} x^{2}-\ln \left (\frac {2 b d \,x^{2}+2 \sqrt {d b \,x^{4}+a d \,x^{2}+b c \,x^{2}+a c}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) \sqrt {a c}\, a b \,d^{2} x^{2}+\sqrt {b d}\, \ln \left (\frac {a d \,x^{2}+b c \,x^{2}+2 \sqrt {a c}\, \sqrt {d b \,x^{4}+a d \,x^{2}+b c \,x^{2}+a c}+2 a c}{x^{2}}\right ) a b \,c^{2}-\ln \left (\frac {2 b d \,x^{2}+2 \sqrt {d b \,x^{4}+a d \,x^{2}+b c \,x^{2}+a c}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) \sqrt {a c}\, a^{2} d^{2}+2 \sqrt {a c}\, \sqrt {\left (d \,x^{2}+c \right ) \left (b \,x^{2}+a \right )}\, \sqrt {b d}\, a d -2 \sqrt {a c}\, \sqrt {\left (d \,x^{2}+c \right ) \left (b \,x^{2}+a \right )}\, \sqrt {b d}\, b c \right )}{2 b a \sqrt {a c}\, \sqrt {b d}\, \sqrt {\left (d \,x^{2}+c \right ) \left (b \,x^{2}+a \right )}\, \left (d \,x^{2}+c \right ) {\left (\frac {e \left (b \,x^{2}+a \right )}{d \,x^{2}+c}\right )}^{\frac {3}{2}}}\) \(401\)

Input:

int(1/x/(e*(b*x^2+a)/(d*x^2+c))^(3/2),x,method=_RETURNVERBOSE)
 

Output:

-1/2*(b*x^2+a)/b/a*((b*d)^(1/2)*ln((a*d*x^2+b*c*x^2+2*(a*c)^(1/2)*(b*d*x^4 
+a*d*x^2+b*c*x^2+a*c)^(1/2)+2*a*c)/x^2)*b^2*c^2*x^2-ln(1/2*(2*b*d*x^2+2*(b 
*d*x^4+a*d*x^2+b*c*x^2+a*c)^(1/2)*(b*d)^(1/2)+a*d+b*c)/(b*d)^(1/2))*(a*c)^ 
(1/2)*a*b*d^2*x^2+(b*d)^(1/2)*ln((a*d*x^2+b*c*x^2+2*(a*c)^(1/2)*(b*d*x^4+a 
*d*x^2+b*c*x^2+a*c)^(1/2)+2*a*c)/x^2)*a*b*c^2-ln(1/2*(2*b*d*x^2+2*(b*d*x^4 
+a*d*x^2+b*c*x^2+a*c)^(1/2)*(b*d)^(1/2)+a*d+b*c)/(b*d)^(1/2))*(a*c)^(1/2)* 
a^2*d^2+2*(a*c)^(1/2)*((d*x^2+c)*(b*x^2+a))^(1/2)*(b*d)^(1/2)*a*d-2*(a*c)^ 
(1/2)*((d*x^2+c)*(b*x^2+a))^(1/2)*(b*d)^(1/2)*b*c)/(a*c)^(1/2)/(b*d)^(1/2) 
/((d*x^2+c)*(b*x^2+a))^(1/2)/(d*x^2+c)/(e*(b*x^2+a)/(d*x^2+c))^(3/2)
 

Fricas [A] (verification not implemented)

Time = 0.71 (sec) , antiderivative size = 1293, normalized size of antiderivative = 6.88 \[ \int \frac {1}{x \left (\frac {e \left (a+b x^2\right )}{c+d x^2}\right )^{3/2}} \, dx=\text {Too large to display} \] Input:

integrate(1/x/(e*(b*x^2+a)/(d*x^2+c))^(3/2),x, algorithm="fricas")
 

Output:

[1/4*((a*b*d*e*x^2 + a^2*d*e)*sqrt(d/(b*e))*log(8*b^2*d^2*x^4 + b^2*c^2 + 
6*a*b*c*d + a^2*d^2 + 8*(b^2*c*d + a*b*d^2)*x^2 + 4*(2*b^2*d^2*x^4 + b^2*c 
^2 + a*b*c*d + (3*b^2*c*d + a*b*d^2)*x^2)*sqrt((b*e*x^2 + a*e)/(d*x^2 + c) 
)*sqrt(d/(b*e))) + (b^2*c*e*x^2 + a*b*c*e)*sqrt(c/(a*e))*log(((b^2*c^2 + 6 
*a*b*c*d + a^2*d^2)*x^4 + 8*a^2*c^2 + 8*(a*b*c^2 + a^2*c*d)*x^2 - 4*((a*b* 
c*d + a^2*d^2)*x^4 + 2*a^2*c^2 + (a*b*c^2 + 3*a^2*c*d)*x^2)*sqrt((b*e*x^2 
+ a*e)/(d*x^2 + c))*sqrt(c/(a*e)))/x^4) + 4*(b*c^2 - a*c*d + (b*c*d - a*d^ 
2)*x^2)*sqrt((b*e*x^2 + a*e)/(d*x^2 + c)))/(a*b^2*e^2*x^2 + a^2*b*e^2), -1 
/4*(2*(a*b*d*e*x^2 + a^2*d*e)*sqrt(-d/(b*e))*arctan(1/2*(2*b*d*x^2 + b*c + 
 a*d)*sqrt((b*e*x^2 + a*e)/(d*x^2 + c))*sqrt(-d/(b*e))/(b*d*x^2 + a*d)) - 
(b^2*c*e*x^2 + a*b*c*e)*sqrt(c/(a*e))*log(((b^2*c^2 + 6*a*b*c*d + a^2*d^2) 
*x^4 + 8*a^2*c^2 + 8*(a*b*c^2 + a^2*c*d)*x^2 - 4*((a*b*c*d + a^2*d^2)*x^4 
+ 2*a^2*c^2 + (a*b*c^2 + 3*a^2*c*d)*x^2)*sqrt((b*e*x^2 + a*e)/(d*x^2 + c)) 
*sqrt(c/(a*e)))/x^4) - 4*(b*c^2 - a*c*d + (b*c*d - a*d^2)*x^2)*sqrt((b*e*x 
^2 + a*e)/(d*x^2 + c)))/(a*b^2*e^2*x^2 + a^2*b*e^2), 1/4*(2*(b^2*c*e*x^2 + 
 a*b*c*e)*sqrt(-c/(a*e))*arctan(1/2*((b*c + a*d)*x^2 + 2*a*c)*sqrt((b*e*x^ 
2 + a*e)/(d*x^2 + c))*sqrt(-c/(a*e))/(b*c*x^2 + a*c)) + (a*b*d*e*x^2 + a^2 
*d*e)*sqrt(d/(b*e))*log(8*b^2*d^2*x^4 + b^2*c^2 + 6*a*b*c*d + a^2*d^2 + 8* 
(b^2*c*d + a*b*d^2)*x^2 + 4*(2*b^2*d^2*x^4 + b^2*c^2 + a*b*c*d + (3*b^2*c* 
d + a*b*d^2)*x^2)*sqrt((b*e*x^2 + a*e)/(d*x^2 + c))*sqrt(d/(b*e))) + 4*...
 

Sympy [F(-1)]

Timed out. \[ \int \frac {1}{x \left (\frac {e \left (a+b x^2\right )}{c+d x^2}\right )^{3/2}} \, dx=\text {Timed out} \] Input:

integrate(1/x/(e*(b*x**2+a)/(d*x**2+c))**(3/2),x)
 

Output:

Timed out
 

Maxima [F(-2)]

Exception generated. \[ \int \frac {1}{x \left (\frac {e \left (a+b x^2\right )}{c+d x^2}\right )^{3/2}} \, dx=\text {Exception raised: ValueError} \] Input:

integrate(1/x/(e*(b*x^2+a)/(d*x^2+c))^(3/2),x, algorithm="maxima")
 

Output:

Exception raised: ValueError >> Computation failed since Maxima requested 
additional constraints; using the 'assume' command before evaluation *may* 
 help (example of legal syntax is 'assume(e>0)', see `assume?` for more de 
tails)Is e
 

Giac [F(-2)]

Exception generated. \[ \int \frac {1}{x \left (\frac {e \left (a+b x^2\right )}{c+d x^2}\right )^{3/2}} \, dx=\text {Exception raised: TypeError} \] Input:

integrate(1/x/(e*(b*x^2+a)/(d*x^2+c))^(3/2),x, algorithm="giac")
 

Output:

Exception raised: TypeError >> an error occurred running a Giac command:IN 
PUT:sage2:=int(sage0,sageVARx):;OUTPUT:Unable to divide, perhaps due to ro 
unding error%%%{%%%{2,[1,2,2]%%%},[2,1,3,0]%%%}+%%%{%%%{-4,[2,1,2]%%%},[2, 
1,2,1]%%%
 

Mupad [F(-1)]

Timed out. \[ \int \frac {1}{x \left (\frac {e \left (a+b x^2\right )}{c+d x^2}\right )^{3/2}} \, dx=\int \frac {1}{x\,{\left (\frac {e\,\left (b\,x^2+a\right )}{d\,x^2+c}\right )}^{3/2}} \,d x \] Input:

int(1/(x*((e*(a + b*x^2))/(c + d*x^2))^(3/2)),x)
 

Output:

int(1/(x*((e*(a + b*x^2))/(c + d*x^2))^(3/2)), x)
                                                                                    
                                                                                    
 

Reduce [F]

\[ \int \frac {1}{x \left (\frac {e \left (a+b x^2\right )}{c+d x^2}\right )^{3/2}} \, dx=\int \frac {1}{x {\left (\frac {e \left (b \,x^{2}+a \right )}{d \,x^{2}+c}\right )}^{\frac {3}{2}}}d x \] Input:

int(1/x/(e*(b*x^2+a)/(d*x^2+c))^(3/2),x)
 

Output:

int(1/x/(e*(b*x^2+a)/(d*x^2+c))^(3/2),x)