Consider z=x+iy, any complex number, and suppose x+iy=a+ib for some real a,b we want to find. Squaring both sides:
x+iy=(a+ib)2=(a2−b2)+(2ab)i
Equating real and imaginary parts on the two sides gives two simultaneous real equations:
x=a2−b2andy=2ab
Solving these two equations together (typically with the help of the auxiliary identity (a2+b2)2=(a2−b2)2+(2ab)2=x2+y2, which gives a2+b2 directly) yields the values of a and b — and hence the square root of x+iy.
Worked Example 1: find the square root of 6+8i.
Let 6+8i=a+ib. Squaring: 6+8i=(a2−b2)+(2ab)i. Equating parts: 6=a2−b2…(1) and 8=2ab…(2). From (2), a=b4; substituting into (1): 6=b216−b2, i.e. 6b2=16−b4, i.e. b4+6b2−16=0. Setting m=b2: m2+6m−16=0, which factors as (m+8)(m−2)=0, so m=−8 or m=2. Since b is real, b2=−8, so b2=2, giving b=±2. For b=2: a=24=22. For b=−2: a=−22. So 6+8i=22+2i=2(2+i), or its negative −2(2+i): 6+8i=±2(2+i).
Worked Example 2: find the square root of 3−4i.
Let 3−4i=a+ib. Squaring: 3−4i=(a2−b2)+(2ab)i, giving a2−b2=3 and 2ab=−4. Using the auxiliary identity: (a2+b2)2=(a2−b2)2+(2ab)2=32+(−4)2=9+16=25, so a2+b2=5. Solving a2+b2=5 together with a2−b2=3: adding gives 2a2=8⇒a2=4⇒a=±2. For a=2: b=2(2)−4=−1. For a=−2: b=2(−2)−4=1. So 3−4i=2−i or −2+i. …