- #1
MarkFL
Gold Member
MHB
- 13,288
- 12
Here is the question:
I have posted a link there to this thread so the OP can view my work.
Solving this initial value problem?
So I'm trying to solve this:
y" + 4y = sin3t
y(0) =1
y'(0) = 17/5
I start by:
(D^2 + 4)(y) = sin3t
(D^2 + 9)(D^2 + 4)(y) = 0
y = C_1(cos3t) + C_2(sin3t) + C_3(cos2t) + C_4(sin2t)
Then I apply initial conditions:
1 = C_1 + C_3
17/5 = 3C_2 + 2C_4
After, I try to solve for a constant by plugging in the particular as y:
(D^2 + 9)(C_1(cos3t)) + C_2(sin3t)) = sin3t
-9C_1(cos3t) - 9C_2(sin3t) + 9C_1(cos3t) + 9C_2(sin3t) = sin3t
sin3t = 0
And that's where I'm stuck. The only thing I can think of is either that I made a mistake, or I can just assume C_1 = 0 because sin3t = 0 to make C_1(cos3t) + C_2(sin3t) = 0 be true. Any tips and help is appreciated!
If you must know, the answer is y = cos2t + 2sin2t - (1/5)(sin3t)
Also, if I can assume C_1 = 0, then I get C_3 = 1. But how do I solve for the other constants?
I have posted a link there to this thread so the OP can view my work.