Posted by **COFFEE** on Thursday, July 12, 2007 at 10:53pm.

Please check my work and correct any errors/point out any errors. Thanks.

Solve the initial-value problem using the method of undetermined coefficients.

y''-4y=e^xcos(x), y(0)=1, y'(0)=2

r^2-4=0, r1=2, r2=-2

yc(x)=c1*e^2x+c2*e^-2x

yp(x)=e^x[Acos(x)+Bsin(x)]

y'p(x)=e^x[-Asin(x)+Bcos(x)]

y"p(x)=e^x[-Acos(x)-Bsin(x)]

e^x[-Acos(x)-Bsin(x)]-4e^x[Acos(x)+Bsin(x)]

A=-1/5,B=1/10

yp(x)=e^x[(-1/5)cos(x)+(1/10)sin(x)]

y(x)=c1*e^2x+c2*e^-2x+e^x[(-1/5)cos(x)+(1/10)sin(x)]

y(0)=c1+c2-1/5=1

c1=6/5-c2

y'(x)=2c1*e^2x-2c2*e^-2x+e^x[(1/5)cos(x)+(1/10)cos(x)]

y'(0)=12/5-2c2-2c2+1/10=2

c2=1/10, c1=11/10

y(x)=(11/10)e^2x+(1/10)e^-2x+e^x[(-1/5)cos(x)+(1/10)sin(x)]

Can someone please answer this question? I have yet to get any help with it.

The line just above A= -1/5, B=1/10

Shouldn't that equal e^xcosx? I dont follow your work.

I'm missing some terms in y'p and y''p (Leibnitz rule, you also have to differentiate the exponential...).

Anyway, to solve problems with less chance of making mistakes, you must cut down on the number of steps you use. In this case you can write:

e^x cos(x) =

1/2 [e^(x(1+i)) + e^(x(1-i))]

Using the superposition principle yo can solve the equations:

y'' - 4 y = 1/2 e^(x(1+i))

and

y'' - 4 y = 1/2 e^(x(1-i))

separately and add them up.

So, all you have to do is solve the equation:

y'' - 4 y = 1/2 e^(a x) ---->

yp = 1/2 e^(ax)/[a^2 - 4]

insert a = 1 + i and a = 1 - i and add the two terms up.

Then you add the homogeneous solution: yh = A e(2x) + B^e^(-2x)

ok thanks!

## Answer this Question

## Related Questions

- Trig/Precalc - Find the greatest possible value of 5cos(x)+6sin(x). I know that ...
- Dyanamics - A particle of mass m moves in a x-y plane. the co-ordinates of the ...
- physics - a particle of mass m moves in a x-y plane. The coordinates of the ...
- Physics - A particle of mass m moves in a x-y plane. the coordinates of the ...
- math - The depth of water(d metres) in a harbour is given by the formula d = a+...
- Math/Calculus - A series circuit contains a resistor with R = 24 ohms, an ...
- Physics - A weight with mass m lies on a surface with no friction. The weight is...
- Trigonometry - Given that cos(3x)=acos^3(x)−bcos(x) is a trigonometric ...
- Trigonometry - Prove that sin(n+1)Asin(n+2)A + cos(n+1)Acos(n+2)A = cosA
- Trigonometry - Prove that sin(n+1)Asin(n-1)A + cos(n+1)Acos(n-1)A = cos2A

More Related Questions