HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the method of undetermined coefficients is an approach to finding a particular solution to certain nonhomogeneous
ordinary differential equation In mathematics, an ordinary differential equation (ODE) is a differential equation whose unknown(s) consists of one (or more) function(s) of one variable and involves the derivatives of those functions. The term ''ordinary'' is used in contrast w ...
s and
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
s. It is closely related to the
annihilator method In mathematics, the annihilator method is a procedure used to find a particular solution to certain types of non-homogeneous ordinary differential equations (ODE's). It is similar to the method of undetermined coefficients, but instead of guess ...
, but instead of using a particular kind of differential operator (the annihilator) in order to find the best possible form of the particular solution, an
ansatz In physics and mathematics, an ansatz (; , meaning: "initial placement of a tool at a work piece", plural Ansätze ; ) is an educated guess or an additional assumption made to help solve a problem, and which may later be verified to be part of the ...
or 'guess' is made as to the appropriate form, which is then tested by differentiating the resulting equation. For complex equations, the annihilator method or
variation of parameters In mathematics, variation of parameters, also known as variation of constants, is a general method to solve inhomogeneous linear ordinary differential equations. For first-order inhomogeneous linear differential equations it is usually possible t ...
is less time-consuming to perform. Undetermined coefficients is not as general a method as
variation of parameters In mathematics, variation of parameters, also known as variation of constants, is a general method to solve inhomogeneous linear ordinary differential equations. For first-order inhomogeneous linear differential equations it is usually possible t ...
, since it only works for differential equations that follow certain forms.Ralph P. Grimaldi (2000). "Nonhomogeneous Recurrence Relations". Section 3.3.3 of ''Handbook of Discrete and Combinatorial Mathematics''. Kenneth H. Rosen, ed. CRC Press. .


Description of the method

Consider a linear non-homogeneous ordinary differential equation of the form : \sum_^n c_i y^ + y^ = g(x) :where y^ denotes the i-th derivative of y, and c_i 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: # c_i are constants. # ''g''(''x'') is a constant, a polynomial function, exponential function e^, sine or cosine functions \sin or \cos, or finite sums and products of these functions (, constants). The method consists of finding the general homogeneous solution y_c for the complementary linear
homogeneous differential equation A differential equation can be homogeneous in either of two respects. A first order differential equation is said to be homogeneous if it may be written :f(x,y) \, dy = g(x,y) \, dx, where and are homogeneous functions of the same degree of an ...
: \sum_^n c_i y^ + y^ = 0, and a particular integral y_p 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 = y_c + y_p. If g(x) consists of the sum of two functions h(x) + w(x) and we say that y_ is the solution based on h(x) and y_ the solution based on w(x). Then, using a
superposition principle The superposition principle, also known as superposition property, states that, for all linear systems, the net response caused by two or more stimuli is the sum of the responses that would have been caused by each stimulus individually. So tha ...
, we can say that the particular integral y_p is :y_p = y_ + y_.


Typical forms of the particular integral

In order to find the particular integral, we need to 'guess' its form, with some coefficients left as variables to be solved for. This takes the form of the first derivative of the complementary function. Below is a table of some typical functions and the solution to guess for them. If a term in the above particular integral for ''y'' appears in the homogeneous solution, it is necessary to multiply by a sufficiently large power of ''x'' in order to make the solution independent. If the function of ''x'' is a sum of terms in the above table, the particular integral can be guessed using a sum of the corresponding terms for ''y''.


Examples


Example 1

Find a particular integral of the equation :y'' + y = t \cos t. The right side ''t'' cos ''t'' has the form : P_n e^ \cos with ''n'' = 2, ''α'' = 0, and ''β'' = 1. Since ''α'' + ''iβ'' = ''i'' is ''a simple root'' of the characteristic equation :\lambda^2 + 1 = 0 we should try a particular integral of the form :\begin y_p &= t \left _1 (t) e^ \cos + G_1 (t) e^ \sin \right \\ &= t \left _1 (t) \cos t + G_1 (t) \sin t \right \\ &= t \left \left (A_0 t + A_1 \right ) \cos t + \left (B_0 t + B_1 \right ) \sin t \right \\ &= \left (A_0 t^2 + A_1 t \right ) \cos t + \left (B_0 t^2 + B_1 t \right) \sin t. \end Substituting ''y''''p'' into the differential equation, we have the identity :\begin t \cos t &= y_p'' + y_p \\ &= \left \left(A_0 t^2 + A_1 t \right ) \cos t + \left (B_0 t^2 + B_1 t \right ) \sin t \right ' + \left left(A_0 t^2 + A_1 t \right ) \cos t + \left(B_0 t^2 + B_1 t \right ) \sin t \right \\ &= \left [2A_0 \cos t + 2 \left (2A_0 t + A_1 \right )(-\sin t) + \left (A_0 t^2 + A_1 t \right )(-\cos t) + 2B_0 \sin t + 2 \left (2B_0 t + B_1 \right ) \cos t + \left (B_0 t^2 + B_1 t \right )(- \sin t) \right ] \\ &\qquad +\left left(A_0 t^2 + A_1 t \right ) \cos t + \left(B_0 t^2 + B_1 t \right ) \sin t \right \\ &= B_0 t + (2A_0 + 2B_1)\cos t + 4A_0 t + (-2A_1 + 2B_0)\sin t. \end Comparing both sides, we have :\begin 1 = 4B_0\\ 0 = 2A_0 + 2B_1 \\ 0 = -4A_0 \\ 0 = -2A_1 + 2B_0 \end which has the solution :A_0 = 0, \quad A_1 = B_0 = \frac, \quad B_1 = 0. We then have a particular integral :y_p = \frac t \cos t + \frac t^2 \sin t.


Example 2

Consider the following linear nonhomogeneous differential equation: : \frac = y + e^x. This is like the first example above, except that the nonhomogeneous part (e^x) is ''not'' linearly independent to the general solution of the homogeneous part (c_1 e^x); as a result, we have to multiply our guess by a sufficiently large power of ''x'' to make it linearly independent. Here our guess becomes: :y_p = A x e^x. By substituting this function and its derivative into the differential equation, one can solve for ''A'': :\frac \left( A x e^x \right) = A x e^x + e^x :A x e^x + A e^x = A x e^x + e^x :A = 1. So, the general solution to this differential equation is: :y = c_1 e^x + xe^x.


Example 3

Find the general solution of the equation: :\frac = t^2 - y t^2 is a polynomial of degree 2, so we look for a solution using the same form, :y_p = A t^2 + B t + C, Plugging this particular function into the original equation yields, :2 A t + B = t^2 - (A t^2 + B t + C), :2 A t + B =(1-A)t^2 -Bt -C, :(A-1)t^2 + (2A+B)t + (B+C) = 0. which gives: :A-1 = 0, \quad 2A+B =0, \quad B+C=0. Solving for constants we get: :y_p = t^2 - 2 t + 2 To solve for the general solution, :y= y_p + y_c where y_c is the homogeneous solution y_c = c_1 e^, therefore, the general solution is: :y= t^2 - 2 t + 2 + c_1 e^


References

* * * * {{DEFAULTSORT:Method Of Undetermined Coefficients Ordinary differential equations