How to Solve a Second Order Nonhomogeneous Differential Equation?

Click For Summary

Homework Help Overview

The discussion revolves around finding a particular solution to a second order nonhomogeneous differential equation of the form y"-5y'+6y=-e^(x)[(4+6x-x^2)cosx-(2-4x+3x^2)sinx]. Participants are exploring the appropriate form for the particular solution and the reasoning behind their choices.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the initial guess for the particular solution, with one suggesting a form based on the structure of the forcing function. Questions arise regarding the rationale behind the choice of coefficients and the expected form of the solution, particularly in relation to the different factors multiplying sine and cosine terms.

Discussion Status

The conversation is ongoing, with participants questioning the validity of the initial guess and discussing the characteristics of the forcing function. There is an acknowledgment of differing interpretations of the problem setup, and some guidance is offered regarding the nature of the forcing function.

Contextual Notes

Participants note the absence of specific homework equations and the complexity of the forcing function, which influences the choice of the particular solution. There is also a mention of verifying whether a proposed answer actually satisfies the differential equation.

Math10
Messages
301
Reaction score
0

Homework Statement


Find a particular solution of y"-5y'+6y=-e^(x)[(4+6x-x^2)cosx-(2-4x+3x^2)sinx].

Homework Equations


None.

The Attempt at a Solution


yp=e^(x)[(Ax^2+Bx+C)(cosx-sinx)]
y'p=e^(x)[(Ax^2+Bx+C)(-sinx-cosx)+(2Ax+B)(cosx-sinx)]+e^(x)[(Ax^2+Bx+C)(cosx-sinx)]
y"p=e^(x)[(Ax^2+Bx+C)(-cosx+sinx)+(2Ax+B)(-sinx-cosx)+(2Ax+B)(-sinx-cosx)+2A(cosx-sinx)]+e^(x)[(Ax^2+Bx+C)(-sinx-cosx)+(2Ax+B)(cosx-sinx)]+e^(x)[(Ax^2+Bx+C)(-sinx-cosx)+(2Ax+B)(cosx-sinx)]+e^(x)[(Ax^2+Bx+C)(cosx-sinx)]
subbing:
y"p-5y'p+6yp=4Ax^2e^xcosx+4Bxe^xcosx+4Ce^xcosx+2Ax^2e^xsinx+2Bxe^xsinx+2Ce^xsinx+2Axe^xsinx+Be^xsinx-10Axe^xcosx-5Be^xcosx+2Ae^xcosx-2Ae^xsinx=-e^x[(4+6x-x^2)cosx-(2-4x+3x^2)sinx]
So 4Ax^2e^xcosx=x^2e^xcosx
and therefore A=1/4.
But the answer to this problem is yp=e^(x)(x^2*cosx+2sinx). I don't think the coefficients I got are right. So what's the right initial guess for this problem?
 
Physics news on Phys.org
How did you come up with your guess?
 
Just by making my best guess.
 
What made you think it was the best as opposed to some other form? I'm asking because writing down the form of particular solution is a cookbook process, yet you managed to come up with something different.
 
Since there's -e^x in the very front, so I got e^x as well in forming my guess yp. And then there's (4+6x-x^2) in front of cosx and same thing in front of sinx. So I got yp=e^(x)[(Ax^2+Bx+C)(cosx-sinx)].
 
The sine doesn't have the same factor multiplying it as cosine in the forcing function, or are you saying the cosine and the sine should both have a quadratic multiplying it? If the latter, why would you expect it to be the exact same quadratic?
 
So this is a forcing function?
 
The forcing function is the stuff that appears on the righthand side of the differential equation.
 
So what's the way to find the guess?
 
  • #10
Math10 said:

Homework Statement


Find a particular solution of y"-5y'+6y=-e^(x)[(4+6x-x^2)cosx-(2-4x+3x^2)sinx].

Homework Equations


None.

The Attempt at a Solution


yp=e^(x)[(Ax^2+Bx+C)(cosx-sinx)]
y'p=e^(x)[(Ax^2+Bx+C)(-sinx-cosx)+(2Ax+B)(cosx-sinx)]+e^(x)[(Ax^2+Bx+C)(cosx-sinx)]
y"p=e^(x)[(Ax^2+Bx+C)(-cosx+sinx)+(2Ax+B)(-sinx-cosx)+(2Ax+B)(-sinx-cosx)+2A(cosx-sinx)]+e^(x)[(Ax^2+Bx+C)(-sinx-cosx)+(2Ax+B)(cosx-sinx)]+e^(x)[(Ax^2+Bx+C)(-sinx-cosx)+(2Ax+B)(cosx-sinx)]+e^(x)[(Ax^2+Bx+C)(cosx-sinx)]
subbing:
y"p-5y'p+6yp=4Ax^2e^xcosx+4Bxe^xcosx+4Ce^xcosx+2Ax^2e^xsinx+2Bxe^xsinx+2Ce^xsinx+2Axe^xsinx+Be^xsinx-10Axe^xcosx-5Be^xcosx+2Ae^xcosx-2Ae^xsinx=-e^x[(4+6x-x^2)cosx-(2-4x+3x^2)sinx]
So 4Ax^2e^xcosx=x^2e^xcosx
and therefore A=1/4.
But the answer to this problem is yp=e^(x)(x^2*cosx+2sinx). I don't think the coefficients I got are right. So what's the right initial guess for this problem?

Have you checked whether the supposed "answer" actually solves the DE?
 
Last edited:

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
12K
  • · Replies 4 ·
Replies
4
Views
1K