Integrand size = 22, antiderivative size = 138 \[ \int \frac {\left (b+a x^2\right ) \sqrt [3]{-x+x^3}}{x^2} \, dx=\frac {\left (-3 b+a x^2\right ) \sqrt [3]{-x+x^3}}{2 x}+\frac {1}{6} \left (\sqrt {3} a-3 \sqrt {3} b\right ) \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-x+x^3}}\right )+\frac {1}{6} (a-3 b) \log \left (-x+\sqrt [3]{-x+x^3}\right )+\frac {1}{12} (-a+3 b) \log \left (x^2+x \sqrt [3]{-x+x^3}+\left (-x+x^3\right )^{2/3}\right ) \]
1/2*(a*x^2-3*b)*(x^3-x)^(1/3)/x+1/6*(3^(1/2)*a-3*3^(1/2)*b)*arctan(3^(1/2) *x/(x+2*(x^3-x)^(1/3)))+1/6*(a-3*b)*ln(-x+(x^3-x)^(1/3))+1/12*(-a+3*b)*ln( x^2+x*(x^3-x)^(1/3)+(x^3-x)^(2/3))
Time = 1.07 (sec) , antiderivative size = 208, normalized size of antiderivative = 1.51 \[ \int \frac {\left (b+a x^2\right ) \sqrt [3]{-x+x^3}}{x^2} \, dx=\frac {\left (-1+x^2\right )^{2/3} \left (-18 b \sqrt [3]{-1+x^2}+6 a x^2 \sqrt [3]{-1+x^2}+2 \sqrt {3} (a-3 b) x^{2/3} \arctan \left (\frac {\sqrt {3} x^{2/3}}{x^{2/3}+2 \sqrt [3]{-1+x^2}}\right )+2 (a-3 b) x^{2/3} \log \left (-x^{2/3}+\sqrt [3]{-1+x^2}\right )-a x^{2/3} \log \left (x^{4/3}+x^{2/3} \sqrt [3]{-1+x^2}+\left (-1+x^2\right )^{2/3}\right )+3 b x^{2/3} \log \left (x^{4/3}+x^{2/3} \sqrt [3]{-1+x^2}+\left (-1+x^2\right )^{2/3}\right )\right )}{12 \left (x \left (-1+x^2\right )\right )^{2/3}} \]
((-1 + x^2)^(2/3)*(-18*b*(-1 + x^2)^(1/3) + 6*a*x^2*(-1 + x^2)^(1/3) + 2*S qrt[3]*(a - 3*b)*x^(2/3)*ArcTan[(Sqrt[3]*x^(2/3))/(x^(2/3) + 2*(-1 + x^2)^ (1/3))] + 2*(a - 3*b)*x^(2/3)*Log[-x^(2/3) + (-1 + x^2)^(1/3)] - a*x^(2/3) *Log[x^(4/3) + x^(2/3)*(-1 + x^2)^(1/3) + (-1 + x^2)^(2/3)] + 3*b*x^(2/3)* Log[x^(4/3) + x^(2/3)*(-1 + x^2)^(1/3) + (-1 + x^2)^(2/3)]))/(12*(x*(-1 + x^2))^(2/3))
Time = 0.28 (sec) , antiderivative size = 123, normalized size of antiderivative = 0.89, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {1944, 1910, 1938, 266, 807, 853}
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 [3]{x^3-x} \left (a x^2+b\right )}{x^2} \, dx\) |
\(\Big \downarrow \) 1944 |
\(\displaystyle (a-3 b) \int \sqrt [3]{x^3-x}dx+\frac {3 b \left (x^3-x\right )^{4/3}}{2 x^2}\) |
\(\Big \downarrow \) 1910 |
\(\displaystyle (a-3 b) \left (\frac {1}{2} x \sqrt [3]{x^3-x}-\frac {1}{3} \int \frac {x}{\left (x^3-x\right )^{2/3}}dx\right )+\frac {3 b \left (x^3-x\right )^{4/3}}{2 x^2}\) |
\(\Big \downarrow \) 1938 |
\(\displaystyle (a-3 b) \left (\frac {1}{2} x \sqrt [3]{x^3-x}-\frac {x^{2/3} \left (x^2-1\right )^{2/3} \int \frac {\sqrt [3]{x}}{\left (x^2-1\right )^{2/3}}dx}{3 \left (x^3-x\right )^{2/3}}\right )+\frac {3 b \left (x^3-x\right )^{4/3}}{2 x^2}\) |
\(\Big \downarrow \) 266 |
\(\displaystyle (a-3 b) \left (\frac {1}{2} x \sqrt [3]{x^3-x}-\frac {x^{2/3} \left (x^2-1\right )^{2/3} \int \frac {x}{\left (x^2-1\right )^{2/3}}d\sqrt [3]{x}}{\left (x^3-x\right )^{2/3}}\right )+\frac {3 b \left (x^3-x\right )^{4/3}}{2 x^2}\) |
\(\Big \downarrow \) 807 |
\(\displaystyle (a-3 b) \left (\frac {1}{2} x \sqrt [3]{x^3-x}-\frac {x^{2/3} \left (x^2-1\right )^{2/3} \int \frac {x^{2/3}}{(x-1)^{2/3}}dx^{2/3}}{2 \left (x^3-x\right )^{2/3}}\right )+\frac {3 b \left (x^3-x\right )^{4/3}}{2 x^2}\) |
\(\Big \downarrow \) 853 |
\(\displaystyle (a-3 b) \left (\frac {1}{2} x \sqrt [3]{x^3-x}-\frac {x^{2/3} \left (x^2-1\right )^{2/3} \left (-\frac {\arctan \left (\frac {\frac {2 x^{2/3}}{\sqrt [3]{x-1}}+1}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {1}{2} \log \left (x^{2/3}-\sqrt [3]{x-1}\right )\right )}{2 \left (x^3-x\right )^{2/3}}\right )+\frac {3 b \left (x^3-x\right )^{4/3}}{2 x^2}\) |
(3*b*(-x + x^3)^(4/3))/(2*x^2) + (a - 3*b)*((x*(-x + x^3)^(1/3))/2 - (x^(2 /3)*(-1 + x^2)^(2/3)*(-(ArcTan[(1 + (2*x^(2/3))/(-1 + x)^(1/3))/Sqrt[3]]/S qrt[3]) - Log[-(-1 + x)^(1/3) + x^(2/3)]/2))/(2*(-x + x^3)^(2/3)))
3.20.55.3.1 Defintions of rubi rules used
Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> With[{k = De nominator[m]}, Simp[k/c Subst[Int[x^(k*(m + 1) - 1)*(a + b*(x^(2*k)/c^2)) ^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && FractionQ[m] && I ntBinomialQ[a, b, c, 2, m, p, x]
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = GCD[m + 1, n]}, Simp[1/k Subst[Int[x^((m + 1)/k - 1)*(a + b*x^(n/k))^p, x], x, x^k], x] /; k != 1] /; FreeQ[{a, b, p}, x] && IGtQ[n, 0] && IntegerQ[m]
Int[(x_)/((a_) + (b_.)*(x_)^3)^(2/3), x_Symbol] :> With[{q = Rt[b, 3]}, Sim p[-ArcTan[(1 + 2*q*(x/(a + b*x^3)^(1/3)))/Sqrt[3]]/(Sqrt[3]*q^2), x] - Simp [Log[q*x - (a + b*x^3)^(1/3)]/(2*q^2), x]] /; FreeQ[{a, b}, x]
Int[((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Simp[x*((a*x^j + b*x^n)^p/(n*p + 1)), x] + Simp[a*(n - j)*(p/(n*p + 1)) Int[x^j*(a*x^j + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b}, x] && !IntegerQ[p] && LtQ[0, j, n] && GtQ[p, 0] && NeQ[n*p + 1, 0]
Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol ] :> Simp[c^IntPart[m]*(c*x)^FracPart[m]*((a*x^j + b*x^n)^FracPart[p]/(x^(F racPart[m] + j*FracPart[p])*(a + b*x^(n - j))^FracPart[p])) Int[x^(m + j* p)*(a + b*x^(n - j))^p, x], x] /; FreeQ[{a, b, c, j, m, n, p}, x] && !Inte gerQ[p] && NeQ[n, j] && PosQ[n - j]
Int[((e_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(jn_.))^(p_)*((c_) + (d_.)*(x_)^(n_.)), x_Symbol] :> Simp[c*e^(j - 1)*(e*x)^(m - j + 1)*((a*x^j + b*x^(j + n))^(p + 1)/(a*(m + j*p + 1))), x] + Simp[(a*d*(m + j*p + 1) - b *c*(m + n + p*(j + n) + 1))/(a*e^n*(m + j*p + 1)) Int[(e*x)^(m + n)*(a*x^ j + b*x^(j + n))^p, x], x] /; FreeQ[{a, b, c, d, e, j, p}, x] && EqQ[jn, j + n] && !IntegerQ[p] && NeQ[b*c - a*d, 0] && GtQ[n, 0] && (LtQ[m + j*p, -1 ] || (IntegersQ[m - 1/2, p - 1/2] && LtQ[p, 0] && LtQ[m, (-n)*p - 1])) && ( GtQ[e, 0] || IntegersQ[j, n]) && NeQ[m + j*p + 1, 0] && NeQ[m - n + j*p + 1 , 0]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 1.92 (sec) , antiderivative size = 68, normalized size of antiderivative = 0.49
method | result | size |
meijerg | \(\frac {3 a \operatorname {signum}\left (x^{2}-1\right )^{\frac {1}{3}} x^{\frac {4}{3}} \operatorname {hypergeom}\left (\left [-\frac {1}{3}, \frac {2}{3}\right ], \left [\frac {5}{3}\right ], x^{2}\right )}{4 {\left (-\operatorname {signum}\left (x^{2}-1\right )\right )}^{\frac {1}{3}}}-\frac {3 b \operatorname {signum}\left (x^{2}-1\right )^{\frac {1}{3}} \operatorname {hypergeom}\left (\left [-\frac {1}{3}, -\frac {1}{3}\right ], \left [\frac {2}{3}\right ], x^{2}\right )}{2 {\left (-\operatorname {signum}\left (x^{2}-1\right )\right )}^{\frac {1}{3}} x^{\frac {2}{3}}}\) | \(68\) |
pseudoelliptic | \(\frac {3 \left (x^{3}-x \right )^{\frac {1}{3}} \left (a \,x^{2}-3 b \right )+x \left (a -3 b \right ) \left (-\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x +2 \left (x^{3}-x \right )^{\frac {1}{3}}\right )}{3 x}\right )+\ln \left (\frac {-x +\left (x^{3}-x \right )^{\frac {1}{3}}}{x}\right )-\frac {\ln \left (\frac {x^{2}+x \left (x^{3}-x \right )^{\frac {1}{3}}+\left (x^{3}-x \right )^{\frac {2}{3}}}{x^{2}}\right )}{2}\right )}{6 \left (\left (x^{3}-x \right )^{\frac {2}{3}}+x \left (x +\left (x^{3}-x \right )^{\frac {1}{3}}\right )\right ) \left (x -\left (x^{3}-x \right )^{\frac {1}{3}}\right )}\) | \(148\) |
trager | \(\frac {\left (a \,x^{2}-3 b \right ) \left (x^{3}-x \right )^{\frac {1}{3}}}{2 x}-\frac {\left (a -3 b \right ) \left (12 \ln \left (22320 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x^{2}-27072 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (x^{3}-x \right )^{\frac {2}{3}}-27072 \left (x^{3}-x \right )^{\frac {1}{3}} \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x -25212 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x^{2}-89280 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2}+5355 \left (x^{3}-x \right )^{\frac {2}{3}}+5355 x \left (x^{3}-x \right )^{\frac {1}{3}}+5510 x^{2}+32028 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )-1653\right ) \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )-12 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \ln \left (22320 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x^{2}+27072 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (x^{3}-x \right )^{\frac {2}{3}}+27072 \left (x^{3}-x \right )^{\frac {1}{3}} \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x +28932 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x^{2}-89280 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2}+7611 \left (x^{3}-x \right )^{\frac {2}{3}}+7611 x \left (x^{3}-x \right )^{\frac {1}{3}}+7766 x^{2}-46908 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )-4942\right )+\ln \left (22320 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2} x^{2}-27072 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) \left (x^{3}-x \right )^{\frac {2}{3}}-27072 \left (x^{3}-x \right )^{\frac {1}{3}} \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x -25212 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right ) x^{2}-89280 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )^{2}+5355 \left (x^{3}-x \right )^{\frac {2}{3}}+5355 x \left (x^{3}-x \right )^{\frac {1}{3}}+5510 x^{2}+32028 \operatorname {RootOf}\left (144 \textit {\_Z}^{2}+12 \textit {\_Z} +1\right )-1653\right )\right )}{6}\) | \(473\) |
risch | \(\text {Expression too large to display}\) | \(802\) |
3/4*a*signum(x^2-1)^(1/3)/(-signum(x^2-1))^(1/3)*x^(4/3)*hypergeom([-1/3,2 /3],[5/3],x^2)-3/2*b*signum(x^2-1)^(1/3)/(-signum(x^2-1))^(1/3)/x^(2/3)*hy pergeom([-1/3,-1/3],[2/3],x^2)
Time = 45.93 (sec) , antiderivative size = 123, normalized size of antiderivative = 0.89 \[ \int \frac {\left (b+a x^2\right ) \sqrt [3]{-x+x^3}}{x^2} \, dx=\frac {2 \, \sqrt {3} {\left (a - 3 \, b\right )} x \arctan \left (-\frac {44032959556 \, \sqrt {3} {\left (x^{3} - x\right )}^{\frac {1}{3}} x + \sqrt {3} {\left (16754327161 \, x^{2} - 2707204793\right )} - 10524305234 \, \sqrt {3} {\left (x^{3} - x\right )}^{\frac {2}{3}}}{81835897185 \, x^{2} - 1102302937}\right ) + {\left (a - 3 \, b\right )} x \log \left (-3 \, {\left (x^{3} - x\right )}^{\frac {1}{3}} x + 3 \, {\left (x^{3} - x\right )}^{\frac {2}{3}} + 1\right ) + 6 \, {\left (a x^{2} - 3 \, b\right )} {\left (x^{3} - x\right )}^{\frac {1}{3}}}{12 \, x} \]
1/12*(2*sqrt(3)*(a - 3*b)*x*arctan(-(44032959556*sqrt(3)*(x^3 - x)^(1/3)*x + sqrt(3)*(16754327161*x^2 - 2707204793) - 10524305234*sqrt(3)*(x^3 - x)^ (2/3))/(81835897185*x^2 - 1102302937)) + (a - 3*b)*x*log(-3*(x^3 - x)^(1/3 )*x + 3*(x^3 - x)^(2/3) + 1) + 6*(a*x^2 - 3*b)*(x^3 - x)^(1/3))/x
\[ \int \frac {\left (b+a x^2\right ) \sqrt [3]{-x+x^3}}{x^2} \, dx=\int \frac {\sqrt [3]{x \left (x - 1\right ) \left (x + 1\right )} \left (a x^{2} + b\right )}{x^{2}}\, dx \]
\[ \int \frac {\left (b+a x^2\right ) \sqrt [3]{-x+x^3}}{x^2} \, dx=\int { \frac {{\left (a x^{2} + b\right )} {\left (x^{3} - x\right )}^{\frac {1}{3}}}{x^{2}} \,d x } \]
Time = 0.29 (sec) , antiderivative size = 105, normalized size of antiderivative = 0.76 \[ \int \frac {\left (b+a x^2\right ) \sqrt [3]{-x+x^3}}{x^2} \, dx=\frac {1}{2} \, a x^{2} {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} - \frac {1}{6} \, \sqrt {3} {\left (a - 3 \, b\right )} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} + 1\right )}\right ) - \frac {1}{12} \, {\left (a - 3 \, b\right )} \log \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {2}{3}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} + 1\right ) + \frac {1}{6} \, {\left (a - 3 \, b\right )} \log \left ({\left | {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} - 1 \right |}\right ) - \frac {3}{2} \, b {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} \]
1/2*a*x^2*(-1/x^2 + 1)^(1/3) - 1/6*sqrt(3)*(a - 3*b)*arctan(1/3*sqrt(3)*(2 *(-1/x^2 + 1)^(1/3) + 1)) - 1/12*(a - 3*b)*log((-1/x^2 + 1)^(2/3) + (-1/x^ 2 + 1)^(1/3) + 1) + 1/6*(a - 3*b)*log(abs((-1/x^2 + 1)^(1/3) - 1)) - 3/2*b *(-1/x^2 + 1)^(1/3)
Timed out. \[ \int \frac {\left (b+a x^2\right ) \sqrt [3]{-x+x^3}}{x^2} \, dx=\int \frac {{\left (x^3-x\right )}^{1/3}\,\left (a\,x^2+b\right )}{x^2} \,d x \]