Equation involved complex number

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
alijan kk
Messages
130
Reaction score
5

Homework Statement


Value of x and y , when (x+yi)2= 5+4i

Homework Equations

The Attempt at a Solution


x2+2x(iy)-y2=5+4i
x2-y2=5 -------> (1)
2x(iy)=4i (imaginary part)
xy=2 --------> (2)

solving the two equations

x=2.388 and y=0.838
or x=-2.388 or y=-0.838

is this the right way to solve it ?
its a multiple choice question and the options are:
x=2,y=-1
x=-2,y=1
x=2,y=-i
x=2,y=2
 
Physics news on Phys.org
alijan kk said:

Homework Statement


Value of x and y , when (x+yi)2= 5+4i

Homework Equations

The Attempt at a Solution


x2+2x(iy)-y2=5+4i
x2-y2=5 -------> (1)
2x(iy)=4i (imaginary part)
xy=2 --------> (2)

solving the two equations

x=2.388 and y=0.838
or x=-2.388 or y=-0.838

is this the right way to solve it ?
its a multiple choice question and the options are:
x=2,y=-1
x=-2,y=1
x=2,y=-i
x=2,y=2

Another (easier) way to get a numerical solution is to use a polar representation of complex numbers. If ##x+iy = r e^{i \theta}## then ##(x + iy)^2 = r^2 e^{2 i \theta} = 5 + 4i##. We have ##r^2 =\sqrt{ 5^2 + 4^2} = \sqrt{41},## so ##r = \sqrt{\sqrt{41}}##. Also, ##\tan (2 \theta) = 4/5,## so ##\theta = (1/2) \arctan(4/5).## You can evaluate ##\theta, \sin(\theta)## abd ##\cos(\theta)## on a calculator, and so get ##x = r \cos(\theta), y = r \sin(\theta)##.
 
  • Like
Likes   Reactions: alijan kk