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

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [B] (verification not implemented)
   Sympy [F]
   Maxima [F]
   Giac [A] (verification not implemented)
   Mupad [F(-1)]

Optimal result

Integrand size = 31, antiderivative size = 233 \[ \int \frac {1+x^4}{\left (-1-x^2+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\arctan \left (\frac {x}{\sqrt [4]{-x^2+x^4}}\right )-\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {-\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^2+x^4}}\right )-\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^2+x^4}}\right )+\text {arctanh}\left (\frac {x}{\sqrt [4]{-x^2+x^4}}\right )-\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {-\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^2+x^4}}\right )-\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt [4]{-x^2+x^4}}\right ) \]

[Out]

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

Rubi [A] (verified)

Time = 0.65 (sec) , antiderivative size = 393, normalized size of antiderivative = 1.69, number of steps used = 18, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.258, Rules used = {2081, 6847, 6860, 246, 218, 212, 209, 385} \[ \int \frac {1+x^4}{\left (-1-x^2+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\frac {\sqrt {x} \sqrt [4]{x^2-1} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt [4]{x^4-x^2}}-\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x} \sqrt [4]{x^2-1} \arctan \left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt [4]{x^4-x^2}}-\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \sqrt {x} \sqrt [4]{x^2-1} \arctan \left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt [4]{x^4-x^2}}+\frac {\sqrt {x} \sqrt [4]{x^2-1} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt [4]{x^4-x^2}}-\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x} \sqrt [4]{x^2-1} \text {arctanh}\left (\frac {\sqrt [4]{\frac {2}{3+\sqrt {5}}} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt [4]{x^4-x^2}}-\frac {\sqrt [4]{\frac {1}{2} \left (3-\sqrt {5}\right )} \sqrt {x} \sqrt [4]{x^2-1} \text {arctanh}\left (\frac {\sqrt [4]{\frac {1}{2} \left (3+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{\sqrt [4]{x^4-x^2}} \]

[In]

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

[Out]

(Sqrt[x]*(-1 + x^2)^(1/4)*ArcTan[Sqrt[x]/(-1 + x^2)^(1/4)])/(-x^2 + x^4)^(1/4) - (((3 + Sqrt[5])/2)^(1/4)*Sqrt
[x]*(-1 + x^2)^(1/4)*ArcTan[((2/(3 + Sqrt[5]))^(1/4)*Sqrt[x])/(-1 + x^2)^(1/4)])/(-x^2 + x^4)^(1/4) - (((3 - S
qrt[5])/2)^(1/4)*Sqrt[x]*(-1 + x^2)^(1/4)*ArcTan[(((3 + Sqrt[5])/2)^(1/4)*Sqrt[x])/(-1 + x^2)^(1/4)])/(-x^2 +
x^4)^(1/4) + (Sqrt[x]*(-1 + x^2)^(1/4)*ArcTanh[Sqrt[x]/(-1 + x^2)^(1/4)])/(-x^2 + x^4)^(1/4) - (((3 + Sqrt[5])
/2)^(1/4)*Sqrt[x]*(-1 + x^2)^(1/4)*ArcTanh[((2/(3 + Sqrt[5]))^(1/4)*Sqrt[x])/(-1 + x^2)^(1/4)])/(-x^2 + x^4)^(
1/4) - (((3 - Sqrt[5])/2)^(1/4)*Sqrt[x]*(-1 + x^2)^(1/4)*ArcTanh[(((3 + Sqrt[5])/2)^(1/4)*Sqrt[x])/(-1 + x^2)^
(1/4)])/(-x^2 + x^4)^(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 218

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

Rule 246

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[a^(p + 1/n), Subst[Int[1/(1 - b*x^n)^(p + 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)] && IntegerQ[p
 + 1/n]

Rule 385

Int[((a_) + (b_.)*(x_)^(n_))^(p_)/((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Subst[Int[1/(c - (b*c - a*d)*x^n), x]
, x, x/(a + b*x^n)^(1/n)] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && EqQ[n*p + 1, 0] && IntegerQ[n]

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 6847

Int[(u_)*(x_)^(m_.), x_Symbol] :> Dist[1/(m + 1), Subst[Int[SubstFor[x^(m + 1), u, x], x], x, x^(m + 1)], x] /
; FreeQ[m, x] && NeQ[m, -1] && FunctionOfQ[x^(m + 1), u, x]

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

Mathematica [A] (verified)

Time = 0.70 (sec) , antiderivative size = 252, normalized size of antiderivative = 1.08 \[ \int \frac {1+x^4}{\left (-1-x^2+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\frac {\sqrt {x} \sqrt [4]{-1+x^2} \left (2 \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-\sqrt {2 \left (1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-\sqrt {2 \left (-1+\sqrt {5}\right )} \arctan \left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )+2 \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-\sqrt {2 \left (1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2} \left (-1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-\sqrt {2 \left (-1+\sqrt {5}\right )} \text {arctanh}\left (\frac {\sqrt {\frac {1}{2} \left (1+\sqrt {5}\right )} \sqrt {x}}{\sqrt [4]{-1+x^2}}\right )\right )}{2 \sqrt [4]{x^2 \left (-1+x^2\right )}} \]

[In]

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

[Out]

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

Maple [A] (verified)

Time = 6.88 (sec) , antiderivative size = 194, normalized size of antiderivative = 0.83

method result size
pseudoelliptic \(\frac {\left (-\operatorname {arctanh}\left (\frac {2 \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x \sqrt {2+2 \sqrt {5}}}\right )+\arctan \left (\frac {2 \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x \sqrt {2+2 \sqrt {5}}}\right )\right ) \sqrt {-2+2 \sqrt {5}}}{2}+\frac {\left (\arctan \left (\frac {2 \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x \sqrt {-2+2 \sqrt {5}}}\right )-\operatorname {arctanh}\left (\frac {2 \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x \sqrt {-2+2 \sqrt {5}}}\right )\right ) \sqrt {2+2 \sqrt {5}}}{2}+\frac {\ln \left (\frac {x +\left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x}\right )}{2}-\frac {\ln \left (\frac {\left (x^{4}-x^{2}\right )^{\frac {1}{4}}-x}{x}\right )}{2}-\arctan \left (\frac {\left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x}\right )\) \(194\)

[In]

int((x^4+1)/(x^4-x^2-1)/(x^4-x^2)^(1/4),x,method=_RETURNVERBOSE)

[Out]

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

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 1689 vs. \(2 (169) = 338\).

Time = 47.33 (sec) , antiderivative size = 1689, normalized size of antiderivative = 7.25 \[ \int \frac {1+x^4}{\left (-1-x^2+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\text {Too large to display} \]

[In]

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

[Out]

1/8*sqrt(2)*sqrt(-sqrt(5) + 1)*log((2*sqrt(x^4 - x^2)*(sqrt(5)*sqrt(2)*(181*x^3 - 95*x) + sqrt(2)*(9*x^3 - 457
*x))*sqrt(-sqrt(5) + 1) + 4*(x^4 - x^2)^(3/4)*(448*x^2 - sqrt(5)*(86*x^2 + 181) - 9) - (sqrt(5)*sqrt(2)*(9*x^5
 - 371*x^3 + 181*x) + sqrt(2)*(905*x^5 - 923*x^3 + 9*x))*sqrt(-sqrt(5) + 1) - 4*(9*x^4 - 457*x^2 + sqrt(5)*(18
1*x^4 - 95*x^2))*(x^4 - x^2)^(1/4))/(x^5 - x^3 - x)) - 1/8*sqrt(2)*sqrt(-sqrt(5) + 1)*log(-(2*sqrt(x^4 - x^2)*
(sqrt(5)*sqrt(2)*(181*x^3 - 95*x) + sqrt(2)*(9*x^3 - 457*x))*sqrt(-sqrt(5) + 1) - 4*(x^4 - x^2)^(3/4)*(448*x^2
 - sqrt(5)*(86*x^2 + 181) - 9) - (sqrt(5)*sqrt(2)*(9*x^5 - 371*x^3 + 181*x) + sqrt(2)*(905*x^5 - 923*x^3 + 9*x
))*sqrt(-sqrt(5) + 1) + 4*(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/8*sqrt(2)*sqrt(-sqrt(5) - 1)*log((2*sqrt(x^4 - x^2)*(sqrt(5)*sqrt(2)*(181*x^3 - 95*x) - sqrt(2)*(9*x^3 - 45
7*x))*sqrt(-sqrt(5) - 1) + 4*(x^4 - x^2)^(3/4)*(448*x^2 + sqrt(5)*(86*x^2 + 181) - 9) + (sqrt(5)*sqrt(2)*(9*x^
5 - 371*x^3 + 181*x) - sqrt(2)*(905*x^5 - 923*x^3 + 9*x))*sqrt(-sqrt(5) - 1) + 4*(9*x^4 - 457*x^2 - sqrt(5)*(1
81*x^4 - 95*x^2))*(x^4 - x^2)^(1/4))/(x^5 - x^3 - x)) - 1/8*sqrt(2)*sqrt(-sqrt(5) - 1)*log(-(2*sqrt(x^4 - x^2)
*(sqrt(5)*sqrt(2)*(181*x^3 - 95*x) - sqrt(2)*(9*x^3 - 457*x))*sqrt(-sqrt(5) - 1) - 4*(x^4 - x^2)^(3/4)*(448*x^
2 + sqrt(5)*(86*x^2 + 181) - 9) + (sqrt(5)*sqrt(2)*(9*x^5 - 371*x^3 + 181*x) - sqrt(2)*(905*x^5 - 923*x^3 + 9*
x))*sqrt(-sqrt(5) - 1) - 4*(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/8*sqrt(2)*sqrt(sqrt(5) + 1)*log((4*(x^4 - x^2)^(3/4)*(448*x^2 + sqrt(5)*(86*x^2 + 181) - 9) + (sqrt(5)*sqr
t(2)*(9*x^5 - 371*x^3 + 181*x) - sqrt(2)*(905*x^5 - 923*x^3 + 9*x) - 2*sqrt(x^4 - x^2)*(sqrt(5)*sqrt(2)*(181*x
^3 - 95*x) - sqrt(2)*(9*x^3 - 457*x)))*sqrt(sqrt(5) + 1) - 4*(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/8*sqrt(2)*sqrt(sqrt(5) + 1)*log((4*(x^4 - x^2)^(3/4)*(448*x^2 + sqrt(5)*
(86*x^2 + 181) - 9) - (sqrt(5)*sqrt(2)*(9*x^5 - 371*x^3 + 181*x) - sqrt(2)*(905*x^5 - 923*x^3 + 9*x) - 2*sqrt(
x^4 - x^2)*(sqrt(5)*sqrt(2)*(181*x^3 - 95*x) - sqrt(2)*(9*x^3 - 457*x)))*sqrt(sqrt(5) + 1) - 4*(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/8*sqrt(2)*sqrt(sqrt(5) - 1)*log((4*(x^
4 - x^2)^(3/4)*(448*x^2 - sqrt(5)*(86*x^2 + 181) - 9) + (sqrt(5)*sqrt(2)*(9*x^5 - 371*x^3 + 181*x) + sqrt(2)*(
905*x^5 - 923*x^3 + 9*x) + 2*sqrt(x^4 - x^2)*(sqrt(5)*sqrt(2)*(181*x^3 - 95*x) + sqrt(2)*(9*x^3 - 457*x)))*sqr
t(sqrt(5) - 1) + 4*(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/8*sq
rt(2)*sqrt(sqrt(5) - 1)*log((4*(x^4 - x^2)^(3/4)*(448*x^2 - sqrt(5)*(86*x^2 + 181) - 9) - (sqrt(5)*sqrt(2)*(9*
x^5 - 371*x^3 + 181*x) + sqrt(2)*(905*x^5 - 923*x^3 + 9*x) + 2*sqrt(x^4 - x^2)*(sqrt(5)*sqrt(2)*(181*x^3 - 95*
x) + sqrt(2)*(9*x^3 - 457*x)))*sqrt(sqrt(5) - 1) + 4*(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/2*arctan(2*((x^4 - x^2)^(1/4)*x^2 + (x^4 - x^2)^(3/4))/x) + 1/2*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]

\[ \int \frac {1+x^4}{\left (-1-x^2+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\int \frac {x^{4} + 1}{\sqrt [4]{x^{2} \left (x - 1\right ) \left (x + 1\right )} \left (x^{4} - x^{2} - 1\right )}\, dx \]

[In]

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

[Out]

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

Maxima [F]

\[ \int \frac {1+x^4}{\left (-1-x^2+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\int { \frac {x^{4} + 1}{{\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} {\left (x^{4} - x^{2} - 1\right )}} \,d x } \]

[In]

integrate((x^4+1)/(x^4-x^2-1)/(x^4-x^2)^(1/4),x, algorithm="maxima")

[Out]

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

Giac [A] (verification not implemented)

none

Time = 0.40 (sec) , antiderivative size = 234, normalized size of antiderivative = 1.00 \[ \int \frac {1+x^4}{\left (-1-x^2+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\frac {1}{2} \, \sqrt {2 \, \sqrt {5} - 2} \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}{2} \, \sqrt {2 \, \sqrt {5} + 2} \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}{4} \, \sqrt {2 \, \sqrt {5} - 2} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \frac {1}{4} \, \sqrt {2 \, \sqrt {5} - 2} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} + \frac {1}{2}} - {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) - \frac {1}{4} \, \sqrt {2 \, \sqrt {5} + 2} \log \left (\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \frac {1}{4} \, \sqrt {2 \, \sqrt {5} + 2} \log \left ({\left | -\sqrt {\frac {1}{2} \, \sqrt {5} - \frac {1}{2}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} \right |}\right ) - \arctan \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) + \frac {1}{2} \, \log \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) - \frac {1}{2} \, \log \left (-{\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) \]

[In]

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

[Out]

1/2*sqrt(2*sqrt(5) - 2)*arctan((-1/x^2 + 1)^(1/4)/sqrt(1/2*sqrt(5) + 1/2)) + 1/2*sqrt(2*sqrt(5) + 2)*arctan((-
1/x^2 + 1)^(1/4)/sqrt(1/2*sqrt(5) - 1/2)) - 1/4*sqrt(2*sqrt(5) - 2)*log(sqrt(1/2*sqrt(5) + 1/2) + (-1/x^2 + 1)
^(1/4)) + 1/4*sqrt(2*sqrt(5) - 2)*log(sqrt(1/2*sqrt(5) + 1/2) - (-1/x^2 + 1)^(1/4)) - 1/4*sqrt(2*sqrt(5) + 2)*
log(sqrt(1/2*sqrt(5) - 1/2) + (-1/x^2 + 1)^(1/4)) + 1/4*sqrt(2*sqrt(5) + 2)*log(abs(-sqrt(1/2*sqrt(5) - 1/2) +
 (-1/x^2 + 1)^(1/4))) - arctan((-1/x^2 + 1)^(1/4)) + 1/2*log((-1/x^2 + 1)^(1/4) + 1) - 1/2*log(-(-1/x^2 + 1)^(
1/4) + 1)

Mupad [F(-1)]

Timed out. \[ \int \frac {1+x^4}{\left (-1-x^2+x^4\right ) \sqrt [4]{-x^2+x^4}} \, dx=\int -\frac {x^4+1}{{\left (x^4-x^2\right )}^{1/4}\,\left (-x^4+x^2+1\right )} \,d x \]

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