Integrand size = 22, antiderivative size = 228 \[ \int \frac {A+B x^3}{\sqrt {x} \left (a+b x^3\right )^2} \, dx=\frac {(A b-a B) \sqrt {x}}{3 a b \left (a+b x^3\right )}-\frac {(5 A b+a B) \arctan \left (\sqrt {3}-\frac {2 \sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )}{18 a^{11/6} b^{7/6}}+\frac {(5 A b+a B) \arctan \left (\sqrt {3}+\frac {2 \sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )}{18 a^{11/6} b^{7/6}}+\frac {(5 A b+a B) \arctan \left (\frac {\sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )}{9 a^{11/6} b^{7/6}}+\frac {(5 A b+a B) \text {arctanh}\left (\frac {\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}}{\sqrt [3]{a}+\sqrt [3]{b} x}\right )}{6 \sqrt {3} a^{11/6} b^{7/6}} \] Output:
1/3*(A*b-B*a)*x^(1/2)/a/b/(b*x^3+a)+1/18*(5*A*b+B*a)*arctan(-3^(1/2)+2*b^( 1/6)*x^(1/2)/a^(1/6))/a^(11/6)/b^(7/6)+1/18*(5*A*b+B*a)*arctan(3^(1/2)+2*b ^(1/6)*x^(1/2)/a^(1/6))/a^(11/6)/b^(7/6)+1/9*(5*A*b+B*a)*arctan(b^(1/6)*x^ (1/2)/a^(1/6))/a^(11/6)/b^(7/6)+1/18*(5*A*b+B*a)*arctanh(3^(1/2)*a^(1/6)*b ^(1/6)*x^(1/2)/(a^(1/3)+b^(1/3)*x))*3^(1/2)/a^(11/6)/b^(7/6)
Time = 0.92 (sec) , antiderivative size = 168, normalized size of antiderivative = 0.74 \[ \int \frac {A+B x^3}{\sqrt {x} \left (a+b x^3\right )^2} \, dx=\frac {-\frac {6 a^{5/6} \sqrt [6]{b} (-A b+a B) \sqrt {x}}{a+b x^3}+2 (5 A b+a B) \arctan \left (\frac {\sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )-(5 A b+a B) \arctan \left (\frac {\sqrt [3]{a}-\sqrt [3]{b} x}{\sqrt [6]{a} \sqrt [6]{b} \sqrt {x}}\right )+\sqrt {3} (5 A b+a B) \text {arctanh}\left (\frac {\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}}{\sqrt [3]{a}+\sqrt [3]{b} x}\right )}{18 a^{11/6} b^{7/6}} \] Input:
Integrate[(A + B*x^3)/(Sqrt[x]*(a + b*x^3)^2),x]
Output:
((-6*a^(5/6)*b^(1/6)*(-(A*b) + a*B)*Sqrt[x])/(a + b*x^3) + 2*(5*A*b + a*B) *ArcTan[(b^(1/6)*Sqrt[x])/a^(1/6)] - (5*A*b + a*B)*ArcTan[(a^(1/3) - b^(1/ 3)*x)/(a^(1/6)*b^(1/6)*Sqrt[x])] + Sqrt[3]*(5*A*b + a*B)*ArcTanh[(Sqrt[3]* a^(1/6)*b^(1/6)*Sqrt[x])/(a^(1/3) + b^(1/3)*x)])/(18*a^(11/6)*b^(7/6))
Time = 0.85 (sec) , antiderivative size = 277, normalized size of antiderivative = 1.21, number of steps used = 12, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {957, 851, 753, 27, 218, 1142, 25, 27, 1082, 217, 1103}
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 {A+B x^3}{\sqrt {x} \left (a+b x^3\right )^2} \, dx\) |
\(\Big \downarrow \) 957 |
\(\displaystyle \frac {(a B+5 A b) \int \frac {1}{\sqrt {x} \left (b x^3+a\right )}dx}{6 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 851 |
\(\displaystyle \frac {(a B+5 A b) \int \frac {1}{b x^3+a}d\sqrt {x}}{3 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 753 |
\(\displaystyle \frac {(a B+5 A b) \left (\frac {\int \frac {1}{\sqrt [3]{b} x+\sqrt [3]{a}}d\sqrt {x}}{3 a^{2/3}}+\frac {\int \frac {2 \sqrt [6]{a}-\sqrt {3} \sqrt [6]{b} \sqrt {x}}{2 \left (\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}\right )}d\sqrt {x}}{3 a^{5/6}}+\frac {\int \frac {\sqrt {3} \sqrt [6]{b} \sqrt {x}+2 \sqrt [6]{a}}{2 \left (\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}\right )}d\sqrt {x}}{3 a^{5/6}}\right )}{3 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {(a B+5 A b) \left (\frac {\int \frac {1}{\sqrt [3]{b} x+\sqrt [3]{a}}d\sqrt {x}}{3 a^{2/3}}+\frac {\int \frac {2 \sqrt [6]{a}-\sqrt {3} \sqrt [6]{b} \sqrt {x}}{\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{6 a^{5/6}}+\frac {\int \frac {\sqrt {3} \sqrt [6]{b} \sqrt {x}+2 \sqrt [6]{a}}{\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{6 a^{5/6}}\right )}{3 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 218 |
\(\displaystyle \frac {(a B+5 A b) \left (\frac {\int \frac {2 \sqrt [6]{a}-\sqrt {3} \sqrt [6]{b} \sqrt {x}}{\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{6 a^{5/6}}+\frac {\int \frac {\sqrt {3} \sqrt [6]{b} \sqrt {x}+2 \sqrt [6]{a}}{\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{6 a^{5/6}}+\frac {\arctan \left (\frac {\sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )}{3 a^{5/6} \sqrt [6]{b}}\right )}{3 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 1142 |
\(\displaystyle \frac {(a B+5 A b) \left (\frac {\frac {1}{2} \sqrt [6]{a} \int \frac {1}{\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}-\frac {\sqrt {3} \int -\frac {\sqrt [6]{b} \left (\sqrt {3} \sqrt [6]{a}-2 \sqrt [6]{b} \sqrt {x}\right )}{\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{2 \sqrt [6]{b}}}{6 a^{5/6}}+\frac {\frac {1}{2} \sqrt [6]{a} \int \frac {1}{\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}+\frac {\sqrt {3} \int \frac {\sqrt [6]{b} \left (2 \sqrt [6]{b} \sqrt {x}+\sqrt {3} \sqrt [6]{a}\right )}{\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{2 \sqrt [6]{b}}}{6 a^{5/6}}+\frac {\arctan \left (\frac {\sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )}{3 a^{5/6} \sqrt [6]{b}}\right )}{3 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {(a B+5 A b) \left (\frac {\frac {1}{2} \sqrt [6]{a} \int \frac {1}{\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}+\frac {\sqrt {3} \int \frac {\sqrt [6]{b} \left (\sqrt {3} \sqrt [6]{a}-2 \sqrt [6]{b} \sqrt {x}\right )}{\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{2 \sqrt [6]{b}}}{6 a^{5/6}}+\frac {\frac {1}{2} \sqrt [6]{a} \int \frac {1}{\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}+\frac {\sqrt {3} \int \frac {\sqrt [6]{b} \left (2 \sqrt [6]{b} \sqrt {x}+\sqrt {3} \sqrt [6]{a}\right )}{\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{2 \sqrt [6]{b}}}{6 a^{5/6}}+\frac {\arctan \left (\frac {\sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )}{3 a^{5/6} \sqrt [6]{b}}\right )}{3 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {(a B+5 A b) \left (\frac {\frac {1}{2} \sqrt [6]{a} \int \frac {1}{\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}+\frac {1}{2} \sqrt {3} \int \frac {\sqrt {3} \sqrt [6]{a}-2 \sqrt [6]{b} \sqrt {x}}{\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{6 a^{5/6}}+\frac {\frac {1}{2} \sqrt [6]{a} \int \frac {1}{\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}+\frac {1}{2} \sqrt {3} \int \frac {2 \sqrt [6]{b} \sqrt {x}+\sqrt {3} \sqrt [6]{a}}{\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{6 a^{5/6}}+\frac {\arctan \left (\frac {\sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )}{3 a^{5/6} \sqrt [6]{b}}\right )}{3 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 1082 |
\(\displaystyle \frac {(a B+5 A b) \left (\frac {\frac {\int \frac {1}{-x-\frac {1}{3}}d\left (1-\frac {2 \sqrt [6]{b} \sqrt {x}}{\sqrt {3} \sqrt [6]{a}}\right )}{\sqrt {3} \sqrt [6]{b}}+\frac {1}{2} \sqrt {3} \int \frac {\sqrt {3} \sqrt [6]{a}-2 \sqrt [6]{b} \sqrt {x}}{\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}}{6 a^{5/6}}+\frac {\frac {1}{2} \sqrt {3} \int \frac {2 \sqrt [6]{b} \sqrt {x}+\sqrt {3} \sqrt [6]{a}}{\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}-\frac {\int \frac {1}{-x-\frac {1}{3}}d\left (\frac {2 \sqrt [6]{b} \sqrt {x}}{\sqrt {3} \sqrt [6]{a}}+1\right )}{\sqrt {3} \sqrt [6]{b}}}{6 a^{5/6}}+\frac {\arctan \left (\frac {\sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )}{3 a^{5/6} \sqrt [6]{b}}\right )}{3 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 217 |
\(\displaystyle \frac {(a B+5 A b) \left (\frac {\frac {1}{2} \sqrt {3} \int \frac {\sqrt {3} \sqrt [6]{a}-2 \sqrt [6]{b} \sqrt {x}}{\sqrt [3]{b} x-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}-\frac {\arctan \left (\sqrt {3} \left (1-\frac {2 \sqrt [6]{b} \sqrt {x}}{\sqrt {3} \sqrt [6]{a}}\right )\right )}{\sqrt [6]{b}}}{6 a^{5/6}}+\frac {\frac {1}{2} \sqrt {3} \int \frac {2 \sqrt [6]{b} \sqrt {x}+\sqrt {3} \sqrt [6]{a}}{\sqrt [3]{b} x+\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}}d\sqrt {x}+\frac {\arctan \left (\sqrt {3} \left (\frac {2 \sqrt [6]{b} \sqrt {x}}{\sqrt {3} \sqrt [6]{a}}+1\right )\right )}{\sqrt [6]{b}}}{6 a^{5/6}}+\frac {\arctan \left (\frac {\sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )}{3 a^{5/6} \sqrt [6]{b}}\right )}{3 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 1103 |
\(\displaystyle \frac {(a B+5 A b) \left (\frac {\arctan \left (\frac {\sqrt [6]{b} \sqrt {x}}{\sqrt [6]{a}}\right )}{3 a^{5/6} \sqrt [6]{b}}+\frac {-\frac {\arctan \left (\sqrt {3} \left (1-\frac {2 \sqrt [6]{b} \sqrt {x}}{\sqrt {3} \sqrt [6]{a}}\right )\right )}{\sqrt [6]{b}}-\frac {\sqrt {3} \log \left (-\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}+\sqrt [3]{b} x\right )}{2 \sqrt [6]{b}}}{6 a^{5/6}}+\frac {\frac {\arctan \left (\sqrt {3} \left (\frac {2 \sqrt [6]{b} \sqrt {x}}{\sqrt {3} \sqrt [6]{a}}+1\right )\right )}{\sqrt [6]{b}}+\frac {\sqrt {3} \log \left (\sqrt {3} \sqrt [6]{a} \sqrt [6]{b} \sqrt {x}+\sqrt [3]{a}+\sqrt [3]{b} x\right )}{2 \sqrt [6]{b}}}{6 a^{5/6}}\right )}{3 a b}+\frac {\sqrt {x} (A b-a B)}{3 a b \left (a+b x^3\right )}\) |
Input:
Int[(A + B*x^3)/(Sqrt[x]*(a + b*x^3)^2),x]
Output:
((A*b - a*B)*Sqrt[x])/(3*a*b*(a + b*x^3)) + ((5*A*b + a*B)*(ArcTan[(b^(1/6 )*Sqrt[x])/a^(1/6)]/(3*a^(5/6)*b^(1/6)) + (-(ArcTan[Sqrt[3]*(1 - (2*b^(1/6 )*Sqrt[x])/(Sqrt[3]*a^(1/6)))]/b^(1/6)) - (Sqrt[3]*Log[a^(1/3) - Sqrt[3]*a ^(1/6)*b^(1/6)*Sqrt[x] + b^(1/3)*x])/(2*b^(1/6)))/(6*a^(5/6)) + (ArcTan[Sq rt[3]*(1 + (2*b^(1/6)*Sqrt[x])/(Sqrt[3]*a^(1/6)))]/b^(1/6) + (Sqrt[3]*Log[ a^(1/3) + Sqrt[3]*a^(1/6)*b^(1/6)*Sqrt[x] + b^(1/3)*x])/(2*b^(1/6)))/(6*a^ (5/6))))/(3*a*b)
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^( -1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] & & (LtQ[a, 0] || LtQ[b, 0])
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/R t[a/b, 2]], x] /; FreeQ[{a, b}, x] && PosQ[a/b]
Int[((a_) + (b_.)*(x_)^(n_))^(-1), x_Symbol] :> Module[{r = Numerator[Rt[a/ b, n]], s = Denominator[Rt[a/b, n]], k, u, v}, Simp[u = Int[(r - s*Cos[(2*k - 1)*(Pi/n)]*x)/(r^2 - 2*r*s*Cos[(2*k - 1)*(Pi/n)]*x + s^2*x^2), x] + Int[ (r + s*Cos[(2*k - 1)*(Pi/n)]*x)/(r^2 + 2*r*s*Cos[(2*k - 1)*(Pi/n)]*x + s^2* x^2), x]; 2*(r^2/(a*n)) Int[1/(r^2 + s^2*x^2), x] + 2*(r/(a*n)) Sum[u, {k, 1, (n - 2)/4}], x]] /; FreeQ[{a, b}, x] && IGtQ[(n - 2)/4, 0] && PosQ[a /b]
Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = Denominator[m]}, Simp[k/c Subst[Int[x^(k*(m + 1) - 1)*(a + b*(x^(k*n)/c^ n))^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && FractionQ[m] && IntBinomialQ[a, b, c, n, m, p, x]
Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n _)), x_Symbol] :> Simp[(-(b*c - a*d))*(e*x)^(m + 1)*((a + b*x^n)^(p + 1)/(a *b*e*n*(p + 1))), x] - Simp[(a*d*(m + 1) - b*c*(m + n*(p + 1) + 1))/(a*b*n* (p + 1)) Int[(e*x)^m*(a + b*x^n)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e, m, n}, x] && NeQ[b*c - a*d, 0] && LtQ[p, -1] && (( !IntegerQ[p + 1/2] && N eQ[p, -5/4]) || !RationalQ[m] || (IGtQ[n, 0] && ILtQ[p + 1/2, 0] && LeQ[-1 , m, (-n)*(p + 1)]))
Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*S implify[a*(c/b^2)]}, Simp[-2/b Subst[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b )], x] /; RationalQ[q] && (EqQ[q^2, 1] || !RationalQ[b^2 - 4*a*c])] /; Fre eQ[{a, b, c}, x]
Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> S imp[d*(Log[RemoveContent[a + b*x + c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]
Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> S imp[(2*c*d - b*e)/(2*c) Int[1/(a + b*x + c*x^2), x], x] + Simp[e/(2*c) Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x]
Time = 0.74 (sec) , antiderivative size = 213, normalized size of antiderivative = 0.93
method | result | size |
derivativedivides | \(\frac {\left (A b -B a \right ) \sqrt {x}}{3 a b \left (b \,x^{3}+a \right )}+\frac {\left (5 A b +B a \right ) \left (\frac {\left (\frac {a}{b}\right )^{\frac {1}{6}} \arctan \left (\frac {\sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{6}}}\right )}{3 a}+\frac {\sqrt {3}\, \left (\frac {a}{b}\right )^{\frac {1}{6}} \ln \left (x +\sqrt {3}\, \left (\frac {a}{b}\right )^{\frac {1}{6}} \sqrt {x}+\left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{12 a}+\frac {\left (\frac {a}{b}\right )^{\frac {1}{6}} \arctan \left (\frac {2 \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{6}}}+\sqrt {3}\right )}{6 a}-\frac {\sqrt {3}\, \left (\frac {a}{b}\right )^{\frac {1}{6}} \ln \left (\sqrt {3}\, \left (\frac {a}{b}\right )^{\frac {1}{6}} \sqrt {x}-x -\left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{12 a}+\frac {\left (\frac {a}{b}\right )^{\frac {1}{6}} \arctan \left (\frac {2 \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{6}}}-\sqrt {3}\right )}{6 a}\right )}{3 a b}\) | \(213\) |
default | \(\frac {\left (A b -B a \right ) \sqrt {x}}{3 a b \left (b \,x^{3}+a \right )}+\frac {\left (5 A b +B a \right ) \left (\frac {\left (\frac {a}{b}\right )^{\frac {1}{6}} \arctan \left (\frac {\sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{6}}}\right )}{3 a}+\frac {\sqrt {3}\, \left (\frac {a}{b}\right )^{\frac {1}{6}} \ln \left (x +\sqrt {3}\, \left (\frac {a}{b}\right )^{\frac {1}{6}} \sqrt {x}+\left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{12 a}+\frac {\left (\frac {a}{b}\right )^{\frac {1}{6}} \arctan \left (\frac {2 \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{6}}}+\sqrt {3}\right )}{6 a}-\frac {\sqrt {3}\, \left (\frac {a}{b}\right )^{\frac {1}{6}} \ln \left (\sqrt {3}\, \left (\frac {a}{b}\right )^{\frac {1}{6}} \sqrt {x}-x -\left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{12 a}+\frac {\left (\frac {a}{b}\right )^{\frac {1}{6}} \arctan \left (\frac {2 \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{6}}}-\sqrt {3}\right )}{6 a}\right )}{3 a b}\) | \(213\) |
Input:
int((B*x^3+A)/x^(1/2)/(b*x^3+a)^2,x,method=_RETURNVERBOSE)
Output:
1/3*(A*b-B*a)*x^(1/2)/a/b/(b*x^3+a)+1/3*(5*A*b+B*a)/a/b*(1/3/a*(a/b)^(1/6) *arctan(x^(1/2)/(a/b)^(1/6))+1/12/a*3^(1/2)*(a/b)^(1/6)*ln(x+3^(1/2)*(a/b) ^(1/6)*x^(1/2)+(a/b)^(1/3))+1/6/a*(a/b)^(1/6)*arctan(2*x^(1/2)/(a/b)^(1/6) +3^(1/2))-1/12/a*3^(1/2)*(a/b)^(1/6)*ln(3^(1/2)*(a/b)^(1/6)*x^(1/2)-x-(a/b )^(1/3))+1/6/a*(a/b)^(1/6)*arctan(2*x^(1/2)/(a/b)^(1/6)-3^(1/2)))
Leaf count of result is larger than twice the leaf count of optimal. 1417 vs. \(2 (166) = 332\).
Time = 0.12 (sec) , antiderivative size = 1417, normalized size of antiderivative = 6.21 \[ \int \frac {A+B x^3}{\sqrt {x} \left (a+b x^3\right )^2} \, dx=\text {Too large to display} \] Input:
integrate((B*x^3+A)/x^(1/2)/(b*x^3+a)^2,x, algorithm="fricas")
Output:
1/36*(2*(a*b^2*x^3 + a^2*b)*(-(B^6*a^6 + 30*A*B^5*a^5*b + 375*A^2*B^4*a^4* b^2 + 2500*A^3*B^3*a^3*b^3 + 9375*A^4*B^2*a^2*b^4 + 18750*A^5*B*a*b^5 + 15 625*A^6*b^6)/(a^11*b^7))^(1/6)*log(a^2*b*(-(B^6*a^6 + 30*A*B^5*a^5*b + 375 *A^2*B^4*a^4*b^2 + 2500*A^3*B^3*a^3*b^3 + 9375*A^4*B^2*a^2*b^4 + 18750*A^5 *B*a*b^5 + 15625*A^6*b^6)/(a^11*b^7))^(1/6) + (B*a + 5*A*b)*sqrt(x)) - 2*( a*b^2*x^3 + a^2*b)*(-(B^6*a^6 + 30*A*B^5*a^5*b + 375*A^2*B^4*a^4*b^2 + 250 0*A^3*B^3*a^3*b^3 + 9375*A^4*B^2*a^2*b^4 + 18750*A^5*B*a*b^5 + 15625*A^6*b ^6)/(a^11*b^7))^(1/6)*log(-a^2*b*(-(B^6*a^6 + 30*A*B^5*a^5*b + 375*A^2*B^4 *a^4*b^2 + 2500*A^3*B^3*a^3*b^3 + 9375*A^4*B^2*a^2*b^4 + 18750*A^5*B*a*b^5 + 15625*A^6*b^6)/(a^11*b^7))^(1/6) + (B*a + 5*A*b)*sqrt(x)) + (a*b^2*x^3 + a^2*b + sqrt(-3)*(a*b^2*x^3 + a^2*b))*(-(B^6*a^6 + 30*A*B^5*a^5*b + 375* A^2*B^4*a^4*b^2 + 2500*A^3*B^3*a^3*b^3 + 9375*A^4*B^2*a^2*b^4 + 18750*A^5* B*a*b^5 + 15625*A^6*b^6)/(a^11*b^7))^(1/6)*log((B*a + 5*A*b)*sqrt(x) + 1/2 *(sqrt(-3)*a^2*b + a^2*b)*(-(B^6*a^6 + 30*A*B^5*a^5*b + 375*A^2*B^4*a^4*b^ 2 + 2500*A^3*B^3*a^3*b^3 + 9375*A^4*B^2*a^2*b^4 + 18750*A^5*B*a*b^5 + 1562 5*A^6*b^6)/(a^11*b^7))^(1/6)) - (a*b^2*x^3 + a^2*b + sqrt(-3)*(a*b^2*x^3 + a^2*b))*(-(B^6*a^6 + 30*A*B^5*a^5*b + 375*A^2*B^4*a^4*b^2 + 2500*A^3*B^3* a^3*b^3 + 9375*A^4*B^2*a^2*b^4 + 18750*A^5*B*a*b^5 + 15625*A^6*b^6)/(a^11* b^7))^(1/6)*log((B*a + 5*A*b)*sqrt(x) - 1/2*(sqrt(-3)*a^2*b + a^2*b)*(-(B^ 6*a^6 + 30*A*B^5*a^5*b + 375*A^2*B^4*a^4*b^2 + 2500*A^3*B^3*a^3*b^3 + 9...
Leaf count of result is larger than twice the leaf count of optimal. 1632 vs. \(2 (216) = 432\).
Time = 95.63 (sec) , antiderivative size = 1632, normalized size of antiderivative = 7.16 \[ \int \frac {A+B x^3}{\sqrt {x} \left (a+b x^3\right )^2} \, dx=\text {Too large to display} \] Input:
integrate((B*x**3+A)/x**(1/2)/(b*x**3+a)**2,x)
Output:
Piecewise((zoo*(-2*A/(11*x**(11/2)) - 2*B/(5*x**(5/2))), Eq(a, 0) & Eq(b, 0)), ((2*A*sqrt(x) + 2*B*x**(7/2)/7)/a**2, Eq(b, 0)), ((-2*A/(11*x**(11/2) ) - 2*B/(5*x**(5/2)))/b**2, Eq(a, 0)), (12*A*a*b*sqrt(x)/(36*a**3*b + 36*a **2*b**2*x**3) - 10*A*a*b*(-a/b)**(1/6)*log(sqrt(x) - (-a/b)**(1/6))/(36*a **3*b + 36*a**2*b**2*x**3) + 10*A*a*b*(-a/b)**(1/6)*log(sqrt(x) + (-a/b)** (1/6))/(36*a**3*b + 36*a**2*b**2*x**3) - 5*A*a*b*(-a/b)**(1/6)*log(-4*sqrt (x)*(-a/b)**(1/6) + 4*x + 4*(-a/b)**(1/3))/(36*a**3*b + 36*a**2*b**2*x**3) + 5*A*a*b*(-a/b)**(1/6)*log(4*sqrt(x)*(-a/b)**(1/6) + 4*x + 4*(-a/b)**(1/ 3))/(36*a**3*b + 36*a**2*b**2*x**3) + 10*sqrt(3)*A*a*b*(-a/b)**(1/6)*atan( 2*sqrt(3)*sqrt(x)/(3*(-a/b)**(1/6)) - sqrt(3)/3)/(36*a**3*b + 36*a**2*b**2 *x**3) + 10*sqrt(3)*A*a*b*(-a/b)**(1/6)*atan(2*sqrt(3)*sqrt(x)/(3*(-a/b)** (1/6)) + sqrt(3)/3)/(36*a**3*b + 36*a**2*b**2*x**3) - 10*A*b**2*x**3*(-a/b )**(1/6)*log(sqrt(x) - (-a/b)**(1/6))/(36*a**3*b + 36*a**2*b**2*x**3) + 10 *A*b**2*x**3*(-a/b)**(1/6)*log(sqrt(x) + (-a/b)**(1/6))/(36*a**3*b + 36*a* *2*b**2*x**3) - 5*A*b**2*x**3*(-a/b)**(1/6)*log(-4*sqrt(x)*(-a/b)**(1/6) + 4*x + 4*(-a/b)**(1/3))/(36*a**3*b + 36*a**2*b**2*x**3) + 5*A*b**2*x**3*(- a/b)**(1/6)*log(4*sqrt(x)*(-a/b)**(1/6) + 4*x + 4*(-a/b)**(1/3))/(36*a**3* b + 36*a**2*b**2*x**3) + 10*sqrt(3)*A*b**2*x**3*(-a/b)**(1/6)*atan(2*sqrt( 3)*sqrt(x)/(3*(-a/b)**(1/6)) - sqrt(3)/3)/(36*a**3*b + 36*a**2*b**2*x**3) + 10*sqrt(3)*A*b**2*x**3*(-a/b)**(1/6)*atan(2*sqrt(3)*sqrt(x)/(3*(-a/b)...
Time = 0.12 (sec) , antiderivative size = 301, normalized size of antiderivative = 1.32 \[ \int \frac {A+B x^3}{\sqrt {x} \left (a+b x^3\right )^2} \, dx=-\frac {{\left (B a - A b\right )} \sqrt {x}}{3 \, {\left (a b^{2} x^{3} + a^{2} b\right )}} + \frac {\frac {\sqrt {3} {\left (B a + 5 \, A b\right )} \log \left (\sqrt {3} a^{\frac {1}{6}} b^{\frac {1}{6}} \sqrt {x} + b^{\frac {1}{3}} x + a^{\frac {1}{3}}\right )}{a^{\frac {5}{6}} b^{\frac {1}{6}}} - \frac {\sqrt {3} {\left (B a + 5 \, A b\right )} \log \left (-\sqrt {3} a^{\frac {1}{6}} b^{\frac {1}{6}} \sqrt {x} + b^{\frac {1}{3}} x + a^{\frac {1}{3}}\right )}{a^{\frac {5}{6}} b^{\frac {1}{6}}} + \frac {4 \, {\left (B a b^{\frac {1}{3}} + 5 \, A b^{\frac {4}{3}}\right )} \arctan \left (\frac {b^{\frac {1}{3}} \sqrt {x}}{\sqrt {a^{\frac {1}{3}} b^{\frac {1}{3}}}}\right )}{a^{\frac {2}{3}} b^{\frac {1}{3}} \sqrt {a^{\frac {1}{3}} b^{\frac {1}{3}}}} + \frac {2 \, {\left (B a^{\frac {4}{3}} b^{\frac {1}{3}} + 5 \, A a^{\frac {1}{3}} b^{\frac {4}{3}}\right )} \arctan \left (\frac {\sqrt {3} a^{\frac {1}{6}} b^{\frac {1}{6}} + 2 \, b^{\frac {1}{3}} \sqrt {x}}{\sqrt {a^{\frac {1}{3}} b^{\frac {1}{3}}}}\right )}{a b^{\frac {1}{3}} \sqrt {a^{\frac {1}{3}} b^{\frac {1}{3}}}} + \frac {2 \, {\left (B a^{\frac {4}{3}} b^{\frac {1}{3}} + 5 \, A a^{\frac {1}{3}} b^{\frac {4}{3}}\right )} \arctan \left (-\frac {\sqrt {3} a^{\frac {1}{6}} b^{\frac {1}{6}} - 2 \, b^{\frac {1}{3}} \sqrt {x}}{\sqrt {a^{\frac {1}{3}} b^{\frac {1}{3}}}}\right )}{a b^{\frac {1}{3}} \sqrt {a^{\frac {1}{3}} b^{\frac {1}{3}}}}}{36 \, a b} \] Input:
integrate((B*x^3+A)/x^(1/2)/(b*x^3+a)^2,x, algorithm="maxima")
Output:
-1/3*(B*a - A*b)*sqrt(x)/(a*b^2*x^3 + a^2*b) + 1/36*(sqrt(3)*(B*a + 5*A*b) *log(sqrt(3)*a^(1/6)*b^(1/6)*sqrt(x) + b^(1/3)*x + a^(1/3))/(a^(5/6)*b^(1/ 6)) - sqrt(3)*(B*a + 5*A*b)*log(-sqrt(3)*a^(1/6)*b^(1/6)*sqrt(x) + b^(1/3) *x + a^(1/3))/(a^(5/6)*b^(1/6)) + 4*(B*a*b^(1/3) + 5*A*b^(4/3))*arctan(b^( 1/3)*sqrt(x)/sqrt(a^(1/3)*b^(1/3)))/(a^(2/3)*b^(1/3)*sqrt(a^(1/3)*b^(1/3)) ) + 2*(B*a^(4/3)*b^(1/3) + 5*A*a^(1/3)*b^(4/3))*arctan((sqrt(3)*a^(1/6)*b^ (1/6) + 2*b^(1/3)*sqrt(x))/sqrt(a^(1/3)*b^(1/3)))/(a*b^(1/3)*sqrt(a^(1/3)* b^(1/3))) + 2*(B*a^(4/3)*b^(1/3) + 5*A*a^(1/3)*b^(4/3))*arctan(-(sqrt(3)*a ^(1/6)*b^(1/6) - 2*b^(1/3)*sqrt(x))/sqrt(a^(1/3)*b^(1/3)))/(a*b^(1/3)*sqrt (a^(1/3)*b^(1/3))))/(a*b)
Time = 0.14 (sec) , antiderivative size = 302, normalized size of antiderivative = 1.32 \[ \int \frac {A+B x^3}{\sqrt {x} \left (a+b x^3\right )^2} \, dx=\frac {\sqrt {3} {\left (\left (a b^{5}\right )^{\frac {1}{6}} B a + 5 \, \left (a b^{5}\right )^{\frac {1}{6}} A b\right )} \log \left (\sqrt {3} \sqrt {x} \left (\frac {a}{b}\right )^{\frac {1}{6}} + x + \left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{36 \, a^{2} b^{2}} - \frac {\sqrt {3} {\left (\left (a b^{5}\right )^{\frac {1}{6}} B a + 5 \, \left (a b^{5}\right )^{\frac {1}{6}} A b\right )} \log \left (-\sqrt {3} \sqrt {x} \left (\frac {a}{b}\right )^{\frac {1}{6}} + x + \left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{36 \, a^{2} b^{2}} - \frac {B a \sqrt {x} - A b \sqrt {x}}{3 \, {\left (b x^{3} + a\right )} a b} + \frac {{\left (\left (a b^{5}\right )^{\frac {1}{6}} B a + 5 \, \left (a b^{5}\right )^{\frac {1}{6}} A b\right )} \arctan \left (\frac {\sqrt {3} \left (\frac {a}{b}\right )^{\frac {1}{6}} + 2 \, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{6}}}\right )}{18 \, a^{2} b^{2}} + \frac {{\left (\left (a b^{5}\right )^{\frac {1}{6}} B a + 5 \, \left (a b^{5}\right )^{\frac {1}{6}} A b\right )} \arctan \left (-\frac {\sqrt {3} \left (\frac {a}{b}\right )^{\frac {1}{6}} - 2 \, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{6}}}\right )}{18 \, a^{2} b^{2}} + \frac {{\left (\left (a b^{5}\right )^{\frac {1}{6}} B a + 5 \, \left (a b^{5}\right )^{\frac {1}{6}} A b\right )} \arctan \left (\frac {\sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{6}}}\right )}{9 \, a^{2} b^{2}} \] Input:
integrate((B*x^3+A)/x^(1/2)/(b*x^3+a)^2,x, algorithm="giac")
Output:
1/36*sqrt(3)*((a*b^5)^(1/6)*B*a + 5*(a*b^5)^(1/6)*A*b)*log(sqrt(3)*sqrt(x) *(a/b)^(1/6) + x + (a/b)^(1/3))/(a^2*b^2) - 1/36*sqrt(3)*((a*b^5)^(1/6)*B* a + 5*(a*b^5)^(1/6)*A*b)*log(-sqrt(3)*sqrt(x)*(a/b)^(1/6) + x + (a/b)^(1/3 ))/(a^2*b^2) - 1/3*(B*a*sqrt(x) - A*b*sqrt(x))/((b*x^3 + a)*a*b) + 1/18*(( a*b^5)^(1/6)*B*a + 5*(a*b^5)^(1/6)*A*b)*arctan((sqrt(3)*(a/b)^(1/6) + 2*sq rt(x))/(a/b)^(1/6))/(a^2*b^2) + 1/18*((a*b^5)^(1/6)*B*a + 5*(a*b^5)^(1/6)* A*b)*arctan(-(sqrt(3)*(a/b)^(1/6) - 2*sqrt(x))/(a/b)^(1/6))/(a^2*b^2) + 1/ 9*((a*b^5)^(1/6)*B*a + 5*(a*b^5)^(1/6)*A*b)*arctan(sqrt(x)/(a/b)^(1/6))/(a ^2*b^2)
Time = 1.10 (sec) , antiderivative size = 1922, normalized size of antiderivative = 8.43 \[ \int \frac {A+B x^3}{\sqrt {x} \left (a+b x^3\right )^2} \, dx=\text {Too large to display} \] Input:
int((A + B*x^3)/(x^(1/2)*(a + b*x^3)^2),x)
Output:
(atan(((((2*x^(1/2)*(625*A^4*b^5 + B^4*a^4*b + 150*A^2*B^2*a^2*b^3 + 500*A ^3*B*a*b^4 + 20*A*B^3*a^3*b^2))/(27*a^4) - (2*(5*A*b + B*a)*(125*A^3*b^5 + B^3*a^3*b^2 + 75*A^2*B*a*b^4 + 15*A*B^2*a^2*b^3))/(27*(-a)^(23/6)*b^(7/6) ))*(5*A*b + B*a)*1i)/(18*(-a)^(11/6)*b^(7/6)) + (((2*x^(1/2)*(625*A^4*b^5 + B^4*a^4*b + 150*A^2*B^2*a^2*b^3 + 500*A^3*B*a*b^4 + 20*A*B^3*a^3*b^2))/( 27*a^4) + (2*(5*A*b + B*a)*(125*A^3*b^5 + B^3*a^3*b^2 + 75*A^2*B*a*b^4 + 1 5*A*B^2*a^2*b^3))/(27*(-a)^(23/6)*b^(7/6)))*(5*A*b + B*a)*1i)/(18*(-a)^(11 /6)*b^(7/6)))/((((2*x^(1/2)*(625*A^4*b^5 + B^4*a^4*b + 150*A^2*B^2*a^2*b^3 + 500*A^3*B*a*b^4 + 20*A*B^3*a^3*b^2))/(27*a^4) - (2*(5*A*b + B*a)*(125*A ^3*b^5 + B^3*a^3*b^2 + 75*A^2*B*a*b^4 + 15*A*B^2*a^2*b^3))/(27*(-a)^(23/6) *b^(7/6)))*(5*A*b + B*a))/(18*(-a)^(11/6)*b^(7/6)) - (((2*x^(1/2)*(625*A^4 *b^5 + B^4*a^4*b + 150*A^2*B^2*a^2*b^3 + 500*A^3*B*a*b^4 + 20*A*B^3*a^3*b^ 2))/(27*a^4) + (2*(5*A*b + B*a)*(125*A^3*b^5 + B^3*a^3*b^2 + 75*A^2*B*a*b^ 4 + 15*A*B^2*a^2*b^3))/(27*(-a)^(23/6)*b^(7/6)))*(5*A*b + B*a))/(18*(-a)^( 11/6)*b^(7/6))))*(5*A*b + B*a)*1i)/(9*(-a)^(11/6)*b^(7/6)) + (atan(((((3^( 1/2)*1i)/2 - 1/2)*(5*A*b + B*a)*((2*x^(1/2)*(625*A^4*b^5 + B^4*a^4*b + 150 *A^2*B^2*a^2*b^3 + 500*A^3*B*a*b^4 + 20*A*B^3*a^3*b^2))/(27*a^4) - (2*((3^ (1/2)*1i)/2 - 1/2)*(5*A*b + B*a)*(125*A^3*b^5 + B^3*a^3*b^2 + 75*A^2*B*a*b ^4 + 15*A*B^2*a^2*b^3))/(27*(-a)^(23/6)*b^(7/6)))*1i)/(18*(-a)^(11/6)*b^(7 /6)) + (((3^(1/2)*1i)/2 - 1/2)*(5*A*b + B*a)*((2*x^(1/2)*(625*A^4*b^5 +...
Time = 0.23 (sec) , antiderivative size = 125, normalized size of antiderivative = 0.55 \[ \int \frac {A+B x^3}{\sqrt {x} \left (a+b x^3\right )^2} \, dx=\frac {-2 \mathit {atan} \left (\frac {b^{\frac {1}{6}} a^{\frac {1}{6}} \sqrt {3}-2 \sqrt {x}\, b^{\frac {1}{3}}}{b^{\frac {1}{6}} a^{\frac {1}{6}}}\right )+2 \mathit {atan} \left (\frac {b^{\frac {1}{6}} a^{\frac {1}{6}} \sqrt {3}+2 \sqrt {x}\, b^{\frac {1}{3}}}{b^{\frac {1}{6}} a^{\frac {1}{6}}}\right )+4 \mathit {atan} \left (\frac {\sqrt {x}\, b^{\frac {1}{6}}}{a^{\frac {1}{6}}}\right )-\sqrt {3}\, \mathrm {log}\left (-\sqrt {x}\, b^{\frac {1}{6}} a^{\frac {1}{6}} \sqrt {3}+a^{\frac {1}{3}}+b^{\frac {1}{3}} x \right )+\sqrt {3}\, \mathrm {log}\left (\sqrt {x}\, b^{\frac {1}{6}} a^{\frac {1}{6}} \sqrt {3}+a^{\frac {1}{3}}+b^{\frac {1}{3}} x \right )}{6 b^{\frac {1}{6}} a^{\frac {5}{6}}} \] Input:
int((B*x^3+A)/x^(1/2)/(b*x^3+a)^2,x)
Output:
(b**(1/6)*a**(1/6)*( - 2*atan((b**(1/6)*a**(1/6)*sqrt(3) - 2*sqrt(x)*b**(1 /3))/(b**(1/6)*a**(1/6))) + 2*atan((b**(1/6)*a**(1/6)*sqrt(3) + 2*sqrt(x)* b**(1/3))/(b**(1/6)*a**(1/6))) + 4*atan((sqrt(x)*b**(1/3))/(b**(1/6)*a**(1 /6))) - sqrt(3)*log( - sqrt(x)*b**(1/6)*a**(1/6)*sqrt(3) + a**(1/3) + b**( 1/3)*x) + sqrt(3)*log(sqrt(x)*b**(1/6)*a**(1/6)*sqrt(3) + a**(1/3) + b**(1 /3)*x)))/(6*b**(1/3)*a)