Chapter 2 Solution of Homogeneous and Inhomogeneous Linear Equations

Similar documents
2. Second-order Linear Ordinary Differential Equations

Chapter 4. Higher-Order Differential Equations

Higher-order ordinary differential equations

Basic Theory of Linear Differential Equations

PRELIMINARY THEORY LINEAR EQUATIONS

Physics 250 Green s functions for ordinary differential equations

Series Solution of Linear Ordinary Differential Equations

LINEAR DIFFERENTIAL EQUATIONS. Theorem 1 (Existence and Uniqueness). [1, NSS, Section 6.1, Theorem 1] 1 Suppose. y(x)

Applications of the Wronskian to ordinary linear differential equations

Algebraic Properties of Solutions of Linear Systems

Theory of Higher-Order Linear Differential Equations

A GENERAL MEAN-VALUE THEOREM*

Fundamentals of Engineering Analysis (650163)

Chapter 1: Systems of Linear Equations

First order Partial Differential equations

LOWELL, MICHIGAN, MAY 28, Every Patriotic American Salutes His Nation's Flag

Math 240 Calculus III

Polynomial Solutions of the Laguerre Equation and Other Differential Equations Near a Singular

Chapter 2 Analytical Approximation Methods

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include

Problem Max. Possible Points Total

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?

x(l!) = g(n) k=-oo x(n) * hen) = hen) * x(n)

Solving Differential Equations Using Power Series

Solving Differential Equations Using Power Series

Linear Algebra 1 Exam 2 Solutions 7/14/3

CHAPTER 5. Higher Order Linear ODE'S

Linear Operators and the General Solution of Elementary Linear Ordinary Differential Equations

Solutions to the XXX type Bethe ansatz equations and ag varieties

Properties of LTI Systems

MATH 2030: ASSIGNMENT 4 SOLUTIONS

Math 250B Final Exam Review Session Spring 2015 SOLUTIONS

Homogeneous Linear ODEs of Second Order Notes for Math 331

Chapter 3 Higher Order Linear ODEs

Elementary ODE Review

Non-homogeneous equations (Sect. 3.6).

The Method of Frobenius

Homework #6 Solutions

Chapter 3 Second Order Linear Equations

MA22S3 Summary Sheet: Ordinary Differential Equations

March Algebra 2 Question 1. March Algebra 2 Question 1

Essential Ordinary Differential Equations

Nonlinear Integral Equation Formulation of Orthogonal Polynomials

11 a 12 a 21 a 11 a 22 a 12 a 21. (C.11) A = The determinant of a product of two matrices is given by AB = A B 1 1 = (C.13) and similarly.

LINEAR SYSTEMS AND MATRICES

A Brief Review of Elementary Ordinary Differential Equations

Section 1.4: Second-Order and Higher-Order Equations. Consider a second-order, linear, homogeneous equation with constant coefficients

Series Solutions of Differential Equations

Linear DifferentiaL Equation

Series Solutions of Linear ODEs

1.1 Limits and Continuity. Precise definition of a limit and limit laws. Squeeze Theorem. Intermediate Value Theorem. Extreme Value Theorem.

Math 240 Calculus III

1 Separation of Variables

and the compositional inverse when it exists is A.

Data Analysis-I. Interpolation. Soon-Hyung Yook. December 4, Soon-Hyung Yook Data Analysis-I December 4, / 1

Chapter 3. Reading assignment: In this chapter we will cover Sections dx 1 + a 0(x)y(x) = g(x). (1)

Math 601 Solutions to Homework 3

Ordinary differential equations Notes for FYS3140

Linear Hyperbolic Systems

Lesson 3: Linear differential equations of the first order Solve each of the following differential equations by two methods.

Linear differential equations with constant coefficients Method of undetermined coefficients

Mathematics I. Exercises with solutions. 1 Linear Algebra. Vectors and Matrices Let , C = , B = A = Determine the following matrices:

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23

