Best Guess for Partial Solution for Diff EQ?

  • Thread starter Thread starter kq6up
  • Start date Start date
  • Tags Tags
    Diff eq Partial
Click For Summary

Homework Help Overview

The discussion revolves around finding a specific solution to the differential equation y''-2y'+y=xe^x+4, with initial conditions y(0)=1 and y'(0)=1. The subject area is differential equations, specifically focusing on the method of undetermined coefficients and the concept of complementary solutions.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants discuss the choice of trial solutions for the non-homogeneous part of the differential equation, questioning why a higher power of x is needed for the particular solution. There is also mention of the annihilator method as an alternative approach to eliminate guesswork.

Discussion Status

Some participants are exploring the implications of the method of undetermined coefficients, while others are sharing insights about the annihilator method. There is an acknowledgment of the trial and error nature of the guessing process in the context of the assigned method, but no consensus has been reached on the best approach.

Contextual Notes

Participants note the constraints of following the professor's assigned method, which may involve more guesswork than other methods. There is also mention of additional homework challenges that may influence the discussion.

kq6up
Messages
366
Reaction score
13

Homework Statement



Find the specific solution for: y''-2y'+y=xe^x+4, y(0)=1, y'(0)=1.

Homework Equations


N/A

The Attempt at a Solution



Since xe^x is already in the general solution of the homogeneous version of this diff eq (complementary solution), my first guess for a partial solution term would be x^2e^x (xe^x is already taken by the complementary sol). However, it no worky. The correct guess is x^3e^x. I am not sure why this term has a higher power of x then the order of the DiffEq. I would have never have guessed this. Is there a reason I should have guessed this, or in general do I have to keep increasing powers until I find one that works? I am trying to find ways to save time on an exam.

Thanks,
Chris [/B]
 
Physics news on Phys.org
kq6up said:

Homework Statement



Find the specific solution for: y''-2y'+y=xe^x+4, y(0)=1, y'(0)=1.

Homework Equations


N/A

The Attempt at a Solution



Since xe^x is already in the general solution of the homogeneous version of this diff eq (complementary solution), my first guess for a partial solution term would be x^2e^x (xe^x is already taken by the complementary sol). However, it no worky. The correct guess is x^3e^x. I am not sure why this term has a higher power of x then the order of the DiffEq. I would have never have guessed this. Is there a reason I should have guessed this, or in general do I have to keep increasing powers until I find one that works? I am trying to find ways to save time on an exam.

Thanks,
Chris [/B]
The best way is to eliminate the guesswork with the annihilator method. It is really pretty simple. See
http://www.utdallas.edu/dept/abp/PDF_Files/DE_Folder/Annihilator_Method.pdf
 
Last edited by a moderator:
LCKurtz said:
The best way is to eliminate the guesswork with the annihilator method. It is really pretty simple. See
http://www.utdallas.edu/dept/abp/PDF_Files/DE_Folder/Annihilator_Method.pdf

Ah, I vaguely remember that method from 20 years ago. Thanks for the post. According to the text my prof photocopied we are using the Method of undetermined coefficients, and I am going to assume there is guessing involved with my question above. So there is no straight forward way of knowing ahead of time with my professor's method -- just trial and error?

She assigned some painful extra credit for the whole class to repair a midterm grade, and I am thinking she wants us to just slog through it her way -- she is a bit sadistic like that :D

Thanks,
Chris
 
Last edited by a moderator:
Actually, the method of undetermined coefficients is the method of annihilators. That's where the "guess" comes from. On an actual problem it is pretty quick and quicker if you guess wrong for your trial solution. For a particular problem it is really quite quick. To illustrate, in your problem$$y''-2y'+y = xe^x + 4$$your annihilator on the left is ##(D-1)^2## and on the right is ##D(D-1)^2## for a combined annihilator of ##D(D-1)^4##. So you can annihilate both sides with$$
\color{red}{Ae^x+Bxe^x}+Cx^2e^x+Dx^3e^x+E$$I have highlighted in red the part of that which is in the homogeneous solution. The rest of it is the correct "guess" to use for undetermined coefficients.
 
  • Like
Likes   Reactions: kq6up
Thanks,
Chris
 

Similar threads

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