﻿ Combining Long Division of Polynomials and Exponential Shift Law to Solve Differential Equations

### Combining Long Division of Polynomials and Exponential Shift Law to Solve Differential Equations

Nick Z. Zacharis

American Journal of Applied Mathematics and Statistics

## Combining Long Division of Polynomials and Exponential Shift Law to Solve Differential Equations

Nick Z. Zacharis

Department of Computer Systems Engineering, Technological Educational Institute of Piraeus, Athens, Greece

### Abstract

Inspired by the method of undetermined coefficients, this paper presents an alternative method to solve linear differential equations with constant coefficients, using the technique of polynomial long division. Expanding this technique with the exponential shift law enables to solve all types of non-homogeneous differential equations, of where the undetermined coefficients can be applied.

• Nick Z. Zacharis. Combining Long Division of Polynomials and Exponential Shift Law to Solve Differential Equations. American Journal of Applied Mathematics and Statistics. Vol. 5, No. 1, 2017, pp 1-7. http://pubs.sciepub.com/ajams/5/1/1
• Zacharis, Nick Z.. "Combining Long Division of Polynomials and Exponential Shift Law to Solve Differential Equations." American Journal of Applied Mathematics and Statistics 5.1 (2017): 1-7.
• Zacharis, N. Z. (2017). Combining Long Division of Polynomials and Exponential Shift Law to Solve Differential Equations. American Journal of Applied Mathematics and Statistics, 5(1), 1-7.
• Zacharis, Nick Z.. "Combining Long Division of Polynomials and Exponential Shift Law to Solve Differential Equations." American Journal of Applied Mathematics and Statistics 5, no. 1 (2017): 1-7.

 Import into BibTeX Import into EndNote Import into RefMan Import into RefWorks

### 1. Introduction

The method of undetermined coefficients is a technique [1] for determining a particular solution to linear, constant coefficient differential equations of order n

 (1)

for certain types of non-homogeneous terms . Based on the form of the function on the right hand side of equation (1), a guess is made about the appropriate form of the solution , which then tested by differentiating the resulting equation [2, 3]. To demonstrate the method let's solve the following initial-value problem:

 (2)

The general solution of (2) has the form

 (3)

where is the complementary solution to the homogeneous differential equation (hereafter, DE)

and is a particular solution to the non-homogenous DE (2). From the auxiliary equation

we find and , and thus the complementary solution is

To find , we take a hint from the term to the right of DE (2), and make the guess that a particular solution might have the form

Testing the solution , we have: and . Substituting the expressions for , and into the DE (2), we obtain

or

 (4)

Comparing the coefficients of and the constant terms on both sides of (4), we conclude that: and , or , and . So, a solution of DE (2) is

as easily can be verified.

Now, (3) gives the general solution of DE (2):

and

The initial conditions imply

Thus and , while the general solution of the DE (2) is

 (5)

The method of undetermined coefficients can be used only if consists of a sum of terms each of which has a finite number of linearly independent derivatives [2, 4]. This restriction implies that can only contain terms such as , , , , , and combinations of such terms, where is a constant and is a positive integer. Although the method does not require any integrations, is based on "good guesses" [2] to find a particular solution, so most textbooks on the topic give tables of trial particular solutions for different forms of . For complex forms of or for high order differential equations, the method of undetermined coefficient may require many calculations [5, 6] in differentiating and solving systems of linear equations.

Many efforts have been made to improve the method and create alternatives that require less computation and are easiest to understand and implement. Gupta [6] proposed a recursive algorithm, i.e. a n-times differentiation and back-substitution process, to solve n-th order DE with constant coefficients. Using a complicated methodology, Krohn, Marino-Johnson and Ouyang [7] derived formulas that should be part of a computer program to give the coefficients. Gollwitzer [8] combined linear operators, matrix multiplication and successive differentiations over a characteristic identify to describe a strategy that replaces the method of undetermined coefficients. Oliveira [5] tried to overcome the computation complexity of both the undetermined coefficients and the annihilator methods and came up with a method that involves differentiations of the characteristic polynomial, back-substitution to reduce the order of the DE, solving systems of equations and integration to reach the particular solution of the DE.

In one way or the other, all these approaches seek from the start for solutions in the form and recursively reduce the order of the DE by integration. In this paper we give a simple, straightforward and intuitive approach to find the particular solution of the n-th order linear DE with constant coefficients. The main idea is to use a linear polynomial operator L to write the DE in the form and then simply solve for y by dividing by L, using the long division method. We start with being a polynomial and proceed to solve the cases with involving exponential and trigonometric functions. The only change needed in order to handle the latter cases is to "shift" the operator L before doing the long division. In short, in order to find a particular solution of the non-homogeneous linear DE with constant coefficients, there is no need to look for solutions of a specific form or to execute back-substitutions and integrations or solve any system of equations. Long division algorithm and basic algebra is all needed.

