APPENDIX D DIFFERENTIAL AND DIFFERENCE EQUATIONS

Size: px
Start display at page:

Download "APPENDIX D DIFFERENTIAL AND DIFFERENCE EQUATIONS"

Transcription

1 APPENDIX D DIFFERENTIAL AND DIFFERENCE EQUATIONS Differential and difference equations playa key role in the solution of most queueing models. In this appendix we review some of the fundamentals concerning these types of equations. 0.1 Ordinary Differential Equations A differential equation is an equation involving a function and its derivatives. An example of such an equation might be d 2 y dy 3 x 3 dx x dx - x Y = 6e, (D.I) where y is a function of x, that is, y = y(x). The problem is to determine the most general y(x) that satisfies (D.I). Prior to discussing methods of solution to such equations, we first discuss the nomenclature involved with categorizing differential equations. Fundamentals of Queueing Theory, Fourth Edition. By D. Gross, J. F. Shortie, J. M. Thompson, and C. M. Harris Copyright 2008 John Wiley & Sons, Inc. 467

2 468 DIFFERENTIAL AND DIFFERENCE EQUATIONS Classification A differential equation is called ordinary if it involves only total (as opposed to partial) derivatives. Differential equations are further categorized by order and degree. Thus a differential equation of the form d"y d"-ly dy ao(x)-d + a1(x)-d an-1(x)-d + an(x)y = f(x) (D.2) ~ ~- x is called a linear ordinary differential equation of order n. The order refers to the highest derivative in the equation, while the degree (linear in this case) refers to the exponent on the dependent variable y and its derivatives. When the coefficients an (x) are independent of x, the equation is said to be constant coefficients. If the right-hand side of (D.2) is zero, then the equation is called homogeneous. Thus the equation d"y d"-ly dy ao-+al an-l- + any = 0 dxn dxn- 1 dx is a linear, homogeneous differential equation of order n with constant coefficients. The descriptor "ordinary" is understood and generally omitted unless one is dealing simultaneously with ordinary and partial differential equations Solutions Discussion in this appendix is restricted to solutions of linear ordinary differential equations. Solution techniques for nonlinear differential equations are extremely complex, and furthermore, the types of differential equations that arise from our interest in queueing analyses are usually linear. Consider the following linear differential equation of second order with constant coefficients, namely, y" + 3y' + 2y = 6e x, (D.3) where the prime notation is now used to denote differentiation. One solution to (D.3) is (D.4) which can be verified by substitution. This is referred to as a particular solution to (D.3). Another solution to (D.4) is (D.S) where C1 is any constant. This solution can also be verified by substitution. It contains the particular solution of (D.4) and is a more general solution. We desire the most general solution to any differential equation, which we refer to simply as the general solution. It turns out that the general solution of (D.3) is given by (D.6)

3 ORDINARY DIFFERENTIAL EQUATIONS 469 Any particular solution can be obtained by specifying the arbitrary constants C1 and C2 For example, the particular solution given by (D.4) results from (D.6) when C1 = C2 = O. The number of arbitrary constants appearing in a general solution of a linear ordinary differential equation can be shown to be equal to the order n. Since (D.3) is of order two, two constants appear in the general solution given by (D.6). Another way oflooking at the solution given by (D.6) is to first consider solutions to a homogeneous equation obtained from (D.3) by setting the right-hand side to zero. The homogeneous equation then becomes linear: y" + 3y' + 2y = O. (D.7) We note that C 1e-x and C2e-2x are both solutions to (D.7). Also, ex is a solution to the original nonhomogeneous equation (D.3), so that the general solution consists of a linear combination of all solutions to the homogeneous equation (the general solution to the homogeneous equation) plus a particular solution to the nonhomogeneous equation. It can be proved that for a linear ordinary differential equation of order n there are n solutions to the homogeneous equation, so that the general solution is comprised of a linear combination of the n solutions (thus yielding n arbitrary constants) plus a particular solution to the nonhomogeneous equation. See, for example, Rainville and Bedient (1969). To determine the constants of a general solution, that is, which particular solution is desired, one must utilize boundary conditions. A boundary condition is a condition on the function y(x) for a specific x, and results from the model which the differential equation represents. For the equation given by (D.3), suppose one knows from the physical situation that generated (D.3) that both the function and its derivative must be zero when x is zero, that is, y(o) = y' (0) = o. Using these conditions in (D.6) yields two equations in two unknowns, namely, 0= C1 + C2 + 1, o = -C1-2C2 + 1, which result in C1 = -3 and C2 = 2, giving the particular solution and the general solution as We see then, for an nth order equation, n boundary conditions are required to obtain a particular solution from the general solution. Thus the fundamental approach presented here in solving differential equations is to first find the general solution and then, using the boundary conditions, find the particular solution desired. Emphasis in this appendix is on finding general solutions.

4 470 DIFFERENTIAL AND DIFFERENCE EQUATIONS Separation of Variables The easiest type of differential equation to solve is one for which separation of variables is possible. The general solution can then be obtained by integrating both sides. For example, consider the equation We can write dy 2 y- = 3x +2e x. dx ydy = (3x 2 + 2e X )dx. Integrating both sides and combining the arbitrary constants arising from indefinite integration yields y2-2 -x e x +C. If, in general, we have an equation of the form [even for g(y), u(y) nonlinear] we can separate variables to obtain and the general solution is! dy f(x)g(y) dx = h(x)u(y), g(y) dy - h(x) dx u(y) - f(x), g(y)! h(x) u(y) dy = f(x) dx + C. (D.8) Although the examples thus far have been linear differential equations of the first order, it may also be possible to separate variables in higher-order linear equations. For example, the solution for d 2 y dx 2 = f(x) can be obtained by integrating twice to yield since d 2 y d(dy/dx) dx2 dx and integrating the first time gives a solution dx d! Y f(x)dx + C 1

5 ORDINARY DIFFERENTIAL EQUATIONS 471 EXAMPLE D.I Find the general solution of y" = 6x 2. Integrating once gives and integrating a second time yields y' = 2x 3 + C Linear Differential Equations of First Order The linear differential equation of the first order can be written in general terms as dy dx + a(x)y = f(x). (D.9) If we can determine a function g( x) so that when both sides of (D.9) are multiplied by it, the equation can be put in the form d(gy) - f dx -g, (D. 10) then the solution can be determined by separating variables, that is, the solution becomes or gy = / gfdx+c 1/ gfdx+-. C y=- (D.ll) 9 9 Such a function as 9 is referred to as an integrating factor. We can, for linear first-order differential equations, find 9 as follows. Using the product rule of differentiation, and dividing through by g, (D. 10) can be written as dy +.. dg = f. dx gdx (D.12) For (D.12) to be equivalent to (D.9) we must have Integrating both sides yields 1 dg -- = a(x). gdx lng = / a(x)dx + C1

6 472 DIFFERENTIAL AND DIFFERENCE EQUATIONS or g = ec1ea(x), where A(x) = J a(x)dx. Since we are seeking only a particular g that will yield equivalency for (D.9) and (D.12), we are free to set the constant C1 to any value we desire. It is most convenient to set C1 = O. Hence a suitable integrating factor is g = ea(x). Using (D.l2) in (D.ll) yields the final solution for y, namely, y = e-a(x) J ea(x) f(x)dx + Ce-A(x). (D.13) (D.14) Unfortunately, no such similar method is possible for obtaining solutions to higherorder linear differential equations. We will consider, however, some higher-order equations of specific types Linear Differential Equations with Constant Coefficients The simplest linear equation of higher order is one where the coefficients are independent of x, namely, d"y d"-1 y dy ao- + a an-1- + any = f(x). dxn dxn- 1 dx (D.IS) The approach here is to first find the n solutions to the homogeneous equation aod d"y d"-1 y dy +a1-d an- 1- d +any=o, xn xn X (D.16) and then find a particular solution for the nonhomogeneous equation. The form of (D.16) suggests that the homogeneous solutions are of the form e TX, since the nth derivative is a multiple of the function itself, that is, d"e TX n TX -- =r e. dx Now if e TX is a solution to (D.16), then we have (D.17) which implies for a nontrivial solution (y = e TX =I- 0) that (D.18) Equation (D.18) is called the characteristic or operator equation. The characteristic equation can also be obtained directly by looking at the derivative as an operator, say,

