## anonymous 5 years ago For nonhomogenous linear DE, y''+9y=sin(3x), using method of undetermined coefficients, I get 0 = sin(3x) when plugging in my trial particular solution (Asin3x +Bcos3x). Am I doing this wrong? If not, what do i do next?

1. anonymous

never mind, i realized my problem

2. anonymous

So you multiplied your trial solution by x and went through the motions? Did you get a particular solution of $y=-\frac{1}{6}x \cos 3 x$?

3. anonymous

yes, that's what i got. thanks!