Integrand size = 25, antiderivative size = 518 \[ \int \frac {c+d x+e x^2}{x \sqrt {a+b x^3}} \, dx=\frac {2 e \sqrt {a+b x^3}}{b^{2/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac {2 c \text {arctanh}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}}-\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt [3]{a} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{b^{2/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {2 \sqrt {2+\sqrt {3}} \left (\sqrt [3]{b} d-\left (1-\sqrt {3}\right ) \sqrt [3]{a} e\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right ),-7-4 \sqrt {3}\right )}{\sqrt [4]{3} b^{2/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}} \] Output:
2*e*(b*x^3+a)^(1/2)/b^(2/3)/((1+3^(1/2))*a^(1/3)+b^(1/3)*x)-2/3*c*arctanh( (b*x^3+a)^(1/2)/a^(1/2))/a^(1/2)-3^(1/4)*(1/2*6^(1/2)-1/2*2^(1/2))*a^(1/3) *e*(a^(1/3)+b^(1/3)*x)*((a^(2/3)-a^(1/3)*b^(1/3)*x+b^(2/3)*x^2)/((1+3^(1/2 ))*a^(1/3)+b^(1/3)*x)^2)^(1/2)*EllipticE(((1-3^(1/2))*a^(1/3)+b^(1/3)*x)/( (1+3^(1/2))*a^(1/3)+b^(1/3)*x),I*3^(1/2)+2*I)/b^(2/3)/(a^(1/3)*(a^(1/3)+b^ (1/3)*x)/((1+3^(1/2))*a^(1/3)+b^(1/3)*x)^2)^(1/2)/(b*x^3+a)^(1/2)+2/3*(1/2 *6^(1/2)+1/2*2^(1/2))*(b^(1/3)*d-(1-3^(1/2))*a^(1/3)*e)*(a^(1/3)+b^(1/3)*x )*((a^(2/3)-a^(1/3)*b^(1/3)*x+b^(2/3)*x^2)/((1+3^(1/2))*a^(1/3)+b^(1/3)*x) ^2)^(1/2)*EllipticF(((1-3^(1/2))*a^(1/3)+b^(1/3)*x)/((1+3^(1/2))*a^(1/3)+b ^(1/3)*x),I*3^(1/2)+2*I)*3^(3/4)/b^(2/3)/(a^(1/3)*(a^(1/3)+b^(1/3)*x)/((1+ 3^(1/2))*a^(1/3)+b^(1/3)*x)^2)^(1/2)/(b*x^3+a)^(1/2)
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 10.11 (sec) , antiderivative size = 128, normalized size of antiderivative = 0.25 \[ \int \frac {c+d x+e x^2}{x \sqrt {a+b x^3}} \, dx=-\frac {2 c \text {arctanh}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}}+\frac {d x \sqrt {1+\frac {b x^3}{a}} \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {1}{2},\frac {4}{3},-\frac {b x^3}{a}\right )}{\sqrt {a+b x^3}}+\frac {e x^2 \sqrt {1+\frac {b x^3}{a}} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {2}{3},\frac {5}{3},-\frac {b x^3}{a}\right )}{2 \sqrt {a+b x^3}} \] Input:
Integrate[(c + d*x + e*x^2)/(x*Sqrt[a + b*x^3]),x]
Output:
(-2*c*ArcTanh[Sqrt[a + b*x^3]/Sqrt[a]])/(3*Sqrt[a]) + (d*x*Sqrt[1 + (b*x^3 )/a]*Hypergeometric2F1[1/3, 1/2, 4/3, -((b*x^3)/a)])/Sqrt[a + b*x^3] + (e* x^2*Sqrt[1 + (b*x^3)/a]*Hypergeometric2F1[1/2, 2/3, 5/3, -((b*x^3)/a)])/(2 *Sqrt[a + b*x^3])
Time = 1.10 (sec) , antiderivative size = 523, normalized size of antiderivative = 1.01, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {2371, 798, 73, 221, 2417, 759, 2416}
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 {c+d x+e x^2}{x \sqrt {a+b x^3}} \, dx\) |
\(\Big \downarrow \) 2371 |
\(\displaystyle c \int \frac {1}{x \sqrt {b x^3+a}}dx+\int \frac {d+e x}{\sqrt {b x^3+a}}dx\) |
\(\Big \downarrow \) 798 |
\(\displaystyle \frac {1}{3} c \int \frac {1}{x^3 \sqrt {b x^3+a}}dx^3+\int \frac {d+e x}{\sqrt {b x^3+a}}dx\) |
\(\Big \downarrow \) 73 |
\(\displaystyle \frac {2 c \int \frac {1}{\frac {x^6}{b}-\frac {a}{b}}d\sqrt {b x^3+a}}{3 b}+\int \frac {d+e x}{\sqrt {b x^3+a}}dx\) |
\(\Big \downarrow \) 221 |
\(\displaystyle \int \frac {d+e x}{\sqrt {b x^3+a}}dx-\frac {2 c \text {arctanh}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}}\) |
\(\Big \downarrow \) 2417 |
\(\displaystyle \left (d-\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a} e}{\sqrt [3]{b}}\right ) \int \frac {1}{\sqrt {b x^3+a}}dx+\frac {e \int \frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt {b x^3+a}}dx}{\sqrt [3]{b}}-\frac {2 c \text {arctanh}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}}\) |
\(\Big \downarrow \) 759 |
\(\displaystyle \frac {e \int \frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt {b x^3+a}}dx}{\sqrt [3]{b}}+\frac {2 \sqrt {2+\sqrt {3}} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (d-\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a} e}{\sqrt [3]{b}}\right ) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right ),-7-4 \sqrt {3}\right )}{\sqrt [4]{3} \sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {2 c \text {arctanh}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}}\) |
\(\Big \downarrow \) 2416 |
\(\displaystyle \frac {2 \sqrt {2+\sqrt {3}} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (d-\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a} e}{\sqrt [3]{b}}\right ) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right ),-7-4 \sqrt {3}\right )}{\sqrt [4]{3} \sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {e \left (\frac {2 \sqrt {a+b x^3}}{\sqrt [3]{b} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{\sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}\right )}{\sqrt [3]{b}}-\frac {2 c \text {arctanh}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}}\) |
Input:
Int[(c + d*x + e*x^2)/(x*Sqrt[a + b*x^3]),x]
Output:
(-2*c*ArcTanh[Sqrt[a + b*x^3]/Sqrt[a]])/(3*Sqrt[a]) + (e*((2*Sqrt[a + b*x^ 3])/(b^(1/3)*((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)) - (3^(1/4)*Sqrt[2 - Sqrt [3]]*a^(1/3)*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^( 2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticE[ArcSin[((1 - Sq rt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*S qrt[3]])/(b^(1/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1 /3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3])))/b^(1/3) + (2*Sqrt[2 + Sqrt[3]]*(d - ((1 - Sqrt[3])*a^(1/3)*e)/b^(1/3))*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*El lipticF[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(3^(1/4)*b^(1/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3])
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[ {p = Denominator[m]}, Simp[p/b Subst[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] && Lt Q[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntL inearQ[a, b, c, d, m, n, x]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x /Rt[-a/b, 2]], x] /; FreeQ[{a, b}, x] && NegQ[a/b]
Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[2*Sqrt[2 + Sqrt[3]]*(s + r*x)*(Sqrt[(s^2 - r*s *x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]/(3^(1/4)*r*Sqrt[a + b*x^3]*Sqrt[s* ((s + r*x)/((1 + Sqrt[3])*s + r*x)^2)]))*EllipticF[ArcSin[((1 - Sqrt[3])*s + r*x)/((1 + Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]], x]] /; FreeQ[{a, b}, x] & & PosQ[a]
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[1/n Subst [Int[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]
Int[(Pq_)/((x_)*Sqrt[(a_) + (b_.)*(x_)^(n_)]), x_Symbol] :> Simp[Coeff[Pq, x, 0] Int[1/(x*Sqrt[a + b*x^n]), x], x] + Int[ExpandToSum[(Pq - Coeff[Pq, x, 0])/x, x]/Sqrt[a + b*x^n], x] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] && IG tQ[n, 0] && NeQ[Coeff[Pq, x, 0], 0]
Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = N umer[Simplify[(1 - Sqrt[3])*(d/c)]], s = Denom[Simplify[(1 - Sqrt[3])*(d/c) ]]}, Simp[2*d*s^3*(Sqrt[a + b*x^3]/(a*r^2*((1 + Sqrt[3])*s + r*x))), x] - S imp[3^(1/4)*Sqrt[2 - Sqrt[3]]*d*s*(s + r*x)*(Sqrt[(s^2 - r*s*x + r^2*x^2)/( (1 + Sqrt[3])*s + r*x)^2]/(r^2*Sqrt[a + b*x^3]*Sqrt[s*((s + r*x)/((1 + Sqrt [3])*s + r*x)^2)]))*EllipticE[ArcSin[((1 - Sqrt[3])*s + r*x)/((1 + Sqrt[3]) *s + r*x)], -7 - 4*Sqrt[3]], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && Eq Q[b*c^3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]
Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = N umer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[(c*r - (1 - Sqrt[3])*d*s)/r Int[1/Sqrt[a + b*x^3], x], x] + Simp[d/r Int[((1 - Sqrt[3])*s + r*x)/Sq rt[a + b*x^3], x], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && NeQ[b*c^3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]
Time = 0.28 (sec) , antiderivative size = 740, normalized size of antiderivative = 1.43
method | result | size |
default | \(-\frac {2 i d \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}} \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \sqrt {\frac {x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}}{-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}}}\, \sqrt {-\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \operatorname {EllipticF}\left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{3}, \sqrt {\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{b \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )}{3 b \sqrt {b \,x^{3}+a}}-\frac {2 i e \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}} \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \sqrt {\frac {x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}}{-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}}}\, \sqrt {-\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \left (\left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \operatorname {EllipticE}\left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{3}, \sqrt {\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{b \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )+\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}} \operatorname {EllipticF}\left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{3}, \sqrt {\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{b \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )}{b}\right )}{3 b \sqrt {b \,x^{3}+a}}-\frac {2 c \,\operatorname {arctanh}\left (\frac {\sqrt {b \,x^{3}+a}}{\sqrt {a}}\right )}{3 \sqrt {a}}\) | \(740\) |
elliptic | \(-\frac {2 i d \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}} \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \sqrt {\frac {x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}}{-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}}}\, \sqrt {-\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \operatorname {EllipticF}\left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{3}, \sqrt {\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{b \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )}{3 b \sqrt {b \,x^{3}+a}}-\frac {2 i e \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}} \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \sqrt {\frac {x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}}{-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}}}\, \sqrt {-\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \left (\left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \operatorname {EllipticE}\left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{3}, \sqrt {\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{b \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )+\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}} \operatorname {EllipticF}\left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{3}, \sqrt {\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{b \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )}{b}\right )}{3 b \sqrt {b \,x^{3}+a}}-\frac {2 c \,\operatorname {arctanh}\left (\frac {\sqrt {b \,x^{3}+a}}{\sqrt {a}}\right )}{3 \sqrt {a}}\) | \(740\) |
Input:
int((e*x^2+d*x+c)/x/(b*x^3+a)^(1/2),x,method=_RETURNVERBOSE)
Output:
-2/3*I*d*3^(1/2)/b*(-a*b^2)^(1/3)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2) /b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2)*((x-1/b*(-a*b^2)^(1/3)) /(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2)*(-I*(x+1/2/ b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3)) ^(1/2)/(b*x^3+a)^(1/2)*EllipticF(1/3*3^(1/2)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/ 2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/2)/b *(-a*b^2)^(1/3)/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1 /2))-2/3*I*e*3^(1/2)/b*(-a*b^2)^(1/3)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^( 1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2)*((x-1/b*(-a*b^2)^(1 /3))/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2)*(-I*(x+ 1/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1 /3))^(1/2)/(b*x^3+a)^(1/2)*((-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2 )^(1/3))*EllipticE(1/3*3^(1/2)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b* (-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/2)/b*(-a*b^2)^(1/3 )/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2))+1/b*(-a*b ^2)^(1/3)*EllipticF(1/3*3^(1/2)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b *(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/2)/b*(-a*b^2)^(1/ 3)/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2)))-2/3*c*a rctanh((b*x^3+a)^(1/2)/a^(1/2))/a^(1/2)
Time = 0.22 (sec) , antiderivative size = 200, normalized size of antiderivative = 0.39 \[ \int \frac {c+d x+e x^2}{x \sqrt {a+b x^3}} \, dx=\left [\frac {\sqrt {a} b c \log \left (-\frac {b^{2} x^{6} + 8 \, a b x^{3} - 4 \, {\left (b x^{3} + 2 \, a\right )} \sqrt {b x^{3} + a} \sqrt {a} + 8 \, a^{2}}{x^{6}}\right ) + 12 \, a \sqrt {b} d {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) - 12 \, a \sqrt {b} e {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right )}{6 \, a b}, \frac {\sqrt {-a} b c \arctan \left (\frac {{\left (b x^{3} + 2 \, a\right )} \sqrt {b x^{3} + a} \sqrt {-a}}{2 \, {\left (a b x^{3} + a^{2}\right )}}\right ) + 6 \, a \sqrt {b} d {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) - 6 \, a \sqrt {b} e {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right )}{3 \, a b}\right ] \] Input:
integrate((e*x^2+d*x+c)/x/(b*x^3+a)^(1/2),x, algorithm="fricas")
Output:
[1/6*(sqrt(a)*b*c*log(-(b^2*x^6 + 8*a*b*x^3 - 4*(b*x^3 + 2*a)*sqrt(b*x^3 + a)*sqrt(a) + 8*a^2)/x^6) + 12*a*sqrt(b)*d*weierstrassPInverse(0, -4*a/b, x) - 12*a*sqrt(b)*e*weierstrassZeta(0, -4*a/b, weierstrassPInverse(0, -4*a /b, x)))/(a*b), 1/3*(sqrt(-a)*b*c*arctan(1/2*(b*x^3 + 2*a)*sqrt(b*x^3 + a) *sqrt(-a)/(a*b*x^3 + a^2)) + 6*a*sqrt(b)*d*weierstrassPInverse(0, -4*a/b, x) - 6*a*sqrt(b)*e*weierstrassZeta(0, -4*a/b, weierstrassPInverse(0, -4*a/ b, x)))/(a*b)]
Time = 1.72 (sec) , antiderivative size = 105, normalized size of antiderivative = 0.20 \[ \int \frac {c+d x+e x^2}{x \sqrt {a+b x^3}} \, dx=- \frac {2 c \operatorname {asinh}{\left (\frac {\sqrt {a}}{\sqrt {b} x^{\frac {3}{2}}} \right )}}{3 \sqrt {a}} + \frac {d x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {1}{2} \\ \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \sqrt {a} \Gamma \left (\frac {4}{3}\right )} + \frac {e x^{2} \Gamma \left (\frac {2}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {2}{3} \\ \frac {5}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \sqrt {a} \Gamma \left (\frac {5}{3}\right )} \] Input:
integrate((e*x**2+d*x+c)/x/(b*x**3+a)**(1/2),x)
Output:
-2*c*asinh(sqrt(a)/(sqrt(b)*x**(3/2)))/(3*sqrt(a)) + d*x*gamma(1/3)*hyper( (1/3, 1/2), (4/3,), b*x**3*exp_polar(I*pi)/a)/(3*sqrt(a)*gamma(4/3)) + e*x **2*gamma(2/3)*hyper((1/2, 2/3), (5/3,), b*x**3*exp_polar(I*pi)/a)/(3*sqrt (a)*gamma(5/3))
\[ \int \frac {c+d x+e x^2}{x \sqrt {a+b x^3}} \, dx=\int { \frac {e x^{2} + d x + c}{\sqrt {b x^{3} + a} x} \,d x } \] Input:
integrate((e*x^2+d*x+c)/x/(b*x^3+a)^(1/2),x, algorithm="maxima")
Output:
integrate((e*x^2 + d*x + c)/(sqrt(b*x^3 + a)*x), x)
\[ \int \frac {c+d x+e x^2}{x \sqrt {a+b x^3}} \, dx=\int { \frac {e x^{2} + d x + c}{\sqrt {b x^{3} + a} x} \,d x } \] Input:
integrate((e*x^2+d*x+c)/x/(b*x^3+a)^(1/2),x, algorithm="giac")
Output:
integrate((e*x^2 + d*x + c)/(sqrt(b*x^3 + a)*x), x)
Timed out. \[ \int \frac {c+d x+e x^2}{x \sqrt {a+b x^3}} \, dx=\int \frac {e\,x^2+d\,x+c}{x\,\sqrt {b\,x^3+a}} \,d x \] Input:
int((c + d*x + e*x^2)/(x*(a + b*x^3)^(1/2)),x)
Output:
int((c + d*x + e*x^2)/(x*(a + b*x^3)^(1/2)), x)
\[ \int \frac {c+d x+e x^2}{x \sqrt {a+b x^3}} \, dx=\frac {\sqrt {a}\, \mathrm {log}\left (\sqrt {b \,x^{3}+a}-\sqrt {a}\right ) c -\sqrt {a}\, \mathrm {log}\left (\sqrt {b \,x^{3}+a}+\sqrt {a}\right ) c +3 \left (\int \frac {\sqrt {b \,x^{3}+a}}{b \,x^{3}+a}d x \right ) a d +3 \left (\int \frac {\sqrt {b \,x^{3}+a}\, x}{b \,x^{3}+a}d x \right ) a e}{3 a} \] Input:
int((e*x^2+d*x+c)/x/(b*x^3+a)^(1/2),x)
Output:
(sqrt(a)*log(sqrt(a + b*x**3) - sqrt(a))*c - sqrt(a)*log(sqrt(a + b*x**3) + sqrt(a))*c + 3*int(sqrt(a + b*x**3)/(a + b*x**3),x)*a*d + 3*int((sqrt(a + b*x**3)*x)/(a + b*x**3),x)*a*e)/(3*a)