Lably
Skip to content

Method of undetermined coefficients

Method of solution for inhomogeneous ODEs

  • 3 min read
  • 3 chapters

Related on Lably

Through Mathematics, Ordinary differential equation and Recurrence relation

Undetermined coefficients is not as general a method as variation of parameters, since it only works for differential equations that follow certain forms.

Description of the method

Consider a linear non-homogeneous ordinary differential equation of the form

∑i=0nciy(i)+y(n+1)=g(x)
where y(i) denotes the i-th derivative of y, and ci denotes a function of x.

The method of undetermined coefficients provides a straightforward method of obtaining the solution to this ODE when two criteria are met:

  1. ci are constants.
  2. g(x) is a constant, a polynomial function, exponential function eαx, sine or cosine functions sin⁡βx or cos⁡βx, or finite sums and products of these functions (α, β constants).

The method consists of finding the general homogeneous solution yc for the complementary linear homogeneous differential equation

∑i=0nciy(i)+y(n+1)=0,

and a particular integral yp of the linear non-homogeneous ordinary differential equation based on g(x). Then the general solution y to the linear non-homogeneous ordinary differential equation would be

y=yc+yp.

If g(x) consists of the sum of two functions h(x)+w(x) and we say that yp1 is the solution based on h(x) and yp2 the solution based on w(x). Then, using a superposition principle, we can say that the particular integral yp is

yp=yp1+yp2.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Calculus and analysis