Differential equations - variation of parameters

accountkiller
Messages
118
Reaction score
0

Homework Statement


Find a particular solution using variation of parameters.
y'' + 3y' + 2y = 4e^x

Homework Equations


yp = -y1 * INT (y2f(x)/W[y1,y2]) dx + y2 * INT (y1f(x)/W[y1,y2]) dx

The Attempt at a Solution


So, first I find the homogeneous solution, correct?
r2 + 3r + 2 = 0, so the roots are - 1 and -2, so
yh = c1 * e-x + c2 * e-2x
Then, I use the variation of parameters formula:
yp1 = -y1 * INT (y2f(x)/W[y1,y2]) dx
= 2/3ex

yp1 = y2 * INT (y1f(x)/W[y1,y2]) dx
= -4ex

Adding them together, yp = yp1 + yp2 = -10/3ex.

However, the answer is just 2/3ex, what I got for yp1.
 
Physics news on Phys.org
hi mbradar2! :smile:

i think you added instead of subtracting in your determinant for W :wink:
 
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