MATH 56A: STOCHASTIC PROCESSES CHAPTER 0

Similar documents
vibrations, light transmission, tuning guitar, design buildings and bridges, washing machine, Partial differential problems, water flow,...

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

Systems of Algebraic Equations and Systems of Differential Equations

Dimension. Eigenvalue and eigenvector

Econ Slides from Lecture 7

Lecture 15, 16: Diagonalization

Math 322. Spring 2015 Review Problems for Midterm 2

Differential equations

Math Ordinary Differential Equations

18.S34 linear algebra problems (2007)

Linear algebra and differential equations (Math 54): Lecture 13

Eigenvalues and Eigenvectors

Calculus for the Life Sciences II Assignment 6 solutions. f(x, y) = 3π 3 cos 2x + 2 sin 3y

1 Pythagorean triples

Quadratic forms. Here. Thus symmetric matrices are diagonalizable, and the diagonalization can be performed by means of an orthogonal matrix.

235 Final exam review questions

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Announcements Wednesday, November 01

2.3.6 Exercises NS-3. Q 1.1: What condition(s) must hold for p and q such that a, b, and c are always positive 10 and nonzero?

Practice Final Exam Solutions for Calculus II, Math 1502, December 5, 2013

MATH 5720: Unconstrained Optimization Hung Phan, UMass Lowell September 13, 2018

Remark 1 By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems

MATH 423 Linear Algebra II Lecture 20: Geometry of linear transformations. Eigenvalues and eigenvectors. Characteristic polynomial.

2.3. VECTOR SPACES 25

Linear algebra II Tutorial solutions #1 A = x 1

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

Math 3191 Applied Linear Algebra

TMA Calculus 3. Lecture 21, April 3. Toke Meier Carlsen Norwegian University of Science and Technology Spring 2013

Eigenvalues, Eigenvectors, and Diagonalization


Announcements Wednesday, November 01

Conceptual Questions for Review

Remark By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

CS 246 Review of Linear Algebra 01/17/19

Linearization of Differential Equation Models

MATH 423 Linear Algebra II Lecture 33: Diagonalization of normal operators.

MATH 304 Linear Algebra Lecture 33: Bases of eigenvectors. Diagonalization.

Linear Algebra Review (Course Notes for Math 308H - Spring 2016)

From Lay, 5.4. If we always treat a matrix as defining a linear transformation, what role does diagonalisation play?

Knowledge Discovery and Data Mining 1 (VO) ( )

EE5120 Linear Algebra: Tutorial 7, July-Dec Covers sec 5.3 (only powers of a matrix part), 5.5,5.6 of GS

Problems for M 11/2: A =

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

AMS526: Numerical Analysis I (Numerical Linear Algebra)

and let s calculate the image of some vectors under the transformation T.

Math 1060 Linear Algebra Homework Exercises 1 1. Find the complete solutions (if any!) to each of the following systems of simultaneous equations:

Study Guide for Linear Algebra Exam 2

MATH 304 Linear Algebra Lecture 10: Linear independence. Wronskian.

Math 215 HW #9 Solutions

MATH 310, REVIEW SHEET 2

Linear Algebra: Matrix Eigenvalue Problems

Eigenvectors. Prop-Defn

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

Lecture 1: Systems of linear equations and their solutions

MA 265 FINAL EXAM Fall 2012

1. Let A = (a) 2 (b) 3 (c) 0 (d) 4 (e) 1

June 2011 PURDUE UNIVERSITY Study Guide for the Credit Exam in (MA 262) Linear Algebra and Differential Equations

Systems of Ordinary Differential Equations

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

Week Quadratic forms. Principal axes theorem. Text reference: this material corresponds to parts of sections 5.5, 8.2,

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises

5 Eigenvalues and Diagonalization

Review of Some Concepts from Linear Algebra: Part 2

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Eigenvalues and Eigenvectors

Solving a system by back-substitution, checking consistency of a system (no rows of the form

Solutions to Dynamical Systems 2010 exam. Each question is worth 25 marks.

π 1 = tr(a), π n = ( 1) n det(a). In particular, when n = 2 one has

MATH 1553-C MIDTERM EXAMINATION 3

MATH 221, Spring Homework 10 Solutions

Linear Algebra Practice Problems

Econ Slides from Lecture 8

Chapter 5 Eigenvalues and Eigenvectors

Math 24 Spring 2012 Sample Homework Solutions Week 8

APPM 2360: Midterm exam 3 April 19, 2017

= AΦ, Φ(0) = I, = k! tk A k = I + ta t2 A t3 A t4 A 4 +, (3) e ta 1

1. General Vector Spaces

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

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

Lecture Notes: Eigenvalues and Eigenvectors. 1 Definitions. 2 Finding All Eigenvalues

Lecture 10 - Eigenvalues problem

(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

INTRODUCTION TO LIE ALGEBRAS. LECTURE 2.

APPM 2360 Section Exam 3 Wednesday November 19, 7:00pm 8:30pm, 2014

MATH 3321 Sample Questions for Exam 3. 3y y, C = Perform the indicated operations, if possible: (a) AC (b) AB (c) B + AC (d) CBA

JUST THE MATHS UNIT NUMBER 9.8. MATRICES 8 (Characteristic properties) & (Similarity transformations) A.J.Hobson

Midterm 1 NAME: QUESTION 1 / 10 QUESTION 2 / 10 QUESTION 3 / 10 QUESTION 4 / 10 QUESTION 5 / 10 QUESTION 6 / 10 QUESTION 7 / 10 QUESTION 8 / 10

Eigenvalues and Eigenvectors A =

Eigenvalues and Eigenvectors, More Direction Fields and Systems of ODEs

Matrices and Deformation

Definition: An n x n matrix, "A", is said to be diagonalizable if there exists a nonsingular matrix "X" and a diagonal matrix "D" such that X 1 A X

REVIEW FOR EXAM II. The exam covers sections , the part of 3.7 on Markov chains, and

The minimal polynomial

Lecture 1 and 2: Random Spanning Trees

w T 1 w T 2. w T n 0 if i j 1 if i = j

Linear algebra and applications to graphs Part 1

Homework For each of the following matrices, find the minimal polynomial and determine whether the matrix is diagonalizable.

Transcription:

MATH 56A: STOCHASTIC PROCESSES CHAPTER 0 0. Chapter 0 I reviewed basic properties of linear differential equations in one variable. I still need to do the theory for several variables. 0.1. linear differential equations in one variable. In the first lecture I discussed linear differential equations in one variable. The problem in degree n = is to find a function y = f(x) so that: (0.1) y + ay + by + c = 0 where a, b, c are constants. The general n-th order linear diff eq in one variable is: y (n) + a 1 y (n 1) + a y (n ) + + a n y + a n+1 = 0 where a 1,, a n+1 are constant. 0.1.1. associated homogeneous equation. The standard procedure is to first take the associated homogeneous equation which is given by setting a n+1 = 0. For the nd order equation we get: (0.) y + ay + by = 0 Lemma 0.1. If y = f(x) is a solution of the homogeneous equation then so is y = αf(x) for any scalar α. Lemma 0.. If y = f 0 (x) is a solution of the original equation (0.1) and y = f 1 (x) is a solution of the homogeneous equation (0.) then y = f 0 (x)+f 1 (x) is a solution of the original equation (0.1). Similarly, if f 0, f 1 are solutions of the homogeneous equation then so is f 0 + f 1. Theorem 0.3. The set of solutions of the homogenous equation is a vector space of dimension equal to n (the order of the equation). This means that if we can find n linearly independent solutions f 1, f,, f n of the homogeneous equation then the general solution (of the homogenous equation) is a linear combination: y = α 1 f 1 + α f + + α n f n Date: September 8, 006. 1

MATH 56A: STOCHASTIC PROCESSES CHAPTER 0 0.1.. complete solution of linear diffeqs. A general solution of the linear diffeq is given by adding a particular solution f 0 to the general solution of the homogeneous equation: y = f 0 + α 1 f 1 + α f + + α n f n The particular solution is easy to find: if a n 0 f 0 (x) = a n+1 a n f 0 (x) = a n+1 x a n 1 if a n = 0 but a n 1 0. The solutions of the homogeneous equations are given by guessing. We just need to find n linearly independent solutions. We guess that y = e λx. Then y k = λ k e λx So, the homogenous equation is: λ n e λx + a 1 λ n 1 e λx + + a n e λx = 0 Since e λx is never zero we can divide to get: λ n + a 1 λ n 1 + + a n = 0 This is a monic (coefficient of λ n is 1) polynomial of degree n. So, it has n complex roots λ 1, λ,, λ n. If the roots are distinct then the solutions f 1 (x) = e λ 1x, f (x) = e λ x, are linearly independent and span the solution space. If roots repeat, e.g., if λ 1 = λ = λ 3 then the functions f, f 3 are given by f (x) = xe λ 1x, f 3 (x) = x e λ 1x, 0.1.3. separation of variables. Finally, I talked about separation of variables. This just means put all the x s on one side of the equation and all the y s on the other side. For example: dx = xy This is a nonlinear diffeq. Separating variables we get: y = xdx

MATH 56A: STOCHASTIC PROCESSES CHAPTER 0 3 Now integrate both sides: y = x dx ln y = x + C Note that there is only one constant. (You get a constant on both sides and C is the difference between the two constants.) The final solution is: x y = y 0 exp where y 0 = e C. 0.. Kermack-McKendrick. This is from the book Epidemic Modelling, An Introduction, D.J. Daley & J.Gani, Cambridge University Press. Kermack-McKendrick is the most common model for the general epidemic. I made two simplifying assumptions: the population is homogeneous and no births or deaths by other means Since there are no births, the size of the population N is fixed. In this model there are three states: S: = susceptible I: = infected R: = removed (immune) Let x = #S, y = #I, z = #R. So N = x + y + z I assume that z 0 = 0 (If there are any removed people at t = 0 we ignore them.) As time passes, susceptible people become infected and infected recover and become immune. So the size of S decreases and the size of R increases. People move as shown by the arrows: S I R The infection rate is given by the Law of mass action which says: The rate of interaction between two different subsets of the population is proportional to the product of the number of elements in each subset. So, dx dt = βxy where β is a positive constant.

4 MATH 56A: STOCHASTIC PROCESSES CHAPTER 0 Infected people recover at a constant rate: dz dt = γy where γ is a positive constant. This is a system of nonlinear equations. To solve it we make it linear by dividing: dx dz = dx/dt dz/dt = βxy = βx γy γ This is a linear differential equation with solution β x = x 0 exp γ z = x 0 e z/ρ where ρ = γ/β is the threshold population size. Since x + y + z is fixed we can find y: y = N x z = N x 0 e z/ρ z Differentiating gives: dz = x 0 ρ e z/ρ 1 d y dz = x 0 ρ e z/ρ < 0 So, the function is concave down with initial slope dz = x 0 ρ 1 which is positive if and only if x 0 > ρ. So, according to this model, the number of infected will initially increase if and only if the number of susceptibles is greater than the threshold value ρ = γ/β. By plotting the graphs of the functions we also see that the infection will taper off with a certain number of susceptibles x who never get infected.

MATH 56A: STOCHASTIC PROCESSES CHAPTER 0 5 0.3. systems of first order equations. I explained that differential equations involving second and higher order derivatives can be reduced to a system of first order equations by introducing more variables. Then I did the following example. In matrix form this is: d y dt z y = z z = 6y z = ( 0 1 y 6 1) z Which we can write as Y = AY with ( y 0 1 Y =, A = z) 6 1 0.3.1. exponential of a matrix. The solution of this equations is where Y 0 = ( y0 ) and z 0 Y = e ta Y 0 e ta := I + ta + t A + t3 A 3 + 3! This works because the derivative of each term is A times the previous term: d t k A k = ktk 1 A k = tk 1 A k Atk 1 dt k! k! (k 1)! = A k 1 (k 1)! So, d dt eta = Ae ta 0.3.. diagonalization (corrected). Then I explained how to compute r ta. You have to diagonalize A. This means A = QDQ 1 d1 0 where D is a diagonal matrix D =. 0 d I should have explained this formula so that I get it right: If X 1, X are eigenvalues of A with eigenvalues d 1, d then AX 1 = X 1 d 1, AX = X d and d1 0 A(X 1 X ) = (X 1 d 1 X d ) = (X 1 X ) 0 d

6 MATH 56A: STOCHASTIC PROCESSES CHAPTER 0 Solve for A gives A = (X 1 X ) d1 0 (X 0 d 1 X ) 1 = QDQ 1 where Q = (X 1, X ). This is a good idea because A = QDQ 1 QDQ 1 = QD Q 1 and more generally, t k A k = t k QD k Q 1. Divide by k! and sum over k to get: e e ta = Qe td Q 1 td 1 0 = Q 0 e td Q 1 0.3.3. eigenvectors and eigenvalues. The diagonal entries d 1, d are the eigenvalues of the matrix A and Q = (X 1 X ) where X i is the eigenvector corresponding to d i. This works if the eigenvalues of A are distinct. The eigenvalues are defined to be the solutions of the equation det(a λi) = 0 but there is a trick to use for matrices. The determinant of a matrix is always the product of its eigenvalues: det A = d 1 d = 6 The trace (sum of diagonal entries) is equal to the sum of the eigenvalues: tra = d 1 + d = 1 ( ( 1 1 So, d 1 =, d = 3. The eigenvalues are X 1 = and X ) =. 3) So 1 1 Q = (X 1 X ) = 3 Q 1 = 1 3 1 3/5 1/5 = det Q 1 /5 1/5 The solution to the original equation is ( y 1 1 e t 0 3/5 1/5 y0 = z) 3 0 e 3t /5 1/5 z 0

MATH 56A: STOCHASTIC PROCESSES CHAPTER 0 7 0.4. Linear difference equations. We are looking for a sequence of numbers f(n) where n ranges over all the integers from K to N (K n N) so that (0.3) f(n) = af(n 1) + bf(n + 1) I pointed out that the solution set is a vector space of dimension. So we just have to find two linearly independent solutions. Then I followed the book. The solution has the form f(n) = c n where you have to solve for c: c n = ac n 1 + bc n+1 (0.4) bc c + a = 0 c = 1 ± 1 4ab b There were two cases. Case 1: (4ab 1) When the quadratic equation (0.4) has two roots C 1, c then the linear combinations of c n 1 and c n give all the solutions of the homogeneous linear recursion (0.3). Case : (4ab = 1) In this case there is only one root c = 1 and the b two independent solutions are f(n) = c n and nc n. The reason we get a factor of n is because when a linear equation has a double root then this root will also be a root of the derivative. This gives f(n) = nc n 1 as a solution. But then you can multiply by the constant c since the equation is homogeneous. Example 0.4. (Fibonacci numbers) These are given by f(0) = 1, f(1) = 1 and f(n + 1) = f(n) + f(n 1) or: f(n) = f(n + 1) f(n 1) This is a = 1, b = 1. The roots of the quadratic equation are c = 1± 5 So, ( f(n) = 1 5 1 + ) n ( 5 1 5 1 ) n 5 This is a rational number since it is Galois invariant (does not change if you switch the sign of 5). However, it is not clear from the formula why it is an integer..