1 Method for Ordinary Differential Equations

Size: px
Start display at page:

Download "1 Method for Ordinary Differential Equations"

Transcription

1 1 Method for Ordinary Differential Equations This chapter will introduce the reader to the terminology and notation of differential equations. Students will also be reminded of some of the elementary solution methods they are assumed to have encountered in an undergraduate course on the subject. At the conclusion of this review one should have an idea of what it means to solve a differential equation and some confidence that they could construct a solution to some simple and special types of differential equations. 1.1 Definitions and Notation Differential equations are divided into two classes, ordinary and partial. An ordinary differential equation (ODE) involves one independent variable and derivatives with respect to that variable. A partial differential equation (PDE) involves more than one independent variable and corresponding partial derivatives. The first semester of this course is about ordinary differential equations. The phrase differential equation will usually mean ordinary differential equation unless the context makes it clear that a partial differential equation is intended. The order of the highest derivative in the differential equation is the order of the equation. Example (1.1.1) (a) x 2 d3 y dx 6xdy 3 dx +10y =0 3rd order ODE (b) x (t) + sin x(t) =0 2 nd order ODE (c) y + λy =0 2 nd order ODE (d) x + x =0 1 st order ODE (e) (f) u x u y =0 2 u t 2 = 2 u x + 2 u 2 y 2 1st order PDE 2 nd order PDE From the equation it is usually clear which is the independent variable and which is dependent. For example, in (a) it is implied that y = y(x) while in (b) the dependence of x upon t is explicitly noted. In (c) and (d) the choice of the independent variable is arbitrary but as a matter of choice we will usually regard y = y(x) and x = x(t). The latter notation is usually reserved for the discussion of dynamical systems in which case one should think of x(t) as denoting the state of a system at time t. In contrast the notation y = y(x) might be used in the context of a boundary value problem when x has the interpretation of a spatial coordinate. Of course this is much ado 1

2 about nothing and the student should be prepared to see differential equations written in a variety of ways. For the partial differential equation in (e) u = u(x, y) while in (f), u = u(x, y, t). We will often denote partial derivatives by subscripts in which case (e) could be written u x u y =0and similarly for (f) u tt = u xx + u yy. Differential equations are divided into two other classes, linear and nonlinear. An n th order linear differential equation can be put into the form a 0 y (n) + a 1 y (n 1) + + a n 1 y + a n y = b where b and the coefficients a k depend on at most the independent variable. If b =0the equation is said to be homogeneous, otherwise it is called nohomogeneous. Example (1.1.2) y = y +1 linear, nonhomogeneous x sin t = x linear, homogeneous (y ) 2 = x + y nonlinear General differential equations of order 1 and 2 may be written as F (x, y, y )=0 (1.1.1) F (x, y, y,y )=0 with the obvious notation for higher order equations. Such equations are often assumed to be solvable for the highest derivative and then written as y = f(x, y) (1.1.2) y = f(x, y, y ). A differentiable function y = φ(x) is a solution of (1.1.1) on an interval J if F (x, φ(x),φ (x)) = 0, x J. Usually a first order equation has a family of solutions y = φ(x, c) depending on a single parameter c. A second order equation usually has a two-parameter family of solutions y = ϕ(x, c 1,c 2 ) and so on. These parameters are like constants of integration and may be determined by specifying initial conditions corresponding to some time when a process starts. Example (1.1.3) A two-parameter family of solutions of x =6is The solution that satisfies the initial conditions x =3t 2 + c 1 t + c 2 (1.1.3) x(0)=1, x (0) = 1 is x =3t 2 t +1. 2

3 Because solutions may involve one or more integrations, the graph of a solution is called an integral curve. The integral curves in the previous example are parabolas. A family of functions is a complete solution of a differential equation if every member of the family satisfies the differential equation and every solution of the differential equation is a member of the family. The family of functions given by (1.1.3) is the complete solution of y =6. For the student who is familiar with the terminology of a general solution we should state at this point that the notion of a general solution will only be used in the context of linear equations. The appropriate definitions will be introduced in Chapter 3 at which time the distinction between a general and complete solution will be made clear. Example (1.1.4) The family y = ϕ(x, c) = 1 2x + c solves y + y 3 =0. The family is not complete since the trivial solution, y(x) =0(also denoted y 0), cannot be obtained for any value of c. In equation (1.1.2) the left hand member dy/dx denotes the slope of a solution curve whereas the right hand member f(x, y) gives the value of the slope at (x, y). From this point of view the solution of an ordinary differential equations is a curve that flows along directions specified by f(x, y). The use of dy/dx breaks down when the tangent is vertical but the geometric interpretation remains meaningful. To deal with this matter note that a smooth curve in the (x, y) plane may be described locally by y = ϕ(x) or x = ψ(y). Ifdy/dx is meaningless, dx/dy may be permissible. Consequently, it may be advantageous to treat x or y as independent or dependent variables in formulating a differential equation. These remarks motivate the following discussion. A differential equation is said to be in differential form if it is written as M(x, y)dx + N(x, y)dy =0. (1.1.4) A differentiable function y = φ(x) is a solution of (1.1.4) on an interval if the substitutions y = φ(x), dy = φ (x)dx make (1.1.4) true. A differentiable function x = ψ(y) is a solution if the substitutions make (1.1.4) true. An equation x = ψ(y), dx = ψ (y)dy G(x, y) =c, c constant (1.1.5) is said to furnish an implicit solution of (1.1.2) if (1.1.5) can be solved for y = φ(x) or x = ψ(y) in a neighborhood of a point (x, y) satisfying (1.1.5) and φ or ψ is a solution in the sense defined above. When (1.1.5) furnishes an implicit solution the graph of this equation is also called an integral curve. 3

4 There is some ambiguity as to what one is expected to produce when asked to solve a differential equation. Often the differential equation is regarded as solved when one has derived an equation such as (1.1.5). However, the context of the problem may make it clear that one needs to produce an explicit formula for the solution, say y = φ(x) or x = ψ(y). The next two examples will expound upon this issue, but in general the specific problem at hand will usually dictate as to what is meant by the phrase, solution. Example (1.1.5) Consider the equation in differential form xdx + ydy =0. This equation is easily solved by writing it as a pure derivative, i.e., 1 2 d(x2 + y 2 )=0. When written in this form it is apparent that possible implicit solutions are x 2 + y 2 = C. (1.1.6) If C<0, the locus is empty. If C =0the locus consists of the point (0,0). This case does not correspond to a solution since it does not describe a differentiable curve of the form y = ϕ(x) or x = ψ(y). IfC>0, the integral curves are circles centered at the origin. Example (1.1.6) Consider the three equations (a) dy dx = x y (b) dx dy = y x (c) xdx + ydy =0. (a) This form of the equation implicitly requires a solution y = φ(x) and no integral curve can contain a point (x, y) where y =0. (b) This requires a solution y = ϕ(x) and no integral curve can contain a point (x, y) where x =0. (c) This equation allows for solutions of the form x = ψ(y), ory = ϕ(x) and leads to the family of circles (1.1.6) obtained in the previous example. In particular, in the neighborhood of any point (x, y) on the circle we can express y as a differentiable function of x or vice versa. One could obtain from (1.1.6) additional functions y = ϕ(x) by taking y>0 on part of the circle and y<0 on the remainder (as in (c) below). Such a function is not differentiable and hence not a solution. (a) y=φ(x) (b) x=ψ(y) (c) y=χ(x) 4

5 Fig Solutions defined by an integral curve are displayed in (a) and (b). Though the graph of χ(x) lies on an integral curve, it is not a solution of the differential equation. Having introduced the notion of a solution and integral curve, we now will review some of the most elementary methods for solving ordinary differential equations. 1.2 Examples of Explicit Solution Techniques (a) Separable Equations. A differential equation is separable if it can be wrtitten in the form F (x, y, y )= dy f(x)/g(y) =0. dx The differential equation is solved by separating the variables and performing the integrations g(y)dy = f(x)dx. Example (1.2.1) Solve dy/dx = y 2 /x, x 0. We separate the variables and integrate to obtain or 1 y 2 dy = 1 x dx 1 y = ln x + C (1.2.1) In the above calculation division by y 2 assumed y 0. The function y =0is also a solution, referred to as a singular solution. Therefore, the family given in (1.2.1) is not complete. (b) Homogeneous Equations. A differential equation is homogeneous if it can put in the form F (x, y, y )=y f(y/x) =0. In this case let z = y/x so or which is separable. dy dx = z + dz dx = f(z) dz dx = f(z) z, x 5

6 (c) Exact Equations. The differential equation F (x, y, y )=0is exact if it can be written in differential form M(x, y)dx + N(x, y)dy =0 where M y = N x. Recall that if M,N are C 1 on a simply connected domain then there exists a function P such that P x = M, P y = N. Thus the exact differential equation may be written as a pure derivative dp = Mdx+ Ndy =0 and hence implicit solutions may be obtained from P (x, y) =C. Example (1.2.2) Solve (3x 2 + y 3 e y )dx +(3xy 2 e y + xy 3 e y +3y 2 )dy =0 Here M y =3y 2 e y + y 3 e y = N x. Thus there exists P such that P x = M, P y = N. It is simplest to obtain P from P = P x dx = x 3 + xy 3 e y + h(y). Differentiate with respect to y to obtain and so h (y) =3y 2 or h(y) =y 3. Thus P y =3xy2 e y + xy 3 e y + h (y) =N P (x, y) =x 3 + y 3 e y x + y 3 and so provides an implicit solution. x 3 + y 3 e y x + y 3 = C 6

7 (d) Integrating Factors. Given M(x, y)dx + N(x, y)dy =0, µ = µ(x, y) is called an integrating factor if y (µm) = x (µn) The point of this definition is that if µ is an integrating factor, µmdx + µndy =0is an exact differential equation. Here are three suggestions for finding integrating factors: 1) Try to determine m, n so that µ = x m y n is an integrating factor. 2) If then M y N x N [ µ(x) = exp = Q(x), ] Q(x)dx is an integrating factor. 3) If then N x M y M [ µ(y) = exp = R(y), ] R(y)dy is an integrating factor. (e) First Order Linear Equations. The general form of a first order linear equation is a 0 (x)y + a 1 (x) =b(x) We assume p = a 1 a 0,f = b a 0 are continuous on some interval and rewrite the equation as y (x)+p(x)y(x) =f(x). (1.2.2) By inspection we see that µ = e p(x)dx is an integrating factor for the homogeneous equation. From (1.2.2) we obtain d dx (e p(x)dx y)=f(x)e p(x)dx 7

