Solve ODE with Method of Undetermined Coefficients

  • Thread starter Thread starter JaysFan31
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary

Homework Help Overview

The problem involves solving a second-order ordinary differential equation (ODE) using the method of undetermined coefficients. The specific equation is y'' + 2y' - 7y = [(-1t^2)+4t+7]e^(2t), and the original poster seeks a particular solution rather than a general one.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to use the form [(At^2)+Bt+C]*e^(2t) for finding coefficients but encounters difficulties. Some participants confirm the form is correct, while others suggest checking the differentiation process for errors. There is discussion about the inclusion of an additional constant D in the solution form.

Discussion Status

Participants are actively engaging in the problem, with some providing corrections and suggestions regarding the differentiation steps. There is no explicit consensus on the correct coefficients yet, but the dialogue indicates a collaborative effort to identify potential mistakes in the calculations.

Contextual Notes

There are indications of confusion regarding the differentiation of products and the proper application of the method of undetermined coefficients. The original poster's program is mentioned as providing feedback on the correctness of the coefficients, suggesting a reliance on computational tools for verification.

JaysFan31
Hi.

I have this problem:
Use the method of undetermined coefficients to find one solution of
y'' + 2y' - 7y = [(-1t^2)+4t+7]e^(2t).
Find a specific solution, not a general one.

I'm having lots of trouble finding the coefficients.
I'm assuming I need to use [(At^2)+Bt+C]*e^(2t).
This however does not seem to work. Can anyone confirm this as the function I need to use for differentiation?

Thank you.
 
Physics news on Phys.org
That's the form alright - and I have no problems getting the coefficients. So try again.
 
I have [(At^2) + Bt + C]e^2t
Y(t) = [(At^2) + Bt + C]e^2t
Y'(t) = (2At + B)e^2t + [(At^2) + Bt + C]2e^2t
Y''(t) = (2A)e^2t + [(At^2) + Bt + C]4e^2t

Then [(At^2) + Bt + C]-7e^2t + (2At + B)2e^2t + [(At^2) + Bt + C]4e^2t + (2A)e^2t + [(At^2) + Bt + C]4e^2t = the right side of the ODE

[(At^2) + Bt + C] + 2(2At + B) + 2A = (-t^2) + 4t +7

I get that A = -1, B = 8, and C = -7. However, this is incorrect. What's wrong?

Dick, thanks for the response by the way.
 
Y''(t) is wrong. You didn't use the product rule enough - Y' has two products, so you should wind up with 4 terms. You are missing a (2At+B)2e^2t and a (2At+B)2e^2t.
 
Last edited:
So I get,

[(At^2) + Bt + C] + 6(At + B) + 2A = -1t^2 + 4t + 7

With this, A = -1, B = 10, C = -51.

My program still tells me this is wrong.
 
It still is. Maybe you could correct your previously posted detailed solution and we could look for problems. There is nothing wrong with your approach - must just be dropping some terms.
 
Are you sure it's not (At^2 + Bt + C)De^(2x)?
 
Yeah I got it allowing for a D. Not quite sure if it made a difference or not or if my arithmetic just improved, but thank you very much for the help anyway.
 
JaysFan31 said:
Are you sure it's not (At^2 + Bt + C)De^(2x)?

That wouldn't make much sense! It's the same as (ADt2+BDt+ CD)e2x and since A, B, C, D are all unknown constants, it is no different than (At2+ Bt+ C)e2x.
 
  • #10
D? I'm really curious what are the value of A,B,C and D? turned out to be. As A=-1 was correct, D must be 1. I think the hypothesis that your arithmetic just improved is the correct one.
 
Last edited:

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
4
Views
2K
Replies
7
Views
2K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K