Relationship between e, sin and cos: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Converting from e to sin/cos==
==Converting from e to sin/cos==
It is often useful when doing signal processing to understand the relationship between e, sin and cos. Sometimes difficult calculations involving even or odd functions of <math>e</math> can be greatly simplified by using the relationship to simplify things. The relationship is as follows:
It is often useful when doing signal processing to understand the relationship between e, sin and cos. Sometimes difficult calculations involving even or odd functions of <math>e</math> can be greatly simplified by using the relationship to simplify things. The relationship is as follows:
<br>
<math>e^{j \theta} = cos( \theta ) + j*sin( \theta ). </math>
<math>e^{j \theta} = cos( \theta ) + j*sin( \theta ). </math>


Line 9: Line 10:


<math>sin( \theta ) = \frac{e^{j \theta}-e^{-j \theta}}{2j}</math>
<math>sin( \theta ) = \frac{e^{j \theta}-e^{-j \theta}}{2j}</math>

We can test to see that this works as follows:

{|
|-
|<math>{e^{j \theta }}</math>
|<math> = cos( \theta ) + j*sin( \theta )</math>
|-
|
|<math> = \frac{e^{j \theta}+e^{-j \theta}}{2} + j*\frac{e^{j \theta}-e^{-j \theta}}{2j}</math>
|-
|
|<math> = \frac{e^{j \theta}+e^{-j \theta}}{2} + \frac{e^{j \theta}-e^{-j \theta}}{2} </math>
|-
|
|<math> = \frac{(e^{j \theta}+e^{-j \theta}) + (e^{j \theta}-e^{-j \theta})}{2} </math>
|-
|
|<math> = \frac{2*e^{j \theta}}{2} </math>
|-
|<math> e^{j \theta }</math>
|<math> = e^{j \theta }</math>
|-
|}

Revision as of 03:00, 13 February 2008

Converting from e to sin/cos

It is often useful when doing signal processing to understand the relationship between e, sin and cos. Sometimes difficult calculations involving even or odd functions of can be greatly simplified by using the relationship to simplify things. The relationship is as follows:

Converting from sin/cos to e

The reverse conversion is also often helpful:

We can test to see that this works as follows: