3.28.50 \(\int \frac {(-1+x^4) \sqrt [4]{-x^2+x^4}}{-1-x^2+x^4} \, dx\) [2750]

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

[Out]

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

________________________________________________________________________________________

Rubi [A]
time = 0.67, antiderivative size = 435, normalized size of antiderivative = 1.69, number of steps used = 25, number of rules used = 12, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.387, Rules used = {2081, 6860, 285, 335, 338, 304, 209, 212, 1283, 1532, 1542, 508} \begin {gather*} -\frac {3 \sqrt [4]{x^4-x^2} \text {ArcTan}\left (\frac {\sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{4 \sqrt [4]{x^2-1} \sqrt {x}}+\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{x^4-x^2} \text {ArcTan}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt {5} \sqrt [4]{x^2-1} \sqrt {x}}+\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \sqrt [4]{x^4-x^2} \text {ArcTan}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt {5} \sqrt [4]{x^2-1} \sqrt {x}}+\frac {1}{2} \sqrt [4]{x^4-x^2} x+\frac {3 \sqrt [4]{x^4-x^2} \tanh ^{-1}\left (\frac {\sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{4 \sqrt [4]{x^2-1} \sqrt {x}}-\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{x^4-x^2} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt {5} \sqrt [4]{x^2-1} \sqrt {x}}-\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \sqrt [4]{x^4-x^2} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt {5} \sqrt [4]{x^2-1} \sqrt {x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((-1 + x^4)*(-x^2 + x^4)^(1/4))/(-1 - x^2 + x^4),x]

[Out]

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

Rule 209

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

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 285

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

Rule 304

Int[(x_)^2/((a_) + (b_.)*(x_)^4), x_Symbol] :> With[{r = Numerator[Rt[-a/b, 2]], s = Denominator[Rt[-a/b, 2]]}
, Dist[s/(2*b), Int[1/(r + s*x^2), x], x] - Dist[s/(2*b), Int[1/(r - s*x^2), x], x]] /; FreeQ[{a, b}, x] &&  !
GtQ[a/b, 0]

Rule 335

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = Denominator[m]}, Dist[k/c, Subst[I
nt[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]

Rule 338

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[a^(p + (m + 1)/n), Subst[Int[x^m/(1 - b*x^n)^(
p + (m + 1)/n + 1), x], x, x/(a + b*x^n)^(1/n)], x] /; FreeQ[{a, b}, x] && IGtQ[n, 0] && LtQ[-1, p, 0] && NeQ[
p, -2^(-1)] && IntegersQ[m, p + (m + 1)/n]

Rule 508

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> With[{k = Denominato
r[p]}, Dist[k*(a^(p + (m + 1)/n)/n), Subst[Int[x^(k*((m + 1)/n) - 1)*((c - (b*c - a*d)*x^k)^q/(1 - b*x^k)^(p +
 q + (m + 1)/n + 1)), x], x, x^(n/k)/(a + b*x^n)^(1/k)], x]] /; FreeQ[{a, b, c, d}, x] && IGtQ[n, 0] && Ration
alQ[m, p] && IntegersQ[p + (m + 1)/n, q] && LtQ[-1, p, 0]

Rule 1283

Int[((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(q_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> With
[{k = Denominator[m]}, Dist[k/f, Subst[Int[x^(k*(m + 1) - 1)*(d + e*(x^(2*k)/f^2))^q*(a + b*(x^(2*k)/f^k) + c*
(x^(4*k)/f^4))^p, x], x, (f*x)^(1/k)], x]] /; FreeQ[{a, b, c, d, e, f, p, q}, x] && NeQ[b^2 - 4*a*c, 0] && Fra
ctionQ[m] && IntegerQ[p]

Rule 1532

Int[(((f_.)*(x_))^(m_.)*((d_.) + (e_.)*(x_)^(n_))^(q_))/((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_)), x_Symbol
] :> Dist[e*(f^n/c), Int[(f*x)^(m - n)*(d + e*x^n)^(q - 1), x], x] - Dist[f^n/c, Int[(f*x)^(m - n)*(d + e*x^n)
^(q - 1)*(Simp[a*e - (c*d - b*e)*x^n, x]/(a + b*x^n + c*x^(2*n))), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && E
qQ[n2, 2*n] && NeQ[b^2 - 4*a*c, 0] && IGtQ[n, 0] &&  !IntegerQ[q] && GtQ[q, 0] && GtQ[m, n - 1] && LeQ[m, 2*n
- 1]

Rule 1542

Int[(((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(n_))^(q_))/((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_)), x_Symbol]
 :> Int[ExpandIntegrand[(d + e*x^n)^q, (f*x)^m/(a + b*x^n + c*x^(2*n)), x], x] /; FreeQ[{a, b, c, d, e, f, q,
n}, x] && EqQ[n2, 2*n] && NeQ[b^2 - 4*a*c, 0] && IGtQ[n, 0] &&  !IntegerQ[q] && IntegerQ[m]

Rule 2081

Int[(u_.)*(P_)^(p_.), x_Symbol] :> With[{m = MinimumMonomialExponent[P, x]}, Dist[P^FracPart[p]/(x^(m*FracPart
[p])*Distrib[1/x^m, P]^FracPart[p]), Int[u*x^(m*p)*Distrib[1/x^m, P]^p, x], x]] /; FreeQ[p, x] &&  !IntegerQ[p
] && SumQ[P] && EveryQ[BinomialQ[#1, x] & , P] &&  !PolyQ[P, x, 2]

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 {\left (-1+x^4\right ) \sqrt [4]{-x^2+x^4}}{-1-x^2+x^4} \, dx &=\frac {\sqrt [4]{-x^2+x^4} \int \frac {\sqrt {x} \sqrt [4]{-1+x^2} \left (-1+x^4\right )}{-1-x^2+x^4} \, dx}{\sqrt {x} \sqrt [4]{-1+x^2}}\\ &=\frac {\sqrt [4]{-x^2+x^4} \int \left (\sqrt {x} \sqrt [4]{-1+x^2}+\frac {x^{5/2} \sqrt [4]{-1+x^2}}{-1-x^2+x^4}\right ) \, dx}{\sqrt {x} \sqrt [4]{-1+x^2}}\\ &=\frac {\sqrt [4]{-x^2+x^4} \int \sqrt {x} \sqrt [4]{-1+x^2} \, dx}{\sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\sqrt [4]{-x^2+x^4} \int \frac {x^{5/2} \sqrt [4]{-1+x^2}}{-1-x^2+x^4} \, dx}{\sqrt {x} \sqrt [4]{-1+x^2}}\\ &=\frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\sqrt [4]{-x^2+x^4} \int \frac {\sqrt {x}}{\left (-1+x^2\right )^{3/4}} \, dx}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^6 \sqrt [4]{-1+x^4}}{-1-x^4+x^8} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}}\\ &=\frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {x^2}{\left (-1+x^4\right )^{3/4}} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{\left (-1+x^4\right )^{3/4}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{\left (-1+x^4\right )^{3/4} \left (-1-x^4+x^8\right )} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}}\\ &=\frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {x^2}{1-x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{2 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{1-x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \left (-\frac {2 x^2}{\sqrt {5} \left (1+\sqrt {5}-2 x^4\right ) \left (-1+x^4\right )^{3/4}}-\frac {2 x^2}{\sqrt {5} \left (-1+x^4\right )^{3/4} \left (-1+\sqrt {5}+2 x^4\right )}\right ) \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}}\\ &=\frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\sqrt [4]{-x^2+x^4} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (4 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{\left (1+\sqrt {5}-2 x^4\right ) \left (-1+x^4\right )^{3/4}} \, dx,x,\sqrt {x}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (4 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{\left (-1+x^4\right )^{3/4} \left (-1+\sqrt {5}+2 x^4\right )} \, dx,x,\sqrt {x}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}\\ &=\frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {3 \sqrt [4]{-x^2+x^4} \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {3 \sqrt [4]{-x^2+x^4} \tanh ^{-1}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (4 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{1+\sqrt {5}-\left (-1+\sqrt {5}\right ) x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (4 \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {x^2}{-1+\sqrt {5}-\left (1+\sqrt {5}\right ) x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}\\ &=\frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {3 \sqrt [4]{-x^2+x^4} \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {3 \sqrt [4]{-x^2+x^4} \tanh ^{-1}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt {\frac {2}{5}} \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3-\sqrt {5}}-\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\left (-1-\sqrt {5}\right ) \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (2 \sqrt {\frac {2}{5}} \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3-\sqrt {5}}+\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\left (-1-\sqrt {5}\right ) \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\left (2 \sqrt {\frac {2}{5}} \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3+\sqrt {5}}-\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\left (1-\sqrt {5}\right ) \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\left (2 \sqrt {\frac {2}{5}} \sqrt [4]{-x^2+x^4}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {3+\sqrt {5}}+\sqrt {2} x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\left (1-\sqrt {5}\right ) \sqrt {x} \sqrt [4]{-1+x^2}}\\ &=\frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {3 \sqrt [4]{-x^2+x^4} \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{-x^2+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \sqrt [4]{-x^2+x^4} \tan ^{-1}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}+\frac {3 \sqrt [4]{-x^2+x^4} \tanh ^{-1}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt [4]{-x^2+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}-\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \sqrt [4]{-x^2+x^4} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{\sqrt {5} \sqrt {x} \sqrt [4]{-1+x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.70, size = 268, normalized size = 1.04 \begin {gather*} \frac {x^{3/2} \left (-1+x^2\right )^{3/4} \left (10 x^{3/2} \sqrt [4]{-1+x^2}-15 \text {ArcTan}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )+2 \sqrt {10 \left (1+\sqrt {5}\right )} \text {ArcTan}\left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )+2 \sqrt {10 \left (-1+\sqrt {5}\right )} \text {ArcTan}\left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )+15 \tanh ^{-1}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-2 \sqrt {10 \left (1+\sqrt {5}\right )} \tanh ^{-1}\left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-2 \sqrt {10 \left (-1+\sqrt {5}\right )} \tanh ^{-1}\left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )\right )}{20 \left (x^2 \left (-1+x^2\right )\right )^{3/4}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((-1 + x^4)*(-x^2 + x^4)^(1/4))/(-1 - x^2 + x^4),x]

[Out]

(x^(3/2)*(-1 + x^2)^(3/4)*(10*x^(3/2)*(-1 + x^2)^(1/4) - 15*ArcTan[Sqrt[x]/(-1 + x^2)^(1/4)] + 2*Sqrt[10*(1 +
Sqrt[5])]*ArcTan[(Sqrt[(-1 + Sqrt[5])/2]*Sqrt[x])/(-1 + x^2)^(1/4)] + 2*Sqrt[10*(-1 + Sqrt[5])]*ArcTan[(Sqrt[(
1 + Sqrt[5])/2]*Sqrt[x])/(-1 + x^2)^(1/4)] + 15*ArcTanh[Sqrt[x]/(-1 + x^2)^(1/4)] - 2*Sqrt[10*(1 + Sqrt[5])]*A
rcTanh[(Sqrt[(-1 + Sqrt[5])/2]*Sqrt[x])/(-1 + x^2)^(1/4)] - 2*Sqrt[10*(-1 + Sqrt[5])]*ArcTanh[(Sqrt[(1 + Sqrt[
5])/2]*Sqrt[x])/(-1 + x^2)^(1/4)]))/(20*(x^2*(-1 + x^2))^(3/4))

________________________________________________________________________________________

Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (x^{4}-1\right ) \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x^{4}-x^{2}-1}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^4-1)*(x^4-x^2)^(1/4)/(x^4-x^2-1),x)

[Out]

int((x^4-1)*(x^4-x^2)^(1/4)/(x^4-x^2-1),x)

________________________________________________________________________________________

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^4-1)*(x^4-x^2)^(1/4)/(x^4-x^2-1),x, algorithm="maxima")

[Out]

integrate((x^4 - x^2)^(1/4)*(x^4 - 1)/(x^4 - x^2 - 1), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1255 vs. \(2 (187) = 374\).
time = 19.25, size = 1255, normalized size = 4.88 \begin {gather*} -\frac {1}{10} \, \sqrt {10} \sqrt {\sqrt {5} + 1} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {10} \sqrt {x^{4} - x^{2}} {\left (430 \, x^{3} - \sqrt {5} {\left (448 \, x^{3} - 439 \, x\right )} - 1335 \, x\right )} - \sqrt {10} {\left (1120 \, x^{5} - 1550 \, x^{3} - \sqrt {5} {\left (215 \, x^{5} - 663 \, x^{3} + 224 \, x\right )} + 215 \, x\right )}\right )} \sqrt {40157 \, \sqrt {5} + 36899} \sqrt {\sqrt {5} + 1} + 81862 \, {\left (\sqrt {10} {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}} {\left (\sqrt {5} {\left (2 \, x^{2} - 1\right )} + 5\right )} + \sqrt {10} {\left (5 \, x^{4} - 5 \, x^{2} - \sqrt {5} {\left (x^{4} - 3 \, x^{2}\right )}\right )} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}}\right )} \sqrt {\sqrt {5} + 1}}{818620 \, {\left (x^{5} - x^{3} - x\right )}}\right ) - \frac {1}{10} \, \sqrt {10} \sqrt {\sqrt {5} - 1} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {10} \sqrt {x^{4} - x^{2}} {\left (430 \, x^{3} + \sqrt {5} {\left (448 \, x^{3} - 439 \, x\right )} - 1335 \, x\right )} + \sqrt {10} {\left (1120 \, x^{5} - 1550 \, x^{3} + \sqrt {5} {\left (215 \, x^{5} - 663 \, x^{3} + 224 \, x\right )} + 215 \, x\right )}\right )} \sqrt {40157 \, \sqrt {5} - 36899} \sqrt {\sqrt {5} - 1} + 81862 \, {\left (\sqrt {10} {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}} {\left (\sqrt {5} {\left (2 \, x^{2} - 1\right )} - 5\right )} + \sqrt {10} {\left (5 \, x^{4} - 5 \, x^{2} + \sqrt {5} {\left (x^{4} - 3 \, x^{2}\right )}\right )} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}}\right )} \sqrt {\sqrt {5} - 1}}{818620 \, {\left (x^{5} - x^{3} - x\right )}}\right ) - \frac {1}{40} \, \sqrt {10} \sqrt {\sqrt {5} + 1} \log \left (\frac {20 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}} {\left (448 \, x^{2} + \sqrt {5} {\left (86 \, x^{2} + 181\right )} - 9\right )} + {\left (2 \, \sqrt {10} \sqrt {x^{4} - x^{2}} {\left (905 \, x^{3} - \sqrt {5} {\left (9 \, x^{3} - 457 \, x\right )} - 475 \, x\right )} - \sqrt {10} {\left (45 \, x^{5} - 1855 \, x^{3} - \sqrt {5} {\left (905 \, x^{5} - 923 \, x^{3} + 9 \, x\right )} + 905 \, x\right )}\right )} \sqrt {\sqrt {5} + 1} - 20 \, {\left (9 \, x^{4} - 457 \, x^{2} - \sqrt {5} {\left (181 \, x^{4} - 95 \, x^{2}\right )}\right )} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}}}{x^{5} - x^{3} - x}\right ) + \frac {1}{40} \, \sqrt {10} \sqrt {\sqrt {5} + 1} \log \left (\frac {20 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}} {\left (448 \, x^{2} + \sqrt {5} {\left (86 \, x^{2} + 181\right )} - 9\right )} - {\left (2 \, \sqrt {10} \sqrt {x^{4} - x^{2}} {\left (905 \, x^{3} - \sqrt {5} {\left (9 \, x^{3} - 457 \, x\right )} - 475 \, x\right )} - \sqrt {10} {\left (45 \, x^{5} - 1855 \, x^{3} - \sqrt {5} {\left (905 \, x^{5} - 923 \, x^{3} + 9 \, x\right )} + 905 \, x\right )}\right )} \sqrt {\sqrt {5} + 1} - 20 \, {\left (9 \, x^{4} - 457 \, x^{2} - \sqrt {5} {\left (181 \, x^{4} - 95 \, x^{2}\right )}\right )} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}}}{x^{5} - x^{3} - x}\right ) - \frac {1}{40} \, \sqrt {10} \sqrt {\sqrt {5} - 1} \log \left (\frac {20 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}} {\left (448 \, x^{2} - \sqrt {5} {\left (86 \, x^{2} + 181\right )} - 9\right )} + {\left (2 \, \sqrt {10} \sqrt {x^{4} - x^{2}} {\left (905 \, x^{3} + \sqrt {5} {\left (9 \, x^{3} - 457 \, x\right )} - 475 \, x\right )} + \sqrt {10} {\left (45 \, x^{5} - 1855 \, x^{3} + \sqrt {5} {\left (905 \, x^{5} - 923 \, x^{3} + 9 \, x\right )} + 905 \, x\right )}\right )} \sqrt {\sqrt {5} - 1} + 20 \, {\left (9 \, x^{4} - 457 \, x^{2} + \sqrt {5} {\left (181 \, x^{4} - 95 \, x^{2}\right )}\right )} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}}}{x^{5} - x^{3} - x}\right ) + \frac {1}{40} \, \sqrt {10} \sqrt {\sqrt {5} - 1} \log \left (\frac {20 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}} {\left (448 \, x^{2} - \sqrt {5} {\left (86 \, x^{2} + 181\right )} - 9\right )} - {\left (2 \, \sqrt {10} \sqrt {x^{4} - x^{2}} {\left (905 \, x^{3} + \sqrt {5} {\left (9 \, x^{3} - 457 \, x\right )} - 475 \, x\right )} + \sqrt {10} {\left (45 \, x^{5} - 1855 \, x^{3} + \sqrt {5} {\left (905 \, x^{5} - 923 \, x^{3} + 9 \, x\right )} + 905 \, x\right )}\right )} \sqrt {\sqrt {5} - 1} + 20 \, {\left (9 \, x^{4} - 457 \, x^{2} + \sqrt {5} {\left (181 \, x^{4} - 95 \, x^{2}\right )}\right )} {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}}}{x^{5} - x^{3} - x}\right ) + \frac {1}{2} \, {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x + \frac {3}{8} \, \arctan \left (\frac {2 \, {\left ({\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x^{2} + {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}}\right )}}{x}\right ) + \frac {3}{8} \, \log \left (\frac {2 \, x^{3} + 2 \, {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x^{2} + 2 \, \sqrt {x^{4} - x^{2}} x - x + 2 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}}}{x}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^4-1)*(x^4-x^2)^(1/4)/(x^4-x^2-1),x, algorithm="fricas")