7 ORDINARY DIFFERENTIAL EQUATIONS 473 D, so that Dy D2y = D(Dy) dy dx' d2y dx2' Hence (D.16) can be written as Dny = D(Dn-1y) ~y dxn (aodn + a1dn an-1d + an)y = 0, where the characteristic equation is in terms of D instead of r. Denoting the n roots of the characteristic equation by rl, r2,..., r n, we can write and hence theoretically the roots can be found by factorization. * If the n roots are distinct, we then have n solutions etix(i = 1,2,..., n) of the homogeneous equation (D.16). The most general solution of (D.16) is then If the roots are not all distinct, we have less than n solutions. To find the missing solution we can proceed as follows. Suppose that rl is a double root of the characteristic equation. Then we have Observing that a(r - rl)2 _ 2( _ ) ar - r rl, (D.19) we find that the partial derivative with respect to r evaluated at r = rl also vanishes, so that if e T1X is a solution, so too is ae TX / a rlt=tl = xe T1X To verify that xe T1X is a solution consider solutions of the form xe TX Putting this in for y in (D.16) yields Since we can write * Depending on the characteristic equation that results, factorization could be impossible and numerical methods might be required.

8 474 DIFFERENTIAL AND DIFFERENCE EQUATIONS and changing the order of differentiation gives Hence we can write a ((r etx lax n ) a(aetx lax) aetx ao or an-l or + an 8r = o. or :r [(aorn + alrn an-lr + an) etx ] = O. But we have said that the characteristic equation factors into n - 1 roots as given in (D.19) so that :r {[(r - rl)2(r - r2) (r - rn-d] etx } = O. This equation does hold for r = Tl, since the partial with respect to r vanishes at that point. Thus the two solutions for a double root rl are This can be generalized to roots of multiplicity k; that is, if rl has multiplicity k, the solution associated with rl is C1eT1X + C2xeT1X + C3x2eTIX Ckxk-leTlX. When we have multiple roots, if factorization is not possible and we must resort to numerical methods, we might only be able to find (say) n - k distinct roots to the characteristic equation. To find which root (or roots) have multiplicity we can simply take partial derivatives of the characteristic equation and check for which root (or roots) vanish. The roots for which only the first partial derivative of the characteristic equation vanishes have multiplicity two. If a root causes the first, second,..., kth partial derivatives to vanish, it is of multiplicity k + 1. EXAMPLE D.2 Find the general solution for The characteristic equation is D3-4D = 0, which factors into D(D + 2)(D - 2) = 0; hence the roots are rl = 0, r2 = -2, and r3 = +2. The general solution is y = C1 + C2e-2x + C3e2x.

9 ORDINARY DIFFERENTIAL EQUATIONS 475 EXAMPLE D.3 Find the general solution for The characteristic equation is which factors into D3-4D2 + 5D - 2 = 0, (D - 2)(D - 1)2 = o. Thus the roots are Tl = 2 and T2 = T3 = 1, and we have Had we not been able to factor the characteristic equation but had determined that 2 and 1 were all distinct roots, we know that since the characteristic equation is cubic, one root must be double. To find which root it is, we take the partial derivative of the characteristic equation, which gives 3D 2-8D + 5, and evaluating D = 2 and D = 1 yields and so that root D = 1 is the double root. 3(2)2-8(2) + 5 = 1 3(1)2 + 8(1) + 5 = 0 It remains now to discuss the determination of a particular solution for the nonhomogeneous linear differential equation with constant coefficients. There are four methods for finding a particular solution to the nonhomogeneous equation: (1) undetermined coefficients, (2) variation of parameters, (3) differential operators, and (4) Laplace transforms. We briefly discuss the first and third methods here. Laplace transforms are also presented in Appendix C Undetermined Coefficients If the right-hand side of the differential equation given in (D.15) is of the form xm (m is an integer), sin(bx), cos(bx), e bx, and/or products of two or more such functions, we can employ the method of undetermined coefficients to find a particular solution. We first define a family of a function f (x) and its derivatives. The functions specified above are functions with a finite number of derivatives for which the function and its

10 476 DIFFERENTIAL AND DIFFERENCE EQUATIONS Table D.I Functions and Their Families Function xm sin bx cos bx e bx Family xm,xm-1,xm-2,...,x2,x,1 sin bx, cos bx cos bx, sin bx e bx derivatives are linearly independent. Table D.llists the families of the aforementioned functions. The family of a function consisting of a product of n terms of this type consists of all possible products of the family members of each of the n terms. For example, the family of x2 cos x is x 2 cos x, X cos x, cos x, x2 sin x, x sin x, and sin x. The method works as follows in three steps: 1. Assuming f (x) is a linear combination of functions or products of functions given in Table D.l, construct the family for each, eliminating families that are included in other families. 2. If any family has a member that is also a solution to the homogeneous equation, replace that family by a new one, obtained by multiplying the original family by x (or the lowest power of x necessary) so that the new family has no members that are also solutions to the homogeneous equation. 3. The particular solution is assumed to be a linear combination of all members of the constructed families. The constants of the linear combination are then found by substituting this particular solution into the differential equation. EXAMPLE D.4 Find the general solution for ylll - y' = 2x + 1-4cosx + 2e x. The general homogeneous solution can be found from previous methods to be y = C1 + C2e x + C3e- x. The families for the right-hand side function are, respectively, {x, I}, {I }, {cos x, sinx}, {ex}. Since {I} is included in {x, I}, we omitthis. Furthermore, since 1 and ex are in the homogeneous solution, their families are replaced by { x2, x} and { xe X }, respectively. Then the resulting terms to be used are { 2. X} X,x,Cosx,Slnx,xe

11 ORDINARY DIFFERENTIAL EQUATIONS 477 and the particular solution is of the form YP = AX2 + Bx + Ccosx + Dsinx + Exe x. Substituting Yp into the differential equation yields C sinx - D cos x + E(xeX + 3eX) - [2Ax + B - Csinx + Dcosx + E(xeX + ex)] = 2x cos x + 2e x, or simplifying we get -2Ax - B + 2Csinx - 2Dcosx + 2Ee x = 2x + 1-4cosx + 2e x. Matching coefficients of like terms yields Hence the particular solution is and the general solution becomes A = -1,B = -1,C = O,D = 2,E = 1. YP = _x2 - X + 2 sin x + xe x Differential Operators We illustrate the use of differential operators on the same equations used in the previous example. The equation can be written in operator notation as y"' - Y' = 2x cos x + 2e x where g, as before, is the right-hand side. This can be factored as D(D + 1)(D - l)y = g. We let hence we have YI = (D + 1) (D - 1) Yi (D.20)

12 478 DIFFERENTIAL AND DIFFERENCE EQUATIONS or Solving directly by integration gives Yl dyl -=g. dx J gdx + C1 J (2x + 1-4cosx + 2e X )dx + C1 x 2 + X - 4sinx + 2e x + C1. Substituting Yl into (D.20) yields the differential equation We next let and get or (D + 1) (D - 1) Y = x 2 + X - 4 sin x + 2e x + C1. Y2 = (D -1)y (D+l)Y2 =x2+x-4sinx++2e x +C1 dy2 2. x C dx + Y2 = X + X - 4 sm x + 2e + 1 (D.21) (D.22) Equation (D.22) is now a first-order equation that can be solved by the solution previously derived in Section D.1.4 and given by (D.14), which yields Y2 = e- x J ex (x2 + x - 4sinx + 2e x + C 1 ) dx + C2e- x = x 2 - X + 1-2sinx + 2cosx + ex + C1 + C2e- x. Now substituting Y2 into (D.21) yields another first-order equation (D -1) Y = x 2 - X + 1-2sinx + 2cosx + ex + C1 + C2e- x. Again using the solution for first-order equations we get Y = ex J e- x (x2 - x + 1-2sinx + 2cosx + ex + C1 + C2e-X) dx + C3e x X C C2 -x C X = -x - x - + smx + xe Te + 3e, which agrees with our previous solution upon redefining the arbitrary constants. This method of using operators applies only for equations with constant coefficients. Essentially, any equation with constant coefficients can be written in operator notation as f(d)y = g(x). If a function f- 1 (D) can be found where

13 ORDINARY DIFFERENTIAL EQUATIONS 479 the solution to the equation is The material referenced above deals with determining such inverse differential operations Reduction of Order Leaving the topic of particular solutions and returning now to the topic of solutions in general, if one homogeneous solution of a linear differential equation of order n is known, the remainder of the solution can be determined by solving a new linear differential equation of order n -1 in much the same way one can reduce the degree of an algebraic equation when one root is known. Consider the following second-order equation: (D.23) where Y and 9 are functions of x and the coefficients al and a2 may be also. Suppose one solution to the homogeneous equation can be found from inspection and we denote it by Yl (x), that is, (D.24) Then if we let then Y is a solution to (D.23) if Y = YlV, or Simplifying we obtain YlV" + 2y~v' + y~v + al (YlV' + vyd + a2ylv = g. (D.25) But since Yl is a homogeneous solution, using (D.24) and (D.25) gives " (2 I ) I YlV + Yl+alYl v =g. Letting u = v' we get the following first-order equation involving u, namely, (D.26) which can be solved by (D.14) of Section D.1.4. Finally, we can get v from v' = u by integration and the general solution Y = Yl V results.

14 480 DIFFERENTIAL AND DIFFERENCE EQUATIONS EXAMPLE D.S Consider the equation y" - y = x. From inspection we can see that one solution to the homogeneous equation is Thus using this in (D.26) we have the first-order equation or which by (D.l4) yields u' + 2u = xe- x, Integrating u we obtain v as V = -xe and finally (redefining the constant C1 ) -x C1-2x - -e + C2 2 ' Systems of Linear Differential Equations This section considers systems of simultaneous linear differential equations with constant coefficients. To begin, consider the following system of two equations in two unknowns: These can be rewritten using operator notation as (D2-1) Y1-2Y2 = g1, -3Y1 + (D2-2) Y2 = g2. (D.27) Using Cramer's rule the solution yields the following two differential equations of a single variable: (D2-1) \ -3-2 \ \91 (D2-2) Y1 = g2-2 \ (D2-2),

15 or rewriting (D2-1) I -3 ORDINARY DIFFERENTIAL EQUATIONS I _1(D 2-1) gil (D2-2) Y g2 ' (D4-3D2-4)YI = (D2-2)gl + 2g2, (D4-3D2-4)Y2 = (D2 - l)g2 + 3gl. Since gl and g2 are known functions of x, the differentiation implied by the operator can be performed and the right-hand side represented by two known function, hl(x) and h2(x), yielding (D4-3D2-4)YI = hl(x), (D4-3D2-4)Y2 = h2(x). Both equations have identical characteristic equations (which can always be obtained from the determinant of the left-hand side of the system of equations) so the general solution to the homogeneous equations are of the same form. Denoting the four roots to the characteristic equation by rl, r2, r3, and r4, we have the homogeneous solutions YI = CIe T1X + C2e T2X + C3e T3X + C4 e T4X Y2 = C5e T1X + C6e T2X + C7e T3X + C8e T4X (D.28) While there are eight constants, they are not all independent and their relationships can be obtained by substitution of (D.28) in either equation of (D.27) with the right-hand side equal to zero, yielding c - r~ -IC 6-2 2, C - r~ 8-- -IC 2-4 Equations (D.28) are the homogeneous solutions to (D.27). To obtain particular solutions, one can use the method of undetermined coefficients. EXAMPLE D.6 Solve the following for YI and Y2: Y~ - 2YI + 2y~ = 2-4e 2x, 2y~ - 3YI + 3y~ - Y2 = o. (D.29) Considering first the homogeneous solutions, we rewrite the equations in operator notation as (D - 2)YI + 2DY2 = 0, (2D - 3)YI + (3D - I)Y2 = 0, (D.30)

16 482 DIFFERENTIAL AND DIFFERENCE EQUATIONS and the characteristic equation is then which upon expanding yields (D - 2) I (2D - 3) I 2D (3D-I) =0, _D2_D+2=0. Factoring gives the two roots as 1 and - 2 so that the homogeneous solutions are Yl = Clex + C2e-2x, Y2 = C3ex + C4e-2x. To determine the relationship among the constants, we substitute the above in either equation of (D.30) to get and thus To obtain the particular solution, we use the method of undetermined coefficients. The family to be considered is {I, e2x } and we proceed as follows: Substituting into (D.29) gives Yl,p = A + Be2x, Y2,p = C + De2x. 2Be2x - 2A - 2Be2x + 4De2x = 2-4e 2x, 4Be2x - 3A - 3Be2x + 6De2x - C - De2x = 0, or upon simplifying we have - 2A + 4De2x = 2-4e2x, - 3A - C + (B + 5D)e2X = 0. Now equating coefficients of like terms yields -2A = 2, 4D = -4, -3A - C = 0, B + 5D = 0, which finally gives A=-I, B=5, C=3, D=-I,

17 DIFFERENCE EQUATIONS 483 and the general solutions are Yl = Clex + C2e-2x e2x, Y2 = C l ex - C2e-2x + 3 _ e2x 2. The procedure, of course, generalizes to systems of size greater than two. If we have n simultaneous equations, the characteristic equation is obtained from evaluating an n x n determinant Summary In solving ordinary linear differential equations, the first approach should be to determine whether the variables are separable. If they are, the general solution can be obtained directly by integration as discussed in Section D.l.3. If separation of variables is not possible, but the equation is first order, the solution can be obtained from (D. 14) as derived in Section D.l.4. For higher-order equations with constant coefficients, the general solution to the homogeneous equation can be obtained by finding the roots of the characteristic equation (Section D.l.5) and then finding the particular solution via undetermined coefficients (Section D.l.6). Use of operators (Section D.l.7) can also be employed to determine general solutions for nonhomogeneous linear equations with constant coefficients. If one (or more) solutions to the homogeneous equation are known, the order of the equation can be reduced (Section D.l.8), thereby yielding equations of lower order, which may be solved more readily. Finally, in Section D.1.9 solutions of systems of simultaneous linear differential equations with constant coefficients are discussed. 0.2 Difference Equations Consider a function of an independent variable x, where x is now a discrete variable; that is, it can take only integer values. Then the function exists only at discrete points (integer values of x) and we denote this type of function by Yx instead of y(x). The first finite difference of Yx is given as the second finite difference as and the nth finite difference as tly == Yx+l - Yx, tl 2 y = tl(tly) = (Yx+2 - Yx+l) - (YX+l - Yx) = Yx+2-2Yx+l + Yx,

18 484 DIFFERENTIAL AND DIFFERENCE EQUATIONS We define an operator D to be Dyx = Yx+l, D2yx = D(Dyx) = Yx+2, One can easily see the relationship between ~ and D as Linear Difference Equations with Constant Coefficients An equation involving Yx of the type (D.31) is called a linear difference equation of order n with constant coefficients. We shall not treat here the case where the coefficients are also dependent on x. One can see many similarities between difference equations and differential equations and, indeed, the solution techniques are often quite similar. The technique for solving (D.31) is very much like that used for linear differential equations with constant coefficients. In fact, it can be shown that a general solution of (D.31) consists of a linear combination of all solutions to the homogeneous equation (gx replaced by zero) plus a particular solution to (D.31). Also, for nth degree equation, there are n arbitrary constants associated with the homogeneous solution, which in any particular case can be found from n boundary conditions. To find the solution to the homogeneous equation we proceed in a manner similar to Section D.1.S. We first rewrite (D.3l) using operator notation to get The homogeneous solutions are of the form rx (as opposed to etx for differential equations), where r is a root to the characteristic equation To see this, we let Yx = rx in (D.31) and get whereupon factoring out rx we have But since r is a root to the characteristic equation, the left-hand equals zero.

19 DIFFERENCE EQUATIONS 485 Since the characteristic equation has n roots, the general solution to the homogeneous equation is Yx = C1rf + C2r~ Cnr~. Multiple roots can be handled in a manner analogous to differential equations in that for a root of multiplicity k, the first k -1 derivatives of the characteristic equation with respect to D must vanish and the k solutions are of the form rx, xrx, x(x -l)rx,..., x (x - 1)... (x - k + 1) rx, since in taking the i th derivative or rx one obtains x(x - 1) (x - i + l)rxr-i and the r-i can be absorbed in the arbitrary constant. To find a particular solution to (D.3I), the method of undetermined coefficients can be employed. We illustrate the procedures on the following example. EXAMPLE D.7 Consider the difference equation Yx+2 + 6Yx+1 + 9yx = 16x2. The homogeneous equation in operator notation is (D2 + 6D + 9) Yx = 0, and the solution to the characteristic equation has two roots at -3. Hence the solution is Yx = C 1 (_3)X + C2x( _3)x. To find the particular solution, the family of x2 gives terms {x2, x, I}. Therefore Yx,P = Ax2 + Bx + C, and substituting this into the original equation gives or A(x + 2)2 + B(x + 2) + C + 6[A(x + 1)2 + B(x + 1) + CJ + 9[Ax2 + Bx + CJ = 16x2, 16Ax2 + (16A + 16B)x + loa + 8B + 16C = 16x2. Equating like coefficients yields the conditions or finally 16A = 16, 16A + 16B = 0, loa + 8B + 16C = 0, Thus the particular solution is and the general solution becomes A=l, B=-l, C=-~. 2 1 Yx,P = X - X - 8' Yx = C1( _3)X + C2x( _3)X + x2 - X - ~.

20 486 DIFFERENTIAL AND DIFFERENCE EQUATIONS Systems of Linear Difference Equations The solution to systems of difference equations is analogous to the procedure used in Section D.1.9 for differential equations. One first writes the equation in operator notation, finds the characteristic equation using the determinant ofthe left-hand side "coefficients," solves for the roots, and obtains the homogeneous solution as linear combinations of ri (instead of eti,x as for differential equations). The number of constants are then reduced as before by substituting the homogeneous solutions into the homogeneous equations. Then a particular solution can be found (if the equations are nonhomogeneous) by the method of undetermined coefficients. EXAMPLE D.S Consider the following system of difference equations to be solved for Y and z. Yx+1-3yx + Zx+1-3zx = 2, 2Yx+l - 5yx + 3zx+l - 3zx = 6(4)x. (D.32) We first obtain the homogeneous solutions by solving the characteristic equation obtained after writing in operator notation. The characteristic equation is (D - 3) I (2D - 5) (D - 3) I (3D - 3) = 0, which upon calculating the determinant yields D2 - D - 6 = o. The roots can be found by factoring to be 3 and - 2. Thus the homogeneous solutions are Yx = C1(3)X + C2 ( _2)X, Zx = C 3 (3)X + C 4 ( _2)x. To reduce the number of arbitrary constants we substitute the above in the original equations of (D.32) with the right-hand side set to zero. This yields the relations and hence the homogeneous solutions become Yx = C1 (3)X + C2 ( _2)X, Zx = - ~1 (3y - C 2 ( _2)x. To obtain the particular solution, we employ undetermined coefficients. The family of the first right-hand side of (D.32) is {1} and the family of the second

21 DIFFERENCE EQUATIONS 487 is {4X}. Thus we have Substituting into (D.32) we get Yx,P = A + B(4)X, zx,p = C + D(4)x. A + 4B(4)X - 3A - 3B(4)'E + C + 4D(4)X - 3C - 3D(4)X = 2, 2A + SB(4)X - 5A - 5B(4)X + 3C + 12D(4)X - 3C - 3D(4)X = 6(4)x. Upon simplification we obtain Equating like coefficients yields -2A - 2C + (B + D)(4)X = 2, -3A + (3B + 9D)(4)X = 6(4)x. -2A - 2C = 2, B + D = 0, -3A = 0, 3B + 9D = 6, which gives A=O, B=-l, C=-l, D=l. The general solution is then Yx = C1(3)X + C 2 ( _2)X - (4)X, Zx = - C 1 (3)"' - C 2 ( _2)X (4)x. 6 This method of finding particular solutions for systems of equations through the use of undetermined coefficients does not always work. For example, one can verify that undetermined coefficients do not yield a particular solution of the following set of equations: Yx+1-2yx + 2zx = 2, 2Yx+1-3yx + 3Zx+1 - Zx = 6( 4)x. For such cases, other methods are necessary: However, further detailed treatment of finding particular solutions is not necessary since differential and difference equations encountered in queueing theory are, for the most part, homogeneous.

McGill University Math 325A: Differential Equations LECTURE 12: SOLUTIONS FOR EQUATIONS WITH CONSTANTS COEFFICIENTS (II)

McGill University Math 325A: Differential Equations LECTURE 12: SOLUTIONS FOR EQUATIONS WITH CONSTANTS COEFFICIENTS (II) McGill University Math 325A: Differential Equations LECTURE 12: SOLUTIONS FOR EQUATIONS WITH CONSTANTS COEFFICIENTS (II) HIGHER ORDER DIFFERENTIAL EQUATIONS (IV) 1 Introduction (Text: pp. 338-367, Chap.

More information

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH * 4.4 UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH 19 Discussion Problems 59. Two roots of a cubic auxiliary equation with real coeffi cients are m 1 1 and m i. What is the corresponding homogeneous

More information

2. Second-order Linear Ordinary Differential Equations

2. Second-order Linear Ordinary Differential Equations Advanced Engineering Mathematics 2. Second-order Linear ODEs 1 2. Second-order Linear Ordinary Differential Equations 2.1 Homogeneous linear ODEs 2.2 Homogeneous linear ODEs with constant coefficients

More information

2.3 Linear Equations 69

2.3 Linear Equations 69 2.3 Linear Equations 69 2.3 Linear Equations An equation y = fx,y) is called first-order linear or a linear equation provided it can be rewritten in the special form 1) y + px)y = rx) for some functions

More information

A( x) B( x) C( x) y( x) 0, A( x) 0

A( x) B( x) C( x) y( x) 0, A( x) 0 3.1 Lexicon Revisited The nonhomogeneous nd Order ODE has the form: d y dy A( x) B( x) C( x) y( x) F( x), A( x) dx dx The homogeneous nd Order ODE has the form: d y dy A( x) B( x) C( x) y( x), A( x) dx

More information

Handbook of Ordinary Differential Equations

Handbook of Ordinary Differential Equations Handbook of Ordinary Differential Equations Mark Sullivan July, 28 i Contents Preliminaries. Why bother?...............................2 What s so ordinary about ordinary differential equations?......

More information

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012 Polytechnic Institute of NYU MA Final Practice Answers Fall Studying from past or sample exams is NOT recommended. If you do, it should be only AFTER you know how to do all of the homework and worksheet

More information

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

Chapter 3. Reading assignment: In this chapter we will cover Sections dx 1 + a 0(x)y(x) = g(x). (1) Chapter 3 3 Introduction Reading assignment: In this chapter we will cover Sections 3.1 3.6. 3.1 Theory of Linear Equations Recall that an nth order Linear ODE is an equation that can be written in the

More information

Math 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016

Math 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016 Math 4B Notes Written by Victoria Kala vtkala@math.ucsb.edu SH 6432u Office Hours: T 2:45 :45pm Last updated 7/24/206 Classification of Differential Equations The order of a differential equation is the

More information

CHAPTER 5. Higher Order Linear ODE'S

CHAPTER 5. Higher Order Linear ODE'S A SERIES OF CLASS NOTES FOR 2005-2006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 2 A COLLECTION OF HANDOUTS ON SCALAR LINEAR ORDINARY

More information

dx n a 1(x) dy

dx n a 1(x) dy HIGHER ORDER DIFFERENTIAL EQUATIONS Theory of linear equations Initial-value and boundary-value problem nth-order initial value problem is Solve: a n (x) dn y dx n + a n 1(x) dn 1 y dx n 1 +... + a 1(x)

More information

Series Solutions of Linear ODEs

Series Solutions of Linear ODEs Chapter 2 Series Solutions of Linear ODEs This Chapter is concerned with solutions of linear Ordinary Differential Equations (ODE). We will start by reviewing some basic concepts and solution methods for

More information

4 Differential Equations

4 Differential Equations Advanced Calculus Chapter 4 Differential Equations 65 4 Differential Equations 4.1 Terminology Let U R n, and let y : U R. A differential equation in y is an equation involving y and its (partial) derivatives.

More information

Nonhomogeneous Linear Differential Equations with Constant Coefficients - (3.4) Method of Undetermined Coefficients

Nonhomogeneous Linear Differential Equations with Constant Coefficients - (3.4) Method of Undetermined Coefficients Nonhomogeneous Linear Differential Equations with Constant Coefficients - (3.4) Method of Undetermined Coefficients Consider an nth-order nonhomogeneous linear differential equation with constant coefficients:

More information

A Brief Review of Elementary Ordinary Differential Equations

A Brief Review of Elementary Ordinary Differential Equations A A Brief Review of Elementary Ordinary Differential Equations At various points in the material we will be covering, we will need to recall and use material normally covered in an elementary course on

More information

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

Lesson 3: Linear differential equations of the first order Solve each of the following differential equations by two methods. Lesson 3: Linear differential equations of the first der Solve each of the following differential equations by two methods. Exercise 3.1. Solution. Method 1. It is clear that y + y = 3 e dx = e x is an

More information

MA22S3 Summary Sheet: Ordinary Differential Equations

MA22S3 Summary Sheet: Ordinary Differential Equations MA22S3 Summary Sheet: Ordinary Differential Equations December 14, 2017 Kreyszig s textbook is a suitable guide for this part of the module. Contents 1 Terminology 1 2 First order separable 2 2.1 Separable

More information

Advanced Eng. Mathematics

Advanced Eng. Mathematics Koya University Faculty of Engineering Petroleum Engineering Department Advanced Eng. Mathematics Lecture 6 Prepared by: Haval Hawez E-mail: haval.hawez@koyauniversity.org 1 Second Order Linear Ordinary

More information

) 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

) 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 1 48 Chapter 2 Linear Equations of Higher Order 28. (Overdamped) If Xo = 0, deduce from Problem 27 that x(t) Vo = e -pt sinh y t. Y 29. (Overdamped) Prove that in this case the mass can pass through its

