Solving ode with complex numbers

cragar
Messages
2,546
Reaction score
3
I want to solve [itex]y''+y'+y=(sin(x))^2[/itex] and try to use
[itex]y=Ae^{ix}[/itex] but then when I square it I get [itex]A^2 e^{2ix}[/itex]
I found y' and y'' and solved for A and it didn't work I guess I could use the formula for reducing powers but I would like to try and get around that.
 
Physics news on Phys.org
hint
$$(D^3+4D)(\sin(x))^2=0$$
or
(sin(x))^2 is a solution of y'''+4y

chose the particular solution from those solutions
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K