8 and so ( y(x) =e p(x)dx ) f(x)e p(x)dx dx + c. Example (1.2.3) Find all solutions of xy y = x 2. If x 0, rewrite the equation as y 1 x y = x (1.2.3) and so µ = e (1/x)dx = 1 x. If x>0, d ( y ) =1 dx x and so y = x 2 + Cx. If x<0, ( ) d 1 dx x y = 1 and y = x 2 + Cx. Hence y = x 2 + Cx gives a differentiable solution valid for all x. Now consider the initial value problem xy y = x 2 y(0) = y 0. If y 0 =0, we see that there are infinitely many solutions of this problem whereas if y 0 0, there are no solutions. The problem in this latter case arises from the fact that when the equation is put in the form of (1.2.3) the coefficient p(x) is not continuous at x =0. The significance of this observation will be elaborated upon in the next chapter. (e) Reduction in Order. If in the differential equation the independent variable is missing, that is, the equation is of the form F (y, y,,y (n) )=0, (1.2.4) set v = y = dy dx, y = d dx (y )= dv dx = dv dy y = d ( ) dv dx dy v dy dx = dv = dv dv dy dx + v d dy dy v, ( dv dy ) dy dx 8

9 = v ( ) 2 dv + v 2 d2 v dy dy, 2 etc. These calculations show that with this change of variables we obtain a differential equation of one less order with y regarded as the independent variable, i.e., the differential equation (1.3.1) becomes G(y, v, v, v (n 1) )=0. If the dependent variable is missing, i.e., again set v = dy dx = y to obtain F (x, y,y, y (n) =0, G(x, v, v, v (n 1) )=0. (f) Linear Constant Coefficient Equations. A homogeneous linear differential equation with constant real coefficients of order n has the form y (n) + a 1 y (n 1) + + a n y =0. We introduce the notation D = d and write the above equation as dx P (D)y ( D n + a 1 D (n 1) + + a n ) y =0. By the fundamental theorem of algebra we can write P (D) =(D r 1 ) m1 (D r k ) m k (D 2 2α 1 D +α 2 1 +β 2 1) p1 (D 2 2α l D +α 2 l +β 2 l ) p l, where k l m j +2 p j = n. Lemma 1.1. The general solution of (D r) k y =0is y = ( c 1 + c 2 x + + c k x (k 1)) e rx and the general solution of (D 2 2αD + α 2 + β 2 ) k y =0is y = ( c 1 + c 2 x + + c k x (k 1)) e αx cos(βx)+ ( d 1 + d 2 x + + d k x (k 1)) e αx sin(βx). Proof. Note first that (D r)e rx = D(e rx ) re rx = re rx re rx =0and for k>j (D r) ( x j e rx) = D ( x j e rx) r ( x j e rx) = jx j 1 e rx. 9

10 Thus we have (D r) k ( x j e rx) =(D r) k 1 [ (D r) ( x j e rx) ] = j(d r) ( k 1 x j 1 e rx) = = = j!(d r) k j (e rx ). Therefore, each function x j e rx, for j =0, 1,, (k 1), is a solution of the equation and by the fundamental theory of algebra these functions are linearly independent, i.e., 0= k k c j x j 1 e rx = e rx c j x j 1, for all x implies c 1 = c 2 = = c k =0. Note that each factor (D 2 2αD + α 2 + β 2 ) corresponds to a pair of complex conjugate roots r = α ± iβ. In the above calculations we did not assume that r is real so that for a pair of complex roots we must have solutions e (α±iβ)x = e iβx e αx = e αx (cos(βx)+i sin(βx)), and any linear combination of these functions will also be a solution. In particular the real and imaginary parts must be solutions since 1 2 [eαx (cos(βx)+i sin(βx))] [eαx (cos(βx) i sin(βx))] = e αx cos(βx) 1 2i [eαx (cos(βx)+i sin(βx))] 1 2i [eαx (cos(βx) i sin(βx))] = e αx sin(βx) Combining the above results we find that the functions y = ( c 1 + c 2 x + + c n x (n 1)) e αx cos(βx) and y = ( d 1 + d 2 x + + d n x (n 1)) e αx sin(βx). are solutions and, as is shown in Section 1.6, these solutions are linearly independent. The general solution of P (D)y =0is given as a linear combination of the solutions for each real root and each pair of complex roots. Let us consider an example which is already written in factored form [ (D +1) 3 (D 2 +4D + 13) ] y =0 The term (D +1) 3 gives a part of the solution as (c 1 + c +2x + c 3 x 2 )e x 10

11 and the term (D 2 +4D + 13) corresponds to complex roots with α = 2 and β =3giving the part of the solution c 4 e 2x cos(3x)+c 5 e 2x sin(3x). The general solution is y =(c 1 + c +2x + c 3 x 2 )e x + c 4 e 2x cos(3x)+c 5 e 2x sin(3x). (g) Equations of Euler (and Cauchy) Type. A differential equation is of Euler type if F (x, y,y,,y (n) )=F (y, xy, x n y (n) )=0. Set x = e t so that ẏ = dy dt = dy dx dx dt = y x, d 2 y dt dy 2 dt = d dt (y x) y x = dy dx dx dt x + y x y x = y x 2, etc. In this way the differential equation can be put into the form G(y, ẏ,,y (n) )=0 and now the method of reduction may be applied. An important special case of this type of equation is the so-called Cauchy s equation, x n y (n) + + a 1 xy + a 2 y =0, or P (D)y ( x n D n + a 1 x n 1 D (n 1) + + a n ) y =0. With x = e t and D dy dt Thus we can write we have Dy = dy dx = dy dt dt dx = 1 x D 2 y = d ( ) 1 dy dx x dt dy dt xdy = Dy, ) x 2 D 2 y = D(D 1)y, = 1 ( d 2 y x 2 dt dy 2 dt. x r D r y = D(D 1)(D 2) (D r +1)y. P (D)y = P (D)y = [ D(D 1) (D n +1) + a 1 ( D(D 1) (D n +2) ) + + an 1 D + a n ]y =0. 11

12 The second order case ax 2 y + bxy + cy =0. (1.2.5) will arise numerous times throughout the course. We assume the coefficients are constant and x>0 and as an alternative to the above approach we seek a solution in the form y = x r. In this way one obtains the following quadratic for the exponent r, ar 2 +(b a)r + c =0. (1.2.6) There are three cases to be considered: 1) If (1.2.6) has distinct real roots r 1,r 2 then we obtain solutions x r 1,x r 2. 2) If r 1 = α + iβ, r 2 = α iβ then solutions may be written as x α+iβ = x α e iβ ln x = x α (cos(β ln x)+i sin(β ln x)) and similarly x α iβ = x α (cos(β ln x) i sin(β ln x)). Observe that a linear combination of solutions of (1.3.2) is again a solution and so we obtain the solutions 1 2 (xα+iβ + x α iβ )=x α cos(β ln x) and 1 2i (xα+iβ x α iβ )=x α sin(β ln x). 3) If (1.2.6) has repeated roots then (b a) 2 =4ac and r 1 =(a b)/2a. We seek a second solution as y = v(x)x r 1 and observe that v must satisfy axv + av =0. Set w = v to get xw + w =0 and so w = c 1 /x, and v = c 1 ln x + c 2. Thus in the case of repeated roots we obtain the solutions x r 1 ln x, x r 1. One might try to verify that c 1 x r 1 +c 2 x r 2,x α (c 1 cos(β ln x)+c 2 sin(β ln x)), and c 1 x r 1 ln x+ c 2 x r 1 are complete families of solutions of Euler s equation in each of the three cases respectively. That this is indeed the case will be a trivial consequence of a more general result for linear equations that we will prove in Chapter 3. 12

13 (h) Equations of Legendre Type. A slightly more general class of equations than the Cauchy equations is the Legendre equations which have the form P (D)y ( (ax + b) n D n + a n 1 (ax + b) n 1 D (n 1) + + a 1 (ax + b)d + a 0 ) y =0. These equations, just as Cauchy equations, can be reduced to linear constant coefficient equations. For these equations we use the substitution (ax + b) =e t which, using the chain rule just as above, gives: Dy = dy dx = dy dt dt dx = a dy (ax + b) dt (ax + b) 2 D 2 y = a 2 D(D 1)y, (ax + b)dy = ady, Thus we can write P (D)y = P (D)y =. (ax + b) r D r y = a r D(D 1)(D 2) (D r +1)y. [ a n D(D 1) (D n +1) + a 1 a n 1 ( D(D 1) (D n +2) ) + + an 1 D + a n ]y =0. As an example consider the equation [ (x +2) 2 D 2 (x +2)D +1 ] y =0 Set (x +2)=e t ; then the equation can be written as { D(D 1) D +1 } y =0 or { D 2 2D +1 } y =(D 1) 2 y =0. The general solution to this problem is y(t) =C 1 e t + C 2 te t and we can readily change back to the x variable using t = ln(x +2)to obtain y =(x +2) [ C 1 + C 2 ln(x +2) ]. (i) Equations of Bernoulli Type. A Bernoulli equation is a differential equation of the form y + p(x)y = q(x)y n. 13

14 I can be shown that the substitution v = y 1 n changes the Bernoulli equation into the linear differential equation v (x)+(1 n)p(x)v =(1 n)q(x). The special cases n =0,n=1should be considered separately. As an example consider the differential equation y + y = y a+1 where a is a nonzero constant. This equation is separable so we can separate variables to obtain an implicit solution or we can use Bernoulli s procedure to derive the explicit solution y =(1+ce ax ) 1/a. The student should check that both results give this solution. (j) Equations of Clairaut Type. An equation in the form y = xy + f(y ) for any function f is called a Clairaut equation. While, at first glance, it would appear that such equation could be rather complicated, it turns out that this is not the case. As can be readily verified, the general solution is given by where C is a constant. As an example the equation y = Cx + f(c) y = xy + 4+(y ) 2 has solution y = Cx + 4+C 2. Sometimes one can transform an equation into Clairaut form. For example, consider the equation y =2xy +6y 2 (y ) 2. If we multiply the equation by y 2 we get y 3 =3xy 2 y +6y 4 (y ) 2. Now use the transformation v = y 3, which implies v =3y 2 y, to write the equation as v = xv (v ) 2 whose solution is v = Cx C2 which gives y 3 = Cx C2. 14