More information

Physics 250 Green s functions for ordinary differential equations

Physics 250 Green s functions for ordinary differential equations Physics 25 Green s functions for ordinary differential equations Peter Young November 25, 27 Homogeneous Equations We have already discussed second order linear homogeneous differential equations, which

More information

Ma 221 Final Exam Solutions 5/14/13

Ma 221 Final Exam Solutions 5/14/13 Ma 221 Final Exam Solutions 5/14/13 1. Solve (a) (8 pts) Solution: The equation is separable. dy dx exy y 1 y0 0 y 1e y dy e x dx y 1e y dy e x dx ye y e y dy e x dx ye y e y e y e x c The last step comes

More information

SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS

SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS A second-order linear differential equation has the form 1 Px d y dx Qx dx Rxy Gx where P, Q, R, and G are continuous functions. Equations of this type arise

More information

Chapter 4. Higher-Order Differential Equations

Chapter 4. Higher-Order Differential Equations Chapter 4 Higher-Order Differential Equations i THEOREM 4.1.1 (Existence of a Unique Solution) Let a n (x), a n,, a, a 0 (x) and g(x) be continuous on an interval I and let a n (x) 0 for every x in this

More information

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS DIFFERENTIAL EQUATIONS Chapter 1 Introduction and Basic Terminology Most of the phenomena studied in the sciences and engineering involve processes that change with time. For example, it is well known

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations (MA102 Mathematics II) Shyamashree Upadhyay IIT Guwahati Shyamashree Upadhyay ( IIT Guwahati ) Ordinary Differential Equations 1 / 15 Method of Undetermined Coefficients