[Out]

-1/10*sqrt(10)*sqrt(sqrt(5) + 1)*arctan(-1/818620*(sqrt(2)*(sqrt(10)*sqrt(x^4 - x^2)*(430*x^3 - sqrt(5)*(448*x
^3 - 439*x) - 1335*x) - sqrt(10)*(1120*x^5 - 1550*x^3 - sqrt(5)*(215*x^5 - 663*x^3 + 224*x) + 215*x))*sqrt(401
57*sqrt(5) + 36899)*sqrt(sqrt(5) + 1) + 81862*(sqrt(10)*(x^4 - x^2)^(3/4)*(sqrt(5)*(2*x^2 - 1) + 5) + sqrt(10)
*(5*x^4 - 5*x^2 - sqrt(5)*(x^4 - 3*x^2))*(x^4 - x^2)^(1/4))*sqrt(sqrt(5) + 1))/(x^5 - x^3 - x)) - 1/10*sqrt(10
)*sqrt(sqrt(5) - 1)*arctan(1/818620*(sqrt(2)*(sqrt(10)*sqrt(x^4 - x^2)*(430*x^3 + sqrt(5)*(448*x^3 - 439*x) -
1335*x) + sqrt(10)*(1120*x^5 - 1550*x^3 + sqrt(5)*(215*x^5 - 663*x^3 + 224*x) + 215*x))*sqrt(40157*sqrt(5) - 3
6899)*sqrt(sqrt(5) - 1) + 81862*(sqrt(10)*(x^4 - x^2)^(3/4)*(sqrt(5)*(2*x^2 - 1) - 5) + sqrt(10)*(5*x^4 - 5*x^
2 + sqrt(5)*(x^4 - 3*x^2))*(x^4 - x^2)^(1/4))*sqrt(sqrt(5) - 1))/(x^5 - x^3 - x)) - 1/40*sqrt(10)*sqrt(sqrt(5)
 + 1)*log((20*(x^4 - x^2)^(3/4)*(448*x^2 + sqrt(5)*(86*x^2 + 181) - 9) + (2*sqrt(10)*sqrt(x^4 - x^2)*(905*x^3
- sqrt(5)*(9*x^3 - 457*x) - 475*x) - sqrt(10)*(45*x^5 - 1855*x^3 - sqrt(5)*(905*x^5 - 923*x^3 + 9*x) + 905*x))
*sqrt(sqrt(5) + 1) - 20*(9*x^4 - 457*x^2 - sqrt(5)*(181*x^4 - 95*x^2))*(x^4 - x^2)^(1/4))/(x^5 - x^3 - x)) + 1
/40*sqrt(10)*sqrt(sqrt(5) + 1)*log((20*(x^4 - x^2)^(3/4)*(448*x^2 + sqrt(5)*(86*x^2 + 181) - 9) - (2*sqrt(10)*
sqrt(x^4 - x^2)*(905*x^3 - sqrt(5)*(9*x^3 - 457*x) - 475*x) - sqrt(10)*(45*x^5 - 1855*x^3 - sqrt(5)*(905*x^5 -
 923*x^3 + 9*x) + 905*x))*sqrt(sqrt(5) + 1) - 20*(9*x^4 - 457*x^2 - sqrt(5)*(181*x^4 - 95*x^2))*(x^4 - x^2)^(1
/4))/(x^5 - x^3 - x)) - 1/40*sqrt(10)*sqrt(sqrt(5) - 1)*log((20*(x^4 - x^2)^(3/4)*(448*x^2 - sqrt(5)*(86*x^2 +
 181) - 9) + (2*sqrt(10)*sqrt(x^4 - x^2)*(905*x^3 + sqrt(5)*(9*x^3 - 457*x) - 475*x) + sqrt(10)*(45*x^5 - 1855
*x^3 + sqrt(5)*(905*x^5 - 923*x^3 + 9*x) + 905*x))*sqrt(sqrt(5) - 1) + 20*(9*x^4 - 457*x^2 + sqrt(5)*(181*x^4
- 95*x^2))*(x^4 - x^2)^(1/4))/(x^5 - x^3 - x)) + 1/40*sqrt(10)*sqrt(sqrt(5) - 1)*log((20*(x^4 - x^2)^(3/4)*(44
8*x^2 - sqrt(5)*(86*x^2 + 181) - 9) - (2*sqrt(10)*sqrt(x^4 - x^2)*(905*x^3 + sqrt(5)*(9*x^3 - 457*x) - 475*x)
+ sqrt(10)*(45*x^5 - 1855*x^3 + sqrt(5)*(905*x^5 - 923*x^3 + 9*x) + 905*x))*sqrt(sqrt(5) - 1) + 20*(9*x^4 - 45
7*x^2 + sqrt(5)*(181*x^4 - 95*x^2))*(x^4 - x^2)^(1/4))/(x^5 - x^3 - x)) + 1/2*(x^4 - x^2)^(1/4)*x + 3/8*arctan
(2*((x^4 - x^2)^(1/4)*x^2 + (x^4 - x^2)^(3/4))/x) + 3/8*log((2*x^3 + 2*(x^4 - x^2)^(1/4)*x^2 + 2*sqrt(x^4 - x^
2)*x - x + 2*(x^4 - x^2)^(3/4))/x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt [4]{x^{2} \left (x - 1\right ) \left (x + 1\right )} \left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}{x^{4} - x^{2} - 1}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x**4-1)*(x**4-x**2)**(1/4)/(x**4-x**2-1),x)

