Integrand size = 24, antiderivative size = 77 \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=-\frac {\sqrt {a x^2+b x^3+c x^4}}{a x^2}+\frac {b \text {arctanh}\left (\frac {x (2 a+b x)}{2 \sqrt {a} \sqrt {a x^2+b x^3+c x^4}}\right )}{2 a^{3/2}} \] Output:
-(c*x^4+b*x^3+a*x^2)^(1/2)/a/x^2+1/2*b*arctanh(1/2*x*(b*x+2*a)/a^(1/2)/(c* x^4+b*x^3+a*x^2)^(1/2))/a^(3/2)
Time = 0.24 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.13 \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\frac {-\sqrt {a} (a+x (b+c x))-b x \sqrt {a+x (b+c x)} \text {arctanh}\left (\frac {\sqrt {c} x-\sqrt {a+x (b+c x)}}{\sqrt {a}}\right )}{a^{3/2} \sqrt {x^2 (a+x (b+c x))}} \] Input:
Integrate[1/(x*Sqrt[a*x^2 + b*x^3 + c*x^4]),x]
Output:
(-(Sqrt[a]*(a + x*(b + c*x))) - b*x*Sqrt[a + x*(b + c*x)]*ArcTanh[(Sqrt[c] *x - Sqrt[a + x*(b + c*x)])/Sqrt[a]])/(a^(3/2)*Sqrt[x^2*(a + x*(b + c*x))] )
Time = 0.22 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {1974, 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}{x \sqrt {a x^2+b x^3+c x^4}} \, dx\) |
\(\Big \downarrow \) 1974 |
\(\displaystyle -\frac {b \int \frac {1}{\sqrt {c x^4+b x^3+a x^2}}dx}{2 a}-\frac {\sqrt {a x^2+b x^3+c x^4}}{a x^2}\) |
\(\Big \downarrow \) 1951 |
\(\displaystyle \frac {b \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}}}{a}-\frac {\sqrt {a x^2+b x^3+c x^4}}{a x^2}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle \frac {b \text {arctanh}\left (\frac {x (2 a+b x)}{2 \sqrt {a} \sqrt {a x^2+b x^3+c x^4}}\right )}{2 a^{3/2}}-\frac {\sqrt {a x^2+b x^3+c x^4}}{a x^2}\) |
Input:
Int[1/(x*Sqrt[a*x^2 + b*x^3 + c*x^4]),x]
Output:
-(Sqrt[a*x^2 + b*x^3 + c*x^4]/(a*x^2)) + (b*ArcTanh[(x*(2*a + b*x))/(2*Sqr t[a]*Sqrt[a*x^2 + b*x^3 + c*x^4])])/(2*a^(3/2))
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]
Int[(x_)^(m_.)*((b_.)*(x_)^(n_.) + (a_.)*(x_)^(q_.) + (c_.)*(x_)^(r_.))^(p_ ), x_Symbol] :> Simp[(-x^(m - q + 1))*((a*x^q + b*x^n + c*x^(2*n - q))^(p + 1)/(2*a*(n - q)*(p + 1))), x] - Simp[b/(2*a) Int[x^(m + n - q)*(a*x^q + b*x^n + c*x^(2*n - q))^p, x], x] /; FreeQ[{a, b, c}, x] && EqQ[r, 2*n - q] && PosQ[n - q] && !IntegerQ[p] && NeQ[b^2 - 4*a*c, 0] && IGtQ[n, 0] && GeQ [p, -1] && LtQ[p, 0] && RationalQ[m, q] && EqQ[m + p*q + 1, -2*(n - q)*(p + 1)]
Time = 0.14 (sec) , antiderivative size = 68, normalized size of antiderivative = 0.88
method | result | size |
pseudoelliptic | \(\frac {-b x \ln \left (2\right )+b x \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x \sqrt {a}}\right )-2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{2 a^{\frac {3}{2}} x}\) | \(68\) |
default | \(-\frac {\sqrt {c \,x^{2}+b x +a}\, \left (2 a^{\frac {3}{2}} \sqrt {c \,x^{2}+b x +a}-b \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right ) x a \right )}{2 \sqrt {c \,x^{4}+b \,x^{3}+a \,x^{2}}\, a^{\frac {5}{2}}}\) | \(88\) |
risch | \(-\frac {c \,x^{2}+b x +a}{a \sqrt {x^{2} \left (c \,x^{2}+b x +a \right )}}+\frac {b \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right ) x \sqrt {c \,x^{2}+b x +a}}{2 a^{\frac {3}{2}} \sqrt {x^{2} \left (c \,x^{2}+b x +a \right )}}\) | \(97\) |
Input:
int(1/x/(c*x^4+b*x^3+a*x^2)^(1/2),x,method=_RETURNVERBOSE)
Output:
1/2*(-b*x*ln(2)+b*x*ln((2*a+b*x+2*a^(1/2)*(c*x^2+b*x+a)^(1/2))/x/a^(1/2))- 2*a^(1/2)*(c*x^2+b*x+a)^(1/2))/a^(3/2)/x
Time = 0.15 (sec) , antiderivative size = 194, normalized size of antiderivative = 2.52 \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\left [\frac {\sqrt {a} b x^{2} \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 ) - 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} a}{4 \, a^{2} x^{2}}, -\frac {\sqrt {-a} b x^{2} \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 ) + 2 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} a}{2 \, a^{2} x^{2}}\right ] \] Input:
integrate(1/x/(c*x^4+b*x^3+a*x^2)^(1/2),x, algorithm="fricas")
Output:
[1/4*(sqrt(a)*b*x^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) - 4*sqrt(c*x^4 + b*x^3 + a*x^2)*a)/(a^2*x^2), -1/2*(sqrt(-a)*b*x^2*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)) + 2*sqrt(c*x^4 + b*x^3 + a*x^2)*a)/(a^2*x^2)]
\[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\int \frac {1}{x \sqrt {x^{2} \left (a + b x + c x^{2}\right )}}\, dx \] Input:
integrate(1/x/(c*x**4+b*x**3+a*x**2)**(1/2),x)
Output:
Integral(1/(x*sqrt(x**2*(a + b*x + c*x**2))), x)
\[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\int { \frac {1}{\sqrt {c x^{4} + b x^{3} + a x^{2}} x} \,d x } \] Input:
integrate(1/x/(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), x)
Timed out. \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\text {Timed out} \] Input:
integrate(1/x/(c*x^4+b*x^3+a*x^2)^(1/2),x, algorithm="giac")
Output:
Timed out
Timed out. \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\int \frac {1}{x\,\sqrt {c\,x^4+b\,x^3+a\,x^2}} \,d x \] Input:
int(1/(x*(a*x^2 + b*x^3 + c*x^4)^(1/2)),x)
Output:
int(1/(x*(a*x^2 + b*x^3 + c*x^4)^(1/2)), x)
Time = 0.23 (sec) , antiderivative size = 60, normalized size of antiderivative = 0.78 \[ \int \frac {1}{x \sqrt {a x^2+b x^3+c x^4}} \, dx=\frac {-2 \sqrt {c \,x^{2}+b x +a}\, a +\sqrt {a}\, \mathrm {log}\left (-2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}-2 a -b x \right ) b x -\sqrt {a}\, \mathrm {log}\left (x \right ) b x}{2 a^{2} x} \] Input:
int(1/x/(c*x^4+b*x^3+a*x^2)^(1/2),x)
Output:
( - 2*sqrt(a + b*x + c*x**2)*a + sqrt(a)*log( - 2*sqrt(a)*sqrt(a + b*x + c *x**2) - 2*a - b*x)*b*x - sqrt(a)*log(x)*b*x)/(2*a**2*x)