More information

Chapter 3 Higher Order Linear ODEs

Chapter 3 Higher Order Linear ODEs Chapter 3 Higher Order Linear ODEs Advanced Engineering Mathematics Wei-Ta Chu National Chung Cheng University wtchu@cs.ccu.edu.tw 1 2 3.1 Homogeneous Linear ODEs 3 Homogeneous Linear ODEs An ODE is of

More information

Definition of differential equations and their classification. Methods of solution of first-order differential equations

Definition of differential equations and their classification. Methods of solution of first-order differential equations Introduction to differential equations: overview Definition of differential equations and their classification Solutions of differential equations Initial value problems Existence and uniqueness Mathematical

More information

Study 4.10 #465, 471, , 487, , , 515, 517, 521, 523

Study 4.10 #465, 471, , 487, , , 515, 517, 521, 523 Goals: 1. Understand that antiderivatives are the functions from which the present derivative was found. 2. The process of finding an antiderivative or indefinite integral requires the reverse process

More information

6 Second Order Linear Differential Equations

6 Second Order Linear Differential Equations 6 Second Order Linear Differential Equations A differential equation for an unknown function y = f(x) that depends on a variable x is any equation that ties together functions of x with y and its derivatives.

More information

Homework #6 Solutions

Homework #6 Solutions Problems Section.1: 6, 4, 40, 46 Section.:, 8, 10, 14, 18, 4, 0 Homework #6 Solutions.1.6. Determine whether the functions f (x) = cos x + sin x and g(x) = cos x sin x are linearly dependent or linearly

