3.7.81 \(\int \frac {\sqrt {1+x^3} (2+2 x^3+x^6)}{x (-1+x^6)} \, dx\) [681]

Optimal. Leaf size=53 \[ \frac {2 \sqrt {1+x^3}}{3}+\frac {4}{3} \tanh ^{-1}\left (\sqrt {1+x^3}\right )-\frac {5}{3} \sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {1+x^3}}{\sqrt {2}}\right ) \]

[Out]

2/3*(x^3+1)^(1/2)+4/3*arctanh((x^3+1)^(1/2))-5/3*2^(1/2)*arctanh(1/2*(x^3+1)^(1/2)*2^(1/2))

________________________________________________________________________________________

Rubi [C] Result contains higher order function than in optimal. Order 4 vs. order 3 in optimal.
time = 2.21, antiderivative size = 1215, normalized size of antiderivative = 22.92, number of steps used = 33, number of rules used = 16, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.533, Rules used = {1600, 6857, 2161, 224, 2167, 2138, 551, 585, 95, 212, 272, 65, 213, 267, 6860, 211} \begin {gather*} \frac {5 i (x+1) \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}} \text {ArcTan}\left (\frac {\sqrt [4]{3} \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}}}{\sqrt {\frac {(3-6 i)-(2-3 i) \sqrt {3}}{(4+6 i)-(2+4 i) \sqrt {3}}} \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}}}\right )}{3 \sqrt {2} \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}} \sqrt {x^3+1}}+\frac {10 \sqrt {\frac {(6-3 i)-(3-2 i) \sqrt {3}}{(-6-4 i)+(4+2 i) \sqrt {3}}} (x+1) \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}} \text {ArcTan}\left (\frac {\sqrt [4]{3} \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}}}{\sqrt {\frac {(6-3 i)-(3-2 i) \sqrt {3}}{(-6-4 i)+(4+2 i) \sqrt {3}}} \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}}}\right )}{3^{3/4} \left (3 i-\sqrt {3}\right ) \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}} \sqrt {x^3+1}}-\frac {5 (x+1) \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}} \tanh ^{-1}\left (\frac {\sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}}}{\sqrt {2} \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}}}\right )}{3 \sqrt {2} \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}} \sqrt {x^3+1}}+\frac {4}{3} \tanh ^{-1}\left (\sqrt {x^3+1}\right )-\frac {20 \sqrt {2+\sqrt {3}} (x+1) \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}} F\left (\text {ArcSin}\left (\frac {x-\sqrt {3}+1}{x+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2+i) \sqrt {3}\right ) \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}} \sqrt {x^3+1}}-\frac {20 \sqrt {2+\sqrt {3}} (x+1) \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}} F\left (\text {ArcSin}\left (\frac {x-\sqrt {3}+1}{x+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2-i) \sqrt {3}\right ) \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}} \sqrt {x^3+1}}-\frac {10 (x+1) \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}} F\left (\text {ArcSin}\left (\frac {x-\sqrt {3}+1}{x+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}} \sqrt {x^3+1}}+\frac {40 \sqrt {2+\sqrt {3}} (x+1) \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}} \Pi \left (-\frac {\left (i+(1+2 i) \sqrt {3}\right )^2}{\left (1-(2+i) \sqrt {3}\right )^2};\text {ArcSin}\left (\frac {x-\sqrt {3}+1}{x+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \left (7+i \sqrt {3}\right ) \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}} \sqrt {x^3+1}}+\frac {40 \sqrt {2+\sqrt {3}} (x+1) \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}} \Pi \left (-\frac {\left (1+(2+i) \sqrt {3}\right )^2}{\left (i-(1+2 i) \sqrt {3}\right )^2};\text {ArcSin}\left (\frac {x-\sqrt {3}+1}{x+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \left (7-i \sqrt {3}\right ) \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}} \sqrt {x^3+1}}-\frac {20 \sqrt {2+\sqrt {3}} (x+1) \sqrt {\frac {x^2-x+1}{\left (x+\sqrt {3}+1\right )^2}} \Pi \left (97+56 \sqrt {3};\text {ArcSin}\left (\frac {x-\sqrt {3}+1}{x+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \sqrt {\frac {x+1}{\left (x+\sqrt {3}+1\right )^2}} \sqrt {x^3+1}}+\frac {2 \sqrt {x^3+1}}{3} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

Int[(Sqrt[1 + x^3]*(2 + 2*x^3 + x^6))/(x*(-1 + x^6)),x]

[Out]

(2*Sqrt[1 + x^3])/3 + (((5*I)/3)*(1 + x)*Sqrt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2]*ArcTan[(3^(1/4)*Sqrt[(1 + x)/
(1 + Sqrt[3] + x)^2])/(Sqrt[((3 - 6*I) - (2 - 3*I)*Sqrt[3])/((4 + 6*I) - (2 + 4*I)*Sqrt[3])]*Sqrt[(1 - x + x^2
)/(1 + Sqrt[3] + x)^2])])/(Sqrt[2]*Sqrt[(1 + x)/(1 + Sqrt[3] + x)^2]*Sqrt[1 + x^3]) + (10*Sqrt[((6 - 3*I) - (3
 - 2*I)*Sqrt[3])/((-6 - 4*I) + (4 + 2*I)*Sqrt[3])]*(1 + x)*Sqrt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2]*ArcTan[(3^(
1/4)*Sqrt[(1 + x)/(1 + Sqrt[3] + x)^2])/(Sqrt[((6 - 3*I) - (3 - 2*I)*Sqrt[3])/((-6 - 4*I) + (4 + 2*I)*Sqrt[3])
]*Sqrt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2])])/(3^(3/4)*(3*I - Sqrt[3])*Sqrt[(1 + x)/(1 + Sqrt[3] + x)^2]*Sqrt[1
 + x^3]) - (5*(1 + x)*Sqrt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2]*ArcTanh[Sqrt[(1 + x)/(1 + Sqrt[3] + x)^2]/(Sqrt[
2]*Sqrt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2])])/(3*Sqrt[2]*Sqrt[(1 + x)/(1 + Sqrt[3] + x)^2]*Sqrt[1 + x^3]) + (4
*ArcTanh[Sqrt[1 + x^3]])/3 - (10*(1 + x)*Sqrt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2]*EllipticF[ArcSin[(1 - Sqrt[3]
 + x)/(1 + Sqrt[3] + x)], -7 - 4*Sqrt[3]])/(3*3^(1/4)*Sqrt[2 + Sqrt[3]]*Sqrt[(1 + x)/(1 + Sqrt[3] + x)^2]*Sqrt
[1 + x^3]) - (20*Sqrt[2 + Sqrt[3]]*(1 + x)*Sqrt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2]*EllipticF[ArcSin[(1 - Sqrt[
3] + x)/(1 + Sqrt[3] + x)], -7 - 4*Sqrt[3]])/(3*3^(1/4)*(1 + (2 - I)*Sqrt[3])*Sqrt[(1 + x)/(1 + Sqrt[3] + x)^2
]*Sqrt[1 + x^3]) - (20*Sqrt[2 + Sqrt[3]]*(1 + x)*Sqrt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2]*EllipticF[ArcSin[(1 -
 Sqrt[3] + x)/(1 + Sqrt[3] + x)], -7 - 4*Sqrt[3]])/(3*3^(1/4)*(1 + (2 + I)*Sqrt[3])*Sqrt[(1 + x)/(1 + Sqrt[3]
+ x)^2]*Sqrt[1 + x^3]) + (40*Sqrt[2 + Sqrt[3]]*(1 + x)*Sqrt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2]*EllipticPi[-((I
 + (1 + 2*I)*Sqrt[3])^2/(1 - (2 + I)*Sqrt[3])^2), ArcSin[(1 - Sqrt[3] + x)/(1 + Sqrt[3] + x)], -7 - 4*Sqrt[3]]
)/(3^(3/4)*(7 + I*Sqrt[3])*Sqrt[(1 + x)/(1 + Sqrt[3] + x)^2]*Sqrt[1 + x^3]) + (40*Sqrt[2 + Sqrt[3]]*(1 + x)*Sq
rt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2]*EllipticPi[-((1 + (2 + I)*Sqrt[3])^2/(I - (1 + 2*I)*Sqrt[3])^2), ArcSin[
(1 - Sqrt[3] + x)/(1 + Sqrt[3] + x)], -7 - 4*Sqrt[3]])/(3^(3/4)*(7 - I*Sqrt[3])*Sqrt[(1 + x)/(1 + Sqrt[3] + x)
^2]*Sqrt[1 + x^3]) - (20*Sqrt[2 + Sqrt[3]]*(1 + x)*Sqrt[(1 - x + x^2)/(1 + Sqrt[3] + x)^2]*EllipticPi[97 + 56*
Sqrt[3], ArcSin[(1 - Sqrt[3] + x)/(1 + Sqrt[3] + x)], -7 - 4*Sqrt[3]])/(3^(3/4)*Sqrt[(1 + x)/(1 + Sqrt[3] + x)
^2]*Sqrt[1 + x^3])