15 (k) Other First Order and Higher Degree Equations. A first order differential equation may have higher degree. Often an equation is given in polynomial form in the variable y and in this case we refer to the equation as having order n if n is the highest order power of y that occurs in the equation. If we write p = y for notational convienence, then such an equation can be written as p n + g n 1 (x, y)p n g 1 (x, y)p + g 0 (x, y) =0. (1.2.7) It may be possible to solve such equations using one of the following methods (see [?]). Equation Solvable for p: It may happen that (1.2.7) can be factored into (p F 1 )(p F 2 ) (p F n )=0 in which case we can solve the resulting first order and first degree equations This will lead to solutions y = F 1 (x, y), y = F 2 (x, y),,y = F n (x, y). f 1 (x, y, c) =0, f 2 (x, y, c) =0,, f n (x, y, c) =0 and the general solution is the product of the solutions since the factored equation can be rewritten in any form (i.e., the ordering of the terms does not matter). Thus we have For example, can be factored into resulting in the equations These equations yield the solutions giving the solution f 1 (x, y, c)f 2 (x, y, c) f n (x, y, c) =0. p 4 (x +2y +1)p 3 +(x +2y +2xy)p 2 2xyp =0 p(p 1)(p x)(p 2y) =0 y =0, y =1, y = x, y =2y. y c =0, y x c =0, 2y x 2 c =0, y ce 2x =0 (y c)(y x c)(2y x 2 c)(y ce 2x )=0. 15

16 Equation Solvable for y: In this case we can write the equation G(x, y, y )=0in the form y = f(x, p). In this case differentiate this equation with respect to x to obtain, p = dy dx = f x + f p dp dx = F (x, p, dp dx ). This is an equation for p which is first order and first degree. Solving this equation to obtain φ(x, p, c) =0we then use the original equation y = f(x, p) to try to eliminate the p dependence and obtain Φ(x, y, c) =0. Consider the example y =2px + p 4 x 2. We differentiate with respect to x to obtain p =2x dp dx +2p +2p4 x +4p 3 x 2 dp dx which can be rewritten as ( p +2x dp ) (1 2p 3 x)=0. dx An analysis of singular solutions shows that we can discard the factor (1 2p 3 x) and we have (p+2x dp dx )=0which implies xp2 = c. If we write the original equation as (y p 4 x 2 )=2px and square both sides we have (y p 4 x 2 ) 2 =4p 2 x 2. With this and xp 2 = c we can eliminate p to obtain (y c 2 ) 2 =4cx. Equation Solvable for x: In this case an equation G(x, y, y )=0can be written as x = f(y, p). We proceed by differentiating with respect to y to obtain 1 p = dx dy = f dp y + f p dy = F (y, p, dp dy ) which is first order and firstdegreein dp. Solving this equation to obtain φ(x, y, c) =0we dy then use the original equation y = f(x, p) to try to eliminate the p dependence and obtain Φ(x, y, c) =0. As an example consider p 3 2xyp +4y 2 = 0 which we can write as 2x = p2 y + 4y p. Differentiating with respect to y gives 2 p = 2p ( dp y dy p2 1 y +4 2 p y ) dp p 2 dy or ( p 2y dp ) (2y 2 p 3 )=0. dy The term (2y 2 p 3 ) gives rise to singular solutions and we consider only ( p 2y dp ) =0 dy 16

17 which has solution p 2 = cy. We now use this relation and the original equation to eliminate p. First we have 2x c = 4y p which implies and finally 16y = c(2x c) 2. (2x c) 2 =16y y p 2 = 16y c 1.3 Linear Nonhomogeneous Problems Variation of parameters Consider a nonhomogeneous second order linear equation L(y) =y + a 1 y + a 2 y = β and suppose {y 1,y 2 } is a fundamental set. Then c 1 y 1 (t)+c 2 y 2 (t) is a general solution of L(y) =0. A method due to Lagrange, called the method of variation of parameters, for solving L(y) =β is based on the idea of seeking a solution as Then y p (t) =c 1 (t)y 1 (t)+c 2 (t)y 2 (t). y p = c 1 y 1 + c 2 y 2 + c 1y 1 + c 2y 2. To simplify the algebra, we impose the auxiliary condition c 1y 1 + c 2y 2 =0. Then y p = c 1 y 1 + c 2 y 2 + c 1y 1 + c 2y 2. If we substitute into L(y) =β,wewant c 1 (t)(y 1 + a 1 y 1 + a 2 y 1 )+c 2 (t)(y 2 + a 1 y 2 + a 0 y 2 )+c 1y 1 + c 2 y 2 = β(t). Note that the two parenthesized expressions are zero because y 1 and y 2 are solutions of the homogeneous equation. Thus we need to solve c 1y 1 + c 2y 2 =0 By Cramer s Rule c 1y 1 + c 2y 2 = β. c 1(t) = y 2(t)β 1 (t) W (y 1,y 2 )(t), c 2(t) = y 1(t)β(t) W (y 1,y 2 )(t). 17

18 Thus a particular solution is given as t y 2 (s)β(s) y p (t) = y 1 (t) t 0 W (s) t [ y1 (s)y 2 (s) y 1 (s)y 2 (s) = W (y 1,y 2 )(s) t 0 t t y 1 (s)β(s) ds + y 2 (t) t 0 W (s) ] β(s) ds = g(x, s)β(t) ds. t 0 g(t, s) is called a Fundamental Solution. The same method works, if not as smoothly, in the general case. Consider the nth order case L(y) =y (n) + a 1 y (n 1) + + a n 1 y (1) + a n y = β and let {y 1,...,y n } be a fundamental set of solutions of the homogeneous problem L(y) =0.As in the last section, given a basis of solutions {y j } n of the homogeneous problem Ly =0we seek a solution of L(y) =β in the form y p (t) =u 1 (t)y 1 (t)+ + u n (t)y n (t). We seek a system of equations that can be solved to find u 1,...,u n. To this end we note that by applying the product rule to y p and, collecting terms carefully, we can conclude that ds u 1y 1 + u 2y u ny n =0 y p = u 1 y 1 + u 2 y u n y n u 1y 1 + u 2y u ny n =0 y p = u 1 y 1 + u 2 y u n y n u 1y 1 + u 2y u ny n =0 y p = u 1 y 1 + u 2 y u n y n.. u 1y (n 2) 1 + u 2y (n 2) u ny n (n 2) =0 y p (n 1) = u 1 y (n 1) 1 + u 2 y (n 1) u n y n (n 1) u 1y (n 1) 1 + u 2y (n 1) u ny n (n 1) = β y p (n) = u 1 y (n) 1 + u 2 y (n) u n y n (n) + β which implies L(y p )=u 1 L(y 1 )+u 2 L(y 2 )+ + u n L(y n )+β = β. Now we note that the system of equations becomes y 1 y 2 y n u 0 1 y 1 y 2 y n u 2 0 = y (n 1) 1 y (n 1) 2 y n (n 1) u n β 18

19 The determinant of the coefficient matrix is nonvanishing since it is the Wronskian W (t) of a set of linearly independent solutions to an n-order linear differential equation (see equation (1.5.4) in Section 1.5). Applying Kramer s rule we can write the solutions as u k(t) = W k(t), k =1,,n W (t) where W k (t) is the determinant of the matrix obtained from the coefficient matrix by replacing the kth column ( [ ] T ) [ ] i.e., y k y k y (n 1) T k by the vector 0 0 β If we define n y k (t)w k (s) g(t, s) = W (s) then a particular solution of L(y) =β is y p = t k=1 t 0 g(t, s) β(s) ds. Method of Undetermined Coefficients As we have already learned, the method of variation of parameters provides a method of representing a particular solution to a nonhomogeneous linear problem Ly = y (n) + a 1 y (n 1) + + a (n 1) y (1) + a n y = f in terms of a basis of solutions {y j } n of the linear homogeneous problem. In the special case in which the operator L has constant coefficients, we have just seen that it is possible to construct such a basis of solutions for the homogeneous problem. Thus given any f we can write out a formula for a particular solution in integral form y p (t) = t t 0 g(t, s)f(s) ds. Unfortunately, the method of variation of parameters often requires much more work than is needed. As an example consider the problem Ly = y + y + y + y =1 y(0)=0,y (0)=1,y (0)=0. Example 1.1. For the homogeneous problem we have (D 3 + D 2 + D +1)y =(D + 1)(D 2 +1)y =0 so we can take y 1 = cos t, y 2 = sin t, y 3 = e t. 19

20 Thus the wronskian is cos t sin t e t W (t) = sin t cos t e t cos t sin t e t and we can apply Abel s theorem to obtain W (t) =W (0)e t 0 1 ds = e t =2e t Thus by the variation of parameters formula y p = u 1 y 1 + u 2 y 2 where 0 sin t e t u 1 = 1 2 et 0 cos t e t = 1 (cos t + sin t), 2 1 sin t e t which implies Similarly, we obtain which imply So we get u 1 (t) = 1 (cos(t) sin(t)). 2 u 2 = 1 2 (cos t sin t), u 3(t) = 1 2 et, u 2 = 1 2 (cos t + sin t), u 3(t) = 1 2 et, y p = u 1 y 1 + u 2 y 2 = 1 2 (cos t sin t) cos t (sin t + cos t) sin t et e t =1 Wow! In retrospect it would have been easy to see that y p =1is a particular solution. Now the general solution is y =1+c 1 cos t + c 2 sin t + c 3 e t and we can apply the initial conditions to determine the constants which yields y = (sin t cos t e t ). 20

