Solving Complex Quadratic Equations with Imaginary Coefficients

  • Thread starter Thread starter Wi_N
  • Start date Start date
  • Tags Tags
    Complex algebra
Wi_N
Messages
119
Reaction score
8
Thread moved from a technical forum, so homework template missing
ok having major problems. i can easily solve z^2 + pz +a+bi=0 solutions but that extra qiz is really annoying me.

z^2 + 3z+4iz-1+5i=0

(z+2i)^2+3z-5+5i=0
z+2i = w, z=w-2i

w=-3(w-2i)+5-5i

then I am not getting anything sensible for solving x and yi. what am i doing wrong?
 
Physics news on Phys.org
The real and imaginary parts need to be zero at the same time ... simultaneous equations.
If z is complex, then put z = a+ib.
 
Simon Bridge said:
The real and imaginary parts need to be zero at the same time ... simultaneous equations.
If z is complex, then put z = a+ib.

that doesn't give any answers.
 
Wi_N said:
ok having major problems. i can easily solve z^2 + pz +a+bi=0 solutions but that extra qiz is really annoying me.

z^2 + 3z+4iz-1+5i=0

(z+2i)^2+3z-5+5i=0
z+2i = w, z=w-2i

w=-3(w-2i)+5-5i

then I am not getting anything sensible for solving x and yi. what am i doing wrong?

Just use the quadratic formula on the equation ##z^2 + (3+4i) z +(5i-1) = 0.## This has the form ##z^2 + bz + c=0##, with ##b = 3+4i## and ##c = 5i-1##. The only real complication is that the discriminant ##b^2 - 4 a c## can be complex---it equals ##-3 + 4i## in your case---so you need to be able to take square roots of complex numbers.
 
  • Like
Likes   Reactions: FactChecker and Wi_N
nevermind. got it. thanks a lot.
 
Great! What did you end up doing?
 
  • Like
Likes   Reactions: Wi_N
Simon Bridge said:
Great! What did you end up doing?

basically took the root out of ((p/2)^2-q)^(1/2)

(p/2)^2-q = x+iy

(a+bi)(a+bi)=(x+iy)

a^2-b^2=x (if x is positive a^2>b^2 if not b^2>a^2)
2abi=iy = > 2b=y (if y is positive then a and b both must either be negative or positive, if y is negative then either x or y has to be negative or vice versa and the other positive)

this way you can figure out your roots which will always be 2 roots since its a z^2 equation.

then just add. z=(p/2)+-(x+iy)
 
Last edited:
Wi_N said:
basically took the root out of ((p/2)^2-q)^(1/2)

(p/2)^2-q = x+iy

(a+bi)(a+bi)=(x+iy)

a^2-b^2=x (if x is positive a^2>b^2 if not b^2>a^2)
2abi=iy = > 2b=y (if y is positive then a and b both must either be negative or positive, if y is negative then either x or y has to be negative or vice versa and the other positive)

this way you can figure out your roots which will always be 2 roots since its a z^2 equation.

then just add. z=(p/2)+-(x+iy)

Please write down the final solutions (to your numerical example) explicitly. We cannot tell if you have made an error if you will not show us what you got.
 
  • Like
Likes   Reactions: Wi_N
Ray Vickson said:
Please write down the final solutions (to your numerical example) explicitly. We cannot tell if you have made an error if you will not show us what you got.
no worries got the right answer. thanks.
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
3K
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
39
Views
6K
Replies
24
Views
4K
Replies
9
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
31
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K