Rule 65

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[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] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 95

Int[(((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_))/((e_.) + (f_.)*(x_)), x_Symbol] :> With[{q = Denomin
ator[m]}, Dist[q, Subst[Int[x^(q*(m + 1) - 1)/(b*e - a*f - (d*e - c*f)*x^q), x], x, (a + b*x)^(1/q)/(c + d*x)^
(1/q)], x]] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[m + n + 1, 0] && RationalQ[n] && LtQ[-1, m, 0] && SimplerQ[
a + b*x, c + d*x]

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 212

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] && (GtQ[a, 0] || LtQ[b, 0])

Rule 213

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])

Rule 224

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]*Sq
rt[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]

Rule 267

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[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]]

Rule 551

Int[1/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)*(x_)^2]), x_Symbol] :> Simp[(1/(a*Sqr
t[c]*Sqrt[e]*Rt[-d/c, 2]))*EllipticPi[b*(c/(a*d)), ArcSin[Rt[-d/c, 2]*x], c*(f/(d*e))], x] /; FreeQ[{a, b, c,
d, e, f}, x] &&  !GtQ[d/c, 0] && GtQ[c, 0] && GtQ[e, 0] &&  !( !GtQ[f/e, 0] && SimplerSqrtQ[-f/e, -d/c])

Rule 585

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.)*((e_) + (f_.)*(x_)^(n_))^(r_.), x
_Symbol] :> Dist[1/n, Subst[Int[(a + b*x)^p*(c + d*x)^q*(e + f*x)^r, x], x, x^n], x] /; FreeQ[{a, b, c, d, e,
f, m, n, p, q, r}, x] && EqQ[m - n + 1, 0]

Rule 1600

Int[(u_.)*(Px_)^(p_.)*(Qx_)^(q_.), x_Symbol] :> Int[u*PolynomialQuotient[Px, Qx, x]^p*Qx^(p + q), x] /; FreeQ[
q, x] && PolyQ[Px, x] && PolyQ[Qx, x] && EqQ[PolynomialRemainder[Px, Qx, x], 0] && IntegerQ[p] && LtQ[p*q, 0]

Rule 2138