21 We note that if we were to apply the method for finding a particlar solution with the properties y p (0)=0, y p(0)=0, y p(0)=0, (as given in the proof of the n order case), then we would get y p (t) =1 1 2 (cos t + sin t + e t ). We note that the second term is part of the homogeneous solution so it can be excluded. In any case this is a lot of work to find such a simple particular solution. In case the function f is a linear combination of: 1. polynomials, 2. polynomials times exponentials or, 3. polynomials times exponentials times sine or cosine, i.e., if f is a solution of a linear constant coefficient homogeneous differential equation, one can apply the method of undetermined coefficients. The method goes as follows: 1. Let L = P (D) =D n + n a j D n j 2. Let Ly =0have general solution y h = n c j y j. 3. Assume that M = Q(D) =D m + operator such that Mf =0. m b j D m j is a constant coefficient linear differential 4. Then L = ML is a polynomial constant coefficient differential operator. 5. Notice that if y p is any solution of Ly = f and y h is the general solution of the homogeneous problem, then we have L(y h + y p )=0. (1.3.1) 6. On the other hand we can write the general solution of this problem by simply factoring L and applying the results of the previous section. 7. Note that the solution y h = n c j y j is part of this general solution. 21

22 8. So let us denote the general solution by y = n m c j y j + d j w j. (1.3.2) 9. Now we also know, by the variation of parameters formula, that there exists a particular solution of Ly p = f. 10. But since we know the general solution of (1.3.1) is (1.3.2), this means that any particular solution must also be a part of the full general solution of the large homogeneous problem, n m i.e., y p = c j y j + d j w j. 11. We know that Ly h =0so we can choose y p = m d j w j. 12. We now substitute this expression into the original equation and solve for the constants {d j }. Example 1.2. Example: Ly =(D 2 2D +2)y = t 2 e t sin(t): The general solution of the homogeneous equation Ly =0is y h = c 1 e t cos(t)+c 2 e t sin(t) According to the above disscussion we seek a differential operator M so that We immediately choose M(t 2 e t sin(t))=0. M =(D 2 2D +2) 3 and we need to compute the general solution to the homogeneous problem which implies MLy =(D 2 2D +2) 3 (D 2 2D +2)y =(D 2 2D +2) 4 y =0, y =(c 1 + c 2 t + c 3 t 2 + c 4 t 3 )e t cos(t)+(d 1 + d 2 t + d 3 t 2 + d 4 t 3 )e t sin(t). If we now remove the part of this function corresponding to the solution of the homogeneous problem Ly =0, we have y p =(at 3 + bt 2 + ct)e t cos(t)+(dt 3 + ft 2 + gt)e t sin(t) After a lengthy calculation the first derivative y = ( (d + a) t 3 +(3a + b + f) t 2 +(2b + c + g) t + c ) e t cos(t) + ( ( a + d) t 3 +( b + f +3d) t 2 +( c + g +2f) t + g ) e t sin(t) 22

