Solving non-homogenous second order ODEs

Method of undetermined coΓ«fficients

The method of undetermined coΓ«fficients is a method for finding a particular solution to an ODE that involves taking a guess (Ansatz) of the particular solution based on the form of the non-homogenous term 𝑔(𝑑).

𝐿[𝑦]=𝑦″+𝑝(𝑑)𝑦′+π‘ž(𝑑)𝑦=𝑔(𝑑)

The Ansatz is then substituted into the ODE to determine the coΓ«fficients. The following table shows functions and their corresponding guesses, where 𝑝𝑛(π‘₯), 𝑃𝑛(π‘₯) 𝑄𝑛 are polynomials of order, determined and undetermined respectively.

Non-homogenous term 𝑔(π‘₯)Ansatz
𝑝𝑛(π‘₯)𝑃𝑛(π‘₯)
𝑝𝑛(π‘₯)𝑒𝛼π‘₯𝑃𝑛(π‘₯)
𝑝𝑛(π‘₯)sin⁑(𝛽π‘₯) or 𝑝𝑛(π‘₯)cos⁑(𝛽π‘₯)𝑃𝑛(π‘₯)sin⁑(𝛽π‘₯) +𝑄𝑛(π‘₯)cos⁑(𝛽π‘₯)
𝑝𝑛(π‘₯)𝑒𝛼π‘₯sin⁑(𝛽π‘₯) or 𝑝𝑛(π‘₯)𝑒𝛼π‘₯cos⁑(𝛽π‘₯)𝑒𝛼π‘₯[𝑃𝑛(π‘₯)sin⁑(𝛽π‘₯) +𝑄𝑛(π‘₯)cos⁑(𝛽π‘₯)]

Note that a linear combination of such non-homogenous terms leads to a linear combination of their corresponding AnsΓ€tze. No term of the Ansatz can be a solution of the homogenous equation, if this is the case the Ansatz is multiplied by π‘₯.1

A special case occurs with Cauchy-Euler differential equations due to their equidimensional structure.

Practice problems


#state/tidy | #lang/en | #SemBr | #review

Footnotes

  1. 2017. Elementary differential equations and boundary value problems, p. 139 (Β§3.5) ↩