Integrand size = 26, antiderivative size = 112 \[ \int \frac {1}{x \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}} \, dx=-\frac {\sqrt {c} \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}}+\frac {\sqrt {d} \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}} \]
-arctanh(c^(1/2)*(e*(b*x^2+a)/(d*x^2+c))^(1/2)/a^(1/2)/e^(1/2))*c^(1/2)/a^ (1/2)/e^(1/2)+arctanh(d^(1/2)*(e*(b*x^2+a)/(d*x^2+c))^(1/2)/b^(1/2)/e^(1/2 ))*d^(1/2)/b^(1/2)/e^(1/2)
Time = 0.43 (sec) , antiderivative size = 147, normalized size of antiderivative = 1.31 \[ \int \frac {1}{x \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}} \, dx=\frac {\sqrt {a+b x^2} \left (-\sqrt {b} \sqrt {c} \text {arctanh}\left (\frac {\sqrt {c} \sqrt {a+b x^2}}{\sqrt {a} \sqrt {c+d x^2}}\right )+\sqrt {a} \sqrt {d} \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x^2}}{\sqrt {b} \sqrt {c+d x^2}}\right )\right )}{\sqrt {a} \sqrt {b} \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}} \sqrt {c+d x^2}} \]
(Sqrt[a + b*x^2]*(-(Sqrt[b]*Sqrt[c]*ArcTanh[(Sqrt[c]*Sqrt[a + b*x^2])/(Sqr t[a]*Sqrt[c + d*x^2])]) + Sqrt[a]*Sqrt[d]*ArcTanh[(Sqrt[d]*Sqrt[a + b*x^2] )/(Sqrt[b]*Sqrt[c + d*x^2])]))/(Sqrt[a]*Sqrt[b]*Sqrt[(e*(a + b*x^2))/(c + d*x^2)]*Sqrt[c + d*x^2])
Time = 0.31 (sec) , antiderivative size = 142, normalized size of antiderivative = 1.27, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {2053, 2052, 25, 303, 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 \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}} \, dx\) |
\(\Big \downarrow \) 2053 |
\(\displaystyle \frac {1}{2} \int \frac {1}{x^2 \sqrt {\frac {e \left (b x^2+a\right )}{d x^2+c}}}dx^2\) |
\(\Big \downarrow \) 2052 |
\(\displaystyle e (b c-a d) \int -\frac {1}{\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}{\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 \) 303 |
\(\displaystyle e (b c-a d) \left (\frac {d \int \frac {1}{b e-d x^4}d\sqrt {\frac {e \left (b x^2+a\right )}{d x^2+c}}}{e (b c-a d)}-\frac {c \int \frac {1}{a e-c x^4}d\sqrt {\frac {e \left (b x^2+a\right )}{d x^2+c}}}{e (b c-a d)}\right )\) |
\(\Big \downarrow \) 221 |
\(\displaystyle e (b c-a d) \left (\frac {\sqrt {d} \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} e^{3/2} (b c-a d)}-\frac {\sqrt {c} \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} e^{3/2} (b c-a d)}\right )\) |
(b*c - a*d)*e*(-((Sqrt[c]*ArcTanh[(Sqrt[c]*Sqrt[(e*(a + b*x^2))/(c + d*x^2 )])/(Sqrt[a]*Sqrt[e])])/(Sqrt[a]*(b*c - a*d)*e^(3/2))) + (Sqrt[d]*ArcTanh[ (Sqrt[d]*Sqrt[(e*(a + b*x^2))/(c + d*x^2)])/(Sqrt[b]*Sqrt[e])])/(Sqrt[b]*( b*c - a*d)*e^(3/2)))
3.3.99.3.1 Defintions of rubi rules used
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]
Int[1/(((a_) + (b_.)*(x_)^2)*((c_) + (d_.)*(x_)^2)), x_Symbol] :> Simp[b/(b *c - a*d) Int[1/(a + b*x^2), x], x] - Simp[d/(b*c - a*d) Int[1/(c + d*x ^2), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]
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]
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]]
Leaf count of result is larger than twice the leaf count of optimal. \(178\) vs. \(2(84)=168\).
Time = 0.09 (sec) , antiderivative size = 179, normalized size of antiderivative = 1.60
method | result | size |
default | \(-\frac {\left (b \,x^{2}+a \right ) \left (c \ln \left (\frac {a d \,x^{2}+b c \,x^{2}+2 \sqrt {a c}\, \sqrt {b d \,x^{4}+a d \,x^{2}+b c \,x^{2}+a c}+2 a c}{x^{2}}\right ) \sqrt {b d}-\ln \left (\frac {2 b d \,x^{2}+2 \sqrt {b d \,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}\, d \right )}{2 \sqrt {\frac {e \left (b \,x^{2}+a \right )}{d \,x^{2}+c}}\, \sqrt {\left (d \,x^{2}+c \right ) \left (b \,x^{2}+a \right )}\, \sqrt {b d}\, \sqrt {a c}}\) | \(179\) |
-1/2*(b*x^2+a)*(c*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*d)^(1/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)*d)/(e*(b *x^2+a)/(d*x^2+c))^(1/2)/((d*x^2+c)*(b*x^2+a))^(1/2)/(b*d)^(1/2)/(a*c)^(1/ 2)
Time = 0.52 (sec) , antiderivative size = 881, normalized size of antiderivative = 7.87 \[ \int \frac {1}{x \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}} \, dx=\left [\frac {1}{4} \, \sqrt {\frac {d}{b e}} \log \left (8 \, b^{2} d^{2} x^{4} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x^{2} + 4 \, {\left (2 \, b^{2} d^{2} x^{4} + b^{2} c^{2} + a b c d + {\left (3 \, b^{2} c d + a b d^{2}\right )} x^{2}\right )} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}} \sqrt {\frac {d}{b e}}\right ) + \frac {1}{4} \, \sqrt {\frac {c}{a e}} \log \left (\frac {{\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{4} + 8 \, a^{2} c^{2} + 8 \, {\left (a b c^{2} + a^{2} c d\right )} x^{2} - 4 \, {\left ({\left (a b c d + a^{2} d^{2}\right )} x^{4} + 2 \, a^{2} c^{2} + {\left (a b c^{2} + 3 \, a^{2} c d\right )} x^{2}\right )} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}} \sqrt {\frac {c}{a e}}}{x^{4}}\right ), -\frac {1}{2} \, \sqrt {-\frac {d}{b e}} \arctan \left (\frac {{\left (2 \, b d x^{2} + b c + a d\right )} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}} \sqrt {-\frac {d}{b e}}}{2 \, {\left (b d x^{2} + a d\right )}}\right ) + \frac {1}{4} \, \sqrt {\frac {c}{a e}} \log \left (\frac {{\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{4} + 8 \, a^{2} c^{2} + 8 \, {\left (a b c^{2} + a^{2} c d\right )} x^{2} - 4 \, {\left ({\left (a b c d + a^{2} d^{2}\right )} x^{4} + 2 \, a^{2} c^{2} + {\left (a b c^{2} + 3 \, a^{2} c d\right )} x^{2}\right )} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}} \sqrt {\frac {c}{a e}}}{x^{4}}\right ), \frac {1}{2} \, \sqrt {-\frac {c}{a e}} \arctan \left (\frac {{\left ({\left (b c + a d\right )} x^{2} + 2 \, a c\right )} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}} \sqrt {-\frac {c}{a e}}}{2 \, {\left (b c x^{2} + a c\right )}}\right ) + \frac {1}{4} \, \sqrt {\frac {d}{b e}} \log \left (8 \, b^{2} d^{2} x^{4} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x^{2} + 4 \, {\left (2 \, b^{2} d^{2} x^{4} + b^{2} c^{2} + a b c d + {\left (3 \, b^{2} c d + a b d^{2}\right )} x^{2}\right )} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}} \sqrt {\frac {d}{b e}}\right ), \frac {1}{2} \, \sqrt {-\frac {c}{a e}} \arctan \left (\frac {{\left ({\left (b c + a d\right )} x^{2} + 2 \, a c\right )} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}} \sqrt {-\frac {c}{a e}}}{2 \, {\left (b c x^{2} + a c\right )}}\right ) - \frac {1}{2} \, \sqrt {-\frac {d}{b e}} \arctan \left (\frac {{\left (2 \, b d x^{2} + b c + a d\right )} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}} \sqrt {-\frac {d}{b e}}}{2 \, {\left (b d x^{2} + a d\right )}}\right )\right ] \]
[1/4*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))) + 1/4*sq rt(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), -1/2 *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)) + 1/4*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), 1/2*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)) + 1/4*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))*s qrt(d/(b*e))), 1/2*sqrt(-c/(a*e))*arctan(1/2*((b*c + a*d)*x^2 + 2*a*c)*sqr t((b*e*x^2 + a*e)/(d*x^2 + c))*sqrt(-c/(a*e))/(b*c*x^2 + a*c)) - 1/2*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))]
Timed out. \[ \int \frac {1}{x \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}} \, dx=\text {Timed out} \]
Exception generated. \[ \int \frac {1}{x \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}} \, dx=\text {Exception raised: ValueError} \]
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
Exception generated. \[ \int \frac {1}{x \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}} \, dx=\text {Exception raised: TypeError} \]
Exception raised: TypeError >> an error occurred running a Giac command:IN PUT:sage2:=int(sage0,sageVARx):;OUTPUT:Error: Bad Argument Type
Timed out. \[ \int \frac {1}{x \sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}} \, dx=\int \frac {1}{x\,\sqrt {\frac {e\,\left (b\,x^2+a\right )}{d\,x^2+c}}} \,d x \]