23 and the second derivative y = ( 2 dt 3 +(6d +6a +2f) t 2 Plugging all of this into the equation yields +(6a +4b +4f +2g) t +2b +2c +2g ) e t cos(t) + ( 2 at 3 +( 6a +6d 2b) t 2 +( 4 b +4f +6d 2 c) t +2f +2g 2 c ) e t sin(t) y 2y +2y = ( 6 dt 2 +(6a +4f) t +2g +2b ) e t cos(t)+ ( 6 at 2 +( 4 b +6d) t 2 c +2f ) e t sin(t) Equating coefficients with the right hand side leads to the equations 6 d =0 6 a +4f =0 2 g +2b =0 6 a =1 4 b +6d =0 2 c +2f =0 which have the solutions a = 1/6, b =0, c =1/4, d =0, f =1/4and g =0. Thus, a particular solution of the equation is ( y = t3 6 + t ) e t cos(t)+ t2 4 4 et sin(t) The following table contains a guide for generating a particular solution when one applies the method of undetermined coefficients. In particular, consider Ly = f. If f(t) = seek y p (t). P m (t) =c 0 t m + + c m x s (a 0 t m + + a m ) P m (t)e αt P m (t)e αt { sin βt cos βt t s (a 0 t m + + a m )e αt t s e [(a αt 0 t m + + a m ) cos βt ] +(b 0 t m + + b m ) sin βt Example 1.3. Returning to Example 1.1 we see that the operator M = D annihilates f =1so we seek a particular solution y p =1. 23

24 1.4 Some Numerical Methods for ODEs Method: Collocation Method (a Weighted Residual Method) Given a differential equation L[u] =0for u(ξ) with ξ Q (Q some domain) and boundary conditions B[u] =0, we seek an approximate solution u(ξ) =w(ξ; α) where α = {α j } N is a set of parameters and B[w] =0for all choices of α. We try to determine the α by requiring that the equation be satisfied by w at a set of points S = {ξ j } N Q. Thus we arrive at a system of N equations in the N unknowns α: L[w(ξ j,α)] = 0, j =1,,N. Example 1.4. Consider Suppose we choose to approximate the solution by L[u] =u + u + x =0, (1.4.1) u(0) = 0, u(1)=0 w(x) =α 1 x(1 x)+α 2 x(1 x 2 ). Note that w satisfies the boundary conditions. A straightforward calculation gives: L[w(x)] = α 1 (2 x + x 2 ) α 2 (5x + x 3 )+x. Applying our collocation method at x 1 =1/3 and x 2 =2/3, we obtain the 2 2 system (48/27)α 1 + (46/27)α 2 =1/3 (48/27)α 1 +(98/27)α 2 =2/3 which has solutions α 1 =9/416 and α 2 =9/52. Thus we obtain w(x) = x(1 x) x(1 x2 ). The exact solution to this problem is u(x) = sin(x) sin(1) x and the maximum difference between y and w on [0, 1] occurs at x =.7916 with a value of Method: Taylor Series This method yields an approximate solution to a differential equation near a single point a. The method is applicable for differential equations in which all expressions are analytic functions of the variables. The idea is to use the differential equation to obtain the coefficients in a Taylor series about the point a. We note that this is really an application of the famous Cauchy-Kovalevskaya theorem. 24

25 Example 1.5. We seek an approximate solution to in the form y (x) =F (x, y), y(a) =y 0 y(x) = N j=0 y (j) (a) (x a) j. j! The idea is to use the differential equation and initial condition to find the Taylor coefficients. Consider A straightforward calculation yields: y(a) =y 0 y =F (x, y) implies y (a) =F (a, y 0 ) y (x) =F x (x, y)+f y (x, y)y x implies y (a) =F x (a, y 0 )+F y (a, y 0 )F (a, y 0 ), etc. y = x 2 y 2, y(0)=1 y = x 2 y 2, y =2x 2yy from which we immediately obtain for a =0 Thus we obtain the approximate solution y =2 2(y ) 2 2yy y = 6y y 2yy y (0) = 1, y (0) = 2 y (0) = 4 y (0)=20. y =1 x + 2 2! x2 4 3! x ! x4 =1 x + x x x4 25

26 Euler s Method: This method, which can be derived many different ways, is not particularly practical but is by far the simplest method and the starting point for many more complicated methods. Unlike the methods discussed in the earlier section, this method does not produce a function that can be evaluated at any point but rather is gives approximate values to the solution at points in the form {(t j,y j )} M+1 where y(t j ) y j, a = t 1 <t 2 < <t M <t M+1 = b. While any mesh can be used, we will select uniform mesh (b a) t k = a + h(k 1), k=1,, (M +1), h = M. Assuming that y, y and y are continuous we can apply Taylor s theorem at t 1 to obtain y(t) =y(t 1 )+y (t 1 )(t t 1 )+y (c 1 ) (t t 1) 2,c 1 [t 1,t]. 2 Using y (t 1 )=f(t 1,y(t 1 )) and h =(t 2 t 1 ) we get an approximation for y at t 2 y(t 2 )=y(t 1 )+hf(t 1,y(t 1 )) + y (c 1 ) h2 2. For h sufficiently small we write y 2 = y 1 + hf(t 1,y 1 ) to obtain an approximate value at t 2. Repeating, we have t k+1 = t k +h, y k+1 = y k + hf(t k,y k ), k =1, (M +1)Euler s Method. Assuming that at each step we begin at exactly y(t k ) (which won t be quite true), we define the local truncation error (LTE) to be the error obtained at a given step. In this case the LTE is y (c k ) h2 2. Summing the LTE s all the way to t M we get, roughly anyway, the so-called Global Truncation Error (GTE). In this case we have M y (2) (c k ) h2 2 y(2) (c)mh 2 = y(2) (c) M 2 k=1 Thus we see that the GTE, E(h), for Euler s method is E(h) Ch. (b a) M h = O(h). From this we have E ( ) h C(h/2) = Ch 1 2 E(h). 26

27 So cutting the step size in half roughly reduces the GTE by a factor of 1/2. Note that if the equation is y = f(t) with y(a) =0then this method give y(b) M f(t k )h k=1 which is a Riemann sum approximation to the integral b a f(t) dt. Modified Euler s Method: Once again we consider (??) and apply the fundamental theorem of calculus to get This implies that t2 t 1 f(t, y(t)) dt = t2 y(t 2 )=y(t 1 )+ t 1 y (t) dt = y(t 2 ) y(t 1 ). t2 t 1 f(t, y(t)) dt. Now use the trapezoid rule to evaluate the integral with step size h = t 2 t 1 to obtain y(t 2 ) y(t 1 )+ h 2 [f(t 1,y(t 1 )) + f(t 2,y(t 2 ))]. Unfortunately, we do not know y(t 2 ) on the right side, so we use, for example, Euler s method to approximate it: y(t 2 ) y(t 1 )+hf(t 1,y(t 1 )). We thus obtain a numerical procedure by denoting y(t k ) by y k for each k we set p k = y k + hf(t k,y k ),t k+1 = t k + h, y k +1=y k + h 2 [f(t k,y k )+f(t k+1,p k )]. Note that if the equation were y = f(t) with y(0) = 0 then we would have y(b) h 2 M [f(t k )+f(t k+1 )] k=1 which is exactly the trapezoid rule for numerical quadrature. In this case the LTE for the trap rule is and the GTE is y (c k ) h3 12 M y (2) (c k ) h3 y(2) (c)(b a) h 2 = O(h 2 ) k=1 27

28 Thus we see that the GTE E(h) for Modified Euler Method is E(h) Ch 2. From this we have ( ) h E C(h/2) 2 = Ch2 1 2 E(h). So cutting the step size in half roughly reduces the GTE by a factor of 1/4. This is sometimes called Huen s method. See the codes a9_2.m and huen.m. Taylor s Method: Assuming that y has derivatives of all order we could, again by Taylor s theorem, for any N write y(t + h) =y(t)+y (t)h + y(2) (t)h y(n) (t)h N N! with a LTE of y (N+1) (c)h N+1. (N + 1)! We can adapt this result to each interval [t k,t k+1 ] to obtain a numerical procedure (1.4.2) y k+1 = y k + d 1 h + d 2h d 3h d Nh N N! where d j = y (j) (t k ) for j = 1, 2,,N. In this case the LTE is O(h N+1 ) and the GTE is E N (h) Ch N = O(h N ). Thus we have ( ) h E N = E N(h). N Computing the values d k for a specific example is not to bad. Consider, for example, (see the exercises) y = t y 2 y (2) = 2 t + y 4 y (3) = 2+t y 8 y (4) = 2 t + y 16 from which we readily compute the values d j. There is a Taylor s matlab code named taylor.m taken from John Mathews book Chapter 9. The file a9_3.m runs an example. Runge-Kutta Methods: 28

29 The dissadvantage of Taylor s method is obvious. We have to do some analytic calculations on every problem. To eliminate this difficulty and still have a higher order method we consider the one-step Runge-Kutta methods which are related to Taylor s method but do not require separate calculations. We give a brief discussion of this method in the second order case. The fourth order case is more common but the algebra is very messy. In the second order case the idea is to look for a formula with F in the form y k+1 = y k + hf (t k,y k,h,f) F (t, y, h, f) =γ 1 f(t, y)+γ 2 f(t + αh, y + βhf(t, y). where γ 1,γ 2,α,β are to be determined. We apply Taylor s theorem in two variable (t, y) applied to the second term (the term containing γ 2 ) to obtain an approximation through the second derivative terms: { F (t, y, h, f) =γ 1 f(t, y)+γ 2 f(t, y)+h [ ] αf t +βff [ y +h α2 f tt +αβf ty f+ 1 } ] 2 β2 f 2 f yy +O(h 3 ) where Similarly, we have f t = f t,f y = f y, etc. y = f(t, y) y = f t + f y y = f t + f y f y = f tt +2f ty f + f yy f 2 + f t f y + fy 2 f. Now if we expand y(t) in a Taylor polynomial expansion about t k we have y(t n + h) =y(t n )+ y (t n ) 1 Let us denote y (k) (t n )=y n (k), then the LTE is h + y (t n ) 2 LT E =y(t n+1 ) y(t n ) hf (t n,y(t n ),h; f) =hy (1) n + h2 2 y(2) n + h3 6 y(3) h 2 + y (t n ) h 3 + O(h 4 ). 6 n + O(h 4 ) hf (t n,y(t n ),h; f) =h[1 γ 1 γ 2 ]f + h 2 [(1/2 γ 2 α)f t +(1/2 γ 2 β)f y f] + h 3 [(1/6 1/2γ 2 α 2 )f t t +(1/3 γ 2 αβ)f ty f +(1/6 1/2γ 2 β 2 )f yy f 2 +1/6f y f t + f 2 y f]+o(h 4 ) For general f we cannot eliminate the third term but by choosing γ 1 + γ 2 =1 γ 2 α =1/2 γ 2 β =1/2 29

30 we can eliminate the first two terms. This implies that the LTE is O(h 3 ). The system of equations is underdetermined but we can write γ 1 =1 γ 2, α = β = 1 2γ 2 for arbitrary γ 2. Special Cases: For γ 2 =1/2 we get the modified Euler s Method y n+1 = y n + h 2 [f(t n,y n )+f(t n+1,y n + hf(t n,y n ))]. For γ 2 =1we get the so-called Midpoint Method y n+1 = y n + h 2 [f(t n + h/2,y n )+f(t n+1,y n +(h/2)f(t n,y n ))]. We now consider choosing γ 2 in order to minimize the LTE at the O(h 3 ) level. Note that LT E = c(f,γ 2 )h 3 + O(h 4 ) where c(f,γ 2 )= [ ( ) ftt + ( 1 8γ ) fty f + ( 1 4γ ) fyy f γ 2 6 f yf t + 1 ] 6 f y 2 f. Now applying the Cauchy-Schwartz inequality we get c(f,γ 2 ) c 1 (f)c 2 (γ 2 ), c 1 (f) = [ f 2 tt + f 2 tyf 2 + f 2 yyf 4 + f 2 y f 2 t + f 4 y f 2 ] 1/2, [ ( 1 c 2 (γ 2 )= 6 1 ) 2 (1 + 8γ ) 2 (1 + 4γ ] ) 1/ γ 2 18 We can compute the minimum of c 2 ( ) to obtain γ 2 =3/4, with c 2 (3/4) = 1/ 18. The resulting method is usually refered to as Huen s Method which takes the form y k+1 = y k + h 4 [ f(tk,y k )+3f(t k h,y n hf(t k,y k )) ]. 30

31 There is a Huen s matlab code named huen.m in Chapter 9 taken from John Mathews book. This same analysis can be carried out for higher order methods but the algebra becomes very messy. One method that was very popular until about 1970 was the 4th order Runge-Kutta (RK4) method with a LTE of O(h 5 ).Iff does not depend on y this method reduces to simpson rule for quadrature. The RK4 method goes like this f 1 = f(t k,y k ) f 2 = f(t k + h/2,y k + h/2f 1 ) f 3 = f(t k + h/2,y k + h/2f 2 ) f 4 = f(t k + h,y k + hf 3 ) y k+1 = y k + h 6 (f 1 +2f 2 +2f 3 + f 4 ). Assignment 3: 1. Program Example 1.4 using Maple, plot y and w and check the error given in the example. 2. Try using two different functions for example to approximate the function w in Example Try using different points x 1 and x 2, e.g. x 1 =1/4 and x 2 =3/4 in Example Use Maple to carry out the Taylor method up to order n for y = F (x, y) with y(a) =y 0. Apply your program with n =4, 6, 8 and plot the results. Use a) F (x, y) =y 2, y(1)=1. How do your answers compare with the exact solution on [1, 2]? b) Same question with F (x, y) =3x 2 y, y(0)=1on [0, 1]. 5. Apply Euler s method to the following: a) y = t 2 y on [0, 2] with y(0)=1. The exact answer is y = e t + t 2 2t +2. Use h =.2,.1,.05. b) y = 1 on [0, 1] with y(0)=1. Note that the exact answer doesn t exist on this 1 t2 interval. Try the methods anyway with h =.1,.05,.025. c) y = e 2t 2y on [0, 2] with y(0) = 1/10 and h =.2,.1,.05. Here y = e 2t /10 + te 2t. 6. Apply the midpoint method, the modified euler method and Huen s method for the following problem with the same h in each case. y = y + t +1, 0 t 1, y(0)=1. What do you observe, i.e., how do they compare? 7. Solve the equation y =1+y 2 using any method above and Taylor s method of order 2, 4 and6on[0, 5] with y(0)=1and compare your answers to y = tan(t π/4). 31

32 1.5 Wronskian and Linear Independence Consider an nth order linear nonhomogeneous equation y (n) + a 1 (t)y (n 1) + a 2 (t)y (n 2) + + a n (t)y = β(t) (1.5.1) assuming a i (t), b i (t) C[a, b]. Let L( ) = dn ( ) dt + a d n 1 n 1 dt ( )+ + a n( ). n 1 Then (1.5.1) may be written as the linear nonhomogeneous system The operator L is said to be linear since L(y) =β. (1.5.2) L(cy 1 (t)+c 2 y 2 (t)) = c 1 L(y 1 (t)) + c 2 L(y 2 (t)). It easily follows that the set of solutions of the homogeneous linear system L(y) =0 (1.5.3) is a vector space. The Wronskian of {y j (t)} n is defined as W (t) W ( ) {y j (t)} n (t) = y 1 (t) y n (t)... 1 (t) y n (n 1) (t) y (n 1). (1.5.4) Theorem 1.1. [Abel s Formula] If y 1,...y n are solutions of (1.5.3), and t 0 (a, b), then [ t ] W (t) =W (t 0 ) exp a 1 (s)ds. t 0 Thus the Wronskian of {y 1, y n } is never 0 or identically 0. Proof. We compute W (t) = y 1 y n y 1 y n +... y (n 1) 1 y (n 1) 1 y 1 y n y 1 y n y 1 y n y (n 1) 1 y n (n 1) y 1 y n y y (n 2) 1 y n (n 2) y (n) 1 y n (n) 32

33 Hence or, more explicitly, = = y 1 y n y 1 y n... y (n 2) 1 y n (n 2) n n α j y (n j) 1 α j y n (n j) y 1 y n y 1 y n... a 1 (t)y (n 1) 1 a 1 (t)y n (n 1) ( t ) W (t) =K exp a 1 (ts)ds t 0 ( t ) W (t) =W (t 0 ) exp a 1 (s)ds. t 0 = a 1 (t)w (t). Definition 1.1. A collection of functions {y i (t)} k i=1 is linearly independent on (a, b) if k c i y i (t) =0 for all x (a, b) c j =0for j =1,,n. i=1 Otherwise we say the set {y i (t)} is linearly dependent. Theorem 1.2. Suppose y 1,...,y n are solutions of (1.5.2). If the functions are linearly dependent on (a, b) then W (t) =0for all t (a, b). Conversely, if there is an t 0 (a, b) so that W (t 0 )=0, then W (t) =0for all t (a, b) and the y i (t) are linearly dependent on (a, b). Proof. If the {y i (t)} are linearly dependent, then there are c i (t) not all zero such that c i y i (t) =0 for all t (a, b) i c i y (k) i (t) =0 for all t and any k. Hence, defining M(t) = y 1 (t) y n (t) c , C =. 1 (t) y n (n 1) (t) c n y (n 1), 33

