Integrand size = 26, antiderivative size = 112 \[ \int \frac {\sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}}{x} \, dx=-\frac {\sqrt {a} \sqrt {e} \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 {c}}+\frac {\sqrt {b} \sqrt {e} \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 {d}} \]
-arctanh(c^(1/2)*(e*(b*x^2+a)/(d*x^2+c))^(1/2)/a^(1/2)/e^(1/2))*a^(1/2)*e^ (1/2)/c^(1/2)+arctanh(d^(1/2)*(e*(b*x^2+a)/(d*x^2+c))^(1/2)/b^(1/2)/e^(1/2 ))*b^(1/2)*e^(1/2)/d^(1/2)
Time = 0.04 (sec) , antiderivative size = 147, normalized size of antiderivative = 1.31 \[ \int \frac {\sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}}{x} \, dx=\frac {\sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}} \sqrt {c+d x^2} \left (-\sqrt {a} \sqrt {d} \text {arctanh}\left (\frac {\sqrt {c} \sqrt {a+b x^2}}{\sqrt {a} \sqrt {c+d x^2}}\right )+\sqrt {b} \sqrt {c} \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x^2}}{\sqrt {b} \sqrt {c+d x^2}}\right )\right )}{\sqrt {c} \sqrt {d} \sqrt {a+b x^2}} \]
(Sqrt[(e*(a + b*x^2))/(c + d*x^2)]*Sqrt[c + d*x^2]*(-(Sqrt[a]*Sqrt[d]*ArcT anh[(Sqrt[c]*Sqrt[a + b*x^2])/(Sqrt[a]*Sqrt[c + d*x^2])]) + Sqrt[b]*Sqrt[c ]*ArcTanh[(Sqrt[d]*Sqrt[a + b*x^2])/(Sqrt[b]*Sqrt[c + d*x^2])]))/(Sqrt[c]* Sqrt[d]*Sqrt[a + b*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, 383, 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 {\sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}}{x} \, dx\) |
\(\Big \downarrow \) 2053 |
\(\displaystyle \frac {1}{2} \int \frac {\sqrt {\frac {e \left (b x^2+a\right )}{d x^2+c}}}{x^2}dx^2\) |
\(\Big \downarrow \) 2052 |
\(\displaystyle e (b c-a d) \int -\frac {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 {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 \) 383 |
\(\displaystyle e (b c-a d) \left (\frac {b \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}-\frac {a \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}\right )\) |
\(\Big \downarrow \) 221 |
\(\displaystyle e (b c-a d) \left (\frac {\sqrt {b} \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 {d} \sqrt {e} (b c-a d)}-\frac {\sqrt {a} \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 {c} \sqrt {e} (b c-a d)}\right )\) |
(b*c - a*d)*e*(-((Sqrt[a]*ArcTanh[(Sqrt[c]*Sqrt[(e*(a + b*x^2))/(c + d*x^2 )])/(Sqrt[a]*Sqrt[e])])/(Sqrt[c]*(b*c - a*d)*Sqrt[e])) + (Sqrt[b]*ArcTanh[ (Sqrt[d]*Sqrt[(e*(a + b*x^2))/(c + d*x^2)])/(Sqrt[b]*Sqrt[e])])/(Sqrt[d]*( b*c - a*d)*Sqrt[e]))
3.3.66.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[((e_.)*(x_))^(m_.)/(((a_) + (b_.)*(x_)^2)*((c_) + (d_.)*(x_)^2)), x_Sym bol] :> Simp[(-a)*(e^2/(b*c - a*d)) Int[(e*x)^(m - 2)/(a + b*x^2), x], x] + Simp[c*(e^2/(b*c - a*d)) Int[(e*x)^(m - 2)/(c + d*x^2), x], x] /; Free Q[{a, b, c, d, e, m}, x] && NeQ[b*c - a*d, 0] && LeQ[2, m, 3]
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.10 (sec) , antiderivative size = 179, normalized size of antiderivative = 1.60
method | result | size |
default | \(-\frac {\sqrt {\frac {e \left (b \,x^{2}+a \right )}{d \,x^{2}+c}}\, \left (d \,x^{2}+c \right ) \left (a \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}-\sqrt {a c}\, \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}+d a +b c}{2 \sqrt {b d}}\right ) b \right )}{2 \sqrt {\left (d \,x^{2}+c \right ) \left (b \,x^{2}+a \right )}\, \sqrt {b d}\, \sqrt {a c}}\) | \(179\) |
-1/2*(e*(b*x^2+a)/(d*x^2+c))^(1/2)*(d*x^2+c)*(a*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)-(a*c)^ (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)+ d*a+b*c)/(b*d)^(1/2))*b)/((d*x^2+c)*(b*x^2+a))^(1/2)/(b*d)^(1/2)/(a*c)^(1/ 2)
Time = 0.48 (sec) , antiderivative size = 865, normalized size of antiderivative = 7.72 \[ \int \frac {\sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}}{x} \, dx=\left [\frac {1}{4} \, \sqrt {\frac {b e}{d}} \log \left (8 \, b^{2} d^{2} e x^{4} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} e x^{2} + {\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} e + 4 \, {\left (2 \, b d^{3} x^{4} + b c^{2} d + a c d^{2} + {\left (3 \, b c d^{2} + a d^{3}\right )} x^{2}\right )} \sqrt {\frac {b e}{d}} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}}\right ) + \frac {1}{4} \, \sqrt {\frac {a e}{c}} \log \left (\frac {{\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} e x^{4} + 8 \, a^{2} c^{2} e + 8 \, {\left (a b c^{2} + a^{2} c d\right )} e x^{2} - 4 \, {\left ({\left (b c^{2} d + a c d^{2}\right )} x^{4} + 2 \, a c^{3} + {\left (b c^{3} + 3 \, a c^{2} d\right )} x^{2}\right )} \sqrt {\frac {a e}{c}} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}}}{x^{4}}\right ), -\frac {1}{2} \, \sqrt {-\frac {b e}{d}} \arctan \left (\frac {{\left (2 \, b d x^{2} + b c + a d\right )} \sqrt {-\frac {b e}{d}} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}}}{2 \, {\left (b^{2} e x^{2} + a b e\right )}}\right ) + \frac {1}{4} \, \sqrt {\frac {a e}{c}} \log \left (\frac {{\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} e x^{4} + 8 \, a^{2} c^{2} e + 8 \, {\left (a b c^{2} + a^{2} c d\right )} e x^{2} - 4 \, {\left ({\left (b c^{2} d + a c d^{2}\right )} x^{4} + 2 \, a c^{3} + {\left (b c^{3} + 3 \, a c^{2} d\right )} x^{2}\right )} \sqrt {\frac {a e}{c}} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}}}{x^{4}}\right ), \frac {1}{2} \, \sqrt {-\frac {a e}{c}} \arctan \left (\frac {{\left ({\left (b c + a d\right )} x^{2} + 2 \, a c\right )} \sqrt {-\frac {a e}{c}} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}}}{2 \, {\left (a b e x^{2} + a^{2} e\right )}}\right ) + \frac {1}{4} \, \sqrt {\frac {b e}{d}} \log \left (8 \, b^{2} d^{2} e x^{4} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} e x^{2} + {\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} e + 4 \, {\left (2 \, b d^{3} x^{4} + b c^{2} d + a c d^{2} + {\left (3 \, b c d^{2} + a d^{3}\right )} x^{2}\right )} \sqrt {\frac {b e}{d}} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}}\right ), \frac {1}{2} \, \sqrt {-\frac {a e}{c}} \arctan \left (\frac {{\left ({\left (b c + a d\right )} x^{2} + 2 \, a c\right )} \sqrt {-\frac {a e}{c}} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}}}{2 \, {\left (a b e x^{2} + a^{2} e\right )}}\right ) - \frac {1}{2} \, \sqrt {-\frac {b e}{d}} \arctan \left (\frac {{\left (2 \, b d x^{2} + b c + a d\right )} \sqrt {-\frac {b e}{d}} \sqrt {\frac {b e x^{2} + a e}{d x^{2} + c}}}{2 \, {\left (b^{2} e x^{2} + a b e\right )}}\right )\right ] \]
[1/4*sqrt(b*e/d)*log(8*b^2*d^2*e*x^4 + 8*(b^2*c*d + a*b*d^2)*e*x^2 + (b^2* c^2 + 6*a*b*c*d + a^2*d^2)*e + 4*(2*b*d^3*x^4 + b*c^2*d + a*c*d^2 + (3*b*c *d^2 + a*d^3)*x^2)*sqrt(b*e/d)*sqrt((b*e*x^2 + a*e)/(d*x^2 + c))) + 1/4*sq rt(a*e/c)*log(((b^2*c^2 + 6*a*b*c*d + a^2*d^2)*e*x^4 + 8*a^2*c^2*e + 8*(a* b*c^2 + a^2*c*d)*e*x^2 - 4*((b*c^2*d + a*c*d^2)*x^4 + 2*a*c^3 + (b*c^3 + 3 *a*c^2*d)*x^2)*sqrt(a*e/c)*sqrt((b*e*x^2 + a*e)/(d*x^2 + c)))/x^4), -1/2*s qrt(-b*e/d)*arctan(1/2*(2*b*d*x^2 + b*c + a*d)*sqrt(-b*e/d)*sqrt((b*e*x^2 + a*e)/(d*x^2 + c))/(b^2*e*x^2 + a*b*e)) + 1/4*sqrt(a*e/c)*log(((b^2*c^2 + 6*a*b*c*d + a^2*d^2)*e*x^4 + 8*a^2*c^2*e + 8*(a*b*c^2 + a^2*c*d)*e*x^2 - 4*((b*c^2*d + a*c*d^2)*x^4 + 2*a*c^3 + (b*c^3 + 3*a*c^2*d)*x^2)*sqrt(a*e/c )*sqrt((b*e*x^2 + a*e)/(d*x^2 + c)))/x^4), 1/2*sqrt(-a*e/c)*arctan(1/2*((b *c + a*d)*x^2 + 2*a*c)*sqrt(-a*e/c)*sqrt((b*e*x^2 + a*e)/(d*x^2 + c))/(a*b *e*x^2 + a^2*e)) + 1/4*sqrt(b*e/d)*log(8*b^2*d^2*e*x^4 + 8*(b^2*c*d + a*b* d^2)*e*x^2 + (b^2*c^2 + 6*a*b*c*d + a^2*d^2)*e + 4*(2*b*d^3*x^4 + b*c^2*d + a*c*d^2 + (3*b*c*d^2 + a*d^3)*x^2)*sqrt(b*e/d)*sqrt((b*e*x^2 + a*e)/(d*x ^2 + c))), 1/2*sqrt(-a*e/c)*arctan(1/2*((b*c + a*d)*x^2 + 2*a*c)*sqrt(-a*e /c)*sqrt((b*e*x^2 + a*e)/(d*x^2 + c))/(a*b*e*x^2 + a^2*e)) - 1/2*sqrt(-b*e /d)*arctan(1/2*(2*b*d*x^2 + b*c + a*d)*sqrt(-b*e/d)*sqrt((b*e*x^2 + a*e)/( d*x^2 + c))/(b^2*e*x^2 + a*b*e))]
Timed out. \[ \int \frac {\sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}}{x} \, dx=\text {Timed out} \]
Exception generated. \[ \int \frac {\sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}}{x} \, 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 {\sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}}{x} \, 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 {\sqrt {\frac {e \left (a+b x^2\right )}{c+d x^2}}}{x} \, dx=\int \frac {\sqrt {\frac {e\,\left (b\,x^2+a\right )}{d\,x^2+c}}}{x} \,d x \]