Converting Cos and Sin to Exponential in Differential Equations

  • Thread starter Thread starter jesuslovesu
  • Start date Start date
  • Tags Tags
    Exponential
Click For Summary
The discussion revolves around converting the trigonometric functions cosine and sine into their exponential forms for a differential equation. The original equation is y = Acos(kx) + Bsin(kx), which can be expressed as y = Aejkx + Be-jkx using Euler's formula. The user understands the conversion for the cosine term but struggles with the sine term, noting that the coefficients A and B differ in the two forms. A suggestion is made to assign different letters to the coefficients in the exponential form to clarify their relationship. This approach allows for the determination of the new coefficients through a system of linear equations.
jesuslovesu
Messages
185
Reaction score
0

Homework Statement



I am in the process of doing a physics problem with a differential equation that has the form:

y = Acos(kx) + Bsin(kx)

According to my notes, this can also be written as y =Aejkx + Be-jkx, unfortunately I just don't see how to write the original equation like that.

Homework Equations


The Attempt at a Solution



I know that cos(x) = 1/2[ ejx + e-jx ]
sin(x) = 1/(2j) [ ejx - e-jx ]

I can almost see how you would get it for the cos(kx) term:
Since Real { cos(kx) + j sin(kx) } = ejkx using Euler's identity.
But for sine, I am stumped.
 
Physics news on Phys.org
The A and B in the first equation are not the same as the A and B in the second equation. Give them all different letters. Then you can find the coefficients in the second equation in terms of the coefficients in the first (by means of a system of 2 linear equations).
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
1K
Replies
8
Views
1K
Replies
2
Views
2K
Replies
12
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K