[Out]

Integral((x**2*(x - 1)*(x + 1))**(1/4)*(x - 1)*(x + 1)*(x**2 + 1)/(x**4 - x**2 - 1), x)

________________________________________________________________________________________

Giac [A]
time = 0.48, size = 248, normalized size = 0.96 \begin {gather*} -\frac {1}{2} \, x^{2} {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + \frac {1}{10} \, \sqrt {10 \, \sqrt {5} - 10} \arctan \left (\frac {{\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}}{\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}}}\right ) + \frac {1}{10} \, \sqrt {10 \, \sqrt {5} + 10} \arctan \left (\frac {{\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}}{\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}}}\right ) + \frac {1}{20} \, \sqrt {10 \, \sqrt {5} - 10} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) - \frac {1}{20} \, \sqrt {10 \, \sqrt {5} - 10} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}} - {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \frac {1}{20} \, \sqrt {10 \, \sqrt {5} + 10} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) - \frac {1}{20} \, \sqrt {10 \, \sqrt {5} + 10} \log \left ({\left | -\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} \right |}\right ) - \frac {3}{4} \, \arctan \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) - \frac {3}{8} \, \log \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) + \frac {3}{8} \, \log \left (-{\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^4-1)*(x^4-x^2)^(1/4)/(x^4-x^2-1),x, algorithm="giac")

