How do I find the real part of a complex number with a square root inside?

AI Thread Summary
To find the real part of the complex number \(\sqrt{x+iy}\), the discussion highlights the approach of equating it to \(a + bi\) and squaring both sides, leading to the equations \(x = a^2 - b^2\) and \(iy = 2abi\). The user struggles with substitutions to eliminate \(b\) and simplify the equations, eventually substituting \(b = \frac{y}{2a}\) into the real part equation. This results in a quartic equation, which is then simplified to a quadratic form in terms of \(a^2\). The final expression for \(a\) is derived as \(a = \sqrt{\frac{x \pm \sqrt{x^2 + y^2}}{2}}\), confirming that the solution is valid and can be checked with specific examples.
sjmacewan
Messages
34
Reaction score
0
Hello there,
I've been given the task of find the real part for the following expression

\sqrt{x+iy}

And I'm a bit stuck. I figure that I'll just say that that equation is equal to some other imaginary number a+bi where 'a' is the real part and 'b' is the imaginary part, and try to solve for a. But after squaring both sides i get stuck immediately...

x+iy = a^2 + 2abi - b^2

And i don't know where to go. Perhaps I'm going the wrong way with this one, any help would be appreciated.

Edit: Ok, I've made some progress...

I know then that

x = a^2 - b^2
and
iy = 2abi

So i try to get rid of the b term in the real one, but the only substitution I can make results in a y term being introduced into the real part, which is just adding another imaginary number in there...
 
Last edited:
Physics news on Phys.org
only substitution I can make results in a y term being introduced into the real part
Aren't you trying to express a and b in terms of x and y?

which is just adding another imaginary number in there...
No it's not -- y is not imaginary.
 
ooh, after seeing iy i just labeled both as being imaginary, but i suppose that's not true...i'll keep working then!edit: i still seem to get stuck pretty quickly...

making the substitution b=\frac{y}{2a} and plugging that into x=a^2-b^2 gets me to:
x=a^2- \frac{y^2}{4a^2}
And again, i feel stuck. I've tried putting them over a common denominator, but that doesn't seem to lead anyplace useful...
 
Last edited:
sjmacewan said:
ooh, after seeing iy i just labeled both as being imaginary, but i suppose that's not true...i'll keep working then!


edit: i still seem to get stuck pretty quickly...

making the substitution b=\frac{y}{2a} and plugging that into x=a^2-b^2 gets me to:
x=a^2- \frac{y^2}{4a^2}
And again, i feel stuck. I've tried putting them over a common denominator, but that doesn't seem to lead anyplace useful...
Getting a common denominator is one way but the better way to handle equations with fractions is to multiply the entire equation by the "common" denominator- here just 4a2. If you do that you get the quartic equation 4a^2= 4a^4- y^2 or 4a^4- 4a^2- y^2= 0. That's actually a quadratic equation in a2.
 
Last edited by a moderator:
OK...tell me if this looks ok...it's really ugly and there's step or two which I'm not confident about:

0=a^2-\frac{y^2}{4a^2}-x
0=\frac{4a^4 - 4xa^2 - y^2}{4a^2}
0=4a^4 - 4xa^2 - y^2

a^2 = \frac{4x \pm \sqrt{16x^2 - (4*4*-y^2)}}{2*4}

a^2 = \frac{4x \pm \sqrt{16x^2 + 16y^2}}{8}

a^2 = \frac{4x \pm \sqrt{16(x^2+y^2)}}{8}

a^2 = \frac{4x \pm 4\sqrt{x^2 + y^2}}{8}

a^2 = \frac{x \pm \sqrt{x^2 + y^2}}{2}

a=\sqrt \frac{x \pm \sqrt{x^2 + y^2}}{2}}Can i leave it like that? (you may need to refresh the screen, I've fixed the tex)
 
Last edited:
Yes, that looks good- except of course that you should have a \pm on the outside and you don't really need the one inside the square root, only +. Taking the negative would make a imaginary and it must be real.

You can check by looking at some simple examples. Suppose x is positive, y= 0. What does that formula give? Suppose x is negative, y=0. Suppose x= 0, y= 1. (The square root of i is \frac{\sqrt{2}}{2}(1+ i) and -\frac{\sqrt{2}}{2}(1+ i).)
 
Last edited by a moderator:
alright, thanks for the pointers there, i can't say I've run across many solutions with a root inside a root, seemed a bit odd to me...thanks again!
 
Back
Top