Georgepowell
- 179
- 0
I was reading Roger Penrose' book "The Road to reality". He mentioned the square root of a+bi in terms of a and b. I am trying to figure his answer out for my self but am struggling. Here goes:(x+yi)^2=a+bi
x^2+2xyi-y^2=a+bi
x^2-y^2=a
2xy=b
I can't rearrange these two equations to get x and y in terms of a and b. Even if I use a computer program to solve them for me, I get really complicated answers. Not like the solution in the book. Am I doing it wrong? Here is the solution he gives:
I have checked it and it works quite cleverly.
\sqrt{\frac{1}{2}(a+\sqrt{a^2+b^2})}+i\sqrt{\frac{1}{2}(-a+\sqrt{a^2+b^2}}
x^2+2xyi-y^2=a+bi
x^2-y^2=a
2xy=b
I can't rearrange these two equations to get x and y in terms of a and b. Even if I use a computer program to solve them for me, I get really complicated answers. Not like the solution in the book. Am I doing it wrong? Here is the solution he gives:
I have checked it and it works quite cleverly.
\sqrt{\frac{1}{2}(a+\sqrt{a^2+b^2})}+i\sqrt{\frac{1}{2}(-a+\sqrt{a^2+b^2}}