More information

PRELIMINARY THEORY LINEAR EQUATIONS

PRELIMINARY THEORY LINEAR EQUATIONS 4.1 PRELIMINARY THEORY LINEAR EQUATIONS 117 4.1 PRELIMINARY THEORY LINEAR EQUATIONS REVIEW MATERIAL Reread the Remarks at the end of Section 1.1 Section 2.3 (especially page 57) INTRODUCTION In Chapter

More information

Lecture Notes for Math 251: ODE and PDE. Lecture 30: 10.1 Two-Point Boundary Value Problems

Lecture Notes for Math 251: ODE and PDE. Lecture 30: 10.1 Two-Point Boundary Value Problems Lecture Notes for Math 251: ODE and PDE. Lecture 30: 10.1 Two-Point Boundary Value Problems Shawn D. Ryan Spring 2012 Last Time: We finished Chapter 9: Nonlinear Differential Equations and Stability. Now

More information

Math 3313: Differential Equations Second-order ordinary differential equations

Math 3313: Differential Equations Second-order ordinary differential equations Math 3313: Differential Equations Second-order ordinary differential equations Thomas W. Carr Department of Mathematics Southern Methodist University Dallas, TX Outline Mass-spring & Newton s 2nd law Properties

More information

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity 1 Second Order Ordinary Differential Equations 1.1 The harmonic oscillator Consider an ideal pendulum as shown below. θ l Fr mg l θ is the angular acceleration θ is the angular velocity A point mass m