### 2. The Long Division Operator

The differential equation (1) can be rewritten in the form

 (6)

where with the letter we denote the differential operators:

 (7)

Equation (6) is a representation of the differential equation (1) in operational form

 (8)

where the operator is a linear combination of differential operators of orders 0 to n

 (9)

Thus, regarding differentiation as an operator, the solution of the operational equation (8) is given by

 (10)

where is an inverse operator which has to be suitably manipulated and interpreted [9]. In the case where is a polynomial function of , we define the action of the inverse operator on as the long division of polynomial by the polynomial operator,

 (11)
2.1. Implementing the Long Division

For example, equation (2), , can be written as

and a partial solution can be found by (10) performing the long division

which goes as follows:

yielding the particular solution .

Analytic explanation of the process: As it is known from the long division algorithm of polynomials, in each step of the process, the first term of the dividend is divided by the first term of the divisor and the result is multiplied from the divisor and subtracted from the dividend. In the example above, x, the first term of the dividend, is divided by 2, the first term of the divisor. Thus, the first term of the quotient is and multiplied by each term of the divisor:

The result, , is subtracted from the dividend

and the same process repeats for the (interim) remainder, , until the remainder is zero.

2.2. Comparison with Power Series Method

Let's solve the DE

 (2)

using power series solutions in order to illustrate that the long division approach we propose, gives the same solution with the solution obtained via series methods, much faster. Assuming that DE (2) has a solution of the form and by taking derivatives term by term we have

In order to compare the expressions for , and more easily, we rewrite the last two as follows:

Substituting the expressions in DE (2), we obtain

If two power series are equal, then the corresponding coefficients must be equal. Therefore, the coefficients of the constant term 1 (obtained for n = 0) and x (obtained for n = 1) must be 1 in both cases:

Taking into account the initial conditions, yields , and yields .

Therefore, and .

All the other coefficients for powers equal and higher than () should be zero:

So, the coefficients , for , can be calculated using the recurrence relation

So, the general solution to DE (2) is

Since it is not obvious that this series solution matches its analytic counterpart (5), let's take (5)

and expand the exponents into power series:

Although power series is an important tool to confront differential equations that can't be solved explicitly in terms of finite combinations of simple familiar functions [4], in the case of linear DEs with constant coefficients it's an arduous, unnecessary alternative.

2.3. In the Case Where a0 = 0

To solve for equation (11), the constant term in the denominator has to be . Let’s try, for example, to find a particular solution which satisfies the differential equation

 (12)

Now . To handle this case, we use an auxiliary function and write (12) as

 (13)

Integrating the second equation in (13), we find

and substituting in the first equation in (13), we have to find a particular solution for the equation

Implementing (11),

and performing the long division

we find the particular solution .

### 3. The Exponential Shift Law for Polynomial Operators

Up to now, we used the familiar method of long division of polynomials to find a particular solution of linear differential equations with constant coefficients, when the non-homogeneous term (the right side of equation) is a polynomial function of . To extend the usability of this method in cases where is a more complex function of , we need to use the exponential shift law (theorem):

If , , is a polynomial operator with constant coefficients and is an nth order differentiable function of , then

 (14)

where is a constant [2, 10].

The proof of the theorem is straightforward and can be found in the Appendix. As can be seen from (14), when the polynomial operator operates on the product , the exponential shifts out and the new operator acts only on function . Utilizing the exponential shift law, we can solve linear non-homogeneous differential equations with constant coefficients, where the non-homogeneous term has the form and is a polynomial function of . Starting with the equation (8), , we search for a particular solution in the form

 (15)

By substitution of and into (8), we obtain

or

 (16)

as a result of applying the exponential shift law (equation (14)). By eliminating we obtain

which returns us to the basic case (equation (11)),

 (17)

Now, the particular solution is simply

 (18)

Let’s try for example to find a particular solution of the equation

or, in operational notation,

Since the non-homogeneous term has the form , a particular solution is given by (18)

 (19)

We perform the long division of polynomials

and from (19) we obtain the particular solution

### 4. Manipulating More Complex Situations

The principle of superposition [11] is a mathematical tool that is used in many areas of science and technology for solving complex problems. The principle of superposition applies to linear systems governed by linear differential equations [12] and states that the response of a system to different stimuli is the sum of the responses which would have been caused by each stimulus individually. Applying the principle of superposition, in place of the linear differential equation

 (20)

where is a polynomial operator (see equation (9)), we write the equations

 (21)

Let , be respective particular solutions of the equations of (21). Therefore

 (22)

Adding all the equations in (22), there results

which implies that

 (23)

is a solution of (20). Thus, using the principle of superposition, a particular solution of a linear non-homogeneous differential equation (20), can be obtained by summing the particular solutions , of the equations of (21).