34 the system can be written as M(t)C =0 and since C 0we see that M is singular and therefore Conversely, if det(m(t)) = W (t 0 )=0then W (t) = det(m(t))0 for all x (a, b). M(t)C =0 has a nontrivial solution. For this choice of c i s, let Then y(t) = c i y i (t). y(t 0 )=0, y (t 0 )=0,,y (n 1) (t 0 )=0. and since y is a solution of Ly =0, from the uniqueness part of the fundamental existence uniqeness theorem, we must have y(t) =0for all x (a, b). Example 1.6. Consider y 1 = t 2, y 2 = t t. Then W (t) = t2 t t 2x 2x sgn(t) =2t3 sgn(t) 2t 2 t 0. However, y 1 (t), y 2 (t) are not linearly dependent. For suppose Then If t>0, while for t<0, c 1 y 1 (t)+c 2 y 2 (t) =0, for all t. c 1 t + c 2 t =0 for all t. c 1 t + c 2 t =0 c 1 = c 2 c 1 t c 2 t =0 c 1 = c 2. Hence c 1 = c 2 =0and so y 1, y 2 are linearly independent on any interval (a, b) containing 0. Thus y 1,y 2 are not solutions of a linear homogeneous 2nd order equation on (a, b). 1.6 Completeness of Solution for Constant Coefficient ODE We have already learned, in Section 1.2, how to find a set of n solutions to any homogeneous equation of the form Ly =0with L = D (n) + a 1 D (n 1) + + a n 1 D + a n. Namely, we factor the operator into a product of factors (D r) k and (D 2 2αD + α 2 + β 2 ) m. Having done this we 34

35 simply observe that the general solution of the associated homogeneous problem for each of these types of operators is easy to write out. Namely, we have (D r) k y =0 y = (D 2 2αD + α 2 + β 2 ) m y =0 y = k c j t j 1 e rt (1.6.1) k c j t j 1 e αt cos(βt) + k c j t j 1 e αt sin(βt) (1.6.2) In the case that the coefficients a i are constant, it is possible to describe the solutions explicitly by simply solving the homogeneous equation for each factor and adding these terms together. What we have not proved is that all such solutions give a basis for the null space of L, i.e., we have not shown that the soutions are linearly independent. To show that these solutions are linearly independent is not really difficult but to do it completely rigorously and carefully is a bit lengthy. First we note that Lemma 1.2. If λ = α + βi is a real (β =0) or complex number, then ( k ) y = c j t j 1 is the complete solution of (D λ) k y =0. Proof. Showing that the solutions of (D λ) k y =0are linearly independent amounts to showing that ( k ) c j t j 1 e λt =0 for all t R c j =0,, 2,,k. But, on noting that e λt 0and dividing, this result is obvious from the fundamental theorem of algebra which says that a polynomial of degree k has exactly k zeros. Lemma 1.3. If λ 1 λ 2 are two complex numbers and e λt p(t) = k c j t j 1 and q(t) = l d j t j 1, are two polynomials, then p(t)e λ 1t = q(t)e λ 2t for all t R p(t) =0, q(t) =0. 35

36 Proof. To see that this is true we first multiply both sides of the equation by e λ 1t so that p(t) =q(t)e (λ 2 λ 1 )t for all t R. Now consider the cases in which α<0, α>0 and α =0where (λ 2 λ 1 ) α + βi. Ifα<0 then (using L Hospital s rule in the first term) lim t + q(t)e(λ 2 λ 1 )t =0 while lim t + p(t) =± (as c k is pos. or neg.). So that we must have p(t) 0 and then q(t) 0. Ifα>0 we repeat the same argument with the first limit replace by t. Finally, in the case α =0we divide both sides of the equation by q(t) and collect real and imaginary parts to obtain r 1 (t)+ir 2 (t) = p(t) q(t) = eβit = cos(βt)+i sin(βt) where r 1 (t) and r 1 (t) are rational functions with real coefficients. Equating real and imaginary parts we see that this would imply that r 1 (t) = cos(βt), r 2 (t) = sin(βt) which is impossible unless r 1 (t) = 0 and r 2 (t) = 0 since the right side has infinitely many zeros while the left can have only a finite number. This in turn implies that p(t) =0and also q(t) =0. Lemma 1.4. If l>0, λ 1 λ 2 are real or complex numbers and where p(t) is a polynomial, then p(t) 0. (D λ 2 ) l ( p(t)e λ 1t ) =0 Proof. We know that every solution of (D λ 2 ) l y =0can be written as y = ( q(t)e ) λ 2t for some polynomial q(t) of degree at most (l 1). So the equestion is whether or not there exists a polynomial q(t) so that p(t)e λ1t = q(t)e λ2t. We note that this is only possible when p(t) =0and q(t) =0by Lemma 1.3. Lemma 1.5. If p(t) is any polynomial of degree less than or equal (n 1) then (D λ 1 ) m ( p(t)e λ 2t ) = q(t)e λ 2t where q(t) is a polynomial of degree at most the degree of p(t). Proof. Consider the case m =1.Wehave (D λ 1 ) ( p(t)e λ 2t ) = q(t)e λ 2t where q(t) =p (t)+(λ 2 λ 1 )p(t) which is a polynomial of degree p(t). You can now iterate this result for general l>0. 36

37 Lemma 1.6. If L(y) =y (n) +a 1 y (n 1) + +a n y has real coefficients and p(r) =r n +a 1 r (n 1) + + a n. Then p(z) =p(z) for all z C. Therefore if p(α + βi) =0then p(α βi) =0. Proof. For every z 1,z 2 C, wehavez 1 + z 2 = z 1 + z 2 and z 1 z 2 = z 1 z 2 which also implies z1 n = z n 1. From Lemma 1.6 we know that for a differential operator L with real coefficients, all complex roots must occur in complex conjugate pairs (counting multiplicity) and from Lemma 1.2 we know that for a pair of complex roots λ = α + βi each of multiplicity k,asetof2k linearly independent solutions is given for j =0,, (k 1) by ( ) t j e λt = t j e αt cos(βt)+isin(βt). ( ) t j e λt = t j e αt cos(βt) i sin(βt). From this we see that there is a set of real solutions given as a linear combination of these solutions by t j e αt cos(βt) = 1 ( ) 2 tj e λt + e λt, and x j e αt sin(βt) = 1 2i tj ( e λt e λt ). We already know from Lemma 1.2 that t j e λt and t j e λt are linearly independent. Suppose we have a linear combination c j t j e αt cos(βt)+d j t j e αt sin(βt) =0. This would imply that (c j d j i) t j e λt + (c j + d j i) t j e λt =0, 2 2 but since these functions are independent this implies (c j d j i)=0, (c j + d j i)=0, which implies c j = d j =0. Combining these results we have the main theorem: Theorem 1.3. If L = y (n) + a 1 y (n 1) + + a n y has real coefficients and we assume that the polynomial p(r) =r n + a 1 r (n 1) + + a n has zeros given by r 1, r 1,r 2, r 2,,r l, r l, r 2l+1,,r s where r j = α j + β j i, j =1,,l, α j,β j R, β j 0and r j for j =2l +1,,sare real. Let r j have multiplicity m j for all j. Then if p j (t) and q j (t) denote arbitrary polynomials (with real coefficients) of degree (m j 1), the general solution of Ly =0can be written as y = l s e αjt [p j (t) cos(β j t)+q j (t) sin(β j t)] + p j (t)e rjt. j=2l+1 37

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

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

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

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

2 Linear Differential Equations General Theory Linear Equations with Constant Coefficients Operator Methods...

2 Linear Differential Equations General Theory Linear Equations with Constant Coefficients Operator Methods... MA322 Ordinary Differential Equations Wong Yan Loi 2 Contents First Order Differential Equations 5 Introduction 5 2 Exact Equations, Integrating Factors 8 3 First Order Linear Equations 4 First Order Implicit

More information

Differential Equations Class Notes

Differential Equations Class Notes Differential Equations Class Notes Dan Wysocki Spring 213 Contents 1 Introduction 2 2 Classification of Differential Equations 6 2.1 Linear vs. Non-Linear.................................. 7 2.2 Seperable

More information

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1 Lectures - Week 11 General First Order ODEs & Numerical Methods for IVPs In general, nonlinear problems are much more difficult to solve than linear ones. Unfortunately many phenomena exhibit nonlinear

More information

Ordinary Differential Equation Theory