More information

APPLIED MATHEMATICS. Part 1: Ordinary Differential Equations. Wu-ting Tsai

APPLIED MATHEMATICS. Part 1: Ordinary Differential Equations. Wu-ting Tsai APPLIED MATHEMATICS Part 1: Ordinary Differential Equations Contents 1 First Order Differential Equations 3 1.1 Basic Concepts and Ideas................... 4 1.2 Separable Differential Equations................

More information

Algebraic Properties of Solutions of Linear Systems

Algebraic Properties of Solutions of Linear Systems Algebraic Properties of Solutions of Linear Systems In this chapter we will consider simultaneous first-order differential equations in several variables, that is, equations of the form f 1t,,,x n d f

More information

Section x7 +

Section x7 + Difference Equations to Differential Equations Section 5. Polynomial Approximations In Chapter 3 we discussed the problem of finding the affine function which best approximates a given function about some

More information

Second-Order Linear ODEs

Second-Order Linear ODEs C0.tex /4/011 16: 3 Page 13 Chap. Second-Order Linear ODEs Chapter presents different types of second-order ODEs and the specific techniques on how to solve them. The methods are systematic, but it requires

More information

Chapter 3 Second Order Linear Equations

Chapter 3 Second Order Linear Equations Partial Differential Equations (Math 3303) A Ë@ Õæ Aë áöß @. X. @ 2015-2014 ú GA JË@ É Ë@ Chapter 3 Second Order Linear Equations Second-order partial differential equations for an known function u(x,

More information

Second-Order Linear ODEs

Second-Order Linear ODEs Chap. 2 Second-Order Linear ODEs Sec. 2.1 Homogeneous Linear ODEs of Second Order On pp. 45-46 we extend concepts defined in Chap. 1, notably solution and homogeneous and nonhomogeneous, to second-order

More information

How might we evaluate this? Suppose that, by some good luck, we knew that. x 2 5. x 2 dx 5

How might we evaluate this? Suppose that, by some good luck, we knew that. x 2 5. x 2 dx 5 8.4 1 8.4 Partial Fractions Consider the following integral. 13 2x (1) x 2 x 2 dx How might we evaluate this? Suppose that, by some good luck, we knew that 13 2x (2) x 2 x 2 = 3 x 2 5 x + 1 We could then

More information

Higher-order ordinary differential equations

Higher-order ordinary differential equations Higher-order ordinary differential equations 1 A linear ODE of general order n has the form a n (x) dn y dx n +a n 1(x) dn 1 y dx n 1 + +a 1(x) dy dx +a 0(x)y = f(x). If f(x) = 0 then the equation is called

More information

c n (x a) n c 0 c 1 (x a) c 2 (x a) 2...

c n (x a) n c 0 c 1 (x a) c 2 (x a) 2... 3 CHAPTER 6 SERIES SOLUTIONS OF LINEAR EQUATIONS 6. REVIEW OF POWER SERIES REVIEW MATERIAL Infinite series of constants, p-series, harmonic series, alternating harmonic series, geometric series, tests

More information

The Corrected Trial Solution in the Method of Undetermined Coefficients

The Corrected Trial Solution in the Method of Undetermined Coefficients Definition of Related Atoms The Basic Trial Solution Method Symbols Superposition Annihilator Polynomial for f(x) Annihilator Equation for f(x) The Corrected Trial Solution in the Method of Undetermined

More information

Math Reading assignment for Chapter 1: Study Sections 1.1 and 1.2.

Math Reading assignment for Chapter 1: Study Sections 1.1 and 1.2. Math 3350 1 Chapter 1 Reading assignment for Chapter 1: Study Sections 1.1 and 1.2. 1.1 Material for Section 1.1 An Ordinary Differential Equation (ODE) is a relation between an independent variable x

More information

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

Polynomial Solutions of the Laguerre Equation and Other Differential Equations Near a Singular Polynomial Solutions of the Laguerre Equation and Other Differential Equations Near a Singular Point Abstract Lawrence E. Levine Ray Maleh Department of Mathematical Sciences Stevens Institute of Technology

More information

Theory of Higher-Order Linear Differential Equations

Theory of Higher-Order Linear Differential Equations Chapter 6 Theory of Higher-Order Linear Differential Equations 6.1 Basic Theory A linear differential equation of order n has the form a n (x)y (n) (x) + a n 1 (x)y (n 1) (x) + + a 0 (x)y(x) = b(x), (6.1.1)

More information

1 Review of di erential calculus

1 Review of di erential calculus Review of di erential calculus This chapter presents the main elements of di erential calculus needed in probability theory. Often, students taking a course on probability theory have problems with concepts

More information

Ordinary Differential Equations (ODEs)

Ordinary Differential Equations (ODEs) Chapter 13 Ordinary Differential Equations (ODEs) We briefly review how to solve some of the most standard ODEs. 13.1 First Order Equations 13.1.1 Separable Equations A first-order ordinary differential

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations (MA102 Mathematics II) Shyamashree Upadhyay IIT Guwahati Shyamashree Upadhyay ( IIT Guwahati ) Ordinary Differential Equations 1 / 10 Undetermined coefficients-annihilator

More information

0.1 Problems to solve

0.1 Problems to solve 0.1 Problems to solve Homework Set No. NEEP 547 Due September 0, 013 DLH Nonlinear Eqs. reducible to first order: 1. 5pts) Find the general solution to the differential equation: y = [ 1 + y ) ] 3/. 5pts)

More information

Mathematics 104 Fall Term 2006 Solutions to Final Exam. sin(ln t) dt = e x sin(x) dx.

Mathematics 104 Fall Term 2006 Solutions to Final Exam. sin(ln t) dt = e x sin(x) dx. Mathematics 14 Fall Term 26 Solutions to Final Exam 1. Evaluate sin(ln t) dt. Solution. We first make the substitution t = e x, for which dt = e x. This gives sin(ln t) dt = e x sin(x). To evaluate the

More information

Chapter1. Ordinary Differential Equations

Chapter1. Ordinary Differential Equations Chapter1. Ordinary Differential Equations In the sciences and engineering, mathematical models are developed to aid in the understanding of physical phenomena. These models often yield an equation that

More information

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23 MATHEMATICS FOR ENGINEERS & SCIENTISTS 3.5. Second order linear O.D.E.s: non-homogeneous case.. We ll now consider non-homogeneous second order linear O.D.E.s. These are of the form a + by + c rx) for

More information

First order Partial Differential equations

First order Partial Differential equations First order Partial Differential equations 0.1 Introduction Definition 0.1.1 A Partial Deferential equation is called linear if the dependent variable and all its derivatives have degree one and not multiple

More information

Math 2Z03 - Tutorial # 6. Oct. 26th, 27th, 28th, 2015