Week 9-10: Recurrence Relations and Generating Functions

ELEMENTARY LINEAR ALGEBRA

Math 60. Rumbos Spring Solutions to Assignment #17

Math 4377/6308 Advanced Linear Algebra I Dr. Vaughn Climenhaga, PGH 651A HOMEWORK 3

) sm wl t. _.!!... e -pt sinh y t. Vo + mx" + cx' + kx = 0 (26) has a unique tions x(o) solution for t ;?; 0 satisfying given initial condi

x 3y 2z = 6 1.2) 2x 4y 3z = 8 3x + 6y + 8z = 5 x + 3y 2z + 5t = 4 1.5) 2x + 8y z + 9t = 9 3x + 5y 12z + 17t = 7

ECE-S Introduction to Digital Signal Processing Lecture 3C Properties of Autocorrelation and Correlation

Tutorial 6 solution. For a 0 -> 1= 1+ 2 (1. For a 1 -> 0 = (2. After solving equation 1 and 2, 1 = 3 and 2=-2. a n = 3*2 n -2*3 n

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Review 1 Math 321: Linear Algebra Spring 2010

Chapter 2 Governing Equations

ELEMENTARY LINEAR ALGEBRA

dx n a 1(x) dy

The Corrected Trial Solution in the Method of Undetermined Coefficients

OR MSc Maths Revision Course

APPENDIX D DIFFERENTIAL AND DIFFERENCE EQUATIONS

Elementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test Find the radius of convergence of the power series

Solution to Homework 1

Chapter 2 Time-Domain Representations of LTI Systems

Ma 221 Final Exam Solutions 5/14/13

Journal of Thi-Qar University Vol.12 No.3 SEP 2017

Partial Differential Equations (PDEs)

The variational iteration method for solving linear and nonlinear ODEs and scientific models with variable coefficients

ELEMENTARY LINEAR ALGEBRA

Diff. Eq. App.( ) Midterm 1 Solutions

Degree Master of Science in Mathematical Modelling and Scientific Computing Mathematical Methods I Thursday, 12th January 2012, 9:30 a.m.- 11:30 a.m.

Direct Methods for Solving Linear Systems. Matrix Factorization

Series Solutions. 8.1 Taylor Polynomials

4. Higher Order Linear DEs

ENGI Second Order Linear ODEs Page Second Order Linear Ordinary Differential Equations

MA 262, Fall 2017, Final Version 01(Green)

2 Two-Point Boundary Value Problems

Chapter 2 Subspaces of R n and Their Dimensions

CURVE FITTING LEAST SQUARE LINE. Consider the class of linear function of the form

MATH 2250 Final Exam Solutions

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

Transcription:

Chapter 2 Solution of Homogeneous and Inhomogeneous Linear Equations Although we are concerned primarily with equations (differential and difference) of first and second order, the analysis of these equations applies equally to equations of higher order The methods for dealing with these equations is in fact best elucidated by considering the nth order equations and then giving the results for the first and second order equations as specific examples We first present the analysis for differential equations and then follow with the analysis for difference equations The idea essential to most of the methods for solving an inhomogeneous equation of nth order is that if one nows a number, m,(1 m n) of linearly independent solutions of the homogeneous equation, then one can derive a linear equation of order n m For the case in which one nows one solution of the homogeneous equation (m = 1), the method is referred to as reduction of order This is particularly useful if one starts with a second order homogeneous or inhomogeneous equation, resulting in a first order equation which can then be solved directly in closed form For the case in which one nows all n linearly independent solutions of the nth order homogeneous equation, the method (discussed earlier by Lagrange) is referred to as variation of parameters or variation of constants a characterization that will become clear shortly One then obtains the solution to the inhomogeneous equation in terms of the n linearly independent solutions of the homogeneous equation The case of an intermediate m, 1 < m < n, has been treated succinctly in a short article by Loce [31], lining the particular cases m = 1 (reduction of order) and m = n (variation of parameters) An alternative approach is given in [18] An analysis for arbitrary m, 1 m n, in which the nth order equation is transformed into a first order matrix equation, is given in [20] The nth order linear homogeneous differential equation has the form Ly(x) a n (x)y (n) (x) + a n 1 (x)y (n 1) (x) + +a 0 (x)y(x) = a i (x)y (i) (x) = 0 (21) i=0 Springer International Publishing Switzerland 2016 LC Maximon, Differential and Difference Equations, DOI 101007/978-3-319-29736-1_2 5

6 2 Solution of Homogeneous and Inhomogeneous Linear Equations and the corresponding inhomogeneous equation is a i (x)y (i) (x) = f (x) (22) i=0 where y (i) (x) di y(x) dx i (23) The corresponding N th order linear homogeneous and inhomogeneous difference equations are Ly(n) p N (n)y(n + N) + p N 1 (n)y(n + N 1) + + p 0 (n)y(n) = p i (n)y(n + i) = 0 (24) i=0 and p i (n)y(n + i) = q n (25) i=0 respectively Here the coefficients p i (n) are often also functions of independent parameters We note that these two N th order difference equations can be written in a form similar to that for the differential equations using the difference operator y(n) = y(n + 1) y(n) From(19) wehave p i (n)y(n + i) = i=0 = p i (n) i=0 i i= ( ) i y(n) ( ) i y(n) p i (n) (26) We can then write the homogeneous and inhomogeneous difference equations in the form r (n) y(n) = 0 (27) and r (n) y(n) = q n (28)

2 Solution of Homogeneous and Inhomogeneous Linear Equations 7 respectively, where r (n) = i= ( ) i p i (n) (29) 21 Variation of Constants We start with an analysis of the method of variation of constants since it provides the clearest understanding of the essential aspects of the method 211 Inhomogeneous Differential Equations As given above, the nth order homogeneous differential equation is a (x)y ( ) (x) = 0 (210) and the corresponding inhomogeneous equation is a (x)y ( ) (x) = f (x) (211) We assume that the solution to the inhomogeneous equation, y(x), and its n 1 derivatives, can be given in terms of the n linearly independent solutions of the homogeneous equation, u (x), ( = 1, 2,,n) by y ( ) (x) = c (x)u ( ) (x) = 0, 1,,n 1 (212) We then have n linear equations for the n functions c (x) They do not define the functions c (x), but merely relate them to the derivatives y ( ) (x), which is possible given the linear independence of the functions u (x) We note that if the c (x) are constants, then y(x) as defined by this equation is a solution of the homogeneous equation By allowing the c (x) to vary (ie, to be functions of x), we can determine them so that y(x) is a solution of the inhomogeneous equation, whence the name variation of constants, or variation of parameters An equation for the c is obtained by substituting (212) into(22); still required is y (n) (x) Differentiating (212) for = n 1wehave

8 2 Solution of Homogeneous and Inhomogeneous Linear Equations y (n) (x) = c (x)u (n) (x) + Substituting (212) and (213) in(22) then gives [ n 1 f (x) = a (x) c (x)u ( ) (x) + a n (x) c (x)u (n) (x) + = a (x) c (x)u ( ) (x) + a n (x) c (x)u(n 1) (x) (213) c (x)u(n 1) (x) c (x)u(n 1) (x) (214) ] Interchanging the order of summation in the first term here we have a (x) c (x)u ( ) (x) = c (x) a (x)u ( ) (x) = 0 (215) since the u (x) are solutions of the homogeneous equation (21) We now have one equation for the first derivative of the n functions c (x): c (x)u(n 1) (x) = f (x) a n (x) g n(x) (216) The remaining n 1 equations defining the functions c follow from (212): Differentiation of (212) gives y ( +1) (x) = c (x)u ( +1) (x) + c ) (x)u( (x) (217) Here, from (212), for = 0, 1,,n 2, the first sum on the right hand side is y ( +1) (x), from which c ) (x)u( (x) = 0, = 0, 1,,n 2 (218) Equations (216) and (218) nowgiven equations for the n functions c (x) which can then be integrated to give c (x) All of the results ust given can be obtained more succinctly by formulating the matrix equivalent of these equations, giving a first order matrix differential equation To that end, we define the Wronsian matrix, W(x),

21 Variation of Constants 9 u 1 (x) u 2 (x) u n (x) u (1) 1 (x) u(1) 2 (x) u(1) n W(x) = (x) u (n 1) 1 (x) u (n 1) 2 (x) u (n 1) n (x) (219) and the column vectors c(x), g(x) c 1 (x) c 2 (x) c(x) = c n (x) 0 0 g(x) = g n (x) (220) (221) and y 1 (x) y 2 (x) y(x) = y n (x) (222) in which the components y (x) are given in terms of the derivatives of the solution to the inhomogeneous equation (211) by y 1 (x) = y(x), y 2 (x) = y (1) (x),,y n (x) = y (n 1) (x) (223) from which y (x) = y +1(x), = 1, 2,,n 1 (224) The inhomogeneous equation (211) may then be written in the form n 1 a n (x)y n (x) + a (x)y +1 (x) = f (x) (225) or where n 1 y n (x) = b y +1 (x) + g n (x) (226) b = b (x) = a (x)/a n (x), g n (x) = f (x)/a n (x) (227)

10 2 Solution of Homogeneous and Inhomogeneous Linear Equations Taen together, Eqs (224) and (226) then give y (x) in terms of y (x) for = 1, 2,n and can be written in matrix form: y = By + g (228) where 0 1 0 B(x) = 0 0 1 b 0 b 1 b n 1 (229) Equation (212), defining the n 1 derivatives of y(x), then taes the simple form y = Wc (230) when written in terms of the Wronsian matrix W(x) Substituting this in the matrix form of the inhomogeneous equation, (228), then gives (Wc) = W c + Wc = BWc + g (231) From the homogeneous equation satisfied by u (x): n 1 = u (n) b u ( ), = 1, 2,,n (232) we have B(x)W(x) = W (x), (233) which, when substituted in (231), gives Wc = g, (234) which is equivalent to Eqs (216) and (218) Integration of this equation gives x c(x) = W 1 (x )g(x )dx, (235) and from (230), y(x) = W(x) x W 1 (x )g(x )dx (236) If we have an initial value problem in which y(x) and its n derivatives are specified at a point x = x 0, then integration of equation (234) gives

21 Variation of Constants 11 x c(x) = c(x 0 ) + W 1 (x )g(x )dx (237) x 0 Multiplying both sides of this equation by W(x) and using c(x 0 ) = W 1 (x 0 )y(x 0 ) from (230) we have the solution to the inhomogeneous equation (211) inmatrix form: ( x ) y(x) = W(x) W 1 (x 0 )y(x 0 ) + W 1 (x )g(x )dx (238) x 0 We note that the three essential equations in this analysis are (228), y = By + g, which defines the inhomogeneous equation and is equivalent to Eq (22); (230), y = Wc, which relates the functions c (x) to the derivatives of y(x) and is equivalent to Eq (212); and (233), BW = W, which gives the homogeneous equation satisfied by its solutions u (x) and is equivalent to Eq (232) With only minor notational modifications, these three equations form the basis of the analysis for difference equations (note Eqs (264), (266) and (269)) An alternate but completely equivalent approach to the solution of the nth order linear inhomogeneous equation, (228), y = By + g, (239) is provided by consideration of the Wronsian (in the case of the differential equation) and the Casoratian (in the case of the difference equation) We start from Eq (234), Wc = g, (240) The solution to this set of equations is given by Cramer s rule (see Appendix E), by which the column vector g(x), (221), replaces the th column in the Wronsian matrix W(x), (219) The elements c (x) are then given by u 1 u 1 0 u +1 u n c (x) = 1 u (1) 1 u (1) 1 0 u (1) +1 u (1) n W (x) u (n 2) 1 u (n 2) 1 0 u (n 2) +1 u (n 2) n u (n 1) 1 u (n 1) 1 g n u (n 1) +1 u (n 1) n (241) where u = u (x), ( = 1, 2,,n), are the n linearly independent solutions of (21) and W is the determinant of the Wronsian matrix (219) (See Appendix B for = 1 and = n) Expanding the determinant (241) in the elements of the th column, c (x) can be expressed in terms of an (n 1) (n 1) determinant:

12 2 Solution of Homogeneous and Inhomogeneous Linear Equations u 1 u 1 u +1 u n c (x) = ( 1)n+ g n(x) u (1) 1 u (1) 1 u (1) +1 u (1) n W (x) (242) u (n 2) 1 u (n 2) 1 u (n 2) +1 u (n 2) n (See Appendix B for = 1 and = n) The matrix solution to the inhomogeneous equation may then be written if one constructs a column vector c (x) whose elements are the c (x) for = 1, 2,,n Equation (230), y(x) = W(x)c(x), then gives x y(x) = W(x) c (x )dx (243) x 0 The first element in the column vector y(x) gives the function y(x): y(x) = =1 x u (x) c (x )dx (244) x 0 with c (x) given in (242) This provides a particular solution, to which an arbitrary solution to the homogeneous equation may be added to satisfy boundary conditions 212 Inhomogeneous Difference Equations We now loo at the equivalent analysis for the N th order inhomogeneous difference equation p N (n)y(n + n) + p N 1 (n)y(n + n 1) + +p 0 (n)y(n) = The Nth order homogeneous equation is p (n)y(n + ) = q N (n) (245) p (n)y(n + ) = 0, (246) for which the N linearly independent solutions are denoted by u (n), ( = 1, 2,,N), that is, p (n)u (n + ) = 0, = 1, 2,,N (247)

21 Variation of Constants 13 As with the differential equation, we assume that the solution to the inhomogeneous equation, y(n), and the succeeding N 1termsy(n + 1), y(n + 2),, y(n + N 1) can be given in terms of the N linearly independent solutions u (n) of the homogeneous equation by y(n + ) = c (n)u (n + ) = 0, 1,,N 1 (248) We thus have N linear equations determining the N functions, c (n), which is possible given the linear independence of the functions u (n) We note that if the c are constants, then y(n) as defined by this equation is a solution of the homogeneous equation By allowing the c to vary (ie, to be functions of n), we can determine them so that y(n) is a solution of the inhomogeneous equation From (248) we can thus write y(n + + 1) = as well as y(n + + 1) = c (n)u (n + + 1) for = 0, 1,,N 2 (249) c (n + 1)u (n + + 1) for = 0, 1,,N 2 (250) from which we have the N 1 equations c (n)u (n + + 1) = 0, = 0, 1,,N 2 (251) From (248) for = N 1wehave from which y(n + N) = y(n + N 1) = = c (n)u (n + N 1) (252) c (n + 1)u (n + N) c (n)u (n + N) + c (n)u (n + N) (253)

14 2 Solution of Homogeneous and Inhomogeneous Linear Equations Substituting (248) and (253) in(245) we then have p (n) c (n)u (n + ) + p N (n) c (n)u (n + N) = q N (n) (254) Inverting the order of summation in the first term here, we see that this term vanishes since the u (n) satisfy the homogeneous equation (246) We thus have c (n)u (n + N) = q N (n) p N (n) h N (n) (255) Equation (255) together with (251)for = 0, 1,, N 2 then give N equations for the N differences c (n) which can then be summed to give the functions c (n) We can now formulate the entire analysis for difference equations in terms of matrices, in a manner quite similar to that for differential equations, giving a first order matrix difference equation To that end we define the Casoratian matrix: u 1 (n) u 2 (n) u N (n) u 1 (n + 1) u 2 (n + 1) u N (n + 1) K(n) = (256) u 1 (n + N 1) u 2 (n + N 1) u N (n + N 1) and the column vectors c(n), h(n) c 1 (n) c 2 (n) c(n) = c N (n) 0 0 h(n) = h N (n) (257) (258) and y 1 (n) y 2 (n) y(n) = y N (n) (259) in which the components y (n) are given in terms of the solution of the inhomogeneous equation (245) for successive indices by y (n) = y( + n 1), = 1, 2,,N (260)

21 Variation of Constants 15 We can then write the inhomogeneous equation (245) intheform y(n + n) + b N 1 y(n + n 1) + +b 0 y(n) = h N (n) (261) or where N 1 y(n + n) = b y +1 (n) + h N (n) (262) b = b (n) = p (n)/p N (n), h N (n) = q N (n)/p N (n) (263) This may then be written in matrix form (cf Eq (228) for differential equations) as y(n + 1) = B(n)y(n) + h(n) (264) where B(n) = 0 1 0 0 0 1 b 0 b 1 b N 1 (265) Equation (248) givingthen terms y(n + ) for = 0, 1,,N 1 then taes the simple matrix form (cf Eq (230) for differential equations) Substituting (266) in(264) we then have y(n) = K(n)c(n) (266) y(n + 1) = B(n)K(n)c(n) + h(n) (267) Here 0 1 0 u 1 (n) u 2 (n) u N (n) B(n)K(n) = u 1 (n + 1) u 2 (n + 1) u N (n + 1) 0 0 1 b 0 b 1 b n 1 u 1 (n + N 1) u 2 (n + N 1) u N (n + N 1) u 1 (n + 1) u 2 (n + 1) u N (n + 1) u 1 (n + 2) u 2 (n + 2) u N (n + 2) = (268) u 1 (n + N) u 2 (n + N) u N (n + N)

16 2 Solution of Homogeneous and Inhomogeneous Linear Equations Thus B(n)K(n) = K(n + 1) (269) (cf Eq (233) for differential equations) The last line in K(n + 1) follows from the homogeneous equation (247) satisfied by the functions u (n): u (N + n) = b 0 (n)u (n) b 1 (n)u (n + 1) b N (n)u (n + N 1) (270) We note that Eqs (264), (266) and (269) for difference equations correspond respectively to Eqs (228), (230) and (233) for differential equations Substituting (269) in(264) then gives y(n + 1) = K(n + 1)c(n) + h(n) (271) However, from (266) we can also write so that from the last two equations we have y(n + 1) = K(n + 1)c(n + 1) (272) K(n + 1) c(n) = h(n), (273) from which c(n) = K 1 (n + 1) h(n) (274) and c(n + 1) = c(0) + K 1 ( + 1) h( ) (275) (cf (237) for differential equations) Here, the term c(0) adds an arbitrary solution of the homogeneous equation and is determined by the initial conditions Equation (273) is the matrix form of Eq (255) together with (251) for = 0, 1,, N 2 Equations (273), (274) and (275) given above for difference equations correspond to Eqs (234) and (237) for differential equations Writing (275) with n + 1 replaced by n we have c(n) = c(0) + K 1 ( ) h( 1) (276) =1 Multiplying both sides of this equation by K(n) and using (266) (from which c(0) = K 1 (0)y(0)) we have the solution to the inhomogeneous equation (264) in matrix form: y(n) = K(n) K 1 (0)y(0) + K 1 ( ) h( 1) (277) =1

21 Variation of Constants 17 Similar to the case for differential equations, we note that the three essential equations in the analysis for difference equations are (264), y(n + 1) = B(n)y(n) + h(n), which defines the inhomogeneous equation and is equivalent to Eq (245); (266), y(n) = K(n)c(n), which relates the N functions c (n) to N successive terms y(n + ) for = 0, 1,,N 1 and is equivalent to Eq (248); and (269), B(n)K(n) = K(n + 1), which gives the homogeneous equation satisfied by its solutions u (n) and is equivalent to Eq (247) An alternate but completely equivalent approach to the solution of the Nth order linear inhomogeneous equation, (264), y(n + 1) = B(n)y(n) + h(n) (278) is provided by consideration of the Casoratian in the case of the difference equation We start from Eq (273), K(n + 1) c(n) = h(n), (279) Replacing n + 1byn we have K(n) c(n 1) = h(n 1), (280) The solution to this matrix equation is given by Cramer s rule, from which the elements c (n 1) of the column vector c(n 1) for = 1, 2,,N are given by u 1 (n) u 1 (n) 0 u +1 (n) u N (n) c (n 1) = 1 u 1 (n + 1) u 1 (n + 1) 0 u +1 (n + 1), u N (n + 1) K (n) u 1 (n + N 2) u 1 (n + N 2) 0 u +1 (n + N 2) u N (n + N 2) u 1 (n + N 1) u 1 (n + N 1) h N (n 1) u +1 (n + N 1) u N (n + N 1), (281) where u = u (n), = 1, 2,,N, are the N linearly independent solutions of (24) and K (n) is the determinant of the Casoratian matrix (256) Expanding the determinant (281) in the elements of the th column, the elements c (n 1) can be expressed in terms of an (N 1) (N 1) determinant: c (n 1) = ( 1) N+ h N (n 1) K (n) u 1 (n) u 1 (n) u +1 (n) u N (n) u 1 (n + 1) u 1 (n + 1) u +1 (n + 1) u N (n + 1) u 1 (n + N 2) u 1 (n + N 2) u +1 (n + N 2) u N (n + N 2) (282) It is clear that the determinant as written in (282) is valid for = 2, 3,,N 1 For = 1 and = N (as well as for all 1 N) one must simply omit the th column The matrix solution to the inhomogeneous equation may then be written

18 2 Solution of Homogeneous and Inhomogeneous Linear Equations from the column vector c(n 1) whose elements are the c (n 1) given in (282) for = 1, 2,, N Equation (266), y(n) = K(n)c(n), then gives y(n), with ( y(n) = K(n) K 1 (0)y(0) + ) c(n 1) n =1 (283) The first term in parentheses gives a solution of the homogeneous equation Therefore a particular matrix solution of the inhomogeneous equation is given by y(n) = K(n) c(n 1) (284) n =1 The first element of this matrix equation gives the function y(n): y(n) = u (n) c (n 1) (285) =1 n =1 with c (n 1) given by (282) This provides a particular solution to which an arbitrary solution to the homogeneous equation may be added to satisfy boundary conditions 22 Reduction of the Order When One Solution to the Homogeneous Equation Is Known The present method reduces the order of an nth order linear operator, giving an operator of order n 1 when one solution to the homogeneous equation is nown Thus, an nth order homogeneous equation Ly = 0 is transformed into a homogeneous equation L w = 0 of order n 1inw;annth order inhomogeneous equation Ly = f is transformed into an inhomogeneous equation L w = f of order n 1inw (In particular, for a second order equation we obtain a first order equation, which is then soluble in closed form) The details in the analysis of differential and difference equations are quite similar, and the approach is the same as that given earlier in connection with the method of variation of constants (cf (212)): By writing the dependent variable (y(x) or y(n)) as the product of two functions, y(x) = c(x)u(x) (286) or y(n) = c(n)u(n), (287)

22 Reduction of the Order When One Solution 19 one of which satisfies the homogeneous equation (Lu(x) = 0 or Lu(n) = 0, respectively), one can write the original equation in a form such that only derivatives (or differences) of the unnown function (c(x) or c(n)) appear Then, defining w(x) = c (x) (288) and w(n) = c(n) = c(n + 1) c(n), (289) the order of the equation for w(x) or w(n) is less by one than that of the original equation We start by considering the nth order differential operator given in (21), viz, Ly(x) a n (x)y (n) (x) + a n 1 (x)y (n 1) (x) + +a 0 (x)y(x) = Writing where u(x) is assumed to be a nown solution of a (x)y ( ) (x) (290) y(x) = c(x)u(x) (291) Lu(x) = a (x)u ( ) (x) = 0, (292) we have and from (21), y () (x) = d (c(x)u(x)) dx = c ( ) (x)u ( ) (x) (293) Ly(x) = = = = a (x)y () (x) =0 a (x) =0 c ( ) (x) c ( ) (x) =1 c ( ) (x)u ( ) (x) a (x)u ( ) (x) = a (x)u ( ) (x) + c(x) = a (x)u () (x) =0 (294)

20 2 Solution of Homogeneous and Inhomogeneous Linear Equations The last sum here is zero from (292) Then, defining we obtain a differential operator of order n 1inw(x): c ( ) (x) =1 = a (x)u ( ) (x) = w(x) c (1) (x), (295) w ( 1) (x) =1 n 1 = w ( ) (x) = = +1 a (x)u ( ) (x) a (x)u ( 1) (x) + 1 n 1 n 1 + 1 = w ( ) (x) a +1 (x)u ( ) (x) + 1 = = L w (296) We next loo at the analogous procedure for an Nth order linear homogeneous difference operator, given in (24), viz, Ly(n) p N (n)y(n + N) + p N 1 (n)y(n + N 1) + + p 0 (n)y(n) (297) Again, we write the solution of this equation as the product of two functions: y(n) = c(n)u(n) (298) where we assume u(n) to be a nown solution of the homogeneous equation Lu(n) = p N (n)u(n + N) + p N 1 (n)u(n + N 1) + + p 0 (n)u(n) = p (n)u(n + ) =0 = 0 (299) The operator (297) is then Ly(n) = p N (n)c(n + N)u(n + N) + p N 1 (n)c(n + N 1)u(n + N 1) + + p 0 (n)c(n)u(n) (2100)

22 Reduction of the Order When One Solution 21 Applying (19) to the function c(n + ), this operator can be written in the form p (n)u(n + ) =0 = p (n)u(n + ) c(n) =1 c(n) + c(n) p (n)u(n + ) (2101) As with the differential equation, the last sum in the above equation is zero in view of (299), giving Ly(n) = p (n)u(n + ) Then, in analogy with (295), we define giving p (n)u(n + ) 1 w(n) = =1 =1 =0 c(n) (2102) w(n) = c(n), (2103) = = 1 w(n) =1 N 1 N 1 w(n) w(n) = = +1 N 1 = which is a difference operator of order N 1inw(n) p (n)u(n + ) p (n)u(n + ) + 1 ( + 1 + 1 ) p +1 (n)u(n + + 1) = L w(n) (2104) 221 Solution of Nth Order Inhomogeneous Equations When m Linearly Independent Solutions of the Homogeneous Equation are Known, Where 1 < m < N The two methods reduction of order and variation of parameters have been presented separately, since that is how they are generally found in the literature However, as has been shown in a succinct article by Phil Loce [31], each of these procedures

22 2 Solution of Homogeneous and Inhomogeneous Linear Equations can be viewed as particular limiting cases in the solution of an nth order linear nonhomogeneous equation when m n linearly independent solutions of the nth order homogeneous equation are nown: m = 1 corresponds to reduction of order, m = n corresponds to variation of parameters Related treatments may be found in [18, Chap IX, Sect 3, pp 319 322] and in [20, Chap IV, Sect 3, pp 49 54]

http://wwwspringercom/978-3-319-29735-4