Calculating cos(2-i): Solving Complex Trig Formulas

In summary, the conversation discusses finding the cos and sine of a complex number in the form x+iy. The formula for cos(x) is correct and the user is struggling with understanding complex numbers and splitting the exponential terms into real and imaginary parts. Galileo explains the definition of the exponent of a complex number and how to use Euler's formula to find the real and imaginary parts. The conversation ends with a question about whether Euler's formula is in radians or degrees, with the answer being radians.
  • #1
square_imp
21
0
I need to work out both cos and sine of (2-i). The answer needs to be in the form x+iy where both x and y are real.

So far I have got:

cos (x) = ( e^ix + e^-ix ) / 2 as a general formula which when I substitute in gives:

0.5e^(2i+1) + 0.5e^(-2i-1)

How do I get this into the correct form? and have I used the correct formula?

Thanks, any help is welcome.
 
Physics news on Phys.org
  • #2
Write down the real and imaginary parts of [itex]\exp(2i+1)[/itex] and [itex]\exp(-2i-1)[/itex] and collect terms.

Yes, the formula for cos(x) is correct.
 
  • #3
Thanks for the help, I think my problem is my understanding of complex numbers. How do you split the exp terms into real and imaginary parts? Can you help me with that?
 
  • #4
Do you know the definition of the exponent of a complex number? [itex]\exp(z)=\exp(x+iy)[/itex]

That would be the most basic thing to start with right? How come you are working with expressions like [itex]\exp(1+2i)[/itex] when you don't even know what it means? (And ofcourse, if you don't know, you should find out).

The complex exponential obeys the familiar rule: [itex]\exp(z_1+z_2)=\exp(z_1)\exp(z_2)[/itex], so [itex]\exp(x+iy)=\exp(x)\exp(iy)[/itex]. From Euler's formula: [itex]\exp(iy)=\cos y+i\sin y[/itex] so:


[tex]e^{x+iy}=e^x(\cos y+i\sin y)[/tex]
 
Last edited:
  • #5
Thanks for all the help Galileo, I have had another look over complex numbers and I understand it all better now. My only remaining question is whether Euler's formula for exp(iy)=cosy + isiny is for y in radians or is in degree's? I think it is degrees, but I am not sure.

Thanks again
 
  • #6
square_imp said:
Thanks for all the help Galileo, I have had another look over complex numbers and I understand it all better now. My only remaining question is whether Euler's formula for exp(iy)=cosy + isiny is for y in radians or is in degree's? I think it is degrees, but I am not sure.
It's in radians. One way to look at it is:
[tex]e^x=\sum_{n=0}^{\infty} \frac{x^n}{n!}[/tex]
[tex]\sin(x)=\sum_{n=0}^{\infty} (-1)^n \frac{x^{2n+1}}{(2n+1)!}[/tex]
[tex]\cos(x)=\sum_{i=0}^{\infty} (-1)^n \frac{x^{2n}}{(2n)!}[/tex]
 

FAQ: Calculating cos(2-i): Solving Complex Trig Formulas

How do you calculate cos(2-i)?

To calculate cos(2-i), we can use the formula cos(z) = (e^(iz) + e^(-iz))/2, where z is a complex number. In this case, z = 2-i. So, cos(2-i) = (e^(i(2-i)) + e^(-i(2-i)))/2. We can simplify this using Euler's formula, e^(ix) = cos(x) + i*sin(x), to get cos(2-i) = (cos(2)*cosh(1) - i*sin(2)*sinh(1))/2.

Can I use a calculator to solve complex trig formulas?

Yes, most scientific calculators have a "complex" mode which allows you to perform calculations with complex numbers. You can use this mode to calculate cos(2-i) by entering 2-1i (or 2-i) as the argument and pressing the "cos" button.

What is the difference between cos(2-i) and cos(2) + i*sin(2)?

Both cos(2-i) and cos(2) + i*sin(2) are complex numbers. However, cos(2-i) is a single number with a real and imaginary part, while cos(2) + i*sin(2) is the sum of two separate complex numbers. Mathematically, these two expressions are equivalent, but they represent different ways of expressing a complex number.

How do I convert cos(2-i) to polar form?

To convert a complex number in rectangular form (a+bi) to polar form (r(cos(theta) + i*sin(theta))), we can use the formulas r = sqrt(a^2 + b^2) and theta = arctan(b/a). In the case of cos(2-i), we can use the values we calculated earlier (cos(2) = cosh(1) and sin(2) = sinh(1)) to find r and theta.

Can I use the complex conjugate to simplify cos(2-i)?

Yes, we can use the complex conjugate to simplify cos(2-i). The complex conjugate of a complex number a+bi is a-bi. So, the complex conjugate of cos(2-i) is cos(2+i). Multiplying a complex number by its conjugate results in a real number. Therefore, cos(2-i) * cos(2+i) = (e^(i(2-i)) + e^(-i(2-i)))(e^(i(2+i)) + e^(-i(2+i)))/4 = (e^(2i) + 1)(e^(-2i) + 1)/4 = (2cos(2) + 2)/4 = (cos(2) + 1)/2, which is a real number.

Back
Top