Solveeit Logo

Question

Question: How do you find an expression sin(x) in terms of \({{e}^{ix}}\) and \({{e}^{ix}}\) ?...

How do you find an expression sin(x) in terms of eix{{e}^{ix}} and eix{{e}^{ix}} ?

Explanation

Solution

In this question, we were asked to find the expression of sin x in terms of eix{{e}^{ix}} and eix{{e}^{ix}} . So, here we will use the McLaurin formula from the series of the exponential function. We will also use the basic properties of trigonometry. So let us see how we can solve this problem.

Complete step by step solution:
For solving the above question, we will use the McLaurin formula which is ex=n=0xnn!{{e}^{x}}=\sum\limits_{n=0}^{\infty }{\dfrac{x{}^{n}}{n!}}
So, ex=n=0(ix)nn!=n=0inxnn!{{e}^{x}}=\sum\limits_{n=0}^{\infty }{\dfrac{(ix){}^{n}}{n!}}=\sum\limits_{n=0}^{\infty }{i{}^{n}\dfrac{x{}^{n}}{n!}}
Let us suppose that n = 2k in the first case and n = 2k + 1 in the second case, so that we can separate the odd and even terms for n
Now see,
i2k=(i2)k=(1)k{{i}^{2k}}={{({{i}^{2}})}^{k}}={{(-1)}^{k}}
So, eix=n=0(1)kx2n(2k)!+in=0(1)kx2k+1(2k+1)!{{e}^{ix}}=\sum\limits_{n=0}^{\infty }{{{(-1)}^{k}}\dfrac{x{}^{2n}}{(2k)!}+}i\sum\limits_{n=0}^{\infty }{{{(-1)}^{k}}\dfrac{x{}^{2k+1}}{(2k+1)!}}
We know that the McLaurin expansions of cos x and sin x, and thus we get
eix=cosx+isinx{{e}^{ix}}=\cos x+i\sin x
Which is Euler’s formula
Now, let us suppose that cos x is an even function and sin x is an odd function then we will get,
eix=cos(x)+isin(x)=cosxisinx{{e}^{-ix}}=\cos (-x)+i\sin (-x)=\cos x-i\sin x
eixeix=2isinx\Rightarrow {{e}^{ix}}-{{e}^{-ix}}=2i\sin x
Finally, we will get
sinx=eixeix2i\Rightarrow \sin x=\dfrac{{{e}^{ix}}-{{e}^{-ix}}}{2i}

Therefore, on solving sin x in terms of eix{{e}^{ix}} and eix{{e}^{ix}} we get sinx=eixeix2i\sin x=\dfrac{{{e}^{ix}}-{{e}^{-ix}}}{2i}

Note:
There is an alternative way, to solve this problem, let us see that as well.
We know that eix=cosx+isinx{{e}^{ix}}=\cos x+i\sin x (from Euler’s formula)
Also, eix=cos(x)+isin(x){{e}^{-ix}}=\cos (-x)+i\sin (-x)
Since, cos(-x) = cos x and sin(-x) = -sin x
Now, we have
eix=cosx+isinx{{e}^{ix}}=\cos x+i\sin x
eix=cosxisinx{{e}^{-ix}}=\cos x-i\sin x
On adding both of them we get,
eix+eix=2cosx\Rightarrow {{e}^{ix}}+{{e}^{-ix}}=2\cos x
Now, cosx=eixeix2\Rightarrow \cos x=\dfrac{{{e}^{ix}}-{{e}^{-ix}}}{2}
On subtracting both of them we get,
eixeix=2isinx{{e}^{ix}}-{{e}^{-ix}}=2i\sin x
Then, sinx=eixeix2i\sin x=\dfrac{{{e}^{ix}}-{{e}^{-ix}}}{2i}
Therefore, even with this alternative way, we get the same solution that is sinx=eixeix2i\sin x=\dfrac{{{e}^{ix}}-{{e}^{-ix}}}{2i}