Integrand size = 36, antiderivative size = 72 \[ \int \frac {1-x}{\sqrt {3+2 x-5 x^2-4 x^3+x^4+2 x^5+x^6}} \, dx=-\sqrt {2} \text {arctanh}\left (\frac {(1+x) \left (-\sqrt {2}+\sqrt {2} x\right )}{-1-x+x^2+x^3-\sqrt {3+2 x-5 x^2-4 x^3+x^4+2 x^5+x^6}}\right ) \]
-2^(1/2)*arctanh((1+x)*(-2^(1/2)+x*2^(1/2))/(-1-x+x^2+x^3-(x^6+2*x^5+x^4-4 *x^3-5*x^2+2*x+3)^(1/2)))
Time = 0.12 (sec) , antiderivative size = 68, normalized size of antiderivative = 0.94 \[ \int \frac {1-x}{\sqrt {3+2 x-5 x^2-4 x^3+x^4+2 x^5+x^6}} \, dx=-\frac {\sqrt {2} \left (-1+x^2\right ) \sqrt {3+2 x+x^2} \text {arctanh}\left (\frac {1+x-\sqrt {3+2 x+x^2}}{\sqrt {2}}\right )}{\sqrt {\left (-1+x^2\right )^2 \left (3+2 x+x^2\right )}} \]
-((Sqrt[2]*(-1 + x^2)*Sqrt[3 + 2*x + x^2]*ArcTanh[(1 + x - Sqrt[3 + 2*x + x^2])/Sqrt[2]])/Sqrt[(-1 + x^2)^2*(3 + 2*x + x^2)])
Time = 0.43 (sec) , antiderivative size = 67, normalized size of antiderivative = 0.93, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.194, Rules used = {7292, 7270, 25, 1366, 25, 1112, 220}
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 {x^6+2 x^5+x^4-4 x^3-5 x^2+2 x+3}} \, dx\) |
\(\Big \downarrow \) 7292 |
\(\displaystyle \int \frac {1-x}{\sqrt {\left (x^2-1\right )^2 \left (x^2+2 x+3\right )}}dx\) |
\(\Big \downarrow \) 7270 |
\(\displaystyle -\frac {\left (1-x^2\right ) \sqrt {x^2+2 x+3} \int -\frac {1-x}{\left (1-x^2\right ) \sqrt {x^2+2 x+3}}dx}{\sqrt {\left (1-x^2\right )^2 \left (x^2+2 x+3\right )}}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {\left (1-x^2\right ) \sqrt {x^2+2 x+3} \int \frac {1-x}{\left (1-x^2\right ) \sqrt {x^2+2 x+3}}dx}{\sqrt {\left (1-x^2\right )^2 \left (x^2+2 x+3\right )}}\) |
\(\Big \downarrow \) 1366 |
\(\displaystyle -\frac {\left (1-x^2\right ) \sqrt {x^2+2 x+3} \int -\frac {1}{(x+1) \sqrt {x^2+2 x+3}}dx}{\sqrt {\left (1-x^2\right )^2 \left (x^2+2 x+3\right )}}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {\left (1-x^2\right ) \sqrt {x^2+2 x+3} \int \frac {1}{(x+1) \sqrt {x^2+2 x+3}}dx}{\sqrt {\left (1-x^2\right )^2 \left (x^2+2 x+3\right )}}\) |
\(\Big \downarrow \) 1112 |
\(\displaystyle \frac {4 \left (1-x^2\right ) \sqrt {x^2+2 x+3} \int \frac {1}{4 \left (x^2+2 x+3\right )-8}d\sqrt {x^2+2 x+3}}{\sqrt {\left (1-x^2\right )^2 \left (x^2+2 x+3\right )}}\) |
\(\Big \downarrow \) 220 |
\(\displaystyle -\frac {\left (1-x^2\right ) \sqrt {x^2+2 x+3} \text {arctanh}\left (\frac {\sqrt {x^2+2 x+3}}{\sqrt {2}}\right )}{\sqrt {2} \sqrt {\left (1-x^2\right )^2 \left (x^2+2 x+3\right )}}\) |
-(((1 - x^2)*Sqrt[3 + 2*x + x^2]*ArcTanh[Sqrt[3 + 2*x + x^2]/Sqrt[2]])/(Sq rt[2]*Sqrt[(1 - x^2)^2*(3 + 2*x + x^2)]))
3.10.53.3.1 Defintions of rubi rules used
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[b, 2])^(- 1))*ArcTanh[Rt[b, 2]*(x/Rt[-a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (LtQ[a, 0] || GtQ[b, 0])
Int[1/(((d_) + (e_.)*(x_))*Sqrt[(a_.) + (b_.)*(x_) + (c_.)*(x_)^2]), x_Symb ol] :> Simp[4*c Subst[Int[1/(b^2*e - 4*a*c*e + 4*c*e*x^2), x], x, Sqrt[a + b*x + c*x^2]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]
Int[((g_.) + (h_.)*(x_))/(((a_) + (c_.)*(x_)^2)*Sqrt[(d_.) + (e_.)*(x_) + ( f_.)*(x_)^2]), x_Symbol] :> With[{q = Rt[(-a)*c, 2]}, Simp[(h/2 + c*(g/(2*q ))) Int[1/((-q + c*x)*Sqrt[d + e*x + f*x^2]), x], x] + Simp[(h/2 - c*(g/( 2*q))) Int[1/((q + c*x)*Sqrt[d + e*x + f*x^2]), x], x]] /; FreeQ[{a, c, d , e, f, g, h}, x] && NeQ[e^2 - 4*d*f, 0] && PosQ[(-a)*c]
Int[(u_.)*((a_.)*(v_)^(m_.)*(w_)^(n_.))^(p_), x_Symbol] :> Simp[a^IntPart[p ]*((a*v^m*w^n)^FracPart[p]/(v^(m*FracPart[p])*w^(n*FracPart[p]))) Int[u*v ^(m*p)*w^(n*p), x], x] /; FreeQ[{a, m, n, p}, x] && !IntegerQ[p] && !Free Q[v, x] && !FreeQ[w, x]
Time = 1.91 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.89
method | result | size |
default | \(\frac {\left (x^{2}-1\right ) \sqrt {x^{2}+2 x +3}\, \sqrt {2}\, \operatorname {arctanh}\left (\frac {\sqrt {2}}{\sqrt {x^{2}+2 x +3}}\right )}{2 \sqrt {x^{6}+2 x^{5}+x^{4}-4 x^{3}-5 x^{2}+2 x +3}}\) | \(64\) |
trager | \(\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}-2\right ) \ln \left (-\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}-2\right ) x^{2}-\operatorname {RootOf}\left (\textit {\_Z}^{2}-2\right )+\sqrt {x^{6}+2 x^{5}+x^{4}-4 x^{3}-5 x^{2}+2 x +3}}{\left (1+x \right )^{2} \left (x -1\right )}\right )}{2}\) | \(69\) |
1/2/(x^6+2*x^5+x^4-4*x^3-5*x^2+2*x+3)^(1/2)*(x^2-1)*(x^2+2*x+3)^(1/2)*2^(1 /2)*arctanh(2^(1/2)/(x^2+2*x+3)^(1/2))
Time = 0.28 (sec) , antiderivative size = 58, normalized size of antiderivative = 0.81 \[ \int \frac {1-x}{\sqrt {3+2 x-5 x^2-4 x^3+x^4+2 x^5+x^6}} \, dx=\frac {1}{2} \, \sqrt {2} \log \left (\frac {\sqrt {2} {\left (x^{2} - 1\right )} + \sqrt {x^{6} + 2 \, x^{5} + x^{4} - 4 \, x^{3} - 5 \, x^{2} + 2 \, x + 3}}{x^{3} + x^{2} - x - 1}\right ) \]
1/2*sqrt(2)*log((sqrt(2)*(x^2 - 1) + sqrt(x^6 + 2*x^5 + x^4 - 4*x^3 - 5*x^ 2 + 2*x + 3))/(x^3 + x^2 - x - 1))
\[ \int \frac {1-x}{\sqrt {3+2 x-5 x^2-4 x^3+x^4+2 x^5+x^6}} \, dx=- \int \frac {x}{\sqrt {x^{6} + 2 x^{5} + x^{4} - 4 x^{3} - 5 x^{2} + 2 x + 3}}\, dx - \int \left (- \frac {1}{\sqrt {x^{6} + 2 x^{5} + x^{4} - 4 x^{3} - 5 x^{2} + 2 x + 3}}\right )\, dx \]
-Integral(x/sqrt(x**6 + 2*x**5 + x**4 - 4*x**3 - 5*x**2 + 2*x + 3), x) - I ntegral(-1/sqrt(x**6 + 2*x**5 + x**4 - 4*x**3 - 5*x**2 + 2*x + 3), x)
\[ \int \frac {1-x}{\sqrt {3+2 x-5 x^2-4 x^3+x^4+2 x^5+x^6}} \, dx=\int { -\frac {x - 1}{\sqrt {x^{6} + 2 \, x^{5} + x^{4} - 4 \, x^{3} - 5 \, x^{2} + 2 \, x + 3}} \,d x } \]
Time = 0.31 (sec) , antiderivative size = 61, normalized size of antiderivative = 0.85 \[ \int \frac {1-x}{\sqrt {3+2 x-5 x^2-4 x^3+x^4+2 x^5+x^6}} \, dx=-\frac {\sqrt {2} \log \left (-\frac {{\left | -2 \, x - 2 \, \sqrt {2} + 2 \, \sqrt {x^{2} + 2 \, x + 3} - 2 \right |}}{2 \, {\left (x - \sqrt {2} - \sqrt {x^{2} + 2 \, x + 3} + 1\right )}}\right )}{2 \, \mathrm {sgn}\left (x^{2} - 1\right )} \]
-1/2*sqrt(2)*log(-1/2*abs(-2*x - 2*sqrt(2) + 2*sqrt(x^2 + 2*x + 3) - 2)/(x - sqrt(2) - sqrt(x^2 + 2*x + 3) + 1))/sgn(x^2 - 1)
Timed out. \[ \int \frac {1-x}{\sqrt {3+2 x-5 x^2-4 x^3+x^4+2 x^5+x^6}} \, dx=\int -\frac {x-1}{\sqrt {x^6+2\,x^5+x^4-4\,x^3-5\,x^2+2\,x+3}} \,d x \]