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

  • Context: Graduate 
  • Thread starter Thread starter song90
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary

Discussion Overview

The discussion revolves around solving the second-order ordinary differential equation (ODE) given by 2d²y/dx² + 4 dy/dx + 7y = e^(-x) cos(x). Participants are focused on finding the particular solution (yp) after determining the complementary solution (yc), exploring methods for the undetermined coefficients approach.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • Some participants express difficulty in determining the appropriate form for the particular integral (yp), suggesting forms like yp = e^(-x)(Acos(x) + Bsin(x)).
  • One participant mentions confusion about whether to include a constant in the yp equation, leading to discussions about combining constants.
  • Another participant points out that if the terms e^(-x) or cos(x) were part of the complementary solution, a modified form of yp would be necessary, specifically involving multiplication by x.
  • There are mentions of specific values for A and B, with one participant stating that A = 1/3 and B = 0, while others inquire about the steps taken to arrive at these values.
  • Participants share their attempts and errors, including a miscalculation involving an extra factor of x in the yp equation.
  • Clarifications are made regarding the relationship between the complementary and particular solutions, with some participants attempting to reconcile their understanding with the lecturer's instructions.

Areas of Agreement / Disagreement

There is no consensus on the correct approach to finding the particular solution, with multiple viewpoints and methods being discussed. Participants express varying levels of understanding and confusion regarding the application of the undetermined coefficients method.

Contextual Notes

Some participants reference specific values for A and B without detailing the derivation process, leading to potential gaps in understanding. There is also mention of a misunderstanding regarding the relationship between yc and yp, which remains unresolved.

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.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
945
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K