Int[1/(((a_) + (b_.)*(x_))*Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)*(x_)^2]), x_Symbol] :> Dist[a, Int[1/((
a^2 - b^2*x^2)*Sqrt[c + d*x^2]*Sqrt[e + f*x^2]), x], x] - Dist[b, Int[x/((a^2 - b^2*x^2)*Sqrt[c + d*x^2]*Sqrt[
e + f*x^2]), x], x] /; FreeQ[{a, b, c, d, e, f}, x]

Rule 2161

Int[1/(((c_) + (d_.)*(x_))*Sqrt[(a_) + (b_.)*(x_)^3]), x_Symbol] :> With[{q = Rt[b/a, 3]}, Dist[-q/((1 + Sqrt[
3])*d - c*q), Int[1/Sqrt[a + b*x^3], x], x] + Dist[d/((1 + Sqrt[3])*d - c*q), Int[(1 + Sqrt[3] + q*x)/((c + d*
x)*Sqrt[a + b*x^3]), x], x]] /; FreeQ[{a, b, c, d}, x] && NeQ[b^2*c^6 - 20*a*b*c^3*d^3 - 8*a^2*d^6, 0]

Rule 2167

Int[((e_) + (f_.)*(x_))/(((c_) + (d_.)*(x_))*Sqrt[(a_) + (b_.)*(x_)^3]), x_Symbol] :> With[{q = Simplify[(1 +
Sqrt[3])*(f/e)]}, Dist[4*3^(1/4)*Sqrt[2 - Sqrt[3]]*f*(1 + q*x)*(Sqrt[(1 - q*x + q^2*x^2)/(1 + Sqrt[3] + q*x)^2
]/(q*Sqrt[a + b*x^3]*Sqrt[(1 + q*x)/(1 + Sqrt[3] + q*x)^2])), Subst[Int[1/(((1 - Sqrt[3])*d - c*q + ((1 + Sqrt
[3])*d - c*q)*x)*Sqrt[1 - x^2]*Sqrt[7 - 4*Sqrt[3] + x^2]), x], x, (-1 + Sqrt[3] - q*x)/(1 + Sqrt[3] + q*x)], x
]] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[d*e - c*f, 0] && EqQ[b*e^3 - 2*(5 + 3*Sqrt[3])*a*f^3, 0] && NeQ[b*c^
3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]

Rule 6857

