Undetermined Coefficients: Method & Examples

Instructor
Norair Sarkissian

Norair holds master's degrees in electrical engineering and mathematics

Expert Contributor
Simona Hodis

Simona received her PhD in Applied Mathematics in 2010 and is a college professor teaching undergraduate mathematics courses.

The method of undetermined coefficients is used to solve a class of nonhomogeneous second order differential equations. This method makes use of the characteristic equation of the corresponding homogeneous differential equation. Updated: 05/22/2020

Introduction

Differential equations are mathematical equations which represent a relationship between a function and one or more of its derivatives. Differential equations are used to mathematically model economics, physics and engineering problems. Examples include mechanics, where we use such equations to model the speed of moving objects (such as cars or projectiles), as well as electronics, where differential equations are employed to relate voltages and currents in a circuit.

While calculus offers us many methods for solving differential equations, there are other methods that transform the differential equation, which is a calculus problem, into an algebraic equation. The Laplace transform method is just such a method, and so is the method examined in this lesson, called the method of undetermined coefficients.

The term 'undetermined coefficients' is based on the fact that the solution obtained will contain one or more coefficients whose values we do not generally know. In addition to the coefficients whose values are not determined, the solution found using this method will contain a function which satisfies the given differential equation. For instance, let's say that in the process of solving a differential equation, we obtain a solution containing the undetermined coefficients A, B and C, given by

null

This means that for any values of A, B and C, the function y(t) satisfies the differential equation. For example, we could set A = 1, B = 1 and C=2, and discover that the solution,

null

satisfies the differential equation. It also means that any other set of values for these constants, such as A = 2, B = 3 and C = 1, or A = 1, B = 0 and C = 17, would also yield a solution. Therefore, the following functions are solutions as well:

null

Thus, we can see that by making use of undetermined coefficients, we are able to find a family of functions which all satisfy the differential equation, no matter what the values of these unknown coefficients are.

To learn more about the method of undetermined coefficients, we need to make sure that we know what second order homogeneous and nonhomogeneous equations are.

Review: Homogeneous Equations

A homogeneous second order differential equation is of the form

null

where a, b and c are constants.

The solution of such an equation involves the characteristic (or auxiliary) equation of the form

null

Depending on the sign of the discriminant of the characteristic equation, the solution of the homogeneous differential equation is in one of the following forms:

null

Nonhomogeneous Equations

But is it possible to solve a second order differential equation when the right-hand side does not equal zero? An equation of the form

null

where g(t) is nonzero, is called a nonhomogeneous equation.

It turns out that if the function g(t) on the right hand side of the nonhomogeneous differential equation is of a special type, there is a very useful technique known as the method of undetermined coefficients which provides us with a unique solution that satisfies the differential equation. This unique solution is called the particular solution of the equation.

The Method Of Undetermined Coefficients

Let us consider the special case whereby the right-hand side of the nonhomogeneous differential equation is of the form

null

Here n is a nonnegative integer (i.e., n can be either positive or zero), r is any real number, and C is a nonzero real number.

Let's consider the following example:

If C = 6, n = 2 and r = 4, the right-hand side of the equation equals

null

The method of undetermined coefficients can be applied when the right-hand side of the differential equation satisfies this form. It provides us with a particular solution to the equation.

The method of undetermined coefficients states that the particular solution will be of the form

null

Please note that this solution contains at least one constant (in fact, the number of constants is n+1):

null

The exponent s is also a constant and takes on one of three possible values: 0, 1 or 2. Its value represents the number of matches between r and the roots of the characteristic equation. To be more specific, the value of s is determined based on the following three cases.

null

Thus, if r is not a solution of the characteristic equation (so there is no match), then we set s = 0.

null

So, if r is a simple (or single) root of the characteristic equation (we have a single match), then we set s = 1.

null

To unlock this lesson you must be a Study.com Member.
Create your account

Additional Activities

Undetermined Coefficients - Applications

Review

  • The method of undetermined coefficients is a technique to determine the particular solution of a non-homogeneous differential equation, based on the form of the non-homogeneous term.

If the differential equation is second order linear with constant coefficients,

then the general solution is the sum of the homogeneous solution and the particular solution

  • Solving the characteristic equation of the homogeneous equation
    we obtain the general homogeneous solution

if the two roots, r1, r2 are real and distinct.

  • If the right hand side is a product of a polynomial function degree (n) and an exponential function,
    the particular solution is

Undetermined Coefficients for nonhomogeneous term a trigonometric function

If the nonhomogeneous term is a trigonometric function

or cosine function, the particular solution is a linear combination of both, sine and cosine terms of the same argument,

Note that, if the characteristic equation has complex zeros with the same argument as the argument of the non-homogeneous term, the particular solution is:

Application

Given a differential equation:

Write the general form of the particular solution and determine the coefficients, if the characteristic equation has the following zeros.

1. the zeros 1 and -1.

2. a repeated zero 1.

3. the complex zeros -2i, 2i.

Solutions

1.

2.

3.

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use Study.com

Become a Study.com member and start learning now.
Become a Member  Back
What teachers are saying about Study.com
Try it now
Create an account to start this course today
Used by over 30 million students worldwide
Create an account