Diff Eq Undetermined Coefficients

Fernandez
Messages
2
Reaction score
0

Homework Statement


Find the solution for y"+2y'+5y=(e^x)sinx


Homework Equations





The Attempt at a Solution



So far I think I've gotten the solution from the characteristic equation, but I'm having trouble with the particular solution.

For the characteristic equation solution:
y"+2y'+5y=0
r^2+2r+5=0
Using the quadratic formula r= -1(+/-)2i
So y=(e^-x)((C1)cos(2x)+(C2)sin(2x)

For the particular solution I think I'm assuming correctly that y=A(e^x)sin(2x)+B(e^x)cos(2x), or am I not catching a term that can be combined with the complementary solution? Or am I just using the wrong equation all together?
 
Physics news on Phys.org
In this line: y=A(e^x)sin(2x)+B(e^x)cos(2x), you shouldn't have the 2's inside the trig arguments. Since the RHS of the problem statement has only a sin(x), your "guess" should only include trig functions with x as the argument. You are getting the 2's from the Homogeneous Solution, but in this problem, the H solution, does not affect your "guess" of the particular solution.
 
Thanks! I don't know how I overlooked that.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top