Thursday 19 November 2015

computer algebra systems - Evaluating the real and imaginary parts of a nasty complex number



This seems like an elementary question, but I was unable to find an clear answer to it.



Generally, the real and imaginary parts of a complex number comprised of radicals are not expressible by radicals themselves (see for example Casus irreductibilis, which is a special case where the imaginary part is $0$).



However, a numerical approximation can be done to achieve arbitrary precision for the real and imaginary parts.





What's the general method for evaluating the real and imaginary parts of a complex number?




For an example, see here.



In the above example, an alternative form consisting of trigonometric functions is shown, which suggests that conversion to polar form is a way to go. Is this it?



Is this then also possible on even more complicated, non-algebraic, complex numbers, such as this one?


Answer



Ideally what you want to have at the end is a nice complex number of the form :

$$z = x+iy$$
Unfortunately as you have shown, complex numbers aren't always written this way... Being able to write them under an exponential form is a great way to evaluate them for a few reasons.



The first reason I see is that it is very easy to take their conjugate form, simply change the sign of the argument.
Another good reason is that $re^{i\theta} = r\cos(\theta) + ir\sin(\theta)$ making it easy to transform into a nice form.
They are very easy to multiply and divide with each another.



One problem though : you can't add them simply.



So when evaluating horrific complex numbers here are my advice:
- If you need to add or subtract complex numbers of the form $x + iy$, then just use the normal formula.
- If you have expression you want to add but aren't of the form $x+iy$, you should normally be able to write them as a polar form and then rewrite them as $x+iy$ using Euler's formula.
- If you want to divide, multiply or take a power of two complex numbers, always use exponential forms, it is the easiest way.



With all of this you should (slowly) be able to evaluate complex numbers written using elementary operations. As you can see, the exponential form is used very often except when adding or subtracting. In the end you should always be able to write it under the form $x+iy$ where the imaginary and real parts are explicit.



No comments:

Post a Comment

real analysis - How to find $lim_{hrightarrow 0}frac{sin(ha)}{h}$

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