# Homework Help: General Solution to Non-homologous ODEs

1. Feb 27, 2013

### zabumafu

1. The problem statement, all variables and given/known data
Find the general solution of the given differential equation:

y''+y'+4y=2sinht

2. Relevant equations

I believe sinht=(e^t-e^-t)/2

3. The attempt at a solution

I tried to find the general equation if it were homogenous however I get the roots are
r=[1+- (-15)^.5]/2 and get stuck. If anyone can help me figure out the rest of the problem I should be able to teach myself how to do the rest of them. I know the answer is:

y1=C1*e^(-t/2)cos(root(15t/2))+C2*e^(-t/2)sin(root(15t/2))+1/6e^t-1/4e^-t

2. Feb 27, 2013

### MathematicalPhysicist

You see how the final answer looks like and still you don't know how to answer this?

In the final answer the first two terms are the solution of the homogenous DE, and the rest two terms are the private solution, i.e you guess: y_p = Ae^t+Be^-t and then plug it to the DE, and equate the coeffiecients on both sides of the equation, such that the coeff of e^t on one side is the same on the other side, the same with e^-t, this is how you find A and B.