Int[(u_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> With[{v = RationalFunctionExpand[u/(a + b*x^n), x]}, Int[v, x]
 /; SumQ[v]] /; FreeQ[{a, b}, x] && IGtQ[n, 0]

Rule 6860

Int[(u_)/((a_.) + (b_.)*(x_)^(n_.) + (c_.)*(x_)^(n2_.)), x_Symbol] :> With[{v = RationalFunctionExpand[u/(a +
b*x^n + c*x^(2*n)), x]}, Int[v, x] /; SumQ[v]] /; FreeQ[{a, b, c}, x] && EqQ[n2, 2*n] && IGtQ[n, 0]

Rubi steps

\begin {align*} \int \frac {\sqrt {1+x^3} \left (2+2 x^3+x^6\right )}{x \left (-1+x^6\right )} \, dx &=\int \frac {2+2 x^3+x^6}{x \left (-1+x^3\right ) \sqrt {1+x^3}} \, dx\\ &=\int \left (\frac {5}{3 (-1+x) \sqrt {1+x^3}}-\frac {2}{x \sqrt {1+x^3}}+\frac {x^2}{\sqrt {1+x^3}}+\frac {5 (1+2 x)}{3 \left (1+x+x^2\right ) \sqrt {1+x^3}}\right ) \, dx\\ &=\frac {5}{3} \int \frac {1}{(-1+x) \sqrt {1+x^3}} \, dx+\frac {5}{3} \int \frac {1+2 x}{\left (1+x+x^2\right ) \sqrt {1+x^3}} \, dx-2 \int \frac {1}{x \sqrt {1+x^3}} \, dx+\int \frac {x^2}{\sqrt {1+x^3}} \, dx\\ &=\frac {2 \sqrt {1+x^3}}{3}-\frac {2}{3} \text {Subst}\left (\int \frac {1}{x \sqrt {1+x}} \, dx,x,x^3\right )+\frac {5}{3} \int \left (\frac {2}{\left (1-i \sqrt {3}+2 x\right ) \sqrt {1+x^3}}+\frac {2}{\left (1+i \sqrt {3}+2 x\right ) \sqrt {1+x^3}}\right ) \, dx-\frac {5 \int \frac {1}{\sqrt {1+x^3}} \, dx}{3 \left (2+\sqrt {3}\right )}+\frac {5 \int \frac {1+\sqrt {3}+x}{(-1+x) \sqrt {1+x^3}} \, dx}{3 \left (2+\sqrt {3}\right )}\\ &=\frac {2 \sqrt {1+x^3}}{3}-\frac {10 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {4}{3} \text {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\sqrt {1+x^3}\right )+\frac {10}{3} \int \frac {1}{\left (1-i \sqrt {3}+2 x\right ) \sqrt {1+x^3}} \, dx+\frac {10}{3} \int \frac {1}{\left (1+i \sqrt {3}+2 x\right ) \sqrt {1+x^3}} \, dx+\frac {\left (20 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{\left (2-\sqrt {3}+\left (2+\sqrt {3}\right ) x\right ) \sqrt {1-x^2} \sqrt {7-4 \sqrt {3}+x^2}} \, dx,x,\frac {-1+\sqrt {3}-x}{1+\sqrt {3}+x}\right )}{3^{3/4} \left (2+\sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}\\ &=\frac {2 \sqrt {1+x^3}}{3}+\frac {4}{3} \tanh ^{-1}\left (\sqrt {1+x^3}\right )-\frac {10 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {10 \int \frac {1}{\sqrt {1+x^3}} \, dx}{3 \left (1+(2-i) \sqrt {3}\right )}+\frac {20 \int \frac {1+\sqrt {3}+x}{\left (1+i \sqrt {3}+2 x\right ) \sqrt {1+x^3}} \, dx}{3 \left (1+(2-i) \sqrt {3}\right )}-\frac {10 \int \frac {1}{\sqrt {1+x^3}} \, dx}{3 \left (1+(2+i) \sqrt {3}\right )}+\frac {20 \int \frac {1+\sqrt {3}+x}{\left (1-i \sqrt {3}+2 x\right ) \sqrt {1+x^3}} \, dx}{3 \left (1+(2+i) \sqrt {3}\right )}-\frac {\left (20 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {x}{\sqrt {1-x^2} \sqrt {7-4 \sqrt {3}+x^2} \left (\left (2-\sqrt {3}\right )^2-\left (2+\sqrt {3}\right )^2 x^2\right )} \, dx,x,\frac {-1+\sqrt {3}-x}{1+\sqrt {3}+x}\right )}{3^{3/4} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {\left (20 \left (2-\sqrt {3}\right )^{3/2} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {7-4 \sqrt {3}+x^2} \left (\left (2-\sqrt {3}\right )^2-\left (2+\sqrt {3}\right )^2 x^2\right )} \, dx,x,\frac {-1+\sqrt {3}-x}{1+\sqrt {3}+x}\right )}{3^{3/4} \left (2+\sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}\\ &=\frac {2 \sqrt {1+x^3}}{3}+\frac {4}{3} \tanh ^{-1}\left (\sqrt {1+x^3}\right )-\frac {10 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2-i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2+i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (97+56 \sqrt {3};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \sqrt {2-\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {\left (10 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} \sqrt {7-4 \sqrt {3}+x} \left (\left (2-\sqrt {3}\right )^2-\left (2+\sqrt {3}\right )^2 x\right )} \, dx,x,\frac {\left (-1+\sqrt {3}-x\right )^2}{\left (1+\sqrt {3}+x\right )^2}\right )}{3^{3/4} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {\left (80 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{\left (-1-i \sqrt {3}+2 \left (1-\sqrt {3}\right )+\left (-1-i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right ) x\right ) \sqrt {1-x^2} \sqrt {7-4 \sqrt {3}+x^2}} \, dx,x,\frac {-1+\sqrt {3}-x}{1+\sqrt {3}+x}\right )}{3^{3/4} \left (1+(2-i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {\left (80 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{\left (-1+i \sqrt {3}+2 \left (1-\sqrt {3}\right )+\left (-1+i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right ) x\right ) \sqrt {1-x^2} \sqrt {7-4 \sqrt {3}+x^2}} \, dx,x,\frac {-1+\sqrt {3}-x}{1+\sqrt {3}+x}\right )}{3^{3/4} \left (1+(2+i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}\\ &=\frac {2 \sqrt {1+x^3}}{3}+\frac {4}{3} \tanh ^{-1}\left (\sqrt {1+x^3}\right )-\frac {10 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2-i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2+i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (97+56 \sqrt {3};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \sqrt {2-\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {\left (20 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{-\left (2-\sqrt {3}\right )^2+\left (2+\sqrt {3}\right )^2-\left (\left (2-\sqrt {3}\right )^2+\left (7-4 \sqrt {3}\right ) \left (2+\sqrt {3}\right )^2\right ) x^2} \, dx,x,\frac {\sqrt [4]{3} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}}}{\sqrt {-\frac {\left (-2+\sqrt {3}\right ) \left (1-x+x^2\right )}{\left (1+\sqrt {3}+x\right )^2}}}\right )}{3^{3/4} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {\left (80 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {x}{\sqrt {1-x^2} \sqrt {7-4 \sqrt {3}+x^2} \left (\left (-1-i \sqrt {3}+2 \left (1-\sqrt {3}\right )\right )^2-\left (-1-i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right )^2 x^2\right )} \, dx,x,\frac {-1+\sqrt {3}-x}{1+\sqrt {3}+x}\right )}{3^{3/4} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {\left (80 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {x}{\sqrt {1-x^2} \sqrt {7-4 \sqrt {3}+x^2} \left (\left (-1+i \sqrt {3}+2 \left (1-\sqrt {3}\right )\right )^2-\left (-1+i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right )^2 x^2\right )} \, dx,x,\frac {-1+\sqrt {3}-x}{1+\sqrt {3}+x}\right )}{3^{3/4} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {\left (80 \left (1-(2+i) \sqrt {3}\right ) \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {7-4 \sqrt {3}+x^2} \left (\left (-1-i \sqrt {3}+2 \left (1-\sqrt {3}\right )\right )^2-\left (-1-i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right )^2 x^2\right )} \, dx,x,\frac {-1+\sqrt {3}-x}{1+\sqrt {3}+x}\right )}{3^{3/4} \left (1+(2-i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {\left (80 \left (1-(2-i) \sqrt {3}\right ) \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {7-4 \sqrt {3}+x^2} \left (\left (-1+i \sqrt {3}+2 \left (1-\sqrt {3}\right )\right )^2-\left (-1+i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right )^2 x^2\right )} \, dx,x,\frac {-1+\sqrt {3}-x}{1+\sqrt {3}+x}\right )}{3^{3/4} \left (1+(2+i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}\\ &=\frac {2 \sqrt {1+x^3}}{3}-\frac {5 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \tanh ^{-1}\left (\frac {\sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}}}{\sqrt {2} \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}}\right )}{3 \sqrt {2} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {4}{3} \tanh ^{-1}\left (\sqrt {1+x^3}\right )-\frac {10 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2-i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2+i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {40 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (-\frac {\left (i+(1+2 i) \sqrt {3}\right )^2}{\left (1-(2+i) \sqrt {3}\right )^2};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \left (7+i \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {40 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (-\frac {\left (1+(2+i) \sqrt {3}\right )^2}{\left (i-(1+2 i) \sqrt {3}\right )^2};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \left (7-i \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (97+56 \sqrt {3};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \sqrt {2-\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {\left (40 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} \sqrt {7-4 \sqrt {3}+x} \left (\left (-1-i \sqrt {3}+2 \left (1-\sqrt {3}\right )\right )^2-\left (-1-i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right )^2 x\right )} \, dx,x,\frac {\left (-1+\sqrt {3}-x\right )^2}{\left (1+\sqrt {3}+x\right )^2}\right )}{3^{3/4} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {\left (40 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} \sqrt {7-4 \sqrt {3}+x} \left (\left (-1+i \sqrt {3}+2 \left (1-\sqrt {3}\right )\right )^2-\left (-1+i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right )^2 x\right )} \, dx,x,\frac {\left (-1+\sqrt {3}-x\right )^2}{\left (1+\sqrt {3}+x\right )^2}\right )}{3^{3/4} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}\\ &=\frac {2 \sqrt {1+x^3}}{3}-\frac {5 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \tanh ^{-1}\left (\frac {\sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}}}{\sqrt {2} \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}}\right )}{3 \sqrt {2} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {4}{3} \tanh ^{-1}\left (\sqrt {1+x^3}\right )-\frac {10 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2-i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2+i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {40 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (-\frac {\left (i+(1+2 i) \sqrt {3}\right )^2}{\left (1-(2+i) \sqrt {3}\right )^2};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \left (7+i \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {40 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (-\frac {\left (1+(2+i) \sqrt {3}\right )^2}{\left (i-(1+2 i) \sqrt {3}\right )^2};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \left (7-i \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (97+56 \sqrt {3};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \sqrt {2-\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {\left (80 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{-\left (-1-i \sqrt {3}+2 \left (1-\sqrt {3}\right )\right )^2+\left (-1-i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right )^2-\left (\left (-1-i \sqrt {3}+2 \left (1-\sqrt {3}\right )\right )^2+\left (7-4 \sqrt {3}\right ) \left (-1-i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right )^2\right ) x^2} \, dx,x,\frac {\sqrt [4]{3} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}}}{\sqrt {-\frac {\left (-2+\sqrt {3}\right ) \left (1-x+x^2\right )}{\left (1+\sqrt {3}+x\right )^2}}}\right )}{3^{3/4} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {\left (80 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}\right ) \text {Subst}\left (\int \frac {1}{-\left (-1+i \sqrt {3}+2 \left (1-\sqrt {3}\right )\right )^2+\left (-1+i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right )^2-\left (\left (-1+i \sqrt {3}+2 \left (1-\sqrt {3}\right )\right )^2+\left (7-4 \sqrt {3}\right ) \left (-1+i \sqrt {3}+2 \left (1+\sqrt {3}\right )\right )^2\right ) x^2} \, dx,x,\frac {\sqrt [4]{3} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}}}{\sqrt {-\frac {\left (-2+\sqrt {3}\right ) \left (1-x+x^2\right )}{\left (1+\sqrt {3}+x\right )^2}}}\right )}{3^{3/4} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}\\ &=\frac {2 \sqrt {1+x^3}}{3}+\frac {5 i (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \tan ^{-1}\left (\frac {\sqrt [4]{3} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}}}{\sqrt {2-\sqrt {3}} \sqrt {\frac {3 i+\sqrt {3}}{(-4-6 i)+(2+4 i) \sqrt {3}}} \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}}\right )}{3 \sqrt {2} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {10 \sqrt {\frac {(6-3 i)-(3-2 i) \sqrt {3}}{(-6-4 i)+(4+2 i) \sqrt {3}}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \tan ^{-1}\left (\frac {\sqrt [4]{3} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}}}{\sqrt {2-\sqrt {3}} \sqrt {\frac {3+i \sqrt {3}}{(-6-4 i)+(4+2 i) \sqrt {3}}} \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}}\right )}{3^{3/4} \left (3 i-\sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {5 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \tanh ^{-1}\left (\frac {\sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}}}{\sqrt {2} \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}}}\right )}{3 \sqrt {2} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {4}{3} \tanh ^{-1}\left (\sqrt {1+x^3}\right )-\frac {10 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2-i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} \left (1+(2+i) \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {40 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (-\frac {\left (i+(1+2 i) \sqrt {3}\right )^2}{\left (1-(2+i) \sqrt {3}\right )^2};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \left (7+i \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}+\frac {40 \sqrt {2+\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (-\frac {\left (1+(2+i) \sqrt {3}\right )^2}{\left (i-(1+2 i) \sqrt {3}\right )^2};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \left (7-i \sqrt {3}\right ) \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}-\frac {20 (1+x) \sqrt {\frac {1-x+x^2}{\left (1+\sqrt {3}+x\right )^2}} \Pi \left (97+56 \sqrt {3};\sin ^{-1}\left (\frac {1-\sqrt {3}+x}{1+\sqrt {3}+x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} \sqrt {2-\sqrt {3}} \sqrt {\frac {1+x}{\left (1+\sqrt {3}+x\right )^2}} \sqrt {1+x^3}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.07, size = 53, normalized size = 1.00 \begin {gather*} \frac {2 \sqrt {1+x^3}}{3}+\frac {4}{3} \tanh ^{-1}\left (\sqrt {1+x^3}\right )-\frac {5}{3} \sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {1+x^3}}{\sqrt {2}}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(Sqrt[1 + x^3]*(2 + 2*x^3 + x^6))/(x*(-1 + x^6)),x]

[Out]

(2*Sqrt[1 + x^3])/3 + (4*ArcTanh[Sqrt[1 + x^3]])/3 - (5*Sqrt[2]*ArcTanh[Sqrt[1 + x^3]/Sqrt[2]])/3

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 4 vs. order 3.
time = 1.95, size = 434, normalized size = 8.19

method result size
trager \(\frac {2 \sqrt {x^{3}+1}}{3}+\frac {2 \ln \left (-\frac {x^{3}+2 \sqrt {x^{3}+1}+2}{x^{3}}\right )}{3}-\frac {5 \RootOf \left (\textit {\_Z}^{2}-2\right ) \ln \left (-\frac {\RootOf \left (\textit {\_Z}^{2}-2\right ) x^{3}+4 \sqrt {x^{3}+1}+3 \RootOf \left (\textit {\_Z}^{2}-2\right )}{\left (-1+x \right ) \left (x^{2}+x +1\right )}\right )}{6}\) \(85\)
default \(\frac {2 \sqrt {x^{3}+1}}{3}+\frac {10 \left (\frac {3}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {\frac {1+x}{\frac {3}{2}-\frac {i \sqrt {3}}{2}}}\, \sqrt {\frac {x -\frac {1}{2}-\frac {i \sqrt {3}}{2}}{-\frac {3}{2}-\frac {i \sqrt {3}}{2}}}\, \sqrt {\frac {x -\frac {1}{2}+\frac {i \sqrt {3}}{2}}{-\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\, \left (-\frac {1}{2}+\frac {i \sqrt {3}}{2}\right ) \EllipticPi \left (\sqrt {\frac {1+x}{\frac {3}{2}-\frac {i \sqrt {3}}{2}}}, \frac {3}{4}-\frac {3 i \sqrt {3}}{4}+\frac {i \left (-\frac {1}{2}+\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}{2}, \sqrt {\frac {-\frac {3}{2}+\frac {i \sqrt {3}}{2}}{-\frac {3}{2}-\frac {i \sqrt {3}}{2}}}\right )}{3 \sqrt {x^{3}+1}}+\frac {10 \left (\frac {3}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {\frac {1+x}{\frac {3}{2}-\frac {i \sqrt {3}}{2}}}\, \sqrt {\frac {x -\frac {1}{2}-\frac {i \sqrt {3}}{2}}{-\frac {3}{2}-\frac {i \sqrt {3}}{2}}}\, \sqrt {\frac {x -\frac {1}{2}+\frac {i \sqrt {3}}{2}}{-\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\, \left (-\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \EllipticPi \left (\sqrt {\frac {1+x}{\frac {3}{2}-\frac {i \sqrt {3}}{2}}}, \frac {3}{4}+\frac {3 i \sqrt {3}}{4}+\frac {i \left (-\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}{2}, \sqrt {\frac {-\frac {3}{2}+\frac {i \sqrt {3}}{2}}{-\frac {3}{2}-\frac {i \sqrt {3}}{2}}}\right )}{3 \sqrt {x^{3}+1}}+\frac {4 \arctanh \left (\sqrt {x^{3}+1}\right )}{3}-\frac {5 \left (\frac {3}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {\frac {1+x}{\frac {3}{2}-\frac {i \sqrt {3}}{2}}}\, \sqrt {\frac {x -\frac {1}{2}-\frac {i \sqrt {3}}{2}}{-\frac {3}{2}-\frac {i \sqrt {3}}{2}}}\, \sqrt {\frac {x -\frac {1}{2}+\frac {i \sqrt {3}}{2}}{-\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\, \EllipticPi \left (\sqrt {\frac {1+x}{\frac {3}{2}-\frac {i \sqrt {3}}{2}}}, \frac {3}{4}-\frac {i \sqrt {3}}{4}, \sqrt {\frac {-\frac {3}{2}+\frac {i \sqrt {3}}{2}}{-\frac {3}{2}-\frac {i \sqrt {3}}{2}}}\right )}{3 \sqrt {x^{3}+1}}\) \(434\)
elliptic \(\text {Expression too large to display}\) \(905\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^3+1)^(1/2)*(x^6+2*x^3+2)/x/(x^6-1),x,method=_RETURNVERBOSE)

[Out]

2/3*(x^3+1)^(1/2)+10/3*(3/2-1/2*I*3^(1/2))*((1+x)/(3/2-1/2*I*3^(1/2)))^(1/2)*((x-1/2-1/2*I*3^(1/2))/(-3/2-1/2*
I*3^(1/2)))^(1/2)*((x-1/2+1/2*I*3^(1/2))/(-3/2+1/2*I*3^(1/2)))^(1/2)/(x^3+1)^(1/2)*(-1/2+1/2*I*3^(1/2))*Ellipt
icPi(((1+x)/(3/2-1/2*I*3^(1/2)))^(1/2),3/4-3/4*I*3^(1/2)+1/2*I*(-1/2+1/2*I*3^(1/2))*3^(1/2),((-3/2+1/2*I*3^(1/
2))/(-3/2-1/2*I*3^(1/2)))^(1/2))+10/3*(3/2-1/2*I*3^(1/2))*((1+x)/(3/2-1/2*I*3^(1/2)))^(1/2)*((x-1/2-1/2*I*3^(1
/2))/(-3/2-1/2*I*3^(1/2)))^(1/2)*((x-1/2+1/2*I*3^(1/2))/(-3/2+1/2*I*3^(1/2)))^(1/2)/(x^3+1)^(1/2)*(-1/2-1/2*I*
3^(1/2))*EllipticPi(((1+x)/(3/2-1/2*I*3^(1/2)))^(1/2),3/4+3/4*I*3^(1/2)+1/2*I*(-1/2-1/2*I*3^(1/2))*3^(1/2),((-
3/2+1/2*I*3^(1/2))/(-3/2-1/2*I*3^(1/2)))^(1/2))+4/3*arctanh((x^3+1)^(1/2))-5/3*(3/2-1/2*I*3^(1/2))*((1+x)/(3/2
-1/2*I*3^(1/2)))^(1/2)*((x-1/2-1/2*I*3^(1/2))/(-3/2-1/2*I*3^(1/2)))^(1/2)*((x-1/2+1/2*I*3^(1/2))/(-3/2+1/2*I*3
^(1/2)))^(1/2)/(x^3+1)^(1/2)*EllipticPi(((1+x)/(3/2-1/2*I*3^(1/2)))^(1/2),3/4-1/4*I*3^(1/2),((-3/2+1/2*I*3^(1/
2))/(-3/2-1/2*I*3^(1/2)))^(1/2))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^3+1)^(1/2)*(x^6+2*x^3+2)/x/(x^6-1),x, algorithm="maxima")

[Out]

integrate((x^6 + 2*x^3 + 2)*sqrt(x^3 + 1)/((x^6 - 1)*x), x)

________________________________________________________________________________________

Fricas [A]
time = 0.42, size = 65, normalized size = 1.23 \begin {gather*} \frac {5}{6} \, \sqrt {2} \log \left (\frac {x^{3} - 2 \, \sqrt {2} \sqrt {x^{3} + 1} + 3}{x^{3} - 1}\right ) + \frac {2}{3} \, \sqrt {x^{3} + 1} + \frac {2}{3} \, \log \left (\sqrt {x^{3} + 1} + 1\right ) - \frac {2}{3} \, \log \left (\sqrt {x^{3} + 1} - 1\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^3+1)^(1/2)*(x^6+2*x^3+2)/x/(x^6-1),x, algorithm="fricas")

[Out]

5/6*sqrt(2)*log((x^3 - 2*sqrt(2)*sqrt(x^3 + 1) + 3)/(x^3 - 1)) + 2/3*sqrt(x^3 + 1) + 2/3*log(sqrt(x^3 + 1) + 1
) - 2/3*log(sqrt(x^3 + 1) - 1)

________________________________________________________________________________________

Sympy [A]
time = 16.95, size = 99, normalized size = 1.87 \begin {gather*} \frac {2 \sqrt {x^{3} + 1}}{3} + \frac {10 \left (\begin {cases} - \frac {\sqrt {2} \operatorname {acoth}{\left (\frac {\sqrt {2} \sqrt {x^{3} + 1}}{2} \right )}}{2} & \text {for}\: x^{3} > 1 \\- \frac {\sqrt {2} \operatorname {atanh}{\left (\frac {\sqrt {2} \sqrt {x^{3} + 1}}{2} \right )}}{2} & \text {for}\: x^{3} < 1 \end {cases}\right )}{3} - \frac {2 \log {\left (\sqrt {x^{3} + 1} - 1 \right )}}{3} + \frac {2 \log {\left (\sqrt {x^{3} + 1} + 1 \right )}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x**3+1)**(1/2)*(x**6+2*x**3+2)/x/(x**6-1),x)

[Out]

2*sqrt(x**3 + 1)/3 + 10*Piecewise((-sqrt(2)*acoth(sqrt(2)*sqrt(x**3 + 1)/2)/2, x**3 > 1), (-sqrt(2)*atanh(sqrt
(2)*sqrt(x**3 + 1)/2)/2, x**3 < 1))/3 - 2*log(sqrt(x**3 + 1) - 1)/3 + 2*log(sqrt(x**3 + 1) + 1)/3

________________________________________________________________________________________

Giac [A]
time = 0.40, size = 72, normalized size = 1.36 \begin {gather*} \frac {5}{6} \, \sqrt {2} \log \left (\frac {{\left | -2 \, \sqrt {2} + 2 \, \sqrt {x^{3} + 1} \right |}}{2 \, {\left (\sqrt {2} + \sqrt {x^{3} + 1}\right )}}\right ) + \frac {2}{3} \, \sqrt {x^{3} + 1} + \frac {2}{3} \, \log \left (\sqrt {x^{3} + 1} + 1\right ) - \frac {2}{3} \, \log \left ({\left | \sqrt {x^{3} + 1} - 1 \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^3+1)^(1/2)*(x^6+2*x^3+2)/x/(x^6-1),x, algorithm="giac")

[Out]

5/6*sqrt(2)*log(1/2*abs(-2*sqrt(2) + 2*sqrt(x^3 + 1))/(sqrt(2) + sqrt(x^3 + 1))) + 2/3*sqrt(x^3 + 1) + 2/3*log
(sqrt(x^3 + 1) + 1) - 2/3*log(abs(sqrt(x^3 + 1) - 1))

________________________________________________________________________________________

Mupad [B]
time = 0.04, size = 775, normalized size = 14.62 \begin {gather*} \frac {\frac {2\,x^3}{3}+\frac {2}{3}}{\sqrt {x^3+1}}+\frac {4\,\left (\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\sqrt {\frac {x-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {x+1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {\frac {1}{2}-x+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\Pi \left (\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2};\mathrm {asin}\left (\sqrt {\frac {x+1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\right )\middle |-\frac {\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}\right )}{\sqrt {x^3+\left (-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )-1\right )\,x-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}}-\frac {5\,\left (\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\sqrt {\frac {x-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {x+1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {\frac {1}{2}-x+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\Pi \left (\frac {3}{4}+\frac {\sqrt {3}\,1{}\mathrm {i}}{4};\mathrm {asin}\left (\sqrt {\frac {x+1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\right )\middle |-\frac {\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}\right )}{3\,\sqrt {x^3+\left (-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )-1\right )\,x-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}}-\frac {2\,\left (\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (3\,{\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}^3+2\right )\,\sqrt {\frac {x-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {x+1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {\frac {1}{2}-x+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\Pi \left (\frac {\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}};\mathrm {asin}\left (\sqrt {\frac {x+1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\right )\middle |-\frac {\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}\right )}{\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (4\,{\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}^3-1\right )\,\sqrt {x^3+\left (-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )-1\right )\,x-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}}+\frac {2\,\left (\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (3\,{\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}^3-2\right )\,\sqrt {\frac {x-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {x+1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {\frac {1}{2}-x+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\Pi \left (-\frac {\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}};\mathrm {asin}\left (\sqrt {\frac {x+1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\right )\middle |-\frac {\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}\right )}{\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (4\,{\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}^3+1\right )\,\sqrt {x^3+\left (-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )-1\right )\,x-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((x^3 + 1)^(1/2)*(2*x^3 + x^6 + 2))/(x*(x^6 - 1)),x)

[Out]

((2*x^3)/3 + 2/3)/(x^3 + 1)^(1/2) + (4*((3^(1/2)*1i)/2 + 3/2)*((x + (3^(1/2)*1i)/2 - 1/2)/((3^(1/2)*1i)/2 - 3/
2))^(1/2)*((x + 1)/((3^(1/2)*1i)/2 + 3/2))^(1/2)*(((3^(1/2)*1i)/2 - x + 1/2)/((3^(1/2)*1i)/2 + 3/2))^(1/2)*ell
ipticPi((3^(1/2)*1i)/2 + 3/2, asin(((x + 1)/((3^(1/2)*1i)/2 + 3/2))^(1/2)), -((3^(1/2)*1i)/2 + 3/2)/((3^(1/2)*
1i)/2 - 3/2)))/(x^3 - x*(((3^(1/2)*1i)/2 - 1/2)*((3^(1/2)*1i)/2 + 1/2) + 1) - ((3^(1/2)*1i)/2 - 1/2)*((3^(1/2)
*1i)/2 + 1/2))^(1/2) - (5*((3^(1/2)*1i)/2 + 3/2)*((x + (3^(1/2)*1i)/2 - 1/2)/((3^(1/2)*1i)/2 - 3/2))^(1/2)*((x
 + 1)/((3^(1/2)*1i)/2 + 3/2))^(1/2)*(((3^(1/2)*1i)/2 - x + 1/2)/((3^(1/2)*1i)/2 + 3/2))^(1/2)*ellipticPi((3^(1
/2)*1i)/4 + 3/4, asin(((x + 1)/((3^(1/2)*1i)/2 + 3/2))^(1/2)), -((3^(1/2)*1i)/2 + 3/2)/((3^(1/2)*1i)/2 - 3/2))
)/(3*(x^3 - x*(((3^(1/2)*1i)/2 - 1/2)*((3^(1/2)*1i)/2 + 1/2) + 1) - ((3^(1/2)*1i)/2 - 1/2)*((3^(1/2)*1i)/2 + 1
/2))^(1/2)) - (2*((3^(1/2)*1i)/2 + 3/2)*(3*((3^(1/2)*1i)/2 - 1/2)^3 + 2)*((x + (3^(1/2)*1i)/2 - 1/2)/((3^(1/2)
*1i)/2 - 3/2))^(1/2)*((x + 1)/((3^(1/2)*1i)/2 + 3/2))^(1/2)*(((3^(1/2)*1i)/2 - x + 1/2)/((3^(1/2)*1i)/2 + 3/2)
)^(1/2)*ellipticPi(((3^(1/2)*1i)/2 + 3/2)/((3^(1/2)*1i)/2 + 1/2), asin(((x + 1)/((3^(1/2)*1i)/2 + 3/2))^(1/2))
, -((3^(1/2)*1i)/2 + 3/2)/((3^(1/2)*1i)/2 - 3/2)))/(((3^(1/2)*1i)/2 + 1/2)*(4*((3^(1/2)*1i)/2 - 1/2)^3 - 1)*(x
^3 - x*(((3^(1/2)*1i)/2 - 1/2)*((3^(1/2)*1i)/2 + 1/2) + 1) - ((3^(1/2)*1i)/2 - 1/2)*((3^(1/2)*1i)/2 + 1/2))^(1
/2)) + (2*((3^(1/2)*1i)/2 + 3/2)*(3*((3^(1/2)*1i)/2 + 1/2)^3 - 2)*((x + (3^(1/2)*1i)/2 - 1/2)/((3^(1/2)*1i)/2
- 3/2))^(1/2)*((x + 1)/((3^(1/2)*1i)/2 + 3/2))^(1/2)*(((3^(1/2)*1i)/2 - x + 1/2)/((3^(1/2)*1i)/2 + 3/2))^(1/2)
*ellipticPi(-((3^(1/2)*1i)/2 + 3/2)/((3^(1/2)*1i)/2 - 1/2), asin(((x + 1)/((3^(1/2)*1i)/2 + 3/2))^(1/2)), -((3
^(1/2)*1i)/2 + 3/2)/((3^(1/2)*1i)/2 - 3/2)))/(((3^(1/2)*1i)/2 - 1/2)*(4*((3^(1/2)*1i)/2 + 1/2)^3 + 1)*(x^3 - x
*(((3^(1/2)*1i)/2 - 1/2)*((3^(1/2)*1i)/2 + 1/2) + 1) - ((3^(1/2)*1i)/2 - 1/2)*((3^(1/2)*1i)/2 + 1/2))^(1/2))

________________________________________________________________________________________