Math 2Z03 - Tutorial # 6. Oct. 26th, 27th, 28th, 2015 Math 2Z03 - Tutorial # 6 Oct. 26th, 27th, 28th, 2015 Tutorial Info: Tutorial Website: http://ms.mcmaster.ca/ dedieula/2z03.html Office Hours: Mondays 3pm - 5pm (in the Math Help Centre) Tutorial #6: 3.4

More information

Math 240 Calculus III

Math 240 Calculus III DE Higher Order Calculus III Summer 2015, Session II Tuesday, July 28, 2015 Agenda DE 1. of order n An example 2. constant-coefficient linear Introduction DE We now turn our attention to solving linear

More information

Step 1. Step 2. Step 4. The corrected trial solution y with evaluated coefficients d 1, d 2,..., d k becomes the particular solution y p.

Step 1. Step 2. Step 4. The corrected trial solution y with evaluated coefficients d 1, d 2,..., d k becomes the particular solution y p. Definition Atoms A and B are related if and only if their successive derivatives share a common atom. Then x 3 is related to x and x 101, while x is unrelated to e x, xe x and x sin x. Atoms x sin x and

More information

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS DIFFERENTIAL EQUATIONS 1. Basic Terminology A differential equation is an equation that contains an unknown function together with one or more of its derivatives. 1 Examples: 1. y = 2x + cos x 2. dy dt

More information

First and Second Order Differential Equations Lecture 4

First and Second Order Differential Equations Lecture 4 First and Second Order Differential Equations Lecture 4 Dibyajyoti Deb 4.1. Outline of Lecture The Existence and the Uniqueness Theorem Homogeneous Equations with Constant Coefficients 4.2. The Existence

More information

BOUNDARY-VALUE PROBLEMS IN RECTANGULAR COORDINATES

BOUNDARY-VALUE PROBLEMS IN RECTANGULAR COORDINATES 1 BOUNDARY-VALUE PROBLEMS IN RECTANGULAR COORDINATES 1.1 Separable Partial Differential Equations 1. Classical PDEs and Boundary-Value Problems 1.3 Heat Equation 1.4 Wave Equation 1.5 Laplace s Equation

More information

First and Second Order ODEs

First and Second Order ODEs Civil Engineering 2 Mathematics Autumn 211 M. Ottobre First and Second Order ODEs Warning: all the handouts that I will provide during the course are in no way exhaustive, they are just short recaps. Notation

More information

The Theory of Second Order Linear Differential Equations 1 Michael C. Sullivan Math Department Southern Illinois University

The Theory of Second Order Linear Differential Equations 1 Michael C. Sullivan Math Department Southern Illinois University The Theory of Second Order Linear Differential Equations 1 Michael C. Sullivan Math Department Southern Illinois University These notes are intended as a supplement to section 3.2 of the textbook Elementary

More information

Series Solutions of Differential Equations

Series Solutions of Differential Equations Chapter 6 Series Solutions of Differential Equations In this chapter we consider methods for solving differential equations using power series. Sequences and infinite series are also involved in this treatment.

More information

POLYNOMIALS. x + 1 x x 4 + x 3. x x 3 x 2. x x 2 + x. x + 1 x 1

POLYNOMIALS. x + 1 x x 4 + x 3. x x 3 x 2. x x 2 + x. x + 1 x 1 POLYNOMIALS A polynomial in x is an expression of the form p(x) = a 0 + a 1 x + a x +. + a n x n Where a 0, a 1, a. a n are real numbers and n is a non-negative integer and a n 0. A polynomial having only

More information

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS DIFFERENTIAL EQUATIONS Basic Terminology A differential equation is an equation that contains an unknown function together with one or more of its derivatives. 1 Examples: 1. y = 2x + cos x 2. dy dt =

More information

B Ordinary Differential Equations Review

B Ordinary Differential Equations Review B Ordinary Differential Equations Review The profound study of nature is the most fertile source of mathematical discoveries. - Joseph Fourier (1768-1830) B.1 First Order Differential Equations Before

More information

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

ENGI Second Order Linear ODEs Page Second Order Linear Ordinary Differential Equations ENGI 344 - Second Order Linear ODEs age -01. Second Order Linear Ordinary Differential Equations The general second order linear ordinary differential equation is of the form d y dy x Q x y Rx dx dx Of

More information

Department of Mathematics. MA 108 Ordinary Differential Equations

Department of Mathematics. MA 108 Ordinary Differential Equations Department of Mathematics Indian Institute of Technology, Bombay Powai, Mumbai 476, INDIA. MA 8 Ordinary Differential Equations Autumn 23 Instructor Santanu Dey Name : Roll No : Syllabus and Course Outline

More information

Math Applied Differential Equations

