View Full Version : Complex numbers
dionys
10-13-2004, 06:07 PM
Hi guys .
Can anyone help me to solvethis equation algebraically plz
note : z=x+yj or in cartesian coordinates z=|z|(cosθ+jsinθ)
|z+2|=|z-1| :wink:
NomadRock
10-13-2004, 10:42 PM
|z+2| = z-1 or -z+1
so
z+2 = z-1 ==> 2 = -1 (clearly not the right solution)
or
-z-2 = z-1 ==> -2z = 1 ==> z = -1/2
or
z+2 =-z+1 ==> 2z = -1 ==> z = -1/2
or
-z-2 = -z+1 ==> -2 = 1 (also clearly not a solution)
Therefore the solution is z = -1/2
NeZbiE
10-13-2004, 10:52 PM
NomadRock>> He's talking about complex numbers =)
By using |z| you mean the complex norm, right? I'm used to different notation ;)
NeZbiE
10-13-2004, 10:58 PM
Alright, assuming you are talking about complex norms, here goes:
Let z = a+b*i
then |z-1| = root((a-1)^2 +b^2)
and |z+2| = root((a+2)^2 + b^2)
That is, we need to find solutions to (a-1)^2 = (a+2)^2 to be able to find valid complex numbers fitting the |z-1| = |z+2| property.
So we have:
(a-1)^2 = (a+2)^2
a^2 - 2*a +1 = a^2 + 4a +4
a = -1/2
Therefore, complex numbers fitting the solution should be all numbers in the form:
-1/2 + b*i, where b is a real number.
Hope this helps =)
dionys
10-14-2004, 12:41 AM
yes
z=x+jy
thanks a lot :)
NomadRock
10-14-2004, 09:48 AM
Oh hell, I completely missed that. That's what I get for posting after many hours of coding.
Per Vognsen
10-17-2004, 07:26 PM
Slightly different approach that easily generalizes to the complex vector case:
We want to solve for z such that
|z-1| = |z+2|
Square both sides:
|z-1|^2 = |z+2|^2
Rewrite using conjugates:
(z-1)(conj(z)-1) = (z+2)(conj(z)+2)
z conj(z) - conj(z) - z + 1 = z conj(z) + 2 conj(z) + 2 z + 4
The z conj(z) terms cancel each other, leaving us with
-3(conj(z) + z) = 3
conj(z) - z = -1
Note that conj(z) - z = 2 Re(z) so we want 2 Re(z) = -1. Thus Re(z) = -1/2. There are no restrictions on Im(z) so the general solution is z = -1/2 + r i for any real number r.
Mario
11-05-2004, 02:15 PM
Heh... this was simple for complex numbers. Have we any volunteer for solving this equation in quaternion algebra? Did I say quaternion? Octionian algebra would be good enough.
NeZbiE
11-05-2004, 03:30 PM
Ha, I eat quaternions for breakfast.
SigKILL
01-22-2005, 05:17 AM
Slightly different approach that easily generalizes to the complex vector case:
We want to solve for z such that
|z-1| = |z+2|
Square both sides:
|z-1|^2 = |z+2|^2
Rewrite using conjugates:
(z-1)(conj(z)-1) = (z+2)(conj(z)+2)
z conj(z) - conj(z) - z + 1 = z conj(z) + 2 conj(z) + 2 z + 4
The z conj(z) terms cancel each other, leaving us with
-3(conj(z) + z) = 3
conj(z) - z = -1
Note that conj(z) - z = 2 Re(z) so we want 2 Re(z) = -1. Thus Re(z) = -1/2. There are no restrictions on Im(z) so the general solution is z = -1/2 + r i for any real number r.
12945
You're just almost right, -3(conj(z)+z) = 3 => conj(z)+z = -1. But you get the right answer because you state that conj(z)-z = 2 Re(z) which is incorrect (conj(z)-z = -2 Im(z)).
-Si
vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.