Undetermined Coefficients Problem

Lancelot59
Messages
640
Reaction score
1
I'm given:
y''-y'+\frac{y}{4}=3+e^{\frac{x}{2}}
and asked to solve it using undetermined coefficients. Using the auxilary equation
y=e^{\lambda t}
I got y_{1}=e^{\frac{x}{2}}, y_{1}=xe^{\frac{x}{2}}

Now to solve the particular solution, I chose to guess:

y_{p}=axe^{\frac{x}{2}}+b and y_{p}=cx+d

From what I understand in this case, you're supposed to guess a polynomial of one order higher than what you have. However I basically get a giant mess:

y=axe^{\frac{x}{2}}+b+cx+d
y'=ae^{\frac{x}{2}}+a\frac{x}{2}e^{\frac{x}{2}}+c
y''=a\frac{x}{4}e^{\frac{x}{2}}+ae^{\frac{x}{2}}
Gives:
a\frac{x}{4}e^{\frac{x}{2}}+ae^{\frac{x}{2}}-ae^{\frac{x}{2}}+a\frac{x}{2}e^{\frac{x}{2}}+c+ \frac{1}{4}(axe^{\frac{x}{2}}+b+cx+d)=3+e^{x}{2}

I can't compare coefficients for all of the terms. Some of the exponentials are multiplied by x, which doesn't appear on the other side. What am I supposed to do?
 
Physics news on Phys.org
Try:

y_p = A + Bx^2e^{\frac x 2}

You don't need lower powers of x times the exponential because they are solutions of the homogeneous equation.
 
LCKurtz said:
Try:

y_p = A + Bx^2e^{\frac x 2}

You don't need lower powers of x times the exponential because they are solutions of the homogeneous equation.

So you need higher powers? That's the only place I can see the x2 coming from.
 
Hopefully your text discusses this. To really understand it you need to look at the "Annihilator Method". See:

http://faculty.swosu.edu/michael.dougherty/DiffEqI/lecture10.pdf

If you don't want to wade through all the theory, skip down to about page 5 for some examples.
 
That's actually not being covered...I'll make a note to look into it once the semester is over and I have some spare time.
 
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...
Back
Top