Sunday, 31 May 2015

factoring - Unnecessary use of complex numbers when factorizing a sum of squares?

Let's assume we have a 2d vector x=(ab). The square of it's length is easily computed as
|x|2=a2+b2



Also note that always |x|20. So to compute |x| we can simply factorize by taking the square root



|x|2=a2+b2=a2+b2a2+b2



However sometimes I see people factorizing this sum of squares using complex numbers like



a2+b2=(a+ib)(aib)



But what is the point of introducing complex numbers here? The sum of squares is by definition a positive number. So taking the square root is always a valid operation. Isn't this a completely unnecessary use of complex numbers? Or am I overlooking something here? Is there some advantage in using the factorization with complex numbers?

No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...