- #1

rygza

- 38

- 0

**Undetermined Coefficients, just a piece i need help with please**

In one of the last steps in trying to find the Coefficients of Yp (particular solution), I am supposed to set coefficients of similar terms equal to each other. Here's where i need help:

i have

A(e^x) + (-2B-2C+2F+E)sinx + (2B+F-2C-2E)cosx + (B+2C) xsinx + (C-2B)xcosx = (e^x)+xcosx

I set: A=1, -2B-2C+2F+E = 0, 2B+F-2C-2E=0, B+2C=0, and C-2B=1

is this the correct method?

OR

am i supposed to join the sinx term and xsinx terms (second and fourth terms from my first equation) together like this:

(-2B-2C+2F+E+Bx+2Cx)sinx

?