[Out]

-1/2*x^2*(-1/x^2 + 1)^(1/4) + 1/10*sqrt(10*sqrt(5) - 10)*arctan((-1/x^2 + 1)^(1/4)/sqrt(1/2*sqrt(5) + 1/2)) +
1/10*sqrt(10*sqrt(5) + 10)*arctan((-1/x^2 + 1)^(1/4)/sqrt(1/2*sqrt(5) - 1/2)) + 1/20*sqrt(10*sqrt(5) - 10)*log
(sqrt(1/2*sqrt(5) + 1/2) + (-1/x^2 + 1)^(1/4)) - 1/20*sqrt(10*sqrt(5) - 10)*log(sqrt(1/2*sqrt(5) + 1/2) - (-1/
x^2 + 1)^(1/4)) + 1/20*sqrt(10*sqrt(5) + 10)*log(sqrt(1/2*sqrt(5) - 1/2) + (-1/x^2 + 1)^(1/4)) - 1/20*sqrt(10*
sqrt(5) + 10)*log(abs(-sqrt(1/2*sqrt(5) - 1/2) + (-1/x^2 + 1)^(1/4))) - 3/4*arctan((-1/x^2 + 1)^(1/4)) - 3/8*l
og((-1/x^2 + 1)^(1/4) + 1) + 3/8*log(-(-1/x^2 + 1)^(1/4) + 1)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} -\int \frac {\left (x^4-1\right )\,{\left (x^4-x^2\right )}^{1/4}}{-x^4+x^2+1} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________