Undetermined Coefficients, just a piece i with

rygza
Messages
37
Reaction score
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
?
 
Physics news on Phys.org


rygza said:
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?
Yes, this is correct. The equation above has to be identically true for all x. The only way this can happen is for the coefficients of the e^x terms on each side to be equal, the coefficients of the sinx terms have to be equal, and so on.

The method below is not correct.
rygza said:
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
?
 


Mark44 said:
Yes, this is correct. The equation above has to be identically true for all x. The only way this can happen is for the coefficients of the e^x terms on each side to be equal, the coefficients of the sinx terms have to be equal, and so on.

The method below is not correct.

thanks!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top