2nd order differential equation: undetermined coefficients

Click For Summary
SUMMARY

The discussion focuses on solving the second-order differential equation y'' - y = t - 4e^(-t) using the method of undetermined coefficients. The characteristic equation is derived as r^2 - 1 = 0, leading to the complementary solution c_1e^(-t) + c_2e^(t). The particular solution is initially guessed as y_p(t) = At + B + Ce^(-t), but adjustments are necessary since e^(-t) is part of the complementary solution. The correct form of the particular solution is y_p(t) = At + B + Cte^(-t), which allows for the determination of coefficients A, B, and C through substitution into the original equation.

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with the method of undetermined coefficients
  • Knowledge of characteristic equations and complementary solutions
  • Ability to compute derivatives of functions
NEXT STEPS
  • Study the method of undetermined coefficients in detail
  • Learn how to derive and solve characteristic equations for differential equations
  • Practice finding particular solutions for non-homogeneous differential equations
  • Explore the implications of repeated roots in characteristic equations
USEFUL FOR

Students studying differential equations, mathematics educators, and anyone seeking to master the method of undetermined coefficients in solving second-order differential equations.

dmoney123
Messages
32
Reaction score
1

Homework Statement



y''-y=t-4e^(-t)

Homework Equations



method of undetermined coefficients

The Attempt at a Solution



solving for characteristic equation first

y''-y=0

r^2-1=0

c_1e^(-t)+c_2e^(t)

RHS

particular solution

t-4e^(-t)

y_p(t)= At+B+Ce^(-t)

y_pt'(t)=A-Ce^(-t)

y_p''(t)=Ce^(-t)

plug into LHS

Ce^(-t)-At-B-Ce^(-t)=t-4e^(-t)

-A=t
A=-1

B=0

C cancels on the left... I am not sure how to any further?

Thanks
 
Physics news on Phys.org
dmoney123 said:

Homework Statement



y''-y=t-4e^(-t)

Homework Equations



method of undetermined coefficients

The Attempt at a Solution



solving for characteristic equation first

y''-y=0

r^2-1=0

c_1e^(-t)+c_2e^(t)

RHS

particular solution

t-4e^(-t)

y_p(t)= At+B+Ce^(-t)
No, this won't work, since e-t is already a solution in the complementary equation. Do you know what to do when you run into this?
dmoney123 said:
y_pt'(t)=A-Ce^(-t)

y_p''(t)=Ce^(-t)

plug into LHS

Ce^(-t)-At-B-Ce^(-t)=t-4e^(-t)

-A=t
A=-1

B=0

C cancels on the left... I am not sure how to any further?

Thanks
 
Mark44 said:
No, this won't work, since e-t is already a solution in the complementary equation. Do you know what to do when you run into this?

You add a coefficient t

so the guess becomes At+B+Cte^(-t) right? When I plug that back in, it still cancels out
 
dmoney123 said:
You add a coefficient t

so the guess becomes At+B+Cte^(-t) right? When I plug that back in, it still cancels out
I'm not sure what you mean.
If yp = At + B + Cte-t, then yp'' - yp has to equal t - 4e-t. Take yp and its second derivative, and substitute them into your nonhomogeneous equation to get A, B, and C.
 
  • Like
Likes   Reactions: dmoney123
Got it... I was making a mistake with my derivative... I feel stupid.

Thanks Mark44!
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
1K
Replies
8
Views
1K
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
2K