Ordinary Differential Equation Theory Part I Ordinary Differential Equation Theory 1 Introductory Theory An n th order ODE for y = y(t) has the form Usually it can be written F (t, y, y,.., y (n) ) = y (n) = f(t, y, y,.., y (n 1) ) (Implicit

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

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

µ = e R p(t)dt where C is an arbitrary constant. In the presence of an initial value condition

µ = e R p(t)dt where C is an arbitrary constant. In the presence of an initial value condition MATH 3860 REVIEW FOR FINAL EXAM The final exam will be comprehensive. It will cover materials from the following sections: 1.1-1.3; 2.1-2.2;2.4-2.6;3.1-3.7; 4.1-4.3;6.1-6.6; 7.1; 7.4-7.6; 7.8. The following

More information

HW2 Solutions. MATH 20D Fall 2013 Prof: Sun Hui TA: Zezhou Zhang (David) October 14, Checklist: Section 2.6: 1, 3, 6, 8, 10, 15, [20, 22]

HW2 Solutions. MATH 20D Fall 2013 Prof: Sun Hui TA: Zezhou Zhang (David) October 14, Checklist: Section 2.6: 1, 3, 6, 8, 10, 15, [20, 22] HW2 Solutions MATH 20D Fall 2013 Prof: Sun Hui TA: Zezhou Zhang (David) October 14, 2013 Checklist: Section 2.6: 1, 3, 6, 8, 10, 15, [20, 22] Section 3.1: 1, 2, 3, 9, 16, 18, 20, 23 Section 3.2: 1, 2,

More information

First-Order ODE: Separable Equations, Exact Equations and Integrating Factor

First-Order ODE: Separable Equations, Exact Equations and Integrating Factor First-Order ODE: Separable Equations, Exact Equations and Integrating Factor Department of Mathematics IIT Guwahati REMARK: In the last theorem of the previous lecture, you can change the open interval

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

Ordinary Differential Equations (ODEs)

Ordinary Differential Equations (ODEs) c01.tex 8/10/2010 22: 55 Page 1 PART A Ordinary Differential Equations (ODEs) Chap. 1 First-Order ODEs Sec. 1.1 Basic Concepts. Modeling To get a good start into this chapter and this section, quickly

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

MB4018 Differential equations

MB4018 Differential equations MB4018 Differential equations Part II http://www.staff.ul.ie/natalia/mb4018.html Prof. Natalia Kopteva Spring 2015 MB4018 (Spring 2015) Differential equations Part II 0 / 69 Section 1 Second-Order Linear

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

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

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

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES J. WONG (FALL 2017) What did we cover this week? Basic definitions: DEs, linear operators, homogeneous (linear) ODEs. Solution techniques for some classes

More information

First Order Differential Equations Chapter 1

First Order Differential Equations Chapter 1 First Order Differential Equations Chapter 1 Doreen De Leon Department of Mathematics, California State University, Fresno 1 Differential Equations and Mathematical Models Section 1.1 Definitions: An equation

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

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

2.2 Separable Equations

2.2 Separable Equations 2.2 Separable Equations Definition A first-order differential equation that can be written in the form Is said to be separable. Note: the variables of a separable equation can be written as Examples Solve

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

Find the Fourier series of the odd-periodic extension of the function f (x) = 1 for x ( 1, 0). Solution: The Fourier series is.

Find the Fourier series of the odd-periodic extension of the function f (x) = 1 for x ( 1, 0). Solution: The Fourier series is. Review for Final Exam. Monday /09, :45-:45pm in CC-403. Exam is cumulative, -4 problems. 5 grading attempts per problem. Problems similar to homeworks. Integration and LT tables provided. No notes, no

More information

كلية العلوم قسم الرياضيات المعادالت التفاضلية العادية

كلية العلوم قسم الرياضيات المعادالت التفاضلية العادية الجامعة اإلسالمية كلية العلوم غزة قسم الرياضيات المعادالت التفاضلية العادية Elementary differential equations and boundary value problems المحاضرون أ.د. رائد صالحة د. فاتن أبو شوقة 1 3 4 5 6 بسم هللا

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

Section 4.7: Variable-Coefficient Equations

Section 4.7: Variable-Coefficient Equations Cauchy-Euler Equations Section 4.7: Variable-Coefficient Equations Before concluding our study of second-order linear DE s, let us summarize what we ve done. In Sections 4.2 and 4.3 we showed how to find

More information

Second Order ODE's (2A) Young Won Lim 5/5/15

Second Order ODE's (2A) Young Won Lim 5/5/15 Second Order ODE's (2A) Copyright (c) 2011-2015 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or

More information

The Method of Frobenius

The Method of Frobenius The Method of Frobenius Department of Mathematics IIT Guwahati If either p(x) or q(x) in y + p(x)y + q(x)y = 0 is not analytic near x 0, power series solutions valid near x 0 may or may not exist. If either

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

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

ODE classification. February 7, Nasser M. Abbasi. compiled on Wednesday February 07, 2018 at 11:18 PM

ODE classification. February 7, Nasser M. Abbasi. compiled on Wednesday February 07, 2018 at 11:18 PM ODE classification Nasser M. Abbasi February 7, 2018 compiled on Wednesday February 07, 2018 at 11:18 PM 1 2 first order b(x)y + c(x)y = f(x) Integrating factor or separable (see detailed flow chart for

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

8.5 Taylor Polynomials and Taylor Series

8.5 Taylor Polynomials and Taylor Series 8.5. TAYLOR POLYNOMIALS AND TAYLOR SERIES 50 8.5 Taylor Polynomials and Taylor Series Motivating Questions In this section, we strive to understand the ideas generated by the following important questions:

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

Lecture 4: Numerical solution of ordinary differential equations

Lecture 4: Numerical solution of ordinary differential equations Lecture 4: Numerical solution of ordinary differential equations Department of Mathematics, ETH Zürich General explicit one-step method: Consistency; Stability; Convergence. High-order methods: Taylor

More information

Series Solutions. 8.1 Taylor Polynomials

Series Solutions. 8.1 Taylor Polynomials 8 Series Solutions 8.1 Taylor Polynomials Polynomial functions, as we have seen, are well behaved. They are continuous everywhere, and have continuous derivatives of all orders everywhere. It also turns

More information

LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS

LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS 1. Regular Singular Points During the past few lectures, we have been focusing on second order linear ODEs of the form y + p(x)y + q(x)y = g(x). Particularly,

More information

Lecture 8: Ordinary Differential Equations

Lecture 8: Ordinary Differential Equations MIT-WHOI Joint Program Summer Math Review Summer 2015 Lecture 8: Ordinary Differential Equations Lecturer: Isabela Le Bras Date: 31 July 2015 Disclaimer: These notes are for the purposes of this review

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

Exam Basics. midterm. 1 There will be 9 questions. 2 The first 3 are on pre-midterm material. 3 The next 1 is a mix of old and new material.

Exam Basics. midterm. 1 There will be 9 questions. 2 The first 3 are on pre-midterm material. 3 The next 1 is a mix of old and new material. Exam Basics 1 There will be 9 questions. 2 The first 3 are on pre-midterm material. 3 The next 1 is a mix of old and new material. 4 The last 5 questions will be on new material since the midterm. 5 60

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

2nd-Order Linear Equations

2nd-Order Linear Equations 4 2nd-Order Linear Equations 4.1 Linear Independence of Functions In linear algebra the notion of linear independence arises frequently in the context of vector spaces. If V is a vector space over 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

3.4.1 Distinct Real Roots

3.4.1 Distinct Real Roots Math 334 3.4. CONSTANT COEFFICIENT EQUATIONS 34 Assume that P(x) = p (const.) and Q(x) = q (const.), so that we have y + py + qy = 0, or L[y] = 0 (where L := d2 dx 2 + p d + q). (3.7) dx Guess a solution

More information

First Order Differential Equations

First Order Differential Equations Chapter 2 First Order Differential Equations Introduction Any first order differential equation can be written as F (x, y, y )=0 by moving all nonzero terms to the left hand side of the equation. Of course,

More information

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics Lecture Notes in Mathematics Arkansas Tech University Department of Mathematics Introductory Notes in Ordinary Differential Equations for Physical Sciences and Engineering Marcel B. Finan c All Rights

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

Math 2a Prac Lectures on Differential Equations

Math 2a Prac Lectures on Differential Equations Math 2a Prac Lectures on Differential Equations Prof. Dinakar Ramakrishnan 272 Sloan, 253-37 Caltech Office Hours: Fridays 4 5 PM Based on notes taken in class by Stephanie Laga, with a few added comments

More information

An Introduction to Numerical Methods for Differential Equations. Janet Peterson

An Introduction to Numerical Methods for Differential Equations. Janet Peterson An Introduction to Numerical Methods for Differential Equations Janet Peterson Fall 2015 2 Chapter 1 Introduction Differential equations arise in many disciplines such as engineering, mathematics, sciences

More information

Consistency and Convergence

Consistency and Convergence Jim Lambers MAT 77 Fall Semester 010-11 Lecture 0 Notes These notes correspond to Sections 1.3, 1.4 and 1.5 in the text. Consistency and Convergence We have learned that the numerical solution obtained

More information

4 Exact Equations. F x + F. dy dx = 0

4 Exact Equations. F x + F. dy dx = 0 Chapter 1: First Order Differential Equations 4 Exact Equations Discussion: The general solution to a first order equation has 1 arbitrary constant. If we solve for that constant, we can write the general

More information

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0 Lecture 22 Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) Recall a few facts about power series: a n z n This series in z is centered at z 0. Here z can

More information

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS. David Levermore Department of Mathematics University of Maryland.

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS. David Levermore Department of Mathematics University of Maryland. HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS David Levermore Department of Mathematics University of Maryland 28 March 2008 The following is a review of some of the material that we covered on higher-order

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

Existence Theory: Green s Functions

Existence Theory: Green s Functions Chapter 5 Existence Theory: Green s Functions In this chapter we describe a method for constructing a Green s Function The method outlined is formal (not rigorous) When we find a solution to a PDE by constructing

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

Introductory Differential Equations

Introductory Differential Equations Introductory Differential Equations Lecture Notes June 3, 208 Contents Introduction Terminology and Examples 2 Classification of Differential Equations 4 2 First Order ODEs 5 2 Separable ODEs 5 22 First

More information

24. x 2 y xy y sec(ln x); 1 e x y 1 cos(ln x), y 2 sin(ln x) 25. y y tan x 26. y 4y sec 2x 28.

24. x 2 y xy y sec(ln x); 1 e x y 1 cos(ln x), y 2 sin(ln x) 25. y y tan x 26. y 4y sec 2x 28. 16 CHAPTER 4 HIGHER-ORDER DIFFERENTIAL EQUATIONS 11. y 3y y 1 4. x yxyy sec(ln x); 1 e x y 1 cos(ln x), y sin(ln x) ex 1. y y y 1 x 13. y3yy sin e x 14. yyy e t arctan t 15. yyy e t ln t 16. y y y 41x

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

Calculus IV - HW 3. Due 7/ Give the general solution to the following differential equations: y = c 1 e 5t + c 2 e 5t. y = c 1 e 2t + c 2 e 4t.

Calculus IV - HW 3. Due 7/ Give the general solution to the following differential equations: y = c 1 e 5t + c 2 e 5t. y = c 1 e 2t + c 2 e 4t. Calculus IV - HW 3 Due 7/13 Section 3.1 1. Give the general solution to the following differential equations: a y 25y = 0 Solution: The characteristic equation is r 2 25 = r 5r + 5. It follows that the

More information

NATIONAL OPEN UNIVERSITY OF NIGERIA SCHOOL OF SCIENCE AND TECHNOLOGY COURSE CODE: MTH421 COURSE TITLE: ORDINARY DIFFERENTIAL EQUATIONS

NATIONAL OPEN UNIVERSITY OF NIGERIA SCHOOL OF SCIENCE AND TECHNOLOGY COURSE CODE: MTH421 COURSE TITLE: ORDINARY DIFFERENTIAL EQUATIONS MTH 421 NATIONAL OPEN UNIVERSITY OF NIGERIA SCHOOL OF SCIENCE AND TECHNOLOGY COURSE CODE: MTH421 COURSE TITLE: ORDINARY DIFFERENTIAL EQUATIONS MTH 421 ORDINARY DIFFERENTIAL EQUATIONS COURSE WRITER Prof.

More information

Chapter 8: Taylor s theorem and L Hospital s rule

Chapter 8: Taylor s theorem and L Hospital s rule Chapter 8: Taylor s theorem and L Hospital s rule Theorem: [Inverse Mapping Theorem] Suppose that a < b and f : [a, b] R. Given that f (x) > 0 for all x (a, b) then f 1 is differentiable on (f(a), f(b))

More information

ORDINARY DIFFERENTIAL EQUATIONS

ORDINARY DIFFERENTIAL EQUATIONS ORDINARY DIFFERENTIAL EQUATIONS GABRIEL NAGY Mathematics Department, Michigan State University, East Lansing, MI, 4884 NOVEMBER 9, 7 Summary This is an introduction to ordinary differential equations We

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

First order differential equations

First order differential equations First order differential equations Samy Tindel Purdue University Differential equations and linear algebra - MA 262 Taken from Differential equations and linear algebra by Goode and Annin Samy T. First

More information

= 2e t e 2t + ( e 2t )e 3t = 2e t e t = e t. Math 20D Final Review

= 2e t e 2t + ( e 2t )e 3t = 2e t e t = e t. Math 20D Final Review Math D Final Review. Solve the differential equation in two ways, first using variation of parameters and then using undetermined coefficients: Corresponding homogenous equation: with characteristic equation

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

M343 Homework 3 Enrique Areyan May 17, 2013

M343 Homework 3 Enrique Areyan May 17, 2013 M343 Homework 3 Enrique Areyan May 17, 013 Section.6 3. Consider the equation: (3x xy + )dx + (6y x + 3)dy = 0. Let M(x, y) = 3x xy + and N(x, y) = 6y x + 3. Since: y = x = N We can conclude that this

More information

Fourth Order RK-Method

Fourth Order RK-Method Fourth Order RK-Method The most commonly used method is Runge-Kutta fourth order method. The fourth order RK-method is y i+1 = y i + 1 6 (k 1 + 2k 2 + 2k 3 + k 4 ), Ordinary Differential Equations (ODE)

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 / 25 First order ODE s We will now discuss

More information

Solutions to Math 53 Math 53 Practice Final

Solutions to Math 53 Math 53 Practice Final Solutions to Math 5 Math 5 Practice Final 20 points Consider the initial value problem y t 4yt = te t with y 0 = and y0 = 0 a 8 points Find the Laplace transform of the solution of this IVP b 8 points

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

144 Chapter 3. Second Order Linear Equations

144 Chapter 3. Second Order Linear Equations 144 Chapter 3. Second Order Linear Equations PROBLEMS In each of Problems 1 through 8 find the general solution of the given differential equation. 1. y + 2y 3y = 0 2. y + 3y + 2y = 0 3. 6y y y = 0 4.

More information

MIDTERM 1 PRACTICE PROBLEM SOLUTIONS

MIDTERM 1 PRACTICE PROBLEM SOLUTIONS MIDTERM 1 PRACTICE PROBLEM SOLUTIONS Problem 1. Give an example of: (a) an ODE of the form y (t) = f(y) such that all solutions with y(0) > 0 satisfy y(t) = +. lim t + (b) an ODE of the form y (t) = f(y)

More information

Calculus I Review Solutions

Calculus I Review Solutions Calculus I Review Solutions. Compare and contrast the three Value Theorems of the course. When you would typically use each. The three value theorems are the Intermediate, Mean and Extreme value theorems.

More information

An Overly Simplified and Brief Review of Differential Equation Solution Methods. 1. Some Common Exact Solution Methods for Differential Equations

An Overly Simplified and Brief Review of Differential Equation Solution Methods. 1. Some Common Exact Solution Methods for Differential Equations An Overly Simplified and Brief Review of Differential Equation Solution Methods We will be dealing with initial or boundary value problems. A typical initial value problem has the form y y 0 y(0) 1 A typical

More information

Ordinary Differential Equations Lake Ritter, Kennesaw State University

Ordinary Differential Equations Lake Ritter, Kennesaw State University Ordinary Differential Equations Lake Ritter, Kennesaw State University 2017 MATH 2306: Ordinary Differential Equations Lake Ritter, Kennesaw State University This manuscript is a text-like version of the

More information

TAM3B DIFFERENTIAL EQUATIONS Unit : I to V

TAM3B DIFFERENTIAL EQUATIONS Unit : I to V TAM3B DIFFERENTIAL EQUATIONS Unit : I to V Unit I -Syllabus Homogeneous Functions and examples Homogeneous Differential Equations Exact Equations First Order Linear Differential Equations Reduction of

More information

Mathematics for Engineers II. lectures. Differential Equations

Mathematics for Engineers II. lectures. Differential Equations Differential Equations Examples for differential equations Newton s second law for a point mass Consider a particle of mass m subject to net force a F. Newton s second law states that the vector acceleration

More information

Homework Solutions: , plus Substitutions

Homework Solutions: , plus Substitutions Homework Solutions: 2.-2.2, plus Substitutions Section 2. I have not included any drawings/direction fields. We can see them using Maple or by hand, so we ll be focusing on getting the analytic solutions

More information

Ordinary differential equations Notes for FYS3140

Ordinary differential equations Notes for FYS3140 Ordinary differential equations Notes for FYS3140 Susanne Viefers, Dept of Physics, University of Oslo April 4, 2018 Abstract Ordinary differential equations show up in many places in physics, and these

More information

REVIEW OF DIFFERENTIAL CALCULUS

REVIEW OF DIFFERENTIAL CALCULUS REVIEW OF DIFFERENTIAL CALCULUS DONU ARAPURA 1. Limits and continuity To simplify the statements, we will often stick to two variables, but everything holds with any number of variables. Let f(x, y) be

More information

ODE Homework Solutions of Linear Homogeneous Equations; the Wronskian

ODE Homework Solutions of Linear Homogeneous Equations; the Wronskian ODE Homework 3 3.. Solutions of Linear Homogeneous Equations; the Wronskian 1. Verify that the functions y 1 (t = e t and y (t = te t are solutions of the differential equation y y + y = 0 Do they constitute

More information

Table of contents. d 2 y dx 2, As the equation is linear, these quantities can only be involved in the following manner:

Table of contents. d 2 y dx 2, As the equation is linear, these quantities can only be involved in the following manner: M ath 0 1 E S 1 W inter 0 1 0 Last Updated: January, 01 0 Solving Second Order Linear ODEs Disclaimer: This lecture note tries to provide an alternative approach to the material in Sections 4. 4. 7 and

More information

Elementary ODE Review

Elementary ODE Review Elementary ODE Review First Order ODEs First Order Equations Ordinary differential equations of the fm y F(x, y) () are called first der dinary differential equations. There are a variety of techniques

More information

Essential Ordinary Differential Equations

Essential Ordinary Differential Equations MODULE 1: MATHEMATICAL PRELIMINARIES 10 Lecture 2 Essential Ordinary Differential Equations In this lecture, we recall some methods of solving first-order IVP in ODE (separable and linear) and homogeneous

More information

ORDINARY DIFFERENTIAL EQUATIONS

ORDINARY DIFFERENTIAL EQUATIONS ORDINARY DIFFERENTIAL EQUATIONS Basic concepts: Find y(x) where x is the independent and y the dependent varible, based on an equation involving x, y(x), y 0 (x),...e.g.: y 00 (x) = 1+y(x) y0 (x) 1+x or,

More information

Mathematical Methods - Lecture 7

Mathematical Methods - Lecture 7 Mathematical Methods - Lecture 7 Yuliya Tarabalka Inria Sophia-Antipolis Méditerranée, Titane team, http://www-sop.inria.fr/members/yuliya.tarabalka/ Tel.: +33 (0)4 92 38 77 09 email: yuliya.tarabalka@inria.fr

More information

Ordinary Differential Equations

Ordinary Differential Equations CHAPTER 8 Ordinary Differential Equations 8.1. Introduction My section 8.1 will cover the material in sections 8.1 and 8.2 in the book. Read the book sections on your own. I don t like the order of things

More information

AMATH 351 Mar 15, 2013 FINAL REVIEW. Instructor: Jiri Najemnik

AMATH 351 Mar 15, 2013 FINAL REVIEW. Instructor: Jiri Najemnik AMATH 351 Mar 15, 013 FINAL REVIEW Instructor: Jiri Najemni ABOUT GRADES Scores I have so far will be posted on the website today sorted by the student number HW4 & Exam will be added early next wee Let

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

7.3 Singular points and the method of Frobenius

7.3 Singular points and the method of Frobenius 284 CHAPTER 7. POWER SERIES METHODS 7.3 Singular points and the method of Frobenius Note: or.5 lectures, 8.4 and 8.5 in [EP], 5.4 5.7 in [BD] While behaviour of ODEs at singular points is more complicated,

More information

A BRIEF INTRODUCTION INTO SOLVING DIFFERENTIAL EQUATIONS

A BRIEF INTRODUCTION INTO SOLVING DIFFERENTIAL EQUATIONS MATTHIAS GERDTS A BRIEF INTRODUCTION INTO SOLVING DIFFERENTIAL EQUATIONS Universität der Bundeswehr München Addresse des Autors: Matthias Gerdts Institut für Mathematik und Rechneranwendung Universität

More information

Chapter 4: Higher-Order Differential Equations Part 1

Chapter 4: Higher-Order Differential Equations Part 1 Chapter 4: Higher-Order Differential Equations Part 1 王奕翔 Department of Electrical Engineering National Taiwan University ihwang@ntu.edu.tw October 8, 2013 Higher-Order Differential Equations Most of this

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