sin and cos in terms of complex numbers
We know how to get trig relations from complex numbers already. Recall that eθi=cosθ+isinθ. Then, we want to find sinθ and cosθ. How do we do this? Well, conjugates!
Let z=eθi. Then z=e−θi. Let's try adding these, as conjugates tend to make things cancel out. We have:
z+z=eθi+e−θi=cosθ+isinθ+cos(−θ)+isin(−θ)=cosθ+isinθ+cosθ−isinθ=2cosθ
Aha! We have it! We can divide both sides by 2 to get:
2eθi+e−θi=cosθ
Now, finding sinθ should be easy now. We need to cancel out the real terms now while keeping the imaginary parts. Think about what we should do, and press continue when you think you have it.
We subtract the conjugate of the complex number from the number instead of adding it. Then, we have:
z+z=eθi−e−θi=cosθ+isinθ−cos(−θ)−isin(−θ)=cosθ+isinθ−cosθ+isinθ=2isinθ
Then, we can divide both sides by 2i to get:
2ieθi−e−θi=sinθ
That's all there is for this explanation about expressing trig functions with complex numbers. Thank you for reading!