What guess should I use when the right hand side is a constant?

  • Thread starter CraigH
  • Start date
  • #1
222
1
What form should the particular solution of a 2nd order linear non homogeneous differential equation take when the right hand side is a constant?

if the differential differential equation has the form

Ay''+By'+Cy = g(x)

where g(x) is a constant

what form should the particular solution take?

I know if g(x) is an exponential the "trial" solution should be A(e^x)

If g(x) is trigonometric it should be A(sin(x))+B(cos(x))

And If it is a polynomial of degree n it should be A(x^n) + B(x^(n-1)) ... +C(x^0)

But what if the differential equation is just Ay''+By'+Cy = D

Should the trial solution be a polynomial of degree 0?

So I would try
y = D
y' = 0
y'' = 0

which would leave me with

CD=D

which is useless

Please Help!

Thanks!
 

Answers and Replies

  • #2
35,437
11,857
Well, ##y=\frac{D}{C}## is a solution to your equation. It is not the only one, so you can add all solutions to Ay''+By'+Cy = 0. You can use both the exponential and the trigonometric approach (with complex numbers, they are the same anyway) to find them.
 
  • #3
222
1
Ahhh okay, thank you for your answer :D
 

Related Threads on What guess should I use when the right hand side is a constant?

Replies
4
Views
2K
Replies
2
Views
2K
Replies
3
Views
4K
Replies
3
Views
3K
Replies
11
Views
845
Replies
16
Views
14K
Replies
1
Views
2K
Replies
15
Views
3K
Top