Method of Undetermined Coefficients

 

 

Term in F(x)

Corresponding terms in yp

Cxk

A0 + A1x + …. + Akxk

Cemx

Aemx

C cos(Bx) or C sin(Bx)

C1 cos(Bx) + C2 sin(Bx)

 

If a term of yp coincides with a term of the homogeneous solution, multiply the term in yp by the smallest power of x that removes the duplication.

 

Substitute yp and its derivatives into the nonhomogeneous equation and solve for the coefficients.