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 and eix ?
Solution
In this question, we were asked to find the expression of sin x in terms of eix and eix . 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=0∑∞n!xn
So, ex=n=0∑∞n!(ix)n=n=0∑∞inn!xn
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
So, eix=n=0∑∞(−1)k(2k)!x2n+in=0∑∞(−1)k(2k+1)!x2k+1
We know that the McLaurin expansions of cos x and sin x, and thus we get
eix=cosx+isinx
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,
e−ix=cos(−x)+isin(−x)=cosx−isinx
⇒eix−e−ix=2isinx
Finally, we will get
⇒sinx=2ieix−e−ix
Therefore, on solving sin x in terms of eix and eix we get sinx=2ieix−e−ix
Note:
There is an alternative way, to solve this problem, let us see that as well.
We know that eix=cosx+isinx (from Euler’s formula)
Also, e−ix=cos(−x)+isin(−x)
Since, cos(-x) = cos x and sin(-x) = -sin x
Now, we have
eix=cosx+isinx
e−ix=cosx−isinx
On adding both of them we get,
⇒eix+e−ix=2cosx
Now, ⇒cosx=2eix−e−ix
On subtracting both of them we get,
eix−e−ix=2isinx
Then, sinx=2ieix−e−ix
Therefore, even with this alternative way, we get the same solution that is sinx=2ieix−e−ix