Math/Calculus

posted by .

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

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))

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!

Similar Questions

1. Math/Calculus

A series circuit contains a resistor with R = 24 ohms, an inductor with L = 2 H, a capacitor with C = 0.005 F, and a generator producing a voltage of E(t) = 12 sin(10t). The initial charge is Q = 0.001 C and the initial current is …
2. Trigonometry

Prove that sin(n+1)Asin(n-1)A + cos(n+1)Acos(n-1)A = cos2A
3. Trigonometry

Prove that sin(n+1)Asin(n+2)A + cos(n+1)Acos(n+2)A = cosA
4. Trigonometry

Given that cos(3x)=acos^3(x)−bcos(x) is a trigonometric identity, what is the value of a+b
5. physics

a particle of mass m moves in a x-y plane. The coordinates of the particle at any instant are given by x = acos(wt) and y = bsin(wt). where a,b,w, are constant. Determine the angular momentum of the particle with respect to the origin …
6. Physics

A particle of mass m moves in a x-y plane. the coordinates of the particle at any instant are given by x=acos(wt) y = bsin(wt). where a,b,w, are constants. determine angular momentum ofthe particle with respect to the origin of the …
7. Dyanamics

A particle of mass m moves in a x-y plane. the co-ordinates of the particle at any instant are given by x=acos(wt) & y=bsin(wt) where a,b,w are constsnt.Determine the angular momentum of the particle with .r.to the origin of the co-ordinate …
8. math

The depth of water(d metres) in a harbour is given by the formula d = a+bsin(ct) where a, b and c are constants, and t is the time in hours after midnight. It is known that both b and c are non-zero and 20<c<35. If t=midnight, …
9. Trig/Precalc

Find the greatest possible value of 5cos(x)+6sin(x). I know that it would be a good idea to look for identities that are in the form of acos(x)+bsin(x), but I can't seem to find any. Other than that I don't really know where to go …
10. Calculus

Compute, in terms of A, B, h, and k, the area enclosed by the curve defined by parametric equations. x(θ)=Acosθ+h and y(θ)=Bsinθ+k. 0≤θ≤2π.?

More Similar Questions