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

3.25.86.1 Optimal result
3.25.86.2 Mathematica [A] (verified)
3.25.86.3 Rubi [F]
3.25.86.4 Maple [N/A] (verified)
3.25.86.5 Fricas [C] (verification not implemented)
3.25.86.6 Sympy [N/A]
3.25.86.7 Maxima [N/A]
3.25.86.8 Giac [N/A]
3.25.86.9 Mupad [N/A]

3.25.86.1 Optimal result

Integrand size = 29, antiderivative size = 204 \[ \int \frac {\sqrt {x+\sqrt {1+x}}}{x^2-\sqrt {1+x}} \, dx=2 \text {RootSum}\left [-1+6 \text {$\#$1}+3 \text {$\#$1}^2-2 \text {$\#$1}^3-8 \text {$\#$1}^4+16 \text {$\#$1}^5-4 \text {$\#$1}^6+\text {$\#$1}^8\&,\frac {\log \left (\sqrt {1+x}-\sqrt {x+\sqrt {1+x}}+\text {$\#$1}\right )+2 \log \left (\sqrt {1+x}-\sqrt {x+\sqrt {1+x}}+\text {$\#$1}\right ) \text {$\#$1}-2 \log \left (\sqrt {1+x}-\sqrt {x+\sqrt {1+x}}+\text {$\#$1}\right ) \text {$\#$1}^5+\log \left (\sqrt {1+x}-\sqrt {x+\sqrt {1+x}}+\text {$\#$1}\right ) \text {$\#$1}^6}{3+3 \text {$\#$1}-3 \text {$\#$1}^2-16 \text {$\#$1}^3+40 \text {$\#$1}^4-12 \text {$\#$1}^5+4 \text {$\#$1}^7}\&\right ] \]

output
Unintegrable
 
3.25.86.2 Mathematica [A] (verified)

Time = 0.19 (sec) , antiderivative size = 212, normalized size of antiderivative = 1.04 \[ \int \frac {\sqrt {x+\sqrt {1+x}}}{x^2-\sqrt {1+x}} \, dx=2 \text {RootSum}\left [-1+6 \text {$\#$1}+3 \text {$\#$1}^2-2 \text {$\#$1}^3-8 \text {$\#$1}^4+16 \text {$\#$1}^5-4 \text {$\#$1}^6+\text {$\#$1}^8\&,\frac {\log \left (-\sqrt {1+x}+\sqrt {x+\sqrt {1+x}}-\text {$\#$1}\right )+2 \log \left (-\sqrt {1+x}+\sqrt {x+\sqrt {1+x}}-\text {$\#$1}\right ) \text {$\#$1}-2 \log \left (-\sqrt {1+x}+\sqrt {x+\sqrt {1+x}}-\text {$\#$1}\right ) \text {$\#$1}^5+\log \left (-\sqrt {1+x}+\sqrt {x+\sqrt {1+x}}-\text {$\#$1}\right ) \text {$\#$1}^6}{3+3 \text {$\#$1}-3 \text {$\#$1}^2-16 \text {$\#$1}^3+40 \text {$\#$1}^4-12 \text {$\#$1}^5+4 \text {$\#$1}^7}\&\right ] \]

input
Integrate[Sqrt[x + Sqrt[1 + x]]/(x^2 - Sqrt[1 + x]),x]
 
output
2*RootSum[-1 + 6*#1 + 3*#1^2 - 2*#1^3 - 8*#1^4 + 16*#1^5 - 4*#1^6 + #1^8 & 
 , (Log[-Sqrt[1 + x] + Sqrt[x + Sqrt[1 + x]] - #1] + 2*Log[-Sqrt[1 + x] + 
Sqrt[x + Sqrt[1 + x]] - #1]*#1 - 2*Log[-Sqrt[1 + x] + Sqrt[x + Sqrt[1 + x] 
] - #1]*#1^5 + Log[-Sqrt[1 + x] + Sqrt[x + Sqrt[1 + x]] - #1]*#1^6)/(3 + 3 
*#1 - 3*#1^2 - 16*#1^3 + 40*#1^4 - 12*#1^5 + 4*#1^7) & ]
 
3.25.86.3 Rubi [F]

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {\sqrt {x+\sqrt {x+1}}}{x^2-\sqrt {x+1}} \, dx\)

\(\Big \downarrow \) 7267

\(\displaystyle 2 \int -\frac {\sqrt {x+1} \sqrt {x+\sqrt {x+1}}}{\sqrt {x+1}-x^2}d\sqrt {x+1}\)

\(\Big \downarrow \) 25

\(\displaystyle -2 \int \frac {\sqrt {x+1} \sqrt {x+\sqrt {x+1}}}{\sqrt {x+1}-x^2}d\sqrt {x+1}\)

\(\Big \downarrow \) 7292

\(\displaystyle -2 \int \frac {\sqrt {x+1} \sqrt {x+\sqrt {x+1}}}{-(x+1)^2+2 (x+1)+\sqrt {x+1}-1}d\sqrt {x+1}\)

\(\Big \downarrow \) 7299

\(\displaystyle -2 \int \frac {\sqrt {x+1} \sqrt {x+\sqrt {x+1}}}{-(x+1)^2+2 (x+1)+\sqrt {x+1}-1}d\sqrt {x+1}\)

input
Int[Sqrt[x + Sqrt[1 + x]]/(x^2 - Sqrt[1 + x]),x]
 
output
$Aborted
 

3.25.86.3.1 Defintions of rubi rules used

rule 25
Int[-(Fx_), x_Symbol] :> Simp[Identity[-1]   Int[Fx, x], x]
 

rule 7267
Int[u_, x_Symbol] :> With[{lst = SubstForFractionalPowerOfLinear[u, x]}, Si 
mp[lst[[2]]*lst[[4]]   Subst[Int[lst[[1]], x], x, lst[[3]]^(1/lst[[2]])], x 
] /;  !FalseQ[lst] && SubstForFractionalPowerQ[u, lst[[3]], x]]
 

rule 7292
Int[u_, x_Symbol] :> With[{v = NormalizeIntegrand[u, x]}, Int[v, x] /; v =! 
= u]
 

rule 7299
Int[u_, x_] :> CannotIntegrate[u, x]
 
3.25.86.4 Maple [N/A] (verified)

Time = 0.05 (sec) , antiderivative size = 107, normalized size of antiderivative = 0.52

method result size
derivativedivides \(2 \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{8}-4 \textit {\_Z}^{6}+16 \textit {\_Z}^{5}-8 \textit {\_Z}^{4}-2 \textit {\_Z}^{3}+3 \textit {\_Z}^{2}+6 \textit {\_Z} -1\right )}{\sum }\frac {\left (\textit {\_R}^{6}-2 \textit {\_R}^{5}+2 \textit {\_R} +1\right ) \ln \left (\sqrt {x +\sqrt {1+x}}-\sqrt {1+x}-\textit {\_R} \right )}{4 \textit {\_R}^{7}-12 \textit {\_R}^{5}+40 \textit {\_R}^{4}-16 \textit {\_R}^{3}-3 \textit {\_R}^{2}+3 \textit {\_R} +3}\right )\) \(107\)
default \(2 \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\textit {\_Z}^{8}-4 \textit {\_Z}^{6}+16 \textit {\_Z}^{5}-8 \textit {\_Z}^{4}-2 \textit {\_Z}^{3}+3 \textit {\_Z}^{2}+6 \textit {\_Z} -1\right )}{\sum }\frac {\left (\textit {\_R}^{6}-2 \textit {\_R}^{5}+2 \textit {\_R} +1\right ) \ln \left (\sqrt {x +\sqrt {1+x}}-\sqrt {1+x}-\textit {\_R} \right )}{4 \textit {\_R}^{7}-12 \textit {\_R}^{5}+40 \textit {\_R}^{4}-16 \textit {\_R}^{3}-3 \textit {\_R}^{2}+3 \textit {\_R} +3}\right )\) \(107\)

input
int((x+(1+x)^(1/2))^(1/2)/(x^2-(1+x)^(1/2)),x,method=_RETURNVERBOSE)
 
output
2*sum((_R^6-2*_R^5+2*_R+1)/(4*_R^7-12*_R^5+40*_R^4-16*_R^3-3*_R^2+3*_R+3)* 
ln((x+(1+x)^(1/2))^(1/2)-(1+x)^(1/2)-_R),_R=RootOf(_Z^8-4*_Z^6+16*_Z^5-8*_ 
Z^4-2*_Z^3+3*_Z^2+6*_Z-1))
 
3.25.86.5 Fricas [C] (verification not implemented)

Result contains higher order function than in optimal. Order 3 vs. order 1.

Time = 18.15 (sec) , antiderivative size = 36926, normalized size of antiderivative = 181.01 \[ \int \frac {\sqrt {x+\sqrt {1+x}}}{x^2-\sqrt {1+x}} \, dx=\text {Too large to display} \]

input
integrate((x+(1+x)^(1/2))^(1/2)/(x^2-(1+x)^(1/2)),x, algorithm="fricas")
 
output
Too large to include
 
3.25.86.6 Sympy [N/A]

Not integrable

Time = 1.59 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.11 \[ \int \frac {\sqrt {x+\sqrt {1+x}}}{x^2-\sqrt {1+x}} \, dx=\int \frac {\sqrt {x + \sqrt {x + 1}}}{x^{2} - \sqrt {x + 1}}\, dx \]

input
integrate((x+(1+x)**(1/2))**(1/2)/(x**2-(1+x)**(1/2)),x)
 
output
Integral(sqrt(x + sqrt(x + 1))/(x**2 - sqrt(x + 1)), x)
 
3.25.86.7 Maxima [N/A]

Not integrable

Time = 0.21 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.12 \[ \int \frac {\sqrt {x+\sqrt {1+x}}}{x^2-\sqrt {1+x}} \, dx=\int { \frac {\sqrt {x + \sqrt {x + 1}}}{x^{2} - \sqrt {x + 1}} \,d x } \]

input
integrate((x+(1+x)^(1/2))^(1/2)/(x^2-(1+x)^(1/2)),x, algorithm="maxima")
 
output
integrate(sqrt(x + sqrt(x + 1))/(x^2 - sqrt(x + 1)), x)
 
3.25.86.8 Giac [N/A]

Not integrable

Time = 0.42 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.12 \[ \int \frac {\sqrt {x+\sqrt {1+x}}}{x^2-\sqrt {1+x}} \, dx=\int { \frac {\sqrt {x + \sqrt {x + 1}}}{x^{2} - \sqrt {x + 1}} \,d x } \]

input
integrate((x+(1+x)^(1/2))^(1/2)/(x^2-(1+x)^(1/2)),x, algorithm="giac")
 
output
integrate(sqrt(x + sqrt(x + 1))/(x^2 - sqrt(x + 1)), x)
 
3.25.86.9 Mupad [N/A]

Not integrable

Time = 6.97 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.13 \[ \int \frac {\sqrt {x+\sqrt {1+x}}}{x^2-\sqrt {1+x}} \, dx=-\int \frac {\sqrt {x+\sqrt {x+1}}}{\sqrt {x+1}-x^2} \,d x \]

input
int(-(x + (x + 1)^(1/2))^(1/2)/((x + 1)^(1/2) - x^2),x)
 
output
-int((x + (x + 1)^(1/2))^(1/2)/((x + 1)^(1/2) - x^2), x)