Solution for 2nd ODE Question 2d2ydx2 + 4 dydx+ 7y = e^−x cos x

  • Thread starter Thread starter song90
  • Start date Start date
  • Tags Tags
    Ode
song90
Messages
6
Reaction score
0
2d2ydx2 + 4 dydx+ 7y = e^−x cos x

i solved the equation for yc. but couldn't solve for yp as i dint know what kind of undetermined method to put for yp, particular integral.
 
Physics news on Phys.org
song90 said:
2d2ydx2 + 4 dydx+ 7y = e^−x cos x

i solved the equation for yc. but couldn't solve for yp as i dint know what kind of undetermined method to put for yp, particular integral.
Your equation would be more readable as
2y'' + 4y' + 7y = e-xcos x

For your particular solution, try yp = e-x(Acos x + Bsin x).
 
Try e^-x (A*cos x + B*sin x)
 
Mark44 said:
Your equation would be more readable as
2y'' + 4y' + 7y = e-xcos x

For your particular solution, try yp = e-x(Acos x + Bsin x).


do e-x there put a constant?
let say p=Ce-x(Acos x + Bsin x)
 
hi song90! :smile:

you can absorb the C into the other two constants

ie Ce-x(Acos x + Bsin x) = e-x(ACcos x + BCsin x),

so just rename AC A and BC B :wink:
 
sorry, i am new to this forum...
yp = Ce-x(Acos x + Bsin x). insert a constant at e-x since it is one of the members of undetermined coefficient?

2y'' + 4y' + 7y = e-xcos x <this is the original question and the answer for yp is 1/3(e-xcos x). Still i could not manage to get the ans for yp. Looking for help..
 
thanks for immediate reply. i was trying to solve the equations but i still couldn't get the answer for yp which is 1/3(e-xcos x). Wondering where the mistakes i had made
 
song90 said:
sorry, i am new to this forum...
yp = Ce-x(Acos x + Bsin x). insert a constant at e-x since it is one of the members of undetermined coefficient?

i'm not following you :confused:

(and anyway, it makes no difference, as i said before)
2y'' + 4y' + 7y = e-xcos x <this is the original question and the answer for yp is 1/3(e-xcos x). Still i could not manage to get the ans for yp. Looking for help..

that's A = 1/3, B = 0, why couldn't you get it?

show us what you've tried :smile:
 
okay looked back on my workings i found that i had timed a "x" in the yp equation,
yp=(e-x(ACcos x + BCsin x))x. i was thinking yp had common with yc as
yc=e-x(Asin√(5/2)+Bcos√(5/2))
 
  • #10
sorry, I've no idea what you're doing :confused:

put y = e-x(Acos x + Bsin x)

into 2y'' + 4y' + 7y = e-xcos x

to find A and B
 
  • #11
i was told by lecturer (maybe i misunderstanding what she said). If yp has the common with yc, yp=(equation)x. something like this... I have no idea about this lor.

anyways thanks a lot for your help.
 
  • #12
song90 said:
i was told by lecturer (maybe i misunderstanding what she said). If yp has the common with yc, yp=(equation)x. something like this...

i think she meant that if e-x or cosx was a solution for yc (in this case, it isn't),

then you would need to use xe-x(Acosx + Bsinx) instead of just e-x(Acosx + Bsinx) :smile:
 
  • #13
tiny-tim said:
i think she meant that if e-x or cosx was a solution for yc (in this case, it isn't),

then you would need to use xe-x(Acosx + Bsinx) instead of just e-x(Acosx + Bsinx) :smile:
Yes, I think the OP was trying to say this.
 
Back
Top