HOME

PDF (letter size)

Small note on solving xnm=a

Nasser M. Abbasi

March 25, 2024   Compiled on March 25, 2024 at 6:44am

We want to solvexnm=a Where n,m are integers. n is called the power and m is called the root. We start by writing the above as(x1m)n=a Let x1m=y. The above becomesyn=a This is solved using De Moivre’s formula. y=a1n=(a×1)1n=(ae2iπ)1n

Since 1=e2πi. Using Euler formula 1=cos(2π)+isin(2π). Hencey=a1n(cos(2π)+isin(2π))1n But by De Moivre’s formula(cos(2π)+isin(2π))1n=cos(2πn+k2πn)+isin(2πn+k2πn)k=0,1,n1 Therefore y=a1n(cos(2πn+k2πn)+isin(2πn+k2πn))k=0,1,n1 For example, let n=3 then we have 3 solutionsy={a13(cos(2π3)+isin(2π3))a13(cos(2π3+2π3)+isin(2π3+2π3))a13(cos(2π3+4π3)+isin(2π3+4π3)) Which simplifies toy={a13(12i312)a13(12i312)a13 Now we need to replace y back to x1m and the above becomesx1m={a13(12i312)a13(12i312)a13 Since the exponent now is a root, thenx={(a13(12i312))m(a13(12i312))mam3 For example, if m=2x={(a13(12i312))2(a13(12i312))2a23 Notice that if the solution x is meant to be real, then the above reduces tox=a23 And for m=4x={a43(12i312)4a43(12i312)4a43={a43(12+i32)a43(12i32)a43

Notice that if the solution x is meant to be real, then the above reduces tox=a43 For a0.  And so on. For the case of power n being negative integer, for example,x32=a Then let n=3 and move the negative sign to the denominator to become x32. This way we can now use De Moivre’s formula for positive n.