# Math/Calculus

Please take a look at my work below and provide a good critique:

Solve the differential equation using the method of undetermined coefficients or variation of parameters.

y'' - 3y' + 2y = sin(x)

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

y"-3y'+2y=sin(x)
r^2-3r+2=0
(r-1)(r-2)=0
r1=1, r2=2
yp(x)=Acosx+Bsinx
yp'(x)=-Asinx+Bcosx
yp"(x)=-Acosx-Bsinx
(-Acosx-Bsinx)-3(-Asinx+Bcosx)+2(Acosx+Bsinx)=sinx
-Acosx-Bsinx+3Asinx-3Bcosx+2Acosx+2Bsinx
(A-3B)cosx+(B+3A)sinx=sinx
A-3B=0 and B+3A=1
A=3B, B+3B=1
A=3/4, B=1/4
yp(x)=(3/4)cosx+(1/4)sinx=(1/4)(3cosx+sinx)

This did not come out correctly. I am trying to solve for yp(x). Where have I made an error and how can I fix it? Thanks.

-Acosx-Bsinx+3Asinx-3Bcosx+2Acosx+2Bsinx=sinx
from that line, to the next,
(A-3B)cosx+(B+3A)sinx=sinx
I think you should have
(A-3B+2A)cosx+(B+3A)sinx=sinx

got it, thanks.

1. 👍
2. 👎
3. 👁

## Similar Questions

1. ### Differential Equations

solve the following differential equations dx/dt - 7x + y = 0 -->(1) dy/dt - 2x - 5y = 0 -->(2) (2)/(1) dy/dx = (2x+5y)/(7x-y) y=vx Etc. Is this a correct way to solve this one?

Selecting concrete words 22. we have found that young men are best for this work. 23. She makes good grades 24. John lost a fortune in Las Vegas. 25. if we don't receive the goods soon we will cancel. 26.some years ago she made

3. ### calculus

1.Solve the differential equation dy/dx= y^2/x^3 for y=f(x) with the condition y(1) = 1. 2.Solve the differential equation y prime equals the product of 2 times x and the square root of the quantity 1 minus y squared. Explain why

4. ### calculus

is y = x^3 a solution to the differential equation xy'-3y=0?? how do i go about solving this??? also, is there a trick to understanding differential equations? i'm really struggling with this idea, but i'm too embarassed to ask my

1. ### Calculus

Using separation of variables, solve the following differential equation with initial conditions dy/dx = e^(2x+3y) and y(0) = 1. Hint: use a property of exponentials to rewrite the differential equation so it can be separated

2. ### physics

a.)At rest, a car's horn sounds at a frequency of 410 Hz. The horn is sounded while the car is moving down the street. A bicyclist moving in the same direction with one-third the car's speed hears a frequency of 381 Hz. What is

3. ### secant line, tangent line

f(x) = sqrt(x-1), 1

4. ### Substitution Method

Use the Substitution method to solve the system of equations. x + y = -4 x - y = 2 x + y = -4 x - y = 2 In the second equation, x= y+2 Putting that in the first.. (y+2) + y= -4 subtract two from each side, then divide each side by

1. ### math

The sum of the reciprocals of two consecutive even integers is 11/60. Find the integers....... 1/n + 1/(n+2) = 11/60 what is the question? the question is, "What is the value of the integers? I will be happy to critique your work.

2. ### Calculus

How would you solve this differential equation? dy/dx=1/2x+y-1

3. ### math

Solve the following differential equation algebraically dy/dx = xy^2 + 4x y(0) = 0 I reached the point dy/(y^2+4) = xdx but I don't know how to solve the left side of the equation.