Math Applied Differential Equations Math 256 - Applied Differential Equations Notes Basic Definitions and Concepts A differential equation is an equation that involves one or more of the derivatives (first derivative, second derivative,

More information

SECOND-ORDER LINEAR ODEs. Generalities. Structure of general solution. Equations with constant coefficients

SECOND-ORDER LINEAR ODEs. Generalities. Structure of general solution. Equations with constant coefficients SECOND-ORDER LINEAR ODEs f +p(x)f +q(x)f = h(x) Generalities Structure of general solution Equations with constant coefficients Second order linear equations General form : d f df + p( x) + q( x) f = h(

More information

CHAPTER 1. Theory of Second Order. Linear ODE s

CHAPTER 1. Theory of Second Order. Linear ODE s A SERIES OF CLASS NOTES FOR 2005-2006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 2 A COLLECTION OF HANDOUTS ON SCALAR LINEAR ORDINARY

More information

2.12: Derivatives of Exp/Log (cont d) and 2.15: Antiderivatives and Initial Value Problems

2.12: Derivatives of Exp/Log (cont d) and 2.15: Antiderivatives and Initial Value Problems 2.12: Derivatives of Exp/Log (cont d) and 2.15: Antiderivatives and Initial Value Problems Mathematics 3 Lecture 14 Dartmouth College February 03, 2010 Derivatives of the Exponential and Logarithmic Functions

More information

Math 2142 Homework 5 Part 1 Solutions

Math 2142 Homework 5 Part 1 Solutions Math 2142 Homework 5 Part 1 Solutions Problem 1. For the following homogeneous second order differential equations, give the general solution and the particular solution satisfying the given initial conditions.

More information

How to Solve Linear Differential Equations

How to Solve Linear Differential Equations How to Solve Linear Differential Equations Definition: Euler Base Atom, Euler Solution Atom Independence of Atoms Construction of the General Solution from a List of Distinct Atoms Euler s Theorems Euler

More information

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y: 3 Algebraic Methods b The first appearance of the equation E Mc 2 in Einstein s handwritten notes. So far, the only general class of differential equations that we know how to solve are directly integrable

More information

Lecture Notes on Partial Dierential Equations (PDE)/ MaSc 221+MaSc 225

Lecture Notes on Partial Dierential Equations (PDE)/ MaSc 221+MaSc 225 Lecture Notes on Partial Dierential Equations (PDE)/ MaSc 221+MaSc 225 Dr. Asmaa Al Themairi Assistant Professor a a Department of Mathematical sciences, University of Princess Nourah bint Abdulrahman,

More information

Atoms An atom is a term with coefficient 1 obtained by taking the real and imaginary parts of x j e ax+icx, j = 0, 1, 2,...,

Atoms An atom is a term with coefficient 1 obtained by taking the real and imaginary parts of x j e ax+icx, j = 0, 1, 2,..., Atoms An atom is a term with coefficient 1 obtained by taking the real and imaginary parts of x j e ax+icx, j = 0, 1, 2,..., where a and c represent real numbers and c 0. Details and Remarks The definition

More information

Lecture Notes on. Differential Equations. Emre Sermutlu

Lecture Notes on. Differential Equations. Emre Sermutlu Lecture Notes on Differential Equations Emre Sermutlu ISBN: Copyright Notice: To my wife Nurten and my daughters İlayda and Alara Contents Preface ix 1 First Order ODE 1 1.1 Definitions.............................

More information

17.2 Nonhomogeneous Linear Equations. 27 September 2007

17.2 Nonhomogeneous Linear Equations. 27 September 2007 17.2 Nonhomogeneous Linear Equations 27 September 2007 Nonhomogeneous Linear Equations The differential equation to be studied is of the form ay (x) + by (x) + cy(x) = G(x) (1) where a 0, b, c are given

More information

Basic Theory of Linear Differential Equations

Basic Theory of Linear Differential Equations Basic Theory of Linear Differential Equations Picard-Lindelöf Existence-Uniqueness Vector nth Order Theorem Second Order Linear Theorem Higher Order Linear Theorem Homogeneous Structure Recipe for Constant-Coefficient

More information

Summer 2017 MATH Solution to Exercise 5

Summer 2017 MATH Solution to Exercise 5 Summer 07 MATH00 Solution to Exercise 5. Find the partial derivatives of the following functions: (a (xy 5z/( + x, (b x/ x + y, (c arctan y/x, (d log((t + 3 + ts, (e sin(xy z 3, (f x α, x = (x,, x n. (a

More information

MATH 425, FINAL EXAM SOLUTIONS

MATH 425, FINAL EXAM SOLUTIONS MATH 425, FINAL EXAM SOLUTIONS Each exercise is worth 50 points. Exercise. a The operator L is defined on smooth functions of (x, y by: Is the operator L linear? Prove your answer. L (u := arctan(xy u

More information

Differential Equations. Joe Erickson

Differential Equations. Joe Erickson Differential Equations Joe Erickson Contents 1 Basic Principles 1 1.1 Functions of Several Variables.......................... 1 1.2 Linear Differential Operators........................... 7 1.3 Ordinary

More information

A: Brief Review of Ordinary Differential Equations

A: Brief Review of Ordinary Differential Equations A: Brief Review of Ordinary Differential Equations Because of Principle # 1 mentioned in the Opening Remarks section, you should review your notes from your ordinary differential equations (odes) course

More information

Tropical Polynomials

Tropical Polynomials 1 Tropical Arithmetic Tropical Polynomials Los Angeles Math Circle, May 15, 2016 Bryant Mathews, Azusa Pacific University In tropical arithmetic, we define new addition and multiplication operations on

More information

Sample Quiz 8, Problem 1. Solving Higher Order Constant-Coefficient Equations

Sample Quiz 8, Problem 1. Solving Higher Order Constant-Coefficient Equations Sample Quiz 8 Sample Quiz 8, Problem. Solving Higher Order Constant-Coefficient Equations The Algorithm applies to constant-coefficient homogeneous linear differential equations of order N, for example

More information

A quadratic expression is a mathematical expression that can be written in the form 2

A quadratic expression is a mathematical expression that can be written in the form 2 118 CHAPTER Algebra.6 FACTORING AND THE QUADRATIC EQUATION Textbook Reference Section 5. CLAST OBJECTIVES Factor a quadratic expression Find the roots of a quadratic equation A quadratic expression is

More information

MATH 312 Section 4.5: Undetermined Coefficients

MATH 312 Section 4.5: Undetermined Coefficients MATH 312 Section 4.5: Undetermined Coefficients Prof. Jonathan Duncan Walla Walla College Spring Quarter, 2007 Outline 1 Differential Operators 2 Annihilators 3 Undetermined Coefficients 4 Conclusion ODEs

More information

Diff. Eq. App.( ) Midterm 1 Solutions

Diff. Eq. App.( ) Midterm 1 Solutions Diff. Eq. App.(110.302) Midterm 1 Solutions Johns Hopkins University February 28, 2011 Problem 1.[3 15 = 45 points] Solve the following differential equations. (Hint: Identify the types of the equations

More information

CHAPTER 2. Techniques for Solving. Second Order Linear. Homogeneous ODE s

CHAPTER 2. Techniques for Solving. Second Order Linear. Homogeneous ODE s A SERIES OF CLASS NOTES FOR 005-006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES A COLLECTION OF HANDOUTS ON SCALAR LINEAR ORDINARY DIFFERENTIAL

More information

Chapter 6. Techniques of Integration. 6.1 Differential notation

Chapter 6. Techniques of Integration. 6.1 Differential notation Chapter 6 Techniques of Integration In this chapter, we expand our repertoire for antiderivatives beyond the elementary functions discussed so far. A review of the table of elementary antiderivatives (found

More information

Math 201 Solutions to Assignment 1. 2ydy = x 2 dx. y = C 1 3 x3

Math 201 Solutions to Assignment 1. 2ydy = x 2 dx. y = C 1 3 x3 Math 201 Solutions to Assignment 1 1. Solve the initial value problem: x 2 dx + 2y = 0, y(0) = 2. x 2 dx + 2y = 0, y(0) = 2 2y = x 2 dx y 2 = 1 3 x3 + C y = C 1 3 x3 Notice that y is not defined for some

More information

MATH 391 Test 1 Fall, (1) (12 points each)compute the general solution of each of the following differential equations: = 4x 2y.

MATH 391 Test 1 Fall, (1) (12 points each)compute the general solution of each of the following differential equations: = 4x 2y. MATH 391 Test 1 Fall, 2018 (1) (12 points each)compute the general solution of each of the following differential equations: (a) (b) x dy dx + xy = x2 + y. (x + y) dy dx = 4x 2y. (c) yy + (y ) 2 = 0 (y

More information

Implicit Functions, Curves and Surfaces

Implicit Functions, Curves and Surfaces Chapter 11 Implicit Functions, Curves and Surfaces 11.1 Implicit Function Theorem Motivation. In many problems, objects or quantities of interest can only be described indirectly or implicitly. It is then

More information

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS) Name: November 8, 011 Worksheet # : Higher Order Linear ODEs (SOLUTIONS) 1. A set of n-functions f 1, f,..., f n are linearly independent on an interval I if the only way that c 1 f 1 (t) + c f (t) +...

More information

Chapter 2. First-Order Differential Equations

Chapter 2. First-Order Differential Equations Chapter 2 First-Order Differential Equations i Let M(x, y) + N(x, y) = 0 Some equations can be written in the form A(x) + B(y) = 0 DEFINITION 2.2. (Separable Equation) A first-order differential equation

More information

3. Identify and find the general solution of each of the following first order differential equations.

3. Identify and find the general solution of each of the following first order differential equations. Final Exam MATH 33, Sample Questions. Fall 7. y = Cx 3 3 is the general solution of a differential equation. Find the equation. Answer: y = 3y + 9 xy. y = C x + C x is the general solution of a differential

More information

Chapter 6. Techniques of Integration. 6.1 Differential notation

Chapter 6. Techniques of Integration. 6.1 Differential notation Chapter 6 Techniques of Integration In this chapter, we expand our repertoire for antiderivatives beyond the elementary functions discussed so far. A review of the table of elementary antiderivatives (found

More information

PUTNAM PROBLEMS DIFFERENTIAL EQUATIONS. First Order Equations. p(x)dx)) = q(x) exp(

PUTNAM PROBLEMS DIFFERENTIAL EQUATIONS. First Order Equations. p(x)dx)) = q(x) exp( PUTNAM PROBLEMS DIFFERENTIAL EQUATIONS First Order Equations 1. Linear y + p(x)y = q(x) Muliply through by the integrating factor exp( p(x)) to obtain (y exp( p(x))) = q(x) exp( p(x)). 2. Separation of

More information