Let’s try to find a particular solution of the equation

 (24)

According to the principle of superposition, a particular solution of (24) is the sum of the particular solutions of each of the following equations,

 (25)

Particular solutions of each of these equations are respectively (see equation (18))

Now we perform the long divisions:

Hence a particular solution of (24) is

Being able to handle exponential functions which are parts of the non-homogeneous term , enable us [2, 12] to manipulate trigonometric functions, by simply exploiting the richness of the complex exponential. It’s easy to see that, if is a complex-valued function (i.e., a function which can take on complex values) and is a partial solution of the equation , then the real (or imaginary) part of is a solution of the equation with replaced by its real (or imaginary) part.

To verify this, assume that is a complex-valued function, , and is a partial (complex-valued) solution, , of the equation . Then,

and equating the real and imaginary parts on both sides, we take

From Euler’s formula we know that, for any real number x, , or , . Therefore, if contains the trigonometric functions and/or , we can replace them with and/or , solve the new equation to find a partial solution and finally, extract the real or the imaginary part to find : or .

Let’s try for example to find a particular solution of the equation

 (26)

Again, a particular solution of (26) is the sum of the particular solutions of each of the following equations,

 (27)

Since the non-homogeneous term in equations (27) contains trigonometric functions, we transform these equations by substitution of the trigonometric terms and with the corresponding complex-valued exponentials and

 (28)

Particular solutions of each of these equations are respectively

after implementing equation (18), since in (28) has the form . Performing the long divisions we have:

Hence, the particular solutions and are

and

respectively. Now, the particular solution of , is the imaginary part of , because .

The particular solution of

is the real part of , since .

Finally, a particular solution of (26) is the sum

### 5. Conclusion

In this note, an alternative way to solve linear non-homogeneous differential equations with constant coefficients, was illustrated. Having in mind the certain types of non-homogeneous terms for which the method of undetermined coefficients can be used, the familiar technique of long division of polynomials was exploited to solve the basic case (i.e. the non-homogeneous term is a polynomial) along with the exponential shift law to handle the more complex cases (i.e. the non-homogeneous term includes exponentials or trigonometric functions). This technique is intuitive, straightforward and overcomes the burden of solving systems of equations to find the undetermined coefficients.

### Appendix

Exponential Shift Theorem.

If , , is a polynomial operator with constant coefficients and is an nth order differentiable function of , then

where is a constant.

Proof. We shall first prove by induction that

is true for every k.

For ,

Now, we assume that (b) is true for , i.e., that the equality

is valid.

We must then prove that (b) is true for . The left side of (b) becomes

where in the second step we used equality (c). Having proved (b) we proceed to prove the theorem (a). Starting from the left side of equation (a) we obtain

where in the third step we used equality (b).

### References

 [1] Kreyszig, E. Advanced Engineering Mathematics, 10th Edition, Wiley, Hoboken, NJ, 2014. In article [2] Zill, D. First Course in Differential Equations, Fifth Edition, Thomson Learning, 2013. In article [3] Nagle, K. Fundamentals of Differential Equations and Boundary Value Problems. Addison-Wesley. 2013. In article [4] Stewart, J. Calculus: Early transcendentals, 7th ed. Belmont, CA: Brooks/Cole Cengage Learning, 2012. In article [5] de Oliveira, O. R. B. A formula substituting the undetermined coefficients and the annihilator methods. Int. J. Math. Educ. Sci. Technol. 44 (3) (2013): 462-468. In article View Article [6] R.C. Gupta, Linear differential equations with constant coefficients: An alternative to the method of undetermined coefficients. Proceedings of the 2nd International Conference on the Teaching of Mathematics, Crete, Greece: John Wiley & Sons, 2002. In article [7] Krohn, D., Mariño-Johnson, D., Ouyang, J.P. The KMO Method for Solving Non-homogenous, mth Order Differential Equations. Rose Hulman Undergraduate Mathematics Journal, 15(1), pp, 133-142, 2014. In article [8] Gollwitzer, H. Matrix Patterns and Undetermined Coefficients, College Mathematics Journal, 25(5), pp. 444-448, 1994. In article View Article [9] G. H. Flegg, A survey of the development of operational calculus, Int. J. Math. Educ. Sci. Tcchnol. 2 (1971), pp. 329-335.M. In article [10] Carmen, C., Ordinary Differential Equations with Applications, Springer Texts in Applied Mathematics, 2006. In article PubMed [11] Deng, Y. Lectures, problems and solutions for Ordinary Differential Equations, World Scientific Publishing Co, 2015. In article [12] Tenenbaum and H. Pollard. Ordinary Differential Equations, Dover Publications, New York, 1985. In article
• CiteULike
• Mendeley
• StumbleUpon
• Delicious