Consider roots of $f(u)=u^{-1/4}-2/15 u-1/6$ which can be written as $$ u^{-1/4}e^{-1/4 (2n \pi i)}-2/15 u-1/6=0 $$ where $u^{-1/4}$ is taken as principal-value. Or as a GroebenerBasis:
$$ f(u)=-810000 + 625 u + 2000 u^2 + 2400 u^3 + 1280 u^4 + 256 u^5=0 $$ which has five solutions. I was wondering if someone could explain to me why when I use NSolve to solve $u^{-1/4}e^{-1/4 (2n \pi i)}-2/15 u-1/6=0$, it returns two solutions for n=2 but only one solution for n=0,1,3?
theK[n_] := Exp[-1/4 2 n Pi I];
theUVals = (u /.
NSolve[u^(-1/4) theK[#] - 2/15 u - 1/6 == 0, u] & /@ {0, 1, 2, 3})
{{4.04009},
{0.554451 -4.74207 I},
{-5.0745-2.93375 I,-5.0745+2.93375 I},
{0.554451 +4.74207 I}}
Update as per comment below:
I can back-substitute the five solutions into the original equation but must use the branch form $u^{-1/4}=u^{-1/4}e^{-1/4(2 n\pi i)}$ to do so as Mathematica I believe, will interpret the naked $u^{-1/4}$ expression as principal-value:
MapThread[(#1^(-1/4) theK[#2] - 2/15 #1 -
1/6) &, {theUVals, {0, 1, 2, 3}}]
{{8.32667*10^-17},
{2.77556*10^-17+2.22045*10^-16 I},
{-6.93889*10^-16+1.55431*10^-15 I,-6.93889*10^-16-1.55431*10^-15 I},
{2.77556*10^-17-2.22045*10^-16 I}}
VerifySolutions->False
. $\endgroup$