# Homework Help: Find the constants for given IVP

1. Feb 7, 2015

### Feodalherren

1. The problem statement, all variables and given/known data

2. Relevant equations
DifEqs

3. The attempt at a solution

y ' = 4C1e-4xSinX - 4C2e-4xCosX

y'(0) = -1

-1 = 0 - 4C2

Therefore

C2 = 1/4

Not correct. What am I doing wrong?

2. Feb 7, 2015

### vela

Staff Emeritus
You didn't differentiate correctly. You have to use the product rule.

3. Feb 7, 2015

### Feodalherren

Sigh... obviously. Can't believe I just did that. Thanks!

4. Feb 7, 2015

### Svein

1. $y=c_{1}e^{-4x}cos(x)+c_{2}e^{-4x}sin(x)$
2. $y'=c_{1}(-4e^{-4x}cos(x)-e^{-4x}sin(x))+c_{2}(-4e^{-4x}sin(x)+e^{-4x}cos(x))$
Now insert for y(0) and y'(0) and solve.

5. Feb 7, 2015

### HallsofIvy

Personally, I would find it easier to write the solution as $y= e^{-4x}(C_1 cos(x)+ C_2 sin(x))$.

Then, by the product rule, $y'= -4e^{-4x}(C_1 cos(x)+ C_2 sin(x))+ e^{-4x}(-C_1 sin(x)+ C_2 cos(x))$.

6. Feb 7, 2015

### Feodalherren

Yeah I got it dudes. I was just being stupid and completely forgot the product rule.

Thanks