Integrand size = 20, antiderivative size = 45 \[ \int \frac {1}{\sqrt {a x^2+b x^3+c x^4}} \, dx=-\frac {\text {arctanh}\left (\frac {x (2 a+b x)}{2 \sqrt {a} \sqrt {a x^2+b x^3+c x^4}}\right )}{\sqrt {a}} \] Output:
-arctanh(1/2*x*(b*x+2*a)/a^(1/2)/(c*x^4+b*x^3+a*x^2)^(1/2))/a^(1/2)
Time = 0.13 (sec) , antiderivative size = 68, normalized size of antiderivative = 1.51 \[ \int \frac {1}{\sqrt {a x^2+b x^3+c x^4}} \, dx=\frac {2 x \sqrt {a+x (b+c x)} \text {arctanh}\left (\frac {\sqrt {c} x-\sqrt {a+x (b+c x)}}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {x^2 (a+x (b+c x))}} \] Input:
Integrate[1/Sqrt[a*x^2 + b*x^3 + c*x^4],x]
Output:
(2*x*Sqrt[a + x*(b + c*x)]*ArcTanh[(Sqrt[c]*x - Sqrt[a + x*(b + c*x)])/Sqr t[a]])/(Sqrt[a]*Sqrt[x^2*(a + x*(b + c*x))])
Time = 0.18 (sec) , antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {1951, 219}
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}{\sqrt {a x^2+b x^3+c x^4}} \, dx\) |
\(\Big \downarrow \) 1951 |
\(\displaystyle -2 \int \frac {1}{4 a-\frac {x^2 (2 a+b x)^2}{c x^4+b x^3+a x^2}}d\frac {x (2 a+b x)}{\sqrt {c x^4+b x^3+a x^2}}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle -\frac {\text {arctanh}\left (\frac {x (2 a+b x)}{2 \sqrt {a} \sqrt {a x^2+b x^3+c x^4}}\right )}{\sqrt {a}}\) |
Input:
Int[1/Sqrt[a*x^2 + b*x^3 + c*x^4],x]
Output:
-(ArcTanh[(x*(2*a + b*x))/(2*Sqrt[a]*Sqrt[a*x^2 + b*x^3 + c*x^4])]/Sqrt[a] )
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[1/Sqrt[(a_.)*(x_)^2 + (b_.)*(x_)^(n_.) + (c_.)*(x_)^(r_.)], x_Symbol] : > Simp[-2/(n - 2) Subst[Int[1/(4*a - x^2), x], x, x*((2*a + b*x^(n - 2))/ Sqrt[a*x^2 + b*x^n + c*x^r])], x] /; FreeQ[{a, b, c, n, r}, x] && EqQ[r, 2* n - 2] && PosQ[n - 2] && NeQ[b^2 - 4*a*c, 0]
Time = 0.12 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.93
method | result | size |
pseudoelliptic | \(\frac {\ln \left (2\right )-\ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x \sqrt {a}}\right )}{\sqrt {a}}\) | \(42\) |
default | \(-\frac {x \sqrt {c \,x^{2}+b x +a}\, \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right )}{\sqrt {c \,x^{4}+b \,x^{3}+a \,x^{2}}\, \sqrt {a}}\) | \(66\) |
Input:
int(1/(c*x^4+b*x^3+a*x^2)^(1/2),x,method=_RETURNVERBOSE)
Output:
(ln(2)-ln((2*a+b*x+2*a^(1/2)*(c*x^2+b*x+a)^(1/2))/x/a^(1/2)))/a^(1/2)
Time = 0.08 (sec) , antiderivative size = 130, normalized size of antiderivative = 2.89 \[ \int \frac {1}{\sqrt {a x^2+b x^3+c x^4}} \, dx=\left [\frac {\log \left (-\frac {8 \, a b x^{2} + {\left (b^{2} + 4 \, a c\right )} x^{3} + 8 \, a^{2} x - 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {a}}{x^{3}}\right )}{2 \, \sqrt {a}}, \frac {\sqrt {-a} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {-a}}{2 \, {\left (a c x^{3} + a b x^{2} + a^{2} x\right )}}\right )}{a}\right ] \] Input:
integrate(1/(c*x^4+b*x^3+a*x^2)^(1/2),x, algorithm="fricas")
Output:
[1/2*log(-(8*a*b*x^2 + (b^2 + 4*a*c)*x^3 + 8*a^2*x - 4*sqrt(c*x^4 + b*x^3 + a*x^2)*(b*x + 2*a)*sqrt(a))/x^3)/sqrt(a), sqrt(-a)*arctan(1/2*sqrt(c*x^4 + b*x^3 + a*x^2)*(b*x + 2*a)*sqrt(-a)/(a*c*x^3 + a*b*x^2 + a^2*x))/a]
\[ \int \frac {1}{\sqrt {a x^2+b x^3+c x^4}} \, dx=\int \frac {1}{\sqrt {a x^{2} + b x^{3} + c x^{4}}}\, dx \] Input:
integrate(1/(c*x**4+b*x**3+a*x**2)**(1/2),x)
Output:
Integral(1/sqrt(a*x**2 + b*x**3 + c*x**4), x)
\[ \int \frac {1}{\sqrt {a x^2+b x^3+c x^4}} \, dx=\int { \frac {1}{\sqrt {c x^{4} + b x^{3} + a x^{2}}} \,d x } \] Input:
integrate(1/(c*x^4+b*x^3+a*x^2)^(1/2),x, algorithm="maxima")
Output:
integrate(1/sqrt(c*x^4 + b*x^3 + a*x^2), x)
Time = 0.13 (sec) , antiderivative size = 59, normalized size of antiderivative = 1.31 \[ \int \frac {1}{\sqrt {a x^2+b x^3+c x^4}} \, dx=-\frac {2 \, \arctan \left (\frac {\sqrt {a}}{\sqrt {-a}}\right ) \mathrm {sgn}\left (x\right )}{\sqrt {-a}} + \frac {2 \, \arctan \left (-\frac {\sqrt {c} x - \sqrt {c x^{2} + b x + a}}{\sqrt {-a}}\right )}{\sqrt {-a} \mathrm {sgn}\left (x\right )} \] Input:
integrate(1/(c*x^4+b*x^3+a*x^2)^(1/2),x, algorithm="giac")
Output:
-2*arctan(sqrt(a)/sqrt(-a))*sgn(x)/sqrt(-a) + 2*arctan(-(sqrt(c)*x - sqrt( c*x^2 + b*x + a))/sqrt(-a))/(sqrt(-a)*sgn(x))
Timed out. \[ \int \frac {1}{\sqrt {a x^2+b x^3+c x^4}} \, dx=\int \frac {1}{\sqrt {c\,x^4+b\,x^3+a\,x^2}} \,d x \] Input:
int(1/(a*x^2 + b*x^3 + c*x^4)^(1/2),x)
Output:
int(1/(a*x^2 + b*x^3 + c*x^4)^(1/2), x)
Time = 0.22 (sec) , antiderivative size = 693, normalized size of antiderivative = 15.40 \[ \int \frac {1}{\sqrt {a x^2+b x^3+c x^4}} \, dx =\text {Too large to display} \] Input:
int(1/(c*x^4+b*x^3+a*x^2)^(1/2),x)
Output:
( - 2*sqrt(a)*sqrt(4*sqrt(c)*sqrt(a)*b - 4*a*c - b**2)*atan((2*sqrt(c)*sqr t(a + b*x + c*x**2) + b + 2*c*x)/sqrt(4*sqrt(c)*sqrt(a)*b - 4*a*c - b**2)) *b - 4*sqrt(c)*sqrt(4*sqrt(c)*sqrt(a)*b - 4*a*c - b**2)*atan((2*sqrt(c)*sq rt(a + b*x + c*x**2) + b + 2*c*x)/sqrt(4*sqrt(c)*sqrt(a)*b - 4*a*c - b**2) )*a - sqrt(a)*sqrt(4*sqrt(c)*sqrt(a)*b + 4*a*c + b**2)*log( - sqrt(4*sqrt( c)*sqrt(a)*b + 4*a*c + b**2) + 2*sqrt(c)*sqrt(a + b*x + c*x**2) + b + 2*c* x)*b + sqrt(a)*sqrt(4*sqrt(c)*sqrt(a)*b + 4*a*c + b**2)*log(sqrt(4*sqrt(c) *sqrt(a)*b + 4*a*c + b**2) + 2*sqrt(c)*sqrt(a + b*x + c*x**2) + b + 2*c*x) *b + 2*sqrt(c)*sqrt(4*sqrt(c)*sqrt(a)*b + 4*a*c + b**2)*log( - sqrt(4*sqrt (c)*sqrt(a)*b + 4*a*c + b**2) + 2*sqrt(c)*sqrt(a + b*x + c*x**2) + b + 2*c *x)*a - 2*sqrt(c)*sqrt(4*sqrt(c)*sqrt(a)*b + 4*a*c + b**2)*log(sqrt(4*sqrt (c)*sqrt(a)*b + 4*a*c + b**2) + 2*sqrt(c)*sqrt(a + b*x + c*x**2) + b + 2*c *x)*a + 4*sqrt(a)*log( - sqrt(4*sqrt(c)*sqrt(a)*b + 4*a*c + b**2) + 2*sqrt (c)*sqrt(a + b*x + c*x**2) + b + 2*c*x)*a*c - sqrt(a)*log( - sqrt(4*sqrt(c )*sqrt(a)*b + 4*a*c + b**2) + 2*sqrt(c)*sqrt(a + b*x + c*x**2) + b + 2*c*x )*b**2 + 4*sqrt(a)*log(sqrt(4*sqrt(c)*sqrt(a)*b + 4*a*c + b**2) + 2*sqrt(c )*sqrt(a + b*x + c*x**2) + b + 2*c*x)*a*c - sqrt(a)*log(sqrt(4*sqrt(c)*sqr t(a)*b + 4*a*c + b**2) + 2*sqrt(c)*sqrt(a + b*x + c*x**2) + b + 2*c*x)*b** 2 - 4*sqrt(a)*log(4*sqrt(c)*sqrt(a + b*x + c*x**2)*b + 8*sqrt(c)*sqrt(a + b*x + c*x**2)*c*x + 4*sqrt(c)*sqrt(a)*b + 8*b*c*x + 8*c**2*x**2)*a*c + ...