You are on page 1of 1

Lets start by nding the homogeneous solution.

Lets assume that is has a solution of the form y = C exp(rx) if we plug that into our homogeneous solution we get: y 2y + y = r2 y 2ry + y = 0 factoring out a y gives us: r2 2r + 1 = 0 which has solutions r = 1, 1. We know that we have two linearly independent solutions, and that r = 1. The rst solution is easy y1 = C1 exp(x). Experience has taught us that when the root is repeated, we can create another solution by multiplying by x, giving y2 = C2 x exp(x). Now that we have the homogeneous solution, we can nd the particular solution through variation of parameters. To do that, rst we need to nd the Wronskian W which is given by: W = y1 y2 y2 y1 = C1 C2 [ex (ex + xex ) xex ex ] = C1 C2 e2x The particular solution is then given by: yp = y1 y2 g(x) dx + y2 W y1 g(x) dx W

where g(x) is the non-particular part. Plugging in our solutions gives: yp = C1 ex = ex C2 xex (xex ) dx + C2 xex 2x C1 C2 e C1 ex (xex ) dx C1 C2 e2x

x2 dx + xex

1 1 1 x dx = x3 ex + x3 ex = x3 ex 3 2 6

Which gives a solution of 1 y = C1 ex + C2 xex + x3 ex 6

You might also like