Ordinary Differential Equations



Similar documents
Methods of Solution of Selected Differential Equations Carol A. Edwards Chandler-Gilbert Community College

College of the Holy Cross, Spring 2009 Math 373, Partial Differential Equations Midterm 1 Practice Questions

tegrals as General & Particular Solutions

Math Assignment 6

Inner Product Spaces

Second-Order Linear Differential Equations

1. First-order Ordinary Differential Equations

A Brief Review of Elementary Ordinary Differential Equations

General Theory of Differential Equations Sections 2.8, , 4.1

SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS

Solutions for Review Problems

MATH 425, PRACTICE FINAL EXAM SOLUTIONS.

Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

Høgskolen i Narvik Sivilingeniørutdanningen STE6237 ELEMENTMETODER. Oppgaver

Numerical Methods for Differential Equations

r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + 1 = 1 1 θ(t) Write the given system in matrix form x = Ax + f ( ) sin(t) x y z = dy cos(t)

Introduction to Partial Differential Equations. John Douglas Moore

2 Integrating Both Sides

Second Order Linear Partial Differential Equations. Part I

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

Nonhomogeneous Linear Equations

3.2 Sources, Sinks, Saddles, and Spirals

ORDINARY DIFFERENTIAL EQUATIONS

Student name: Earlham College. Fall 2011 December 15, 2011

Numerical Methods for Differential Equations

THREE DIMENSIONAL GEOMETRY

Solving Differential Equations by Symmetry Groups

Second Order Linear Differential Equations

On closed-form solutions to a class of ordinary differential equations

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS

1.7. Partial Fractions Rational Functions and Partial Fractions. A rational function is a quotient of two polynomials: R(x) = P (x) Q(x).

Integrals of Rational Functions

Stability. Chapter 4. Topics : 1. Basic Concepts. 2. Algebraic Criteria for Linear Systems. 3. Lyapunov Theory with Applications to Linear Systems

Class Meeting # 1: Introduction to PDEs

Lecture 13 Linear quadratic Lyapunov theory

A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS

1 Lecture: Integration of rational functions by decomposition

System of First Order Differential Equations

TOPIC 4: DERIVATIVES

MATH 381 HOMEWORK 2 SOLUTIONS

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

Tim Kerins. Leaving Certificate Honours Maths - Algebra. Tim Kerins. the date

LS.6 Solution Matrices

Understanding Poles and Zeros

Mathematics Course 111: Algebra I Part IV: Vector Spaces

1 VECTOR SPACES AND SUBSPACES

Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

The Heat Equation. Lectures INF2320 p. 1/88

A First Course in Elementary Differential Equations. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Stability Analysis for Systems of Differential Equations

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

Separable First Order Differential Equations

8 Hyperbolic Systems of First-Order Equations

The Characteristic Polynomial

How To Solve A Linear Dierential Equation

9 MATRICES AND TRANSFORMATIONS

The Method of Partial Fractions Math 121 Calculus II Spring 2015

APPLIED MATHEMATICS ADVANCED LEVEL

QUADRATIC SYSTEMS WITH A RATIONAL FIRST INTEGRAL OF DEGREE THREE: A COMPLETE CLASSIFICATION IN THE COEFFICIENT SPACE R 12

Differentiation and Integration

Chapter 17. Orthogonal Matrices and Symmetries of Space

State of Stress at Point

Exam 1 Sample Question SOLUTIONS. y = 2x

19.6. Finding a Particular Integral. Introduction. Prerequisites. Learning Outcomes. Learning Style

Differential Equations I MATB44H3F. Version September 15,

NUMERICAL ANALYSIS PROGRAMS

Solutions to Homework 10

VERTICES OF GIVEN DEGREE IN SERIES-PARALLEL GRAPHS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

An Introduction to Partial Differential Equations

LINEAR ALGEBRA W W L CHEN

SOLUTIONS. f x = 6x 2 6xy 24x, f y = 3x 2 6y. To find the critical points, we solve

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

INTEGRATING FACTOR METHOD

Solving Cubic Polynomials

Modern Algebra Lecture Notes: Rings and fields set 4 (Revision 2)

Taylor and Maclaurin Series

Eigenvalues and Eigenvectors

Eigenvalues, Eigenvectors, and Differential Equations

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.

1.5. Factorisation. Introduction. Prerequisites. Learning Outcomes. Learning Style

RAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A

3. INNER PRODUCT SPACES

RESULTANT AND DISCRIMINANT OF POLYNOMIALS

Chapter 4. Linear Second Order Equations. ay + by + cy = 0, (1) where a, b, c are constants. The associated auxiliary equation is., r 2 = b b 2 4ac 2a

Review Solutions MAT V (a) If u = 4 x, then du = dx. Hence, substitution implies 1. dx = du = 2 u + C = 2 4 x + C.

4.3 Lagrange Approximation

Introduction to the Finite Element Method

Nonlinear Systems of Ordinary Differential Equations

The one dimensional heat equation: Neumann and Robin boundary conditions

1 Lecture 3: Operators in Quantum Mechanics

This makes sense. t /t 2 dt = 1. t t 2 + 1dt = 2 du = 1 3 u3/2 u=5

1 Sets and Set Notation.

Transcription:

Ordinary Differential Equations Dan B. Marghitu and S.C. Sinha 1 Introduction An ordinary differential equation is a relation involving one or several derivatives of a function y(x) with respect to x. The relation may also be composed of constants, given functions of x, or y itself. The equation y (x) = e x, (1) where y = dy/dx, is of a first order ordinary differential equation, the equation y (x) + y(x) = 0, () where y = d y/dx is of a second order ordinary differential equation, and the equation x y (x) y (x) + 3e x y (x) = (x + 1)y (x), (3) where y = d 3 y/dx 3 is a third order ordinary differential equation. The order of an ordinary differential equation the highest derivative of y in the equation. Definition [1]. The explicit solution of a first-order differential equation is a function y = g(x), a < x < b, (4) defined and differentiable on (a, b), with the property that the equation becomes an identity when y and y are replaced by g and g, respectively. The solution of a differential equation G(x, y) = 0 it is called the implicit solution. 1

Example. The explicit solution of the first-order differential equation y (x) = x y(x), (5) is y(x) = c e x /, (6) where c is an arbitrary constant. The differential equation (5) has many solutions. The function (6), with arbitrary c, represents the general solution (the totality of all solutions of the equation). If we consider a definite value of c, for example c = 1, then the solution obtained y(x) = e x / is called a particular solution. First order differential equations.1 Separable equations The equation or g(y)y = f(x), (7) g(y)dy = f(x)dx, (8) is called an equation with separable variables, or a separable equation. The variable x appears only on the right hand side and the function y appears only on the left hand side in Eq. (8). Integrating both sides we obtain g(y)dy = f(x)dx + c. (9) If f and g are continuous functions the general solution of Eq. (7) is obtained evaluating Eq. (9). Example. Solve the equation (y + 1)xdx + (x + 1)ydy = 0. The above equation can be rewritten in the form x x + 1 dx + y dy = 0. y + 1

By integration we obtain x ln 1 + x + 1 ln(1 + y ) = c, x + 1 0. With x = 0 and y = 0 we calculate c = 1 ln and x + ln 1 + y = ln(1 + x), x 1. Definition. A first-order differential equation together with an initial condition is called an initial value problem. The initial condition is the condition that at some point x = x 0 the solution y(x) has a prescribed value y(x 0 ) = y 0.. Equations reducible to separable form The first-order differential equation ( y y = g, (10) x) where g is any given function of y/x (g(x) = f(y/x)), can be made separable equation by a simple change of variables. The change of variable is y x = u. The function y = u x and by differentiation we obtain y = u + u x. (11) Combining the equations (11) and (10), and taking into account that g(y/x) = g(u) we obtain u + u x = g(u). By separating the variables u and x, the previous equation takes the form du g(u) u = dx x. 3

After integration and replacement of u by y/x the general solution of Eq. (10) is obtained. Example. Solve the equation dy dx = x + 3y 3x + y and 3x + y 0. With the change of function y = ux we obtain or u x + u = + 3u 3 + u u x = u 3 + u and Integrating or 1 3 + u 1 u du = dx x. dx x = 1 3 + u 1 u du ln x = 1 ln u 1 3 4 ln 1 u + ln c. 1 + u ( ) 1 u 3 We obtain x 4 (u 1) = c. Replacing u by y/x, the general integral 1 + u will be (x y ) (x y) 3 = c(x + y) 3..3 Exact differential equations A first-order differential equation M(x, y)dx + N(x, y)dy = 0, (1) 4

is exact if the left hand side is an exact differential Equation (1) can be rewritten as d u(x, y) = u u dx + dy. (13) x y d u = 0. and by integration the general solution is If there is a function u(x, y) with the properties u(x, y) = c. (14) (a) u x = M, (b) u y = N, (15) then M(x, y)dx + N(x, y)dy = 0 is an exact differential equation. The necessary and sufficient condition for Mdx + Ndy be an exact differential [1] is M y = N x. (16) To find u(x, y) we have the following steps [1]. From Eq. (15.a) if we consider y to be a constant we obtain u = Mdx + k(y), (17) where and k(y) is the constant of integration. k(y) is determined from Eq. (17) deriving u/ y. From Eq. (15.b) we get dk/dy. Example. Solve the equation x x y y + ln(x y) + x x y Writing the equation in the form Eq. (1), we get = 0 x y > 0. x [ x y dy + ln(x y) + x ] dx = 0 (18) x y 5

Equation (18) is exact. Consider M = ln(x y)+ x x y, and N = x x y. Then, by differentiation we obtain M y = N x = 1 x y + 1 x y + From Eq. (15.b) we have N = u y x (x y), x (x y). and by integration u = x ln(x y) + k(x). To determine k(x) we differentiate u and apply Eq. (15.a) u x = ln(x y) + x x y + dk dx = M. By simple algebraic manipulations, we find that dk = 0 and, consequently, dx k(x) = c, where c is an arbitrary constant. We obtain the final form x ln(x y) = c..4 Linear differential equations We consider the first-order differential equation y + f(x) y = r(x), (19) which is linear in y and y (f and r may be any given functions of x). If r(x) = 0, x (for all x) the equation is homogeneous. For r(x) 0 the equation is said to be nonhomogeneous. Assuming that f(x) and r(x) are continuous for x I, we need to find a general formula for Eq. (19). Case I. homogeneous equation For the equation y + f(x)y = 0, (0) 6

separating variables we have and the solution is dy y = f(x)dx or ln y = f(x)dx + c, y(x) = ce f(x)dx (c = ±e c when y < 0 or y > 0). (1) Case II. nonhomogeneous equation Multiplying Eq. (19) by F (x) = e h(x) where h(x) = f(x)dx. we find Since h = f, we obtain e h (y + fy) = e h r. d dx (yeh ) = e h r. Integrating the above relation we have ye h = e h rdx + c. The general solution of Eq. (19) in the form of an integral may be written [ ] y(x) = e h e h rdx + c, h = f(x)dx. () Example. Solve the differential equation xy + (1 x)y = xe x. We can rewrite the equation in the form ( ) 1 y + x 1 y = e x. Comparing the previous equation to Eq. () we can identify ( ) 1 h = x 1 dx = log x x, 7

no constant being added in the integration. Thus, the solution will be ( ) y = e log x+x e log x x e x dx + c ( = ex x x e x ex dx + c), or where c is an arbitrary constant. y = e x ( x + c x.5 Variation of parameters Another way of finding the general solution of linear differential equation ), y + f(x)y = r(x). (3) is the method of variation of parameters. The solution corresponding to a homogeneous equation (r(x) = 0) is v(x) = e f(x)dx. (4) With Eq. (4) we try to determine a function u(x) such that y(x) = u(x)v(x), (5) is the general solution of Eq. (3). This approach is called the method of variation of parameters [1]. Equations (5) and Eq. (3) can be combined into u v + u(v + fv) = r, or u v = r, since v + fv = 0. We find u = r v and by integration u = We obtain the general solution y = uv = v r dx + c. v which is identical with Eq. () of the previous section. ( r v dx + c ), (6) 8

3 Second order differential equation 3.1 Homogeneous linear equations A second-order differential equation which can be written as y + f(x)y + g(x)y = r(x) (7) is said to be linear. It is said to be nonlinear if it cannot be written in the form of Eq. (7). The functions f and g are called the coefficients of the equation (7). If r(x) 0, then Eq. (7) is said to be nonhomogeneous. Otherwise, it is said to be homogeneous and takes the form y + f(x)y + g(x)y = 0. (8) It is called a solution of a differential equation of the second order on an interval J a function y = φ(x) which is defined and two times differentiable on J. Moreover, the equation becomes an identity if φ and its derivative replace the unknown function y and its derivatives, respectively. For the case of homogeneous equations, the following theorem states that solutions of Eq. (8) can be obtained from known solutions by multiplication by constants and by addition. Fundamental Theorem [1]. If a solution of the homogeneous linear differential equation (8) on the interval J is multiplied by any constant, the resulting function is also a solution of Eq. (8) on J. The sum of two solutions of Eq. (8) on J is also a solution of Eq. (8) on that interval. Proof. We assume that φ(x) obeys the conditions to be a solution of Eq. (8) on J. If we replace y by cφ(x) is into Eq. (8), we obtain (cφ) + f(cφ) + gcφ = c[φ + fφ + gφ]. Since φ is a solution of Eq. (8), then φ + fφ + gφ = 0 and we find that cφ is also a solution of Eq. (8). The second part of the theorem can be proved in the same way. Example. The functions y 1 = φ 1 = x and y = φ = x, x R {0} (J R {0}), are two solutions of the equation x y xy + y = 0. The function y 3 = c 1 φ 1 + c φ = c 1 x + c x is also a solution of the equation. 9

3. Homogeneous equations with constant coefficients We consider the homogeneous equations of the form y + ay + by = 0, (9) where a, b R are constants, and x R. The solution of the first-order homogeneous linear equation with constant coefficients is an exponential function, We assume that y + ky = 0, y = C e kx. y = e λx, (30) may be a solution of Eq. (9) if λ is properly chosen. Substituting Eq. (30) and its derivatives into Eq. (9), we obtain y = λe λx and y = λ e λx, (λ + aλ + b)e λx = 0. So Eq. (30) is a solution of Eq. (9), if λ is a solution of the equation λ + aλ + b = 0. (31) Eq. (31) is called the characteristic equation of Eq. (9). Its roots are λ 1 = 1 ( a + a 4b), λ = 1 ( a a 4b). (3) From derivation it follows that the functions y 1 = e λ 1x and y = e λ x, (33) are solutions of Eq. (9). This result can be verified by substituting Eq. (33) into Eq. (9). Elementary algebra states that, since a and b are real, the characteristic equation may have 10

Case I two distinct real roots, Case II two complex conjugate roots, or Case III a real double root. Example 1. Solve the equation y 5y + y = 0. The characteristic equation of the given differential equation will be λ 5λ + = 0 so that λ 1 = 1, λ =. Then the general solution is y = c 1 e x/ + c e x. Example. The equation y + y + 5y = 0 has the characteristic equation λ + λ + 5 = 0 from which λ 1, = 1 ± i. The general solution will be y = e x (c 1 cos x + c sin x). Example 3. The equation y y + 1 = 0 has the characteristic equation (λ 1) = 0 which gives λ 1, = 1. We obtain the general solution y = e x. 11

3.3 General solution. Fundamental system Definition. The general solution of a second order differential equation is a solution which contains two arbitrary independent constants, i.e. the solution cannot be reduced to a form containing only one arbitrary constant or none. A particular solution is a solution obtained from the general solution assigning specific values to the arbitrary constants. We consider the general homogeneous linear equation y + f(x)y + g(x)y = 0, (34) and two solutions y 1 (x) and y (x) of this equation. The Fundamental Theorem states that y(x) = c 1 y 1 (x) + c y (x), (35) is a general solution of Eq. (34), where c 1 and c are two arbitrary constants. Two functions y 1 (x) and y (x) are linearly dependent on an open interval I where both functions are defined, if they are proportional on I (a) y 1 = m y or (b) y = n y 1, (36) for all x I, where m and n are numbers. If the functions are not proportional, they are linearly independent on I. If at least one of the functions y 1 and y is identically zero on I, then the functions are linearly dependent on I. In any other case the functions are linearly dependent on I if and only if the quotient y 1 /y is constant on I. Hence, if y 1 /y depends on x on I, then y 1 and y are linearly independent on I [1]. Example 1. The functions y 1 = 9x and y = 3x are linearly dependent, because the quotient y 1 /y = 3 = const while the functions y 1 = x + x and y = x are linearly independent because y 1 /y = x + 1 const. Two linearly independent solutions of Eq. (34) on I constitute a fundamental system or a basis of solutions on I. 1

Theorem [1]. The solution y(x) = c 1 y 1 (x) + c y (x) (c 1, c arbitrary) is a general solution of the differential equation Eq. (34) on an interval I of the x-axis if and only if the functions y 1 and y constitute a fundamental system of solutions of Eq. (34) on I. y 1 and y constitute such a fundamental system if and only if their quotient y 1 /y is not constant on I but depends on x. Example. The equation has the solutions y y 15y = 0 y 1 = e 5x and y = e 3x. These solutions constitute a fundamental system because the ratio y 1 /y is not constant. The general solution is y = c 1 y 1 + c y = c 1 e 5x + c e 3x. 3.4 Complex roots of the characteristic equation. Initial value problem The solutions of the homogeneous linear equation with constant coefficients are y + ay + by = 0 (a, b real) (37) y 1 = e λ 1x and y = e λ x, (38) where λ 1 and λ are the roots of the corresponding characteristic equation λ + aλ + b = 0. (39) In the case of λ 1 λ, the quotient y 1 /y is not constant, and the solutions constitute a fundamental system for all x. The general solution is y = c 1 e λ 1x + c e λ x. (40) 13

The solutions of the Eq. (38) are real if the distinct roots of the corresponding characteristic equation are real (Case I). If λ 1 and λ are complex conjugate roots of the form (Case II) λ 1 = p + i q, λ = p i q, then the solutions Eq. (38) are complex y 1 = e (p+i q)x, y = e (p i q)x. The real solutions can be derived from the complex solutions by applying the Euler formulas e iθ = cos θ + i sin θ, e iθ = cos θ i sin θ, for θ = qx. The first solution becomes while the second one is y 1 = e (p+iq)x = e px e iqx = e px (cos qx + i sin qx), y = e (p iq)x = e px e iqx = e px (cos qx i sin qx). From Fundamental Theorem we can conclude that they are solutions of the differential equation Eq. (37). The corresponding general solution is y(x) = e px (A cos qx + B sin qx) (41) where A and B are arbitrary constants. Example 1. Let us consider the second order differential equation with constant coefficients y 4y + 5y = 0 The corresponding characteristic equation is with the roots λ 4λ + 5 = 0, λ 1 = p + iq = + i and λ = p iq = i. 14

For this example p =, q = 1, and from Eq. (41) the answer is y = e x (A cos x + B sin x). Let us consider the values of the solution y(x) and its derivative y (x) at an initial point x = x 0 y(x 0 ) = K, y (x 0 ) = L, (4) The conditions Eq. (4) and the equation Eq. (37) constitute an initial value problem. To solve such a problem we must find a particular solution of Eq. (37) satisfying Eq. (4). Such a problem has a unique solution. Example. Let us consider the initial value problem y 4y + 5y = 0, y(0) =, y (0) = 0. A fundamental system of solutions is e x cos x and e x sin x, and the corresponding general solution is y(x) = e x (A cos x + B sin x), with the initial condition y(0) = A. The derivative y = e x [(A + B) cos x + (B A) sin x)], has the initial value y (0) = A + B. Solving the initial conditions system, y(0) = A =, y (0) = A + B = 0. we get A = 4, B = 1, and the general solution of the differential equation is y = e x ( cos x 4 sin x). (43) 15

3.5 Double root of the characteristic equation Now we consider the case when the characteristic equation associated to a homogeneous linear differential equation with constant coefficients has a double root (critical case). If the differential equation takes the general form then the characteristic equation will be y + ay + by = 0, (44) λ + aλ + b = 0. (45) A double root appears if an only if the discriminant of Eq. (45) is zero, that is a 4b = 0, and, then, b = 1 4 a. The double root of the characteristic equation is λ = a/. Then, the first solution of the differential equation is y 1 = e ax/. (46) To find another solution y (x) the method of variation of parameters may be applied. The second solution takes the form y (x) = u(x)y 1 (x) where y 1 (x) = e ax/. Substituting y in the differential equation with b = a /4 we obtain u(y 1 + ay 1 + 1 4 a y 1 ) + u (y 1 + ay 1 ) + u y 1 = 0. The expression in the first parentheses is zero because y 1 is a solution. The second parentheses is also zero because ( y 1 = a ) e ax/ = ay 1. The equation reduces to u y 1 = 0, and a solution is u = x. Consequently, the second solution is ( y (x) = xe λx λ = a ). (47) 16

We can observe that the solutions y 1 and y are linearly independent. This case can be summarized by the following theorem Theorem (Double root) [1]. In the case of a double root of Eq. (45) the functions (46) and (47) are solutions of Eq. (44). They constitute a fundamental system. The corresponding general solution is ( y = (c 1 + c x)e λx λ = a ). (48) Example. Solve the following differential equation y 4y + 4y = O. The double root of the characteristic equation is λ = 4. Then, the fundamental system of solutions is e x and xe x and the corresponding general solution is y = (c 1 + c x)e x. All three cases are summarized in the following table: Case Roots of Eq. (45) Fundamental General solution of Eq. (44) system of Eq. (44) I Distinct real e λ1x, e λ x y = c 1 e λ1x + c e λ x λ 1, λ II Complex conjugate e px cos qx y = e px (A cos qx + B sin qx) λ 1 = p + iq, e px sin qx λ = p iq III Real double root e λx, xe λx y = (c 1 + c x)e λx λ = a/ 3.6 Series solutions We consider the general homogeneous linear second-order equation P (x) d y dx + Q(x)dy + R(x)y = 0 (49) dx 17

with P (x) 0 in the interval α < x < β. We want to determine a polynomial solution y(x) of Eq. (49). Definition. A functions f(x) can be expanded in power series so that f(x) = a 0 + a 1 (x x 0 ) + a (x x 0 ) +... = a n (x x 0 ) n. (50) n=0 Such functions are said to be analytic at x = x 0 and the series (50) is called the Taylor series of f about x = x 0. The coefficients a n can be computed with the formula a n = f (n) (x 0 )/ n! where f (n) (x) = d n f(x)/dx n. We consider the functions P (x), Q(x), and R(x) as power series about x 0 P (x) = p 0 + p 1 (x x 0 ) +..., Q(x) = q 0 + q 1 (x x 0 ) +..., R(x) = r 0 + r 1 (x x 0 ) +... and y(x) = a 0 + a 1 (x x 0 ) +.... Theorem []. Let the functions Q(x)/P (x) and R(x)/P (x) have convergent Taylor series expansions about x = x 0 for x x 0 < ρ. Then, every solution y(x) of the differential equation P (x) d y dx + Q(x)dy + R(x)y = 0 (51) dx is analytic at x = x 0, and the radius of convergence of its Taylor series expansion about x = x 0 is at least ρ. The coefficients a, a 3,... in the Taylor series expansion y(x) = a 0 + a 1 (x x 0 ) + a (x x 0 ) +... (5) are determined by plugging the series (5) into the differential equation (51) and setting the sum of the coefficients of the like powers of x in this expression equal to zero. Example. Solve the equation Assuming a solution of the form x d y dx + (x + x) dy dx y = 0. y = a k x k, k=0 18

we obtain and hence dy dx = k=0 ka k x k 1, d y dx = k=0 k(k 1)a k x k, k(k 1)a k x k + ka k x k+1 + ka k x k a k x k. k=0 k=0 k=0 k=0 The first, third, and fourth summations may be combined to give and hence there follows [k(k 1) + k 1]a k x k = (k 1)a k x k, k=0 k=0 (k 1)a k x k + ka k x k+1. k=0 k=0 In order to combine these sums, we replace k by n in the first and (k + 1) by n in the second, to obtain (n 1)a n x n + (n 1)a n 1 x n. n=0 n=1 Since the ranges of summation differ, the term corresponding to n = 0 must be extracted from the first sum, after which the remainder of the first sum can be combined with the second. In this way we find a 0 + [(n 1)a n + (n 1)a n 1 ]x n. n=1 In order that the previous relation may vanish identically, the constant term, as well as the coefficients of the successive powers of x, must vanish independently, giving the condition and the recurrence formula a 0 = 0 (n 1)[(n + 1)a n + a n 1 ] = 0 (n = 1,, 3,...). 19

The recurrence formula is automatically satisfied when n = 1. When n, it becomes a n = a n 1 n + 1 (n =, 3, 4...). Hence, we obtain a = a 1 3, a 3 = a 4 = a 1 3 4, a 4 = a 3 5 = a 1 3 4 5,.... Thus, in this case a 0 = 0, a 1 is arbitrary, and all succeeding coefficients are determined in terms of a 1. The solution becomes ( ) y = a 1 x x 3 + x3 3 4 x4 3 4 5 +.... If this solution is put in the form y = a 1 x = a 1 x ( x! x3 3! + x4 4! x5 5! +... [ ( x 1 + 1 x )] 1! + x! x3 3! + x4 4!..., the series in parentheses in the final form is recognized as the expansion of e x, and, writing a 1 = c, the solution obtained may be put in the closed from ( e x ) 1 + x y = c. x In this case only one solution was obtained. This fact indicates that any linearly independent solutions cannot be expanded in power series near x = 0. That is, it is not regular at x = 0. 3.7 Regular singular points We consider the differential equations ) x d y dx + αxdy + βy = 0 (53) dx 0

which can be rewritten in the form A generalization of Eq. (54) is the equation d y dx + α dy x dx + β y = 0. (54) x d y dx + p(x)dy + q(x)y = 0 (55) dx where p(x) and q(x) can be expanded in series of the form p(x) = p 0 x + p 1 + p x + p 3 x +... q(x) = q 0 x + q 1 x + q + q 3 x + q 4 x... (56) Definition []. Equation (55) is said to have a regular singular point at x = 0 if p(x) and q(x) have series expansions of the form (56). Equivalently, x = 0 is a regular singular point of Eq. (55) if the functions x p(x) and x q(x) are analytic at x = 0. Equation (55) is said to have a regular singular point at x = x 0 if the functions (x x 0 ) p(x) and (x x 0 ) q(x) are analytic at x = x 0. A singular point of Eq. (55) which is not regular is called irregular. Example. Classify the singular points of Bessel s equation of order ν x d y dx + xdy dx + (x ν )y = 0, (57) where ν is a constant [1]. For x = 0 we have P (x) = x = 0. Hence, x = 0 is the only singular point of Eq. (57). Dividing both sides of Eq. (57) by x gives The functions d y dx + 1 ( ) dy x dx + 1 ν y = 0. x x p(x) = 1 and x q(x) = x ν are both analytic at x = 0. Hence Bessel s equation of order ν has a regular singular point at x = 0. 1

3.8 Nonhomogeneous linear equations Let us consider a second-order linear nonhomogeneous equation y + f(x)y + g(x)y = r(x). (58) A general solution y(x) of Eq. (58) can be obtained from a general solution y h (x) of the corresponding homogeneous equation y + f(x)y + g(x)y = 0, by adding to y h (x) any particular solution ỹ of Eq. (58) involving no arbitrary constant [1] y(x) = y h (x) + ỹ(x). (59) To show that y(x) is a solution of the nonhomogeneous differential equation we substitute Eq. (59) into Eq. (58). Then the left-hand side of Eq. (58) becomes or (y h + ỹ) + f(y h + ỹ) + g(y h + ỹ). (y h + fy h + gy h ) + ỹ + fỹ + gỹ. The expression in the parentheses is zero because y h is a solution of Eq. (59). The sum of the other terms is equal to r(x) because ỹ satisfies Eq. (58). Hence y(x) is a general solution of the Eq. (58). Theorem [1]. Suppose that f(x), g(x), and r(x) in Eq. (58) are continuous functions on an open interval I. Let Y (x) be any solution of Eq. (58) on I containing no arbitrary constants. Then Y (x) is obtained from Eq. (59) by assigning suitable values to the two arbitrary constants contained in the general solution y h (x) of Eq. (59). In Eq. (59), the function ỹ(x) is any solution of Eq. (58) on I containing no arbitrary constants. Proof. Let set Y ỹ = y. Then y + fy + gy = (Y + fy + gy ) (ỹ + fỹ + gỹ) = r r = 0, that is, y is a solution of Eq. (59) which does not contain arbitrary constants. It can be obtained from y h by assigning suitable values to the arbitrary constants in y h. From this, since Y = y + ỹ, the statement follows.

Theorem [1]. A general solution y(x) of the linear nonhomogeneous differential equation Eq. (58) is the sum of a general solution y h (x) of the corresponding homogeneous equation Eq. (59) and an arbitrary particular solution y p (x) of Eq. (58): y(x) = y h (x) + y p (x) (60). Example. Solve the equation y + y = sec x. The homogeneous equation y +y = 0 has the characteristic equation λ + 1 = 0 with roots λ 1 = i and λ = i, so, the general solution of the homogeneous equation is y = c 1 cos x + c sin x. Using the method of variation of parameter we have the following system of equations with the solution Thus by integrating, c 1 cos x + c sin x = 0, c 1 sin x + c cos x = sec x, c 1 = tan x, c = 1. c 1 = ln sec x + A 1, c = x + A, and the general solution is of the nonhomogeneous equation is y = A 1 cos x + A sin x cos x ln sec x + x sin x. 3.9 The method of variation of parameters This method can be applied to solve the nonhomogeneous equation of the form d y dx + p(x)dy + q(x)y = g(x), (61) dx 3

once the solutions of the homogeneous equation d y dx + p(x)dy + q(x)y = 0 (6) dx are known. Let y 1 (x) and y (x) be two linearly independent solutions of the homogeneous equation (6). We will try to find a particular solution ψ(x) of the nonhomogeneous Eq. (61) of the form [] ψ(x) = u 1 (x)y 1 (x) + u (x)y (x). (63) The differential equation (61) imposes only one condition on the two unknown functions u 1 (x) and u (x). We may impose an additional condition on u 1 (x) and u (x) such that the left hand side of the nonomogeneous equation be as simple as possible. Computing d dx ψ(x) = d dx [u 1y 1 + u y ] = [u 1 y 1 + u y ] + [u 1y 1 + u y ] we see that d ψ/dx will contain no second-order derivatives of u 1 and u if y 1 (x)u 1(x) + y (x)u (x) = 0. (64) Imposing the condition (64) on the functions u 1 (x) and u (x) the left hand side of the Eq. (61) becomes [u 1 y 1 + u y ] + p(x)[u 1 y 1 + u y ] + q(x)[u 1 y 1 + u y ] = u 1y 1 + u y + u 1 [y 1 + p(x)y 1 + q(x)y 1 ] + u [y + p(x)y + q(x)y ] = u 1y 1 + u y. If u 1 (x) and u (x) satisfy the two equations y 1 (x)u 1 + y (x)u (x) = 0 y 1(x)u 1(x) + y (x)u (x) = g(x), then ψ(x) = u 1 y 1 + u y is a solution of the nonhomogeneous equation (61). We solve the above system of equations as follows [ y1 (x)y (x) y 1(x)y (x) ] u 1(x) = g(x)y (x) [ y1 (x)y (x) y 1(x)y (x) ] u (x) = g(x)y 1 (x). 4

The function u 1(x) and u (x) are u 1(x) = g(x)y (x) W [y 1, y ](x) and u (x) = g(x)y 1(x) W [y 1, y ](x), (65) where W [y 1, y ](x) is the Wronskian of the solutions W [y 1, y ](x) = y 1 y y 1 y. Integrating the right-hand sides of Eqs. (65) we obtain u 1 (x) and u (x). Example. (a) Find a particular solution ψ(x) of the equation d y + 4y = 8 sin x (66) dx (b) Find the solution y(x) of Eq. (66) which satisfies the initial conditions y(0) = 1, y (0) = 1. (a) The functions y 1 (x) = cos x and y (x) = sin x are two linearly independent solutions of the homogeneous equation y + 4y = 0 with W [y 1, y ](x) = y 1 y y 1y = (cos x) cos x ( sin x) sin x = 1. Thus, from Eqs. (65), u 1(x) = 8 sin x and u (x) = 8 sin x cos x. (67) Integrating the first equation of (67) gives u 1 (x) = 8 = 4 sin x dx = 4 dx + 4 = 4x + sin x. cos x dx while integrating the second equation of (67) gives u (x) = 4 sin x dx = 4 5 (1 cos x) dx sin x dx = cos x.

Consequently, ψ(x) = cos x[ 4x + sin x] + sin x( cos x) is a particular solution of Eq. (66). (b) y(x) = c 1 cos x + c sin x + cos x( 4x + sin x) sin x cos x for some choice of constants c 1, c. The constants c 1 and c are determined from the initial conditions Hence, c 1 = 1, c = 3 and 1 = y(0) = c 1 and 1 = y (0) = c. y(x) = cos x + 3 sin x + cos x( 4x + sin x) sin x cos x. 4 Differential equations of arbitrary order 4.1 Homogeneous linear equations A linear differential equation of nth order can be written in the following general form y (n) + f n 1 (x)y (n 1) +... + f 1 (x)y + f 0 (x)y = r(x) (68) where the function r on the right-hand side and the coefficient f 0, f 1,..., f n 1 are any given functions of x, and y (n) is the nth derivative of y. Eq. (68) is said to be homogeneous if r(x) = 0. Then, Eq. (68) becomes y (n) + f n 1 (x)y (n 1) +... + f 1 (x)y + f 0 (x)y = 0. (69) If r(x) 0, Eq. (68) is said to be nonhomogeneous. A function y = φ(x)is called a solution of a differential equation of nth order on an interval I if φ(x) is defined and n times differentiable on I and is such that the equation becomes an identity when we replace the unspecified 6

function y and its derivatives in the equation by φ and its corresponding derivatives [1]. Existence and uniqueness theorem [1], [3]. If f 0 (x),..., f n 1 (x) in Eq. (69) are continuous functions on an open interval I, then the initial value problem consisting of the equation Eq. (69) and the n initial conditions y(x 0 ) = K 1, y (x 0 ) = K,..., y (n 1) (x 0 ) = K n, has a unique solution y(x) on I; here x 0 is any fixed point in I, and K 1,..., K n are given numbers. A set of functions, y 1 (x),..., y n (x) are linearly dependent on some interval I where they are defined, if one of them can be represented on I as a linear combination of the other n 1 functions. Otherwise the functions are linearly independent on I. A fundamental system or a basis of solutions of the linear homogeneous equation Eq. (69) is a set of n linearly independent solutions y 1 (x),..., y n (x) of that equation. If y 1,..., y n is such a fundamental system, then y(x) = c 1 y 1 (x) +... + c n y n (x) (c 1,..., c n arbitrary) (70) is a general solution of Eq. (69) on I. The test for linear dependence and independence of solutions can be generalized to nth order equations as follows Theorem [1]. Suppose that the coefficients f 0 (x),..., f n 1 (x) of Eq. (69) are continuous on an open interval I. Then n solutions y 1,..., y n of Eq. (69) on I are linearly dependent on I if and only if their Wronskian W (y 1,..., y n ) = y 1 y... y n y 1 y... y n...... y (n 1) 1 y (n 1)... y n (n 1) (71) is zero for some x = x 0 in I. (If W = 0 at x = x 0, then W 0 on I). Theorem [1]. Let Eq. (70) be a general solution of Eq. (69) on an open interval I where f 0 (x),..., f n 1 (x) are continuous, and let Y (x) be any solution of Eq. (69) on I involving no arbitrary constants. Then Y (x) is obtained from Eq. (70) by assigning suitable values to the arbitrary constants c 1,..., c n. 7

Example. The equation y y y + y = 0. (7) has the solutions y 1 = e x, y = e x, and y 3 = e 3x. The Wronskian is e x e x e 3x W (e x, e x, e 3x ) = e x e x 3e 3x = e 6x 0, e x 4e x 9e 3x which shows that the functions constitute a fundamental system of solutions of Eq. (7). The corresponding general solution is y = c 1 e x + c e x + c 3 e 3x. 4. Homogeneous linear equations with constant coefficients A linear homogeneous equation of order n with constant coefficients y (n) + a n 1 y (n 1) +... + a 1 y + a 0 y = 0, (73) has the correspondent characteristic equation λ n + a n 1 λ n 1 +... + a 1 λ + a 0 = 0. (74) If this equation has n distinct roots λ 1,..., λ n, then the n solutions y 1 = e λ 1x,..., y n = e λnx (75) constitute a fundamental system for all x, and the corresponding general solution of Eq. (73) is If λ is a root of order m, then y = c 1 e λ 1x +... + c n e λn x. (76) e λx, xe λx,..., x m 1 e λx (77) are m linearly independent solutions of Eq. (73) corresponding to that root. 8

Example. Consider the differential equation The characteristic equation y + 3y 4y 1y = 0. λ 3 + 3λ 4λ + 1 = 0 has the solutions λ 1 =, λ =, and λ 3 = 3, and the corresponding general solution Eq. (76) is y = c 1 e x + c e x + c 3 e 3x. 4.3 Linear differential equations in state space form The nth-order differential equation a n (t) dn y dt n + a n 1(t) dn 1 y dt n 1 +... + a 0y = 0, can be transformed into a system of n first order equations. With the notations we obtain the system x 1 (t) = y, x (t) = dy/dt,... x n (t) = d n 1 y/dt n 1, dx 1 dt = x, dx dt = x 3,..., dx n 1 dt = x n, and dx n dt = a n 1(t)x n + a n (t)x n 1 +... + a 0 x 1. a n (t) A system of n first-order linear equations has the general form dx 1 dt = a 11(t)x 1 +... + a 1n (t)x n + g 1 (t),. dx n = a n1 (t)x 1 +... + a nn (t)x n + g n (t), dt (78) 9

and is said to be nonhomogeneous (g i (t) 0, i = 1,..., n). The system dx 1 dt = a 11(t)x 1 +... + a 1n (t)x n,. dx n dt = a n1 (t)x 1 +... + a nn (t)x n, is said to be homogeneous (g i (t) = 0, i = 1,..., n). The homogeneous linear system with constant coefficients (a ij depend on t) dx 1 dt = a 11x 1 +... + a 1n x n,. dx n = a n1 x 1 +... + a nn x n, dt can be written in matrix notation as (79) do not (80) ẋ = A x, (81) where x = x 1 x. x n and A = a 11 a 1... a 1n a 1 a... a n... a n1 a n... a nn. Theorem (existence-uniqueness theorem) []. There exists one, and only one, solution of the initial-value problem for < t < ẋ = Ax, x(t 0 ) = x 0 = x 0 1 x 0. x 0 n. (8) The dimension of the space of all solutions of the homogeneous linear system of differential equations (81) is n. 30

4.3.1 Solution via the eigenvalue-eigenvector method Consider the linear homogeneous differential system ẋ = Ax. (83) Assuming a solution of the form x(t) = e λt v, v = constant vector. Eq. (83) becomes or λe λt v = e λt Av, Av = λv. (84) The solution of Eq. (83) is x(t) = e λt v if, and only if, λ and v satisfy Eq. (84). A vector v 0 satisfying Eq. (84) is called an eigenvector of A with eigenvalue λ. The eigenvalues λ of A are the roots of the equation det(a λi) = det a 11 λ a 1... a 1n a 1 a λ... a n... a n1 a n... a nn λ = 0. Case I. Distinct eigenvalues The matrix A has n linearly independent eigenvectors v 1,..., v n with distinct eigenvalues λ 1 λ... λ n 1 λ n. For each eigenvalue λ j we have an eigenvector v j and a solution of Eq. (83) is of the form x j (t) = e λ jt v j. There are n linearly independent solutions x j (t) of Eq. (83). Then the general solution of Eq. (83) is given by x(t) = c 1 e λ 1t v 1 + c e λ t v +... + c n e λnt v n. (85) Case II. Complex eigenvalues If λ = α + iβ is a complex eigenvalue of A with eigenvector v = v 1 + iv, then a complex-valued solution of Eq. ( 83) is x(t) = e λt v. 31

Lemma []. Let x(t) = y(t) + iz(t) be a complex-valued solution of Eq. (83). Then both y(t) and z(t) are real-valued solutions of Eq. (83). The function x(t) can be written as x(t) = e (α+iβ)t (v 1 + iv ) = e αt (cos βt + i sin βt)(v 1 + iv ) = e αt [(v 1 cos βt v sin βt) + i(v 1 sin βt + v cos βt)]. If λ = α + iβ is an eigenvalue of A with eigenvector v = v 1 + iv, then and y(t) = e αt (v 1 cos βt v sin βt) z(t) = e αt (v 1 sin βt + v cos βt) are two real-valued solutions of Eq. (83). Case III. Equal eigenvalues If the matrix A does not have n distinct eigenvalues, then A may not have n linearly independent eigenvectors. Let us assume that the n n matrix A has only k < n linearly independent eigenvectors. In this case Eq. (83) has only k linearly independent solutions of the form e λt v. To find additional solutions we present the following method as described in []: 1. We pick an eigenvalue λ of A and find all vectors v for which (A λi) v = 0, but (A λi)v 0. For each such vector v e At v = e λt e (A λi)t = e λt [v + t(a λi)v] is an additional solution of Eq. (83). The process is repeated for all eigenvalues of A.. If we still do not have enough solutions, then we find all vectors v for which (A λi) 3 v = 0, but (A λi) v 0. For each such vector v, e At v = e λt [ ] v + t(a λi)v + t! (A λi) v is an additional solution of Eq. (83). 3. We keep proceeding in this fashion until n linearly independent solutions are obtained. 3

4.3. Fundamental solution matrix Definition. A matrix X(t) whose columns are x 1 (t),..., x n (t), the n linearly independent solutions of Eq. (81) X(t) = [ x 1 (t) x (t)... x n (t) ]. is called the fundamental solution matrix of Eq. (81) Every solution x(t) can be written in the form x(t) = c 1 x 1 (t) + c x (t) +... + c n x n (t) (86) In the matrix vector form, equation (86) can be written as x(t) = X(t)c, where c is a constant vector. Example []. Find a fundamental matrix solution of the system of differential equations ẋ = 1 1 4 3 1 1 1 x. It can be verified that the three linearly independent solutions of the system are given by e t 1 4 1, e 3t 1 1 and e t 1 1 1. Therefore, the fundamental matrix solution for the system is X(t) = e t e 3t e t 4e t e 3t e t e t e 3t e t Theorem []. Let X(t) be a fundamental solution matrix of the differential equation ẋ = Ax. Then where e At is also a fundamental solution matrix.. e At = X(t)X 1 (0). (87) 33

We consider the example given in [] and show as to how e At can be computed. In Eq. (81) let 1 1 1 A = 0 3. 0 0 5 The eigenvalues are computed from the relation 1 λ 1 1 p(λ) = det(a λi) = det 0 3 λ = (1 λ)(3 λ)(5 λ). 0 0 5 λ Thus we have 3 distinct eigenvalues λ = 1, λ = 3, and λ = 5. eigenvectors corresponding to those eigenvalues, respectively, are 1 1 1 v 1 = 0 v = v 3 =. 0 0 The The three linear independent solutions of ẋ = Ax are 1 1 x 1 (t) = e t 0 x (t) = e 3t x 3 (t) = e 5t 0 0 The fundamental solution matrix is We compute X 1 (0) = and from the theorem X(t) = e At = X(t)X 1 (0) = 1 1 1 0 0 0 e t e 3t e 5t 0 e 3t e 5t 0 0 e 5t 1 =. 0 1 0 1 0 0 1 0 0, e t 1 et + 1 e3t 1 e3t + 1 e5t 0 e 3t e 3t + e 5t 0 0 e 5t 1.. 34

4.3.3 The nonhomogeneous equation The initial-value problem for a nonhomogeneous equation is ẋ = Ax + f(t), x(t 0 ) = x 0. (88) Applying variation of parameter method, the solution is assumed of the form x(t) = X(t)u(t), where X(t) = [x 1 (t),..., x n (t)], and u(t) = Using this relation Eq. (88) yields Since matrix X(t) satisfies we obtain u 1 (t). u n (t). Ẋ(t)u(t) + X(t) u(t) = AX(t)u(t) + f(t). (89) Ẋ(t) = AX(t), (90) X(t) u(t) = f(t). (91) Matrix X(t) is nonsingular (X 1 (t) exists) and therefore u(t) = X 1 (t)f(t). (9) Integrating this expression between t 0 and t we have u(t) = u(t 0 ) + t = X 1 (t 0 )x 0 + t 0 X 1 (s)f(s) ds (93) t t 0 X 1 (s)f(s) ds. (94) 35

Consequently, If X(t) = e At then t x(t) = X(t)X 1 (t 0 )x 0 + X(t) x(t) = e A(t t 0) x 0 + t t 0 X 1 (s)f(s) ds. (95) t 0 e A(t s) f(s) ds. (96) Example. Find the solution of the initial value problem ẋ = [ ] 1 1 x + 0 1 [ e t 0 ], x 0 = [ ] 1 1 From the homogeneous problem we can easily show that the fundamental solution matrix is given by [ e t te X(t) = t 0 e t ]. It is easily verified that Ẋ = AX and X(0) = I. and t 0 X 1 (s) = [ ] 1 s e s. 0 1 [ 1 X(t) X 1 (s)f(s) ds = (et e t ] ). 0 Then from Eq. (95) the solution is given by [ (t 1)e t ] [ 1 x(t) = e t + (et e t ] ). 0 4.4 Equilibrium and stability Consider the differential equation ẋ = f(t, x), (97) 36

where and f(t, x) = x = x 1 (t). x n (t), ẋ = dx dt, f 1 (t, x 1,..., x n ). f n (t, x 1,..., x n ), is a nonlinear function. In general, Eq. (97)cannot be solved explicitly. However, one can easily determine the qualitative properties of solution of Eq. (97) in the neighborhood of an equilibrium point. The equilibrium points are the values x 0 = x 0 1. x 0 n for which, x(t) = x 0 is a solution of Eq. (97). Observe that ẋ(t) is identically zero if x(t) x 0. The value x 0 is an equilibrium of Eq. (97), if, and only if, f(t, x 0 ) 0. (98) Example.[6] Find all equilibrium values of the system of differential equations The value dx 1 dt = 1 x, x 0 = [ x 0 1 dx dt = x3 1 + x. x 0 ] 37

is an equilibrium value if, and only[ if, 1 ] x 0 = 0 and (x 0 1) 3 + x 0 = 0. This 1 yields x 0 = 1 and x 0 1 = 1. Hence is the only equilibrium solution of 1 this system. Stability: Let φ(t) be a known solution of Eq. (97). Suppose that ψ(t) is a second solution with ψ(0) very close to φ(0) such that β(t) ψ(t) φ(t) can be viewed as the disturbance on φ(t). The concept of stability is important in many applications. Consider the equation of motion of a simple pendulum of mass m and length l given by d y dt + g l sin y = 0, where y is the angular displacement from the vertical axis and g is acceleration due to gravity. With the notation x 1 = y and x = dy/dt we have dx 1 dt = x, dx dt = g l sin x 1. (99) The system of Eq. (99) has equilibrium solutions {x 1 = 0, x = 0}, and {x 1 = π, x = 0}. If we disturb the pendulum slightly from the equilibrium position {x 1 = 0, x = 0}, then it will oscillate with small amplitude about x 1 = 0. If we disturb the pendulum slightly from the equilibrium position {x 1 = π, x = 0}, then it will either oscillate with very large amplitude about x 1 = 0, or it will rotate around and around. The two solutions have very different properties, and, intuitively, we would say that the equilibrium value {x 1 = 0, x = 0} is stable, while the equilibrium point {x 1 = π, x = 0} is unstable. In the case when f(t, x) does not depend explicitly on t i.e. f = f(x) the differential equations are called autonomous. 4.5 Phase-plane Let us consider a two dimensional system dx dt = f(x, y), dy dt = g(x, y). (100) 38

Every solution x = x(t), and y = y(t) of Eq. (100) defines a curve in the three-dimensional space {t, x, y}. For example the solution of the system of differential equations dx dt = y, dy dt = x, is x = cos t, y = sin t. This solution describes a helix in three-dimensional space {t, x, y}. Every solution x = x(t), and y = y(t), of Eq. (100), for t 0 t t 1, also defines a curve in the x y plane. This curve is called the orbit, or trajectory, of the solution x = x(t), y = y(t), and the xy plane is called the phase-plane of the solutions of Eq. (100). In the general case let x(t) be a solution of the vector differential equation ẋ = f(x), x = x 1. x n, f(x) = f 1 (x 1,..., x n ). f n (x 1,..., x n ) (101) on the interval t 0 t t 1. As t runs from t 0 to t 1, the set of points (x 1 (t),..., x n (t)) trace out a curve C in the n-dimensional space x 1, x,..., x n. This curve is called the orbit of the solution x = x(t), for t 0 t t 1, and the n-dimensional space x 1,..., x n is called the phase-space or state-space of the solution of Eq. (101). 4.6 Linear approximation at equilibrium points [5] Consider again the Eq. (100) dx dt = f(x, y), dy dt = g(x, y), with f(0, 0) = g(0, 0) = 0 as the equilibrium point. Using Taylor expansion about this point, we can write f(x, y) = ax + by + P (x, y), g(x, y) = cx + dy + Q(x, y), where P (x, y) = O(r ) and Q(x, t) = O(r ) as r = x + y 0, and a = f (0, 0), x b c = g (0, 0), x d = f (0, 0), y (10) = g (0, 0). y (103) 39

The linear approximation of Eq. (100) in the neighbourhood of the origin is defined as the system ẋ = ax + by, ẏ = cx + dy, or where [ a b A = c d ] ẋ = A x (104), x = [ x y ], ẋ = [ ẋ ẏ ]. (105) The solutions of Eq. (104) are geometrically similar to those of Eq. (100) near the origin unless one (or more) of the eigenvalues of A is zero or has zero real part. The two linearly independent solutions are of the form x = u e λt, (106) where u = [ r s ] 0. (107) Then ẋ = λ u e λt, and equations (104) and (106) yield (A λi) u = 0 (108) where I is the identity matrix. With u 0 and Eq. (108), we have det(a λi) = 0, or a λ c b d λ = 0. (109) 40

The two eigenvalues are given by the solution of the quadratic equation λ (a + d)λ + (ad bc) = 0. (110) The solutions of Eq. (108) are the eigenvectors: u 1 corresponding to λ 1, and u corresponding to λ. The general solution of Eq. (104) is x = C 1 u 1 e λ 1t + C u e λ t, for λ 1 λ. (111) Using the nonsingular linear transformation Eq. (104) becomes x 1 = Sx; S = [u 1 u ], (11) ẋ 1 = SAS 1 x 1 = Bx 1, (113) where B is diagonal or in Jordan form. The topological character of the transformed equilibrium point at the origin is not affected in the new variable x 1 = [x 1, y 1 ] T. The equations in the new coordinates are simpler. Case I. λ 1 λ 0 and λ 1, λ R (real) We can choose S so that ẋ 1 = λ 1 x 1, ẏ 1 = λ y 1, and then the equation for the phase paths is The solutions are dy 1 dx 1 = λ λ 1 y 1 x 1. y 1 = C x 1 λ /λ 1, where C = arbitrary. The origin is a node (Figure 1) when λ /λ 1 > 0. The node is stable when λ 1, λ < 0 (Figure 1) and unstable when λ 1, λ > 0. 41

y x Figure 1: Stable node y x Figure : Saddle point The origin is a saddle-point (Figure ) when λ /λ 1 < 0. Case II. λ 1 = λ = λ (b and c not both zero) We can choose S so that ẋ 1 = λx 1 + y 1, ẏ 1 = λy 1, λ R, and then the equation for the phase paths is The solutions are dy 1 dx 1 = λy 1 λx 1 + y 1. y 1 = 0, x 1 = 1 λ y 1 log e y 1 + Cy 1 where C = arbitrary. The origin is a inflected node, stable if λ < 0 (Figure 3) and unstable if λ > 0. 4

y x Figure 3: Stable inflected node Case III. λ 1 = λ = α + iβ with β 0 We can choose S so that the equations become ẋ 1 = αx 1 βy 1, ẏ 1 = βx 1 + αy 1. With z(t) = x 1 (t)+i y 1 (t) = r(t)e iθ(t) we have ż = (α+iβ)z, and r(t) = z(t). The equations in polar coordinates are ṙ = αr, θ = β. The origin is a stable spiral (or focus) if α < 0, β 0 (Figure 4), and an unstable spiral if α > 0, β 0. y x Figure 4: Stable spiral The origin is a center if α = 0, β 0, (Figure 5). We can sumarize all the above cases in the following table [5], Figure 6 43

y x Figure 5: Center (1) λ 1, λ real, unequal, same sign Node () λ 1 = λ (real)b 0, c 0 Inflected node (3) λ 1, λ complex, non-zero real part Spiral (4) λ 1 0, λ = 0 Parallel lines (5) λ 1, λ real, different sign Saddle point (6) λ 1, λ pure imaginary Center q (3) (3) () () Δ= 0 (6) (1) (1) (4) (4) p Stable points Unstable points (5) Figure 6: General classification Example. Classify the equilibrium point at (0,0) for the system ẋ = e x 3y 1, ẏ = x(1 y ). 44

Using Taylor expansion for the exponential function, the linearized system of equations about (0,0) is or in matrix form ( ẋ ẏ ẋ = x 3y, ) = ( 1 3 1 0 ẏ = x, ) ( x y ). are real with different sign. The equi- The eigenvalues are λ 1, = 1 ± 17 librium is a saddle point. 5 Partial differential equations The word ordinary in ordinary differential equation distinguishes it from partial differential equation (PDE), involves partial derivatives of two or more independent variables. For a first order partial differential equation, a unified general theory exists; however, this a case for higher order partial differential equations. Generally speaking, the second order PDEs may be classified into three following categories, viz., elliptic, hyperbolic, and parabolic types. 5.1 Normal forms of elliptic, hyperbolic, and parabolic Equations Consider a linear second order differential operator for the function u(x, y) given by L(u) = a u x + b u x y + c u y, (114) where a, b, and c are either constants or functions of x and y. A corresponding quasilinear PDE may be represented by L(u) + g(x, y, u/ x, u/ y) = L(u) +... = 0, (115) where g(x, y, u/ x, u/ y) is not necessarily linear and does not contain any second derivative. 45

Let us introduce the transformations ξ = αx + βy, Therefore, L(u) in Eq. (114) takes the form η = γx + δy. (116) L(u) = (aα + bαβ + cβ ) u ξ +(aαγ + b(αδ + βγ) + cβδ) u ξ η +(aγ + bγδ + cδ ) u η. (117) If the transformed operator is desired to be of the form u, then we need ξ η aα + bαβ + cβ = 0, (118) aγ + bγδ + cδ = 0. (119) If a = c = 0, then the trivial transformation ξ = y and η = y provides the desired form. For the non-trivial case either a or c or both are non-zero. Let us say a 0, thereby implying that α 0, γ 0. Dividing Eq. (118) by β and Eq. (119) by δ, we obtain two quadratic equations in (α/β) and (γ/δ). These yield α/β = 1 a { b ± b 4ac}, (10) γ/δ = 1 a { b ± b 4ac}. (11) The ratios α/β and γ/δ must be different (by choosing positive sign in Eq. (10) and negative sign in Eq. (11)) so that the transformation given by Eq. (116) is non-singular. Further b 4ac should be positive. Therefore, L(u) reduces to the form u if and only if ξ η b 4ac > 0, (1) 46

and this case is said to be hyperbolic. Then the transformation Eq. (116) takes the form ξ = ( b + b 4ac)x + ay, Then the PDE given by Eq. (115) reduces to η = ( b b 4ac)x + ay. (13) 4a(b 4ac) u u + g(ξ, η, ξ η ξ, u ) = 0. (14) η If b 4ac = 0, then L is termed as parabolic. In this case Eq. (10) and Eq. (11) reduce to a single equation and α/β = b/a forces the coefficient of u/ξ in Eq. (117) to vanish. Further, since b = 4ac or b/a = c/b, the u coefficient of also vanish. Thus the transformation (c.f. Eq. (13)) ξ η ξ = bx + ay, can be used to transform Eq. (115) into η = x (arbitrary), (15) a + g( ) = 0. (16) η This is the normal form of a parabolic quasilinear PDE. For the final case, b 4ac < 0, and the operator L(u) is said to be elliptic. In this case it is not possible to eliminate the coefficients of u ξ or u. Nevertheless, if we use the transformation η then L(u) = a ξ = ay bx, η = t (arbitrary), (17) 4ac b ( ) u ξ + u, and the general PDE has the form η ( ) u a ξ + u + g(ξ, η, u η ξ, u ) = 0. (18) η 47

For the linear case u ξ + u = 0, (19) η which is the well-known Laplace s equation. Once a PDE has been reduced to its normal form, the method of characteristic may be effectively used to find its solution. However, in the following we discuss the solution of a particular hyperbolic equation, known as the wave equation by the use of separation of the variables which is a popular approach in engineering. The equation c u(x, t) x ü(x, t) = 0, c = constant, (130) is a partial differential equation. The following notation was used The initial conditions are ü(x, t) = u(x, t) t. The boundary conditions are u(x, 0) = f(x), u(x, 0) = g(x). (131) u u (0, t) = (l, t) = 0. (13) x x We seek the solution of Eq. (130) in the form of a product of a function of time and a function of position u(x, t) = U(x)ϕ(t). (133) Introducing (133) into (130), we replace Eq. (130) by the system of two ordinary equations ϕ + β c ϕ = 0, (134) d U dx + β U = 0, (135) 48

where β is for the time being an undetermined parameter. The solution of Eqs. (134) and (135) is ϕ(t) = A sin ωt + B cos ωt, (136) U(x) = C sin βx + D cos βx, (137) where ω = βc. We first consider the second boundary conditions (13). They imply that C = 0 and The latter condition is satisfied if Dβ sin βl = 0. β n = nπ, (n = 0, 1,,..., ). (138) l It is evident that every value of β n is associated with a particular solution of Eq. (130), viz. u n (x, t) = (A n sin ω n t + B n cos ω n t)d cos β n x. (139) The general solution of (130) takes the form u(x, t) = u n (x, t) = (A n sin ω n t + B n cos ω n t)d cos β n x. (140) n=0 n=0 The constants A n, B n are to be found from the initial conditions (131) i.e. f(x) = DB n cos β n x, g(x) = Dω n A n cos β n x. (141) The functions n=0 n=0 U n (x) = D cos β n x, (14) are the eigenfunctions of the problem. They are orthogonal, i.e. l 0 l 0 U n (x)u m (x) dx = 0, if n m, U n(x) dx = l D, if n = m, (143) 49

as can easily be verified by integration. The constant D is arbitrary. Assume that D = /l. Then l Un(x) dx = 1 and the eigenfunctions U n (x) = 0 l cos β nx = l nπx cos, (144) l are called normalized eigenfunctions. Making use of the normalized eigenfunctions we can rewrite relations (141) in the form f(x) = l B n cos β n x, g(x) = n=0 l ω n A n cos β n x. (145) n=0 To find the coefficient B n we multiply the first equation (145) by cos β n x and integrate with respect to x from 0 to l. Then, making use of the orthogonality relations, we obtain l B n = f(x) cos β n x dx, (n = 1,,..., ), l B 0 = 1 l 0 l 0 f(x) dx. (146) Similarly we have A n = 1 l g(x) cos β n x dx, (n = 1,,..., ), cβ n l 0 A 0 = 0. (147) Introducing the values of A n, B n into Eq. (140), we arrive at the final solution. Example. We consider next the equation c u ü = 0, (148) x with assuming homogeneous initial conditions (u(x, 0) = u(x, 0) = 0) and the boundary conditions u(0, t) = 0, u (l, t) = P (t). (149) x 50

Performing the Laplace transform in Eq. (148) for the above boundary conditions, we obtain where u(x, s) = c d u dx s u = su(x, 0) u(x, 0), (150) 0 u(0, s) = 0; du (l, s) = P (s), (151) dx e st u(x, t) dt, P (s) = 0 e st P (t) dt. The right-hand side of Eq. (150) vanishes in view of the homogeneous initial conditions, hence its solution can be represented in the form u(x, s) = A(s)e sx/c + B(s)e sx/c. (15) The functions A(s), B(s) can be determined by means of the boundary conditions (151): A(s) = B(s), B(s) = P (s)c s cosh sl. (153) c Hence i.e. u(x, s) = P (s)l u(x, s) = e sx/c e sx/c, sl sl cosh c c P (s)l sinh sx c sl sl cosh c c. (154) Now we invert the Laplace transform in (154). Taking into account that L 1 sinh sx c s cosh sl = ( 1) n 1 [( π n=1 n 1 sin n 1 ) ] πx l c [ ( sin n 1 ) ] πlt, c 51

and L 1 P (s) = P (t), and making use of the convolution theorem was obtain u(x, t) = c π t 0 ( 1) n 1 n=1 P (τ) sin n 1 [ n 1 [( sin n 1 ) ] πx l ] πl (t τ) dτ. c (155) In the particular case P (t) = P 0 H(t), where H(t) is the Heaviside function, we have from Eq. (155) u(x, t) = 8P 0c π L [ n=1 ( 1) n 1 (n 1) 1 cos n 1 sin ] (n 1)πlt. c πx l (156) Assume that P (t) = P 0 e iωt acts at the end x = 0 of the fixed rod. Taking into account that u(x, t) = U(x)e iωt, we transform Eq. (148) to the form The boundary conditions take the form c d U dx + ω U = 0. (157) U(0) = 0, The constants A, B appearing in the solution U(x) = A sin ωx c du dx (l) = P 0. (158) + B cos ωx c, (159) 5

of Eq. (157) are determined from the boundary conditions (158). Finally we obtain u(x, t) = P 0ce iωt ω sin ωx c cos ωl. (160) c If the frequency ω approaches any of the eigenfrequency, the displacement u tends to infinity. Thus, we are faced with resonance. 53

6 Applications Problem 1. A sphere of mass m falls on a vertical spring as shown in the Figure 7. The sphere makes contact with the spring and the spring compresses. The compression phase ends when the velocity of the sphere is zero. Next phase is the restitution phase when the spring is expanding and the sphere is moving upward. At the end of the restitution phase there is the separation of the sphere. Find and solve the equation of motion for the sphere in contact with the spring. O h x Figure 7: Sphere in contact with a spring Solution The x-axis selected downward as shown in the Figure 7. At the moment t = 0 it is assumed that the sphere gets in contact with the spring and has the velocity v(t = 0) = v 0 = v 0 ı. Using Newton s second law, the equation of motion for the sphere in contact with the spring is: m a = G + F e or m ẍ = m g k x. (161) The acceleration of the sphere is a = ẍ ı, where x is the linear displacement. The weight of the sphere is G = m g ı, where g is the gravitational acceleration. The contact elastic force is F e = k x ı, where k is the elastic constant 54

of the spring. The initial conditions are With the notation Equation (161) becomes x(0) = 0 and ẋ(0) = v 0. k m = ω, (ω > 0), ẍ + ω x = g. (16) Assume the solution of Eq. (16) has the following expression Then x = a cos(ω t ϕ 0 ) + b. (163) ẋ = a ω sin(ω t ϕ 0 ) and ẍ = a ω cos(ω t ϕ 0 ). Substituting Eq. (164) into Eq. (16) a ω cos(ω t ϕ 0 ) + ω [a cos(ω t ϕ 0 ) + b] = g, the constant b is obtained b = g ω. (164) Using the initial conditions (x(0) = 0 and ẋ(0) = v 0 ) the following expressions are obtained or x(0) = a cos( ϕ 0 ) + b = a cos ϕ 0 + b = 0, ẋ(0) = a ω sin( ϕ 0 ) = a ω sin ϕ 0 = v 0, It results a cos ϕ 0 = b = g ω and a sin ϕ 0 = v 0 ω. g a = ω + v 0 4 ω, tan ϕ 0 = v 0 ω g or ϕ 0 = arctan v 0 ω g. (165) 55

The relation for the displacement of the sphere is x g ω = g ω + v 0 4 ω cos ( ω t + arctan v 0 ω g ). (166) If the sphere would be connected to the spring, it would oscillate around the position x = g ω. The sphere reaches the maximum position on x-axis at t = t 1 when ẋ(t 1 ) = 0 ẋ(t 1 ) = a ω sin(ω t 1 ϕ 0 ) = 0 = ω t 1 ϕ 0 = π or t 1 = π ω + 1 ω ϕ 0 = π ω 1 ω arctan v 0 ω g. (167) At the moment t = t = t 1, the sphere attains again the reference O. At this moment, the sphere separates itself and moves upward, and the spring compresses. The velocity of the sphere at t = t is ẋ(t ) = a ω sin(ω t ϕ 0 ) = v 0. (168) The contact time between the sphere and the spring is: The jump in velocity is The displacement at t 1 is t = t 1 = π ω ω arctan v 0 ω g. (169) v = ẋ(0) ẋ(t ) = v 0 ( v 0 ) = v 0. (170) x(t 1 ) = a cos(ω t 1 ϕ 0 ) + b = a + b = and the relative displacement is: g ω + v 0 4 ω + g ω, λ = x(0) x(t 1 ) = 0 x(t 1 ) = g ω + g ω + v 0. (171) 4 ω 56

Numerical Example. The sphere with mass m = 10 kg falls falls from the height h = 1 m on the spring with the elastic constant k = 94 10 3 N/m. The initial velocity of the sphere is v 0 = g h = 4.4945 m/s. The total time of contact t is calculated with Eq. (169), t = 0.018478 s. The relative displacement is λ = 0.061689 m and the jump in velocity is calculated with Eq. (170), = 8.85889 m/s. The maximum elastic force is F e max = k x(t 1 ) = k λ = 7693.65 N. The maximum elastic force is approximative 76 greater then the weight of the sphere. For this dynamical problem the displacement of the sphere is very small, almost null, while the the jump in velocity is big. 1.4 x [m] 1. 1 0.8 0.6 0.4 0. 0.005 0.005 0.0075 0.01 0.015 0.015 0.0175 t [s] Figure 8: Displacement of the sphere Figure 8 represents the dependence of the displacement of the sphere with respect to time calculated with Eq. (166). Figure 9 shows the variation in time of the velocity of the sphere in contact with the spring. At t = 0 the sphere gets in contact with the spring and at t = t the sphere separates from the spring. Note that the initial velocity is equal with the absolute value of the final velocity. Figure 10 shows the variation of the elastic force with respect to time. 57

v [m/s] 4 t [s] 0.005 0.005 0.0075 0.01 0.015 0.015 0.0175 - -4 Figure 9: Velocity of the sphere F e [N] 6000 4000 000 0.005 0.005 0.0075 0.01 0.015 0.015 0.0175 t [s] Figure 10: Elastic force Problem. A rod AB with the mass M and the length 6 a is connected to the ground at the pin joint O as shown in Figure 11.a. A mass m is attached to the rod at point A. The rod is connected to two springs, with the elastic constant k, as depicted in Figure 11.a. Determine the equation of motion of the system for small oscillations if the initial angular velocity of the rod is ω 0. The gravitational acceleration is g. Solution At equilibrium the rod rotated around the pivot O with the angle θ s (Figure 11.b). The sum of the moments of the forces acting on the rod with respect to O are M equil 0 = m g ( a) + k a θ s a M g a + k (4 a) θ s (4 a) = 0, 58

a a 4 a A mg A k D D O O a) C θ s k 4 kl B θ s klθ s Mg B A mg D kl(θ s + θ) O b) C Mg (θ s + θ) 4 kl(θ s + θ) B c) Figure 11: Small vibrations of a rod or a ( m g M g + 17 k a θ s ) = 0. (17) The equation of motion of the rod in rotation is I O θ = MO, where I O is the mass moment of inertia of the rod and mass m with respect to O I O = m (a) + M (6a) 1 + M a = 4 a (m + M). (173) Consider the rod in a position defined by the angle (θ s + θ) (Figure 11.c). The sum of the moments with respect to the axis of rotation through O are M O = m g ( a) + k a (θ s + θ) a M g a + k (4 a) (θ s + θ) (4 a). With the equilibrium condition given by Eq. (17) the moment becomes M O = 17 k a θ, (174) 59

and the equation of motion is 4 a (m + M) θ + 17 k a θ = 0, or θ + 17 k θ = 0. (175) 4 (m + M) This is the equation of a free harmonic vibration (small oscillation) with the circular frequency The period of small oscillation is: 17 k ω = 4 (m + M) = 1 17 k m + M. T = π m + M ω = 4 π 17 k. The general solution of the differential equation Eq. (175) is: θ = C 1 cos ωt + C sin ωt. The initial conditions for t = 0 are θ = 0 and θ = ω 0. It results C 1 = 0 and C = ω ω 0. The solution of the problem is θ = ω 0 ω sin ωt. Problem 3. Two external forces acts on a body with the mass m: a force proportional with time (the proportionality factor is equal to k 1 ) and a medium resistant force which is proportional with the velocity of the body (the proportionality factor being equal to k ). The gravity is neglected. Find and solve the equation of motion of the body. Solution The differential equation of motion is m dv dt = k 1t k v. The following notation is used k 1 t k v = u. 60

dv The derivative with respect to t gives k 1 k dt = du dt. Multiplying by m the following relation is obtained k 1 m k m dv dt = mdu dt or k 1 m k u = m du dt. (176) The previous relation is an equation with separable variables, du k 1 m k u = 1 m dt. After integration, du k 1 m k u = 1 m dt + C 1 k ln k 1 m k u = t m + C. From the initial condition v(0) = 0 it results u(0) = 0, hence Replacing the value of C, yields Multiplying by ( k ) hence 1 k ln k 1 m = C. 1 k ln k 1 m k u = t m 1 k ln k 1 m. ln k 1 m k u = ln k 1 m k m t k 1 m k u = k 1 m e k m t k u = k 1 m k 1 m e k m t. Replacing u by its expression depending on v the following relation is obtained k k 1 t k v = k 1 m k 1 m e k m t v(t) = k 1m k e k t m + k 1 t k 1m. k Next the dependence of the space in time is obtained using the equations v(t) = ds(t) dt or s(t) = v(t)dt + C, and s(0) = s 0. 61 k

Then yields, ( k 1 m s(t) = e k t k m + k 1 t k ) 1m dt + C = k 1m e k t k k k 3 m + k 1 t k 1m t + C. k k The constant C is determined from the initial condition s(0) = s 0 s 0 = C k 1m or C = s 0 + k 1m. k 3 The equation of the space is given by s(t) = s 0 + k 1m k 1m t + k 1 t k 1m e k t k 3 k k k 3 m. k 3 Problem 4. (The emptying of a reservoir) A reservoir has the shape of a rotational surface about a vertical axis with a hole at the bottom. The hole has the area A. Find and solve the equations of motion for the liquid located in the reservoir. The following particular cases are considered for the reservoir: a) spherical shape of radius R; b) conical frustum with the smaller radius, R 1, as base radius, the larger radius, R, as top radius, and the height is H; c) conical frustum with the larger radius, R, as base radius, the smaller radius, R 1, as top radius, and the height is H; d) right cone with the vertex at the bottom; e) cylindric shape. Solution From hydrodynamics it is known the expression of the leakage velocity of a fluid through an orifice v = k h, where h is the height of the free surface of the fluid. The equation of the median radius of the reservoir is of the form r = r(h). The volume of liquid that leaks during the elementary time dt is evaluated in the following way. Through the hole leaks the volume of liquid which fills a cylinder with base A and height v dt dv = A v dt = A k h dt. On the other side, the differential volume which leaks is dv = πr dh. The following expression is obtained A k h dt = πr dh. 6

It results a differential equation with separable variables dt = π Ak r (h) h dh. Solving the integral it is found t = π Ak r (h) h dh + C. From the initial condition h(0) = H the constant C can be determined. a) In the case of a spherical shape (Figure 1) the median radius can be written as r = h(r h). A R dh r B h C vdt Figure 1: Spherical reservoir Then, t = π Ak h(r h) h dh + C, or t = π [ ] R hdh h 3/ dh + C = Ak π [ 4 Ak 3 Rh3/ ] 5 h5/ + C. 63

Using the condition h(0) = H, yields C = π Ak [ 4 3 RH3/ 5 H5/ ], and hence t = π Ak [ 4 3 R ( H 3/ h 3/) 5 ( H 5/ h 5/)]. The time T for which h(t ) = 0 is T = π ( 4 Ak H3/ 3 R ) 5 H. ( ) 14 πr 5/ For H = R (the sphere is full) it results T = 15 Ak. R H h r R 1 Figure 13: Spherical reservoir b) From the geometry of the conical frustum (Figure 13), r R 1 = R R 1 h H, and r = R 1 + R R 1 H h. Then, r = R 1 + R 1(R R 1 ) ( ) R R 1 h + h 3/ h h H H 64

and substituting it in the expression of t, after the calculus of the integral, yields t = π [ ( ( ) ] 4 R1 R1 (R R 1 ) h + h Ak 3) 3/ R R 1 + h 5/ + C. H 5 H Using the condition it is found that [ C = π Ak R 1 h(0) = H, ( ( ) 4 R1 (R R 1 ) H + H 3) 3/ R R 1 + H 5 H H 5/ ] and hence, t = π [ R Ak 1( H ( ) 4 R1 (R R 1 ) h) + (H 3/ h 3/ ) 3 H ( + 5 ) R R 1 The condition h(t ) = 0 implies T = π H Ak H ] (H 5/ h 5/ ). [R 1 + 4 3 R 1(R R 1 ) + 5 (R R 1 ) ]., c) From Figure 14, r R 1 H h = R R 1 and yields, r = R + R 1 R H H h. If in the expression of r from case b), R 1 is replaced by R, one can find the expression of r from case c). Consequently, the expressions of t and T for the case c) will be obtained from the corresponding expressions obtained at b), in which R 1 will be replaced by R and R by R 1 t = π [ R ( H ( ) 4 R (R 1 R ) h) + (H 3/ h 3/ ) Ak 3 H + 5 ( ) R1 R (H 5/ h )] 5/, H 65

R 1 H h h r R Figure 14: Conical frustum with larger radius as base radius T = π H Ak [R + 4 3 R (R 1 R ) + 5 (R 1 R ) ]. Comparing the expressions of T for the cases b) and c) and denoting by T the expression in case c) it results T T = π H Ak [ (R R 1) + 4 3 R R 1 4 3 R 4 3 R 1R + 4 3 R 1 or, + 5 (R 1 R ) 5 (R R 1 ) ] = π H Ak 3 (R R 1), T = T + π H 3 Ak (R R1). d) It is obtained from case b), taking R 1 = 0, R = R. Hence, t = πr 5AkH (H5/ h 5/ ) and T = πr H. 5Ak e) It is obtained from case b), taking R 1 = R = R. Then, t = πr Ak ( H h) and T = πr H. Ak 66

Problem 5. Find the general solution of equation y = x + x y + y. Solution The equation can be written in the form y dx dy = x + x + y or, dx dy = x y + x y + 1. Using the replacement x = u or x = yu. It results y dx dy = u + y du dy u + y du dy = u + u + 1 du u + 1 = dy y du u + 1 = dy y + ln c ln(u + u + 1) = ln y + ln c u + u + 1 = cy x y + x y + 1 = cy x + y = cy x x + y = c y 4 cxy + x c y = cx + 1 is the general solution. Problem 6. (The problem of the swimmer) To cross a river, a swimmer starts from a point P on the bank. He wants to arrive at the point Q on the other side. The velocity of the river is constant and equal to v 1 = k 1 and the velocity of swimmer the is v = k where k is constant. Find the trajectory described by the swimmer, knowing that the velocity of the swimmer is always directed toward Q. Solution Select Q as the origin of the system as shown in Figure 15. Consider that M is the swimmer position at time t. The components of the absolute velocity on the two axes Ox and Oy are dx dt = k x 1 k x + y, dy dt = k y x + y. Dividing the previous relation it results dx dy = x y k x y + 1, 67

y P (x 0 y 0 ) M v v 1 Q x Figure 15: Path of the swimmer where k = k 1 k. The following notation is used x = yu and dx dy = u + y du dy. The differential equation becomes After integration results y du dy = k u + 1 or du u + 1 = k dy y. ln(u + u + 1) = k ln y + ln c (c > 0) or u + u + 1 = cy k. Then, yields u = 1 ( ) c y yk. k c Returning at x and y, x = 1 ( ) c y y yk. k c From the conditon for trajectory to pass through the initial point P (x 0, y 0 ) the constant c is c = y0 k 1 (x 0 + x 0 + y0). The condition ( for) trajectory to pass through Q is written as 1 c lim y 0 y y yk = 0 and it is possible if k < 1. k c For k 1 = 0, k = 0 and the trajectory has the equation x = x 0 y, i.e., the y 0 68

linear segment between P and Q. Problem 7. Determine the minimum velocity of a body thrown vertically upwards so that the body will not return to the Earth. The air resistance is neglected. Solution Denote the mass of the Earth by M and the mass of the body by m. Using Newton s law of gravitation, the force of attraction f acting on the body m is f = k Mm, where r is the distance between the center of the Earth and r the center of gravity of the body and k is the gravitational constant. The differential equation of the motion for the body is m d r Mm = k dt r or d r dt = k M r. (177) The minus sign indicates a negative acceleration. The differential Eq. (177) will be solved for the following initial conditions r(0) = R and dr(0) dt = v 0. (178) Here, R is the radius of Earth and v 0 is the launching velocity. The following notations are used dr dt = v = d r dt = dv dt = dv ( ) dr = v dv dr dt dr, where v is the velocity of motion. Substituting in Eq. (177), results v dv dr = k M r. Separating variables, it is found vdv = km dr. Integrating this equation, r yields v = km 1 r + c 1. From conditions (178), c 1 is found or, v0 ( ) 1 = km + c 1, R and c 1 = km R + v 0, v = km 1 ( v r + 0 km R 69 ). (179)

The body should move so that the velocity is always positive, hence v > 0. Since for a boundless increase of r the quantity km R becomes arbitrarily small, the condition v > 0 will be fulfilled for any r only for the case v 0 km R 0 or v 0 km k. Hence, the minimal velocity is determined by the equation v 0 = km R, (180) where k = 6.66(10 8 ) cm 3 /(g s ), R = 63(10 7 ) cm. At the Earth s surface, for r = R, the acceleration of gravity is g = 981 cm/s. For this reason, from Eq. (177) yields g = k M gr or M =. Substituting this value of M into R k Eq. (180) it results v 0 = gr = (981)(63)(10 7 ) 11.(10 5 ) cm/s = 11. km/s. 70

References [1] Kreyszig, E., Advanced Engineering Mathematics, John Wiley and Sons Inc., 197. [] Braun, M., Differential Equations and Their Applications, Spinger- Verlag, 1983. [3] Ince, E. L., Ordinary Differential Equations, Dover, New York, 1956. [4] Ayres, F., Matrices, Schaum, New York, 196. [5] Jordan, D. W., and Smith, P., Nonlinear ordinary differential equations, Clarendon Press, Oxford, 1977. Reading List A. Fletcher, A., Miller, J. C., Rosenhead, L., and Comrie, L. J., An Index of Mathematical Tables, Blackwell, Oxford, 196. B. Courant, R. and Hilbert, D., Mathematical Physics Vol. II, Interscience Publishers, John Wiley & Sons, New York, 1989. C. Weinberger, H. F., Differential Equations, Xerox College Publishing, Lexington, 1965. 71