Numerical Methods for Differential Equations
|
|
|
- Easter Adams
- 9 years ago
- Views:
Transcription
1 Numerical Methods for Differential Equations Chapter 1: Initial value problems in ODEs Gustaf Söderlind and Carmen Arévalo Numerical Analysis, Lund University Textbooks: A First Course in the Numerical Analysis of Differential Equations, by Arieh Iserles and Introduction to Mathematical Modelling with Differential Equations, by Lennart Edsberg c Gustaf Söderlind, Numerical Analysis, Mathematical Sciences, Lund University, Numerical Methods for Differential Equations p. 1/52
2 Chapter 1: contents Course contents Introduction to initial value problems The explicit Euler method Convergence Order of consistency The trapezoidal rule Theta methods Numerical tests The linear test equation and numerical stability Stiff equations Numerical Methods for Differential Equations p. 2/52
3 What is Numerical Analysis? Categories of mathematical problems Category Algebra Analysis linear computable not computable nonlinear not computable not computable Algebra: Only finite constructions Analysis: Limits, derivatives, integrals etc. (transfinite) Computable: the exact solution can be obtained in a finite number of operations Numerical Methods for Differential Equations p. 3/52
4 What is Numerical Analysis? Category Algebra Analysis linear computable not computable nonlinear not computable not computable With numerical methods, problems from all four categories can be solved: Numerical analysis aims to construct and analyze quantitative methods for the automatic computation of approximate solutions to mathematical problems. Goal: Construction of mathematical software Numerical Methods for Differential Equations p. 4/52
5 0. What will we study in this course? To solve a differential equation analytically we look for a differentiable function that satisfies the equation Large, complex and nonlinear systems cannot be solved analytically Numerical Methods for Differential Equations p. 5/52
6 0. What will we study in this course? To solve a differential equation analytically we look for a differentiable function that satisfies the equation Large, complex and nonlinear systems cannot be solved analytically Instead, we compute numerical solutions with standard methods and software To solve a differential equation numerically we generate a sequence {y k } N k=0 analytical solution: y(t k ) y k of pointwise approximations to the Numerical Methods for Differential Equations p. 5/52
7 Some differential equations we will solve Initial value problems (IVP) first-order equations; higher-order equations; systems of differential equations Numerical Methods for Differential Equations p. 6/52
8 Some differential equations we will solve Initial value problems (IVP) first-order equations; higher-order equations; systems of differential equations Boundary value problems (BVP) two-point boundary value problems; Sturm-Liouville eigenvalue problems Numerical Methods for Differential Equations p. 6/52
9 Some differential equations we will solve Initial value problems (IVP) first-order equations; higher-order equations; systems of differential equations Boundary value problems (BVP) two-point boundary value problems; Sturm-Liouville eigenvalue problems Partial differential equations (PDE) the diffusion equation; the advection equation; the wave equation Numerical Methods for Differential Equations p. 6/52
10 Some differential equations we will solve Initial value problems (IVP) first-order equations; higher-order equations; systems of differential equations Boundary value problems (BVP) two-point boundary value problems; Sturm-Liouville eigenvalue problems Partial differential equations (PDE) the diffusion equation; the advection equation; the wave equation Applications in all three areas Numerical Methods for Differential Equations p. 6/52
11 Initial value problems: examples A first-order equation: a simple equation without a known analytical solution dy dt = y e t2, y(0) = y 0 Numerical Methods for Differential Equations p. 7/52
12 Initial value problems: examples A first-order equation: a simple equation without a known analytical solution A second-order equation: motion of a pendulum θ (t) + g L sin θ(t) = 0, θ(0) = θ 0, θ (0) = θ 0 where θ(t) is the angle, g is the gravitational constant and L is the pendulum length Numerical Methods for Differential Equations p. 7/52
13 Initial value problems: examples A first-order equation: a simple equation without a known analytical solution A second-order equation: pendulum equation A system of equations: the predator prey model y 1(t) = k 1 y 1 (t) k 2 y 1 (t)y 2 (t) y 2(t) = k 3 y 1 (t)y 2 (t) k 4 y 2 (t) where y 1 (t) is the population of the prey species and y 2 (t) is the population of the predator species at time t Numerical Methods for Differential Equations p. 7/52
14 Boundary value problems: examples Second-order two-point BVP: the electrostatic potential u(r) between two concentric metal spheres satisfies d 2 u dr r du dr = 0, u(r 1) = V 1, u(r 2 ) = 0 at the distance r from the center; R 1 and R 2 are the radii of the two spheres Numerical Methods for Differential Equations p. 8/52
15 Boundary value problems: examples Second-order two-point BVP: the electrostatic potential u(r) between two concentric metal spheres satisfies d 2 u dr r du dr = 0, u(r 1) = V 1, u(r 2 ) = 0 at the distance r from the center; R 1 and R 2 are the radii of the two spheres A Sturm-Liouville eigenproblem: Euler buckling of column y + λy = 0, y (0) = 0, y(1) = 0 Find eigenvalues λ and eigenfunctions y Numerical Methods for Differential Equations p. 8/52
16 Partial differential equations: examples The heat equation u t (x,t) = u xx (x,t), x [0,a), t (0,b) u(x, 0) = f(x), x [0,a] u(0,t) = c 1, u(a,t) = c 2, t [0,b] is a parabolic PDE modelling e.g. the temperature in an insulated rod with constant temperatures c 1 and c 2 at its ends, and initial temperature distribution f(x) Numerical Methods for Differential Equations p. 9/52
17 Partial differential equations: examples The heat equation The wave equation u tt (x,t) = u xx (x,t), x (0,a), t (0,b) u(0,t) = 0, u(a,t) = 0 for t [0,b] u(x, 0) = f(x) u t (x, 0) = g(x) for x [0,a] for x (0,a) is a hyperbolic PDE e.g. modelling the displacement u of a vibrating elastic string fixed at x = 0 and x = a Numerical Methods for Differential Equations p. 9/52
18 Some applications in ODEs Initial value problems mechanics M q = F(q) electrical circuits C v = I(v) chemical reactions ċ = f(c) Boundary value problems materials u = M(u)/EI microphysics 2m ψ = E eigenmodes u + λu = 0 Numerical Methods for Differential Equations p. 10/52
19 1. Initial value problems Standard formulation y = f(t,y) ; y(0) = y 0 Scalar equation: y R; f scalar; Systems of ODEs: y R m ; f vector-valued. Theorem (Cauchy & Peano) A solution to y = f(t,y) exists if f is continuous. Numerical Methods for Differential Equations p. 11/52
20 Existence Note: Continuity is not sufficient to guarantee uniqueness! Example: ẏ = 2 y; y(0) = 0 with solution y(t) = 0, t τ and y(t) = (t τ) 2, t > τ This may happen in real physical models! Consider the energy of a falling particle of mass m: 1 2 mẏ2 + mgy = E := 0 This yields ẏ = 2g y with y(0) = 0 Numerical Methods for Differential Equations p. 12/52
21 Existence and uniqueness Theorem If f(t,y) is continuous on [0,T] and satisfies the Lipschitz condition f(t,u) f(t,v) L[f] u v for all u,v and some Lipschitz constant L[f] <, there exists a unique solution to the initial value problem y = f(t,y) on [0,T] for every initial value y(0) = y 0 Numerical Methods for Differential Equations p. 13/52
22 Existence and uniqueness... Note Most problems do not satisfy a Lipschitz condition on all of R m Example The problem has solution ẏ = y 2 ; y(0) = y 0 > 0 y(t) = y 0 1 y 0 t The solution blows up at t = 1/y 0 ( Finite escape time ) Numerical Methods for Differential Equations p. 14/52
23 Existence and uniqueness... Other problems always satisfy Lipschitz conditions on R m Example Lipschitz constant: ẏ = Ay; y(0) = y 0 L[f] = max u =v Au Av u v = max y 0 Ay y = A The matrix norm A is a Lipschitz constant for f(y) = Ay Numerical Methods for Differential Equations p. 15/52
24 Standard form: x = F(t,x) Example y = f(t,y,y ); y(0) = y 0 ; y (0) = y 0 Standard substitution Introduce new variables x 1 = y x 2 = y Then we get a system of first order equations x 1 = x 2 x 2 = f(t,x 1,x 2 ) with x 1 (0) = y 0 and x 2 (0) = y 0 Numerical Methods for Differential Equations p. 16/52
25 2. The Explicit Euler method (1768) y = f(t,y); y(t 0 ) = y 0 Replace derivative by finite difference approximation y (t n ) y(t n + h) y(t n ) h Let {u n } denote the numerical approximation to {y(t n )} and h = t n+1 t n denote the time-step. Numerical Methods for Differential Equations p. 17/52
26 2. The Explicit Euler method (1768) y = f(t,y); y(t 0 ) = y 0 Replace derivative by finite difference approximation y (t n ) y(t n + h) y(t n ) h Let {u n } denote the numerical approximation to {y(t n )} and h = t n+1 t n denote the time-step. Compute u n from u n+1 u n h = f(t n,u n ), u 0 = y 0 Numerical Methods for Differential Equations p. 17/52
27 2. The Explicit Euler method (1768) y = f(t,y); y(t 0 ) = y 0 Replace derivative by finite difference approximation y (t n ) y(t n + h) y(t n ) h Let {u n } denote the numerical approximation to {y(t n )} and h = t n+1 t n denote the time-step. Compute u n from u n+1 u n h = f(t n,u n ), u 0 = y 0 The Explicit Euler method Given u 0, t 0 and h, compute u n+1 = u n + hf(t n,u n ) t n+1 = t n + h Numerical Methods for Differential Equations p. 17/52
28 Explicit Euler: Taylor series expansion Use Taylor series expansion y (t) = f(t,y), y(t 0 ) = y 0 y(t + h) = y(t) + hy (t) + h2 2! y (ζ) y(t + h) = y(t) + hf(t,y(t)) + O(h 2 ) y(t) + hf(t,y(t)) Numerical Methods for Differential Equations p. 18/52
29 Explicit Euler: Taylor series expansion Use Taylor series expansion y (t) = f(t,y), y(t 0 ) = y 0 y(t + h) = y(t) + hy (t) + h2 2! y (ζ) y(t + h) = y(t) + hf(t,y(t)) + O(h 2 ) y(t) + hf(t,y(t)) Construct the numerical method (drop higher order terms) u n+1 = u n + hf(t n,u n ); u 0 = y 0 t n+1 = t n + h Numerical Methods for Differential Equations p. 18/52
30 Explicit Euler: Taylor series expansion Use Taylor series expansion y (t) = f(t,y), y(t 0 ) = y 0 y(t + h) = y(t) + hy (t) + h2 2! y (ζ) y(t + h) = y(t) + hf(t,y(t)) + O(h 2 ) y(t) + hf(t,y(t)) Construct the numerical method (drop higher order terms) u n+1 = u n + hf(t n,u n ); u 0 = y 0 t n+1 = t n + h Explicit Euler! Numerical Methods for Differential Equations p. 18/52
31 Explicit Euler: graphic interpretation Take a step of size h in the direction of the tangent y t Each step introduces an error and ends up on a different solution trajectory (dashed curves) Numerical Methods for Differential Equations p. 19/52
32 Explicit Euler: an example Compute numerical solution to y = y cos t; y(0) = 1; t [0,2π] Solution Choose a stepsize h = 2π/N; N = 24 h = π/12 Recursion u n+1 = u n + h ( u n cos t n ); u 0 = 1 t n+1 = t n + h; t 0 = The numerical solution is a sequence of points (t n,u n ) Numerical Methods for Differential Equations p. 20/52
33 3. Convergence Analytical and numerical solutions for h = π/8 and π/128 3 N=64 3 N=64* As h 0 the numerical solution approaches the exact solution Numerical Methods for Differential Equations p. 21/52
34 3. Convergence Analytical and numerical solutions for h = π/8 and π/128 3 N=64 3 N=64* As h 0 the numerical solution approaches the exact solution A method is convergent if, for every ODE with a Lipschitz function f and every fixed T, with T = N h, it holds that lim y N,h y(t) = 0 N Numerical Methods for Differential Equations p. 21/52
35 Local and global errors y n y n+1 y 1.05 ŷ n+1 1 y(t n ) y(t n+1 ) y(t) t Global error e n = y n y(t n ) and e n+1 = y n+1 y(t n+1 ) Local error l n+1 = ŷ n+1 y(t n+1 ) Numerical Methods for Differential Equations p. 22/52
36 The local error of the explicit Euler method Insert exact data ŷ n+1 = y(t n ) + hf(t n,y(t n )) Local error definition l n+1 = ŷ n+1 y(t n+1 ) implies residual y(t n+1 ) = y(t n ) + hf(t n,y(t n )) l n+1 Taylor series y(t n+1 ) = y(t n ) + hy (t n ) + h2 2 y (t n ) +... Local error for explicit Euler (along exact solution, solid curve) l n+1 h2 2 y (t n ) Numerical Methods for Differential Equations p. 23/52
37 Error propagation Explicit Euler (numerical solution) y n+1 = y n + hf(t n,y n ) Subtract Taylor series expansion of exact solution y(t n+1 ) = y(t n ) + hf(t n,y(t n )) + h2 2 y (t n ) +... Global error recursion e n+1 = e n + hf(t n,y(t n ) + e n ) hf(t n,y(t n )) + l n+1 Numerical Methods for Differential Equations p. 24/52
38 Error propagation... e n+1 = e n + hf(t n,y(t n ) + e n ) hf(t n,y(t n )) + l n+1 Take norms and use Lipschitz condition: e n+1 e n + hl[f] e n + l n+1 Lemma If {a n }, a 0 = 0, is a sequence of non-negative numbers satisfying a n+1 (1 + hµ)a n + ch 2 for µ > 0, then a n c µ h[(1 + hµ)n 1], n = 0, 1,... Numerical Methods for Differential Equations p. 25/52
39 Convergence of Euler s method: Theorem Theorem The explicit Euler method is convergent Numerical Methods for Differential Equations p. 26/52
40 Convergence of Euler s method: Theorem Theorem The explicit Euler method is convergent Proof Suppose f sufficiently differentiable. Given h and a fixed T = Nh, let e n,h = y n,h y(t n ) Numerical Methods for Differential Equations p. 26/52
41 Convergence of Euler s method: Theorem Theorem The explicit Euler method is convergent Proof Suppose f sufficiently differentiable. Given h and a fixed T = Nh, let e n,h = y n,h y(t n ) Apply the lemma to global error recursion, to get e n,h c L[f] h[(1 + hl[f])n 1], n = 0, 1,... with c = max n l n /h 2 max t y /2 Numerical Methods for Differential Equations p. 26/52
42 Convergence of Euler s method... As (1 + hl[f]) n < e nhl[f] e TL[f], we have for n N, e n,h c L[f] h(etl[f] 1) So e n,h C(T) h implies convergence because lim e n,h = 0 h 0 Note 1) The global error can be made arbitrarily small! 2) The error is way too large for practical purposes! 3) Better bounds can be obtained Numerical Methods for Differential Equations p. 27/52
43 Theoretical error bound Example y = 100y, y(0) = 1. Then L[f] = 100 and the exact solution is y(t) = e 100t with y (t) = e 100t, so c = /2, with bound e n,h h (e100t 1) Numerical Methods for Differential Equations p. 28/52
44 Theoretical error bound Example y = 100y, y(0) = 1. Then L[f] = 100 and the exact solution is y(t) = e 100t with y (t) = e 100t, so c = /2, with bound e n,h h (e100t 1) Error estimate at T = 1 is e n,h 50he h! Numerical Methods for Differential Equations p. 28/52
45 Theoretical error bound Example y = 100y, y(0) = 1. Then L[f] = 100 and the exact solution is y(t) = e 100t with y (t) = e 100t, so c = /2, with bound e n,h h (e100t 1) Error estimate at T = 1 is e n,h 50he h! But y n = (1 100h) n, so for h < 1/50, at T = 1, Actual error is e n,h = (1 100/N) N e h! Numerical Methods for Differential Equations p. 28/52
46 Computational test ẏ = λ(y sint) + cos t λ = 0.2, with initial condition y(π/4) = 1/ y y t t h = π/10 h = π/20 Note Local error O(h 2 ), global error O(h)! Numerical Methods for Differential Equations p. 29/52
47 4. Order of consistency Given a method in the form y n+1 = Φ n (f,h,y 0,y 1,...,y n ) Insert exact data y(t 0 ),y(t 1 ),...,y(t n ) Definition The order of consistency is p if y(t n+1 ) Φ n (f,h,y(t 0 ),y(t 1 ),...,y(t n )) = O(h p+1 ), n as h 0, for every analytic f Theorem The local error is then O(h p+1 ) Numerical Methods for Differential Equations p. 30/52
48 4. Order of consistency Given a method in the form y n+1 = Φ n (f,h,y 0,y 1,...,y n ) Insert exact data y(t 0 ),y(t 1 ),...,y(t n ) Definition The order of consistency is p if y(t n+1 ) Φ n (f,h,y(t 0 ),y(t 1 ),...,y(t n )) = O(h p+1 ), n as h 0, for every analytic f Theorem The local error is then O(h p+1 ) Alternative The order of consistency is p if the formula is exact for all polynomials y = P(t) of degree p or less Numerical Methods for Differential Equations p. 30/52
49 Order of consistency of Euler s method Example Explicit Euler Φ n (f,h,y 0,...,y n ) = y n + hf(t n,y n ) Numerical Methods for Differential Equations p. 31/52
50 Order of consistency of Euler s method Example Explicit Euler Φ n (f,h,y 0,...,y n ) = y n + hf(t n,y n ) Expanding in Taylor series, y(t n+1 ) [y(t n ) + hf(t n,y(t n ))] = O(h 2 ) so the method s consistency order is one Numerical Methods for Differential Equations p. 31/52
51 Order of consistency of Euler s method Example Explicit Euler Φ n (f,h,y 0,...,y n ) = y n + hf(t n,y n ) Expanding in Taylor series, y(t n+1 ) [y(t n ) + hf(t n,y(t n ))] = O(h 2 ) so the method s consistency order is one Alternatively, suppose y(t) = 1 with f = y = 0. Then 1 = y(t n+1 ) = y(t n ) + hf(t n,y(t n )) = 1 + h 0 = 1 exact! Numerical Methods for Differential Equations p. 31/52
52 Order of consistency of Euler s method Example Explicit Euler Φ n (f,h,y 0,...,y n ) = y n + hf(t n,y n ) Expanding in Taylor series, y(t n+1 ) [y(t n ) + hf(t n,y(t n ))] = O(h 2 ) so the method s consistency order is one Alternatively, suppose y(t) = 1 with f = y = 0. Then 1 = y(t n+1 ) = y(t n ) + hf(t n,y(t n )) = 1 + h 0 = 1 exact! Next take 1st degree polynomial y(t) = t with f = y = 1, then h = y(t n+1 ) = y(t n ) + hf(t n,y(t n )) = 0 + h 1 = h exact! Numerical Methods for Differential Equations p. 31/52
53 Order of consistency of Euler s method Example Explicit Euler Φ n (f,h,y 0,...,y n ) = y n + hf(t n,y n ) Expanding in Taylor series, y(t n+1 ) [y(t n ) + hf(t n,y(t n ))] = O(h 2 ) so the method s consistency order is one Alternatively, suppose y(t) = 1 with f = y = 0. Then 1 = y(t n+1 ) = y(t n ) + hf(t n,y(t n )) = 1 + h 0 = 1 exact! Next take 1st degree polynomial y(t) = t with f = y = 1, then h = y(t n+1 ) = y(t n ) + hf(t n,y(t n )) = 0 + h 1 = h exact! For a 2nd degree polynomial, y(t) = t 2 with f = y = 2t. Then h 2 = y(t n+1 ) = y(t n )+hf(t n,y(t n )) = 0+h 0 = 0 h 2 p = 1! Numerical Methods for Differential Equations p. 31/52
54 5. The trapezoidal rule Explicit Euler linearizes y at t n with a slope of y (t n ) Numerical Methods for Differential Equations p. 32/52
55 5. The trapezoidal rule Explicit Euler linearizes y at t n with a slope of y (t n ) Instead, linearize with a slope equal to the average of y (t n ) and y (t n+1 ) y(t) y(t n ) + (t t n ) 1 2 [f(t n,y(t n )) + f(t n+1,y(t n+1 ))] Numerical Methods for Differential Equations p. 32/52
56 5. The trapezoidal rule Explicit Euler linearizes y at t n with a slope of y (t n ) Instead, linearize with a slope equal to the average of y (t n ) and y (t n+1 ) y(t) y(t n ) + (t t n ) 1 2 [f(t n,y(t n )) + f(t n+1,y(t n+1 ))] The numerical method is the trapezoidal rule t n+1 = t n + h y n+1 = y n + h 2 [f(t n,y n ) + f(t n+1,y n+1 )] Numerical Methods for Differential Equations p. 32/52
57 5. The trapezoidal rule Explicit Euler linearizes y at t n with a slope of y (t n ) Instead, linearize with a slope equal to the average of y (t n ) and y (t n+1 ) y(t) y(t n ) + (t t n ) 1 2 [f(t n,y(t n )) + f(t n+1,y(t n+1 ))] The numerical method is the trapezoidal rule t n+1 = t n + h y n+1 = y n + h 2 [f(t n,y n ) + f(t n+1,y n+1 )] The method is implicit. Nonlinear equation solving required Numerical Methods for Differential Equations p. 32/52
58 Trapezoidal rule: Order and convergence Order of consistency (sketch): y(t n+1 ) {y(t n ) + h 2 [f(t n,y(t n )) + f(t n+1,y(t n+1 ))]} = y(t n ) + hy (t n ) + h2 2 y (t n ) + O(h 3 ) {y(t n ) + h 2 (y (t n ) + [y (t n ) + hy (t n ) + O(h 2 )])} = O(h 3 ) Numerical Methods for Differential Equations p. 33/52
59 Trapezoidal rule: Order and convergence Order of consistency (sketch): y(t n+1 ) {y(t n ) + h 2 [f(t n,y(t n )) + f(t n+1,y(t n+1 ))]} = y(t n ) + hy (t n ) + h2 2 y (t n ) + O(h 3 ) {y(t n ) + h 2 (y (t n ) + [y (t n ) + hy (t n ) + O(h 2 )])} = O(h 3 ) The method is of order two Numerical Methods for Differential Equations p. 33/52
60 Trapezoidal rule: Order and convergence Order of consistency (sketch): y(t n+1 ) {y(t n ) + h 2 [f(t n,y(t n )) + f(t n+1,y(t n+1 ))]} = y(t n ) + hy (t n ) + h2 2 y (t n ) + O(h 3 ) {y(t n ) + h 2 (y (t n ) + [y (t n ) + hy (t n ) + O(h 2 )])} = O(h 3 ) The method is of order two Theorem The trapezoidal rule is convergent (No proof given here) Numerical Methods for Differential Equations p. 33/52
61 Trapezoidal rule: the dramatic effect of 2nd order Compute numerical solution to y = y cos t; y(0) = 1; t [0,8π]. Choose h = π/12. Note that f is linear in y. The recursion is u n+1 = 1 h 2 cos t n 1 + h 2 cos t n+1 u n ; u 0 = 1 3 N=96 Trapezoidal rule 3 N=96 Explicit Euler Solutions with Trapezoidal rule and Explicit Euler Numerical Methods for Differential Equations p. 34/52
62 The implicit midpoint rule We can also approximate the derivative y (t) by taking the average of t n and t n+1 as well as y n and y n+1 : y (t) f( t n + t n+1 2, y n + y n+1 2 ), t [t n,t n+1 ] Numerical Methods for Differential Equations p. 35/52
63 The implicit midpoint rule We can also approximate the derivative y (t) by taking the average of t n and t n+1 as well as y n and y n+1 : y (t) f( t n + t n+1 2, y n + y n+1 2 ), t [t n,t n+1 ] The resulting method is the 2nd order implicit midpoint method t n+1 = t n + h y n+1 = y n + hf( t n + t n+1 2, y n + y n+1 2 ) Numerical Methods for Differential Equations p. 35/52
64 6. Theta methods We construct methods that linearize y at t n with a slope equal to a convex combination of y (t n ) and y (t n+1 ): y n+1 = y n + h [θf(t n,y n ) + (1 θ)f(t n+1,y n+1 )], θ [0,1] Explicit Euler: θ = 1 Trapezoidal rule (implicit): θ = 1/2 Implicit Euler: θ = 0 y n+1 = y n + hf(t n+1,y n+1 ) Numerical Methods for Differential Equations p. 36/52
65 Theta methods: Order and convergence Use Taylor expansion to get y(t n+1 ) y(t n ) h [θf(t n,y(t n )) + (1 θ)f(t n+1,y(t n+1 ))] = (θ 1 2 )h2 y (t n ) (θ 2 3 )h3 y (t n ) + O(h 4 ) Numerical Methods for Differential Equations p. 37/52
66 Theta methods: Order and convergence Use Taylor expansion to get y(t n+1 ) y(t n ) h [θf(t n,y(t n )) + (1 θ)f(t n+1,y(t n+1 ))] = (θ 1 2 )h2 y (t n ) (θ 2 3 )h3 y (t n ) + O(h 4 ) If θ = 1/2 the method is of order 2; otherwise it is of order 1 Numerical Methods for Differential Equations p. 37/52
67 Theta methods: Order and convergence Use Taylor expansion to get y(t n+1 ) y(t n ) h [θf(t n,y(t n )) + (1 θ)f(t n+1,y(t n+1 ))] = (θ 1 2 )h2 y (t n ) (θ 2 3 )h3 y (t n ) + O(h 4 ) If θ = 1/2 the method is of order 2; otherwise it is of order 1 Theorem (without proof) The θ methods are convergent Numerical Methods for Differential Equations p. 37/52
68 Implicit methods Implicit Euler y n+1 = y n + hf(t n+1,y n+1 ) We need to solve a nonlinear equation to compute y n+1 The extra cost is motivated if we can take larger steps There are some problems where implicit methods can take enormous time steps without losing accuracy! We will return to how to solve nonlinear equations Numerical Methods for Differential Equations p. 38/52
69 7. Tests: Explicit Euler ẏ = λ(y sint) + cost λ = 0.2, with initial condition y(π/4) = 1/ y y t t h = π/10 h = π/20 Local error O(h 2 ), global error O(h)! Numerical Methods for Differential Equations p. 39/52
70 Tests: Implicit Euler ẏ = λ(y sint) + cost λ = 0.2, with initial condition y(π/4) = 1/ y y t t h = π/10 h = π/20 Local error O(h 2 ), global error O(h)! Numerical Methods for Differential Equations p. 40/52
71 Tests: Implicit Euler ẏ = λ(y sint) + cost λ = 10, with initial condition y(π/4) = 1/ y y t t h = π/10 h = π/20 Local error = O(h 2 ), global error = O(h), but difficult to see! Numerical Methods for Differential Equations p. 41/52
72 Tests: Explicit Euler ẏ = λ(y sint) + cost λ = 10, with initial condition y(π/4) = 1/ y t h = π/20 Numerical Methods for Differential Equations p. 42/52
73 Tests: Explicit Euler ẏ = λ(y sint) + cost λ = 10, with initial condition y(π/4) = 1/ y y t t h = π/10 h = π/20 NUMERICAL INSTABILITY! Stability for h small Numerical Methods for Differential Equations p. 42/52
74 8. The linear test equation Defintion The linear test equation is y = λy; y(0) = 1, t 0, where λ C Numerical Methods for Differential Equations p. 43/52
75 8. The linear test equation Defintion The linear test equation is y = λy; y(0) = 1, t 0, where λ C As y(t) = e λt, we have y(t) K Re(λ) 0 Mathematical stability Bounded solutions if Re(λ) 0 Numerical Methods for Differential Equations p. 43/52
76 8. The linear test equation Defintion The linear test equation is y = λy; y(0) = 1, t 0, where λ C As y(t) = e λt, we have y(t) K Re(λ) 0 Mathematical stability Bounded solutions if Re(λ) 0 When does a numerical method have the same property? Does Re(λ) 0 imply numerical stability? Numerical Methods for Differential Equations p. 43/52
77 Numerical stability: The stability region Definition The stability region D of a method is the set of all hλ C such that y n K when the method is applied to the test equation Numerical Methods for Differential Equations p. 44/52
78 Numerical stability: The stability region Definition The stability region D of a method is the set of all hλ C such that y n K when the method is applied to the test equation Example For Euler s method, y n+1 = (1 + hλ)y n, so y n remains bounded if and only if 1 + hλ 1 Numerical Methods for Differential Equations p. 44/52
79 Numerical stability: The stability region Definition The stability region D of a method is the set of all hλ C such that y n K when the method is applied to the test equation Example For Euler s method, y n+1 = (1 + hλ)y n, so y n remains bounded if and only if 1 + hλ D Euler = {z C : 1 + z 1} Numerical Methods for Differential Equations p. 44/52
80 A-stability Definition A method is called A-stable if its stability region contains C, i.e. C {z C : Re(z) 0} D. Numerical Methods for Differential Equations p. 45/52
81 A-stability Definition A method is called A-stable if its stability region contains C, i.e. C {z C : Re(z) 0} D. For the trapezoidal rule { D TR = z C : z } z 1 C so if Re(z) 0 then y n remains bounded for any h > 0 Numerical Methods for Differential Equations p. 45/52
82 A-stability Definition A method is called A-stable if its stability region contains C, i.e. C {z C : Re(z) 0} D. For the trapezoidal rule { D TR = z C : z } z 1 C so if Re(z) 0 then y n remains bounded for any h > 0 The explicit Euler method is not A-stable but the implicit Euler method and the trapezoidal rule are A-stable Usually: If the original problem is stable, then an A-stable method will replicate that behavior numerically Numerical Methods for Differential Equations p. 45/52
83 Relevance of the linear test equation When we have a system of equations y = Ay and A has a full set of eigenvectors with eigenvalues Λ = diag(λ 1,λ 2,...,λ N ), then A can be diagonalized, T 1 AT = Λ Putting y = Tx transforms the system to x = Λx (scalar systems)... equal to x k = λ kx k for k = 1,...,d The exact solution y(t) = e ta y 0 is stable if and only if Re(λ k ) 0 for all k = 1,...,d Numerical Methods for Differential Equations p. 46/52
84 Relevance of the linear test equation... Applying a method to y = Ay gives (say) y n+1 = (I + ha)y n Numerical Methods for Differential Equations p. 47/52
85 Relevance of the linear test equation... Applying a method to y = Ay gives (say) y n+1 = (I + ha)y n Noting that T 1 (I + ha)t = I + hλ, putting y n = Tx n produces x n+1 = (I + hλ)x n Numerical Methods for Differential Equations p. 47/52
86 Relevance of the linear test equation... Applying a method to y = Ay gives (say) y n+1 = (I + ha)y n Noting that T 1 (I + ha)t = I + hλ, putting y n = Tx n produces x n+1 = (I + hλ)x n The same as applying the method to the diagonalized system x = Λx Numerical Methods for Differential Equations p. 47/52
87 Relevance of the linear test equation... Applying a method to y = Ay gives (say) y n+1 = (I + ha)y n Noting that T 1 (I + ha)t = I + hλ, putting y n = Tx n produces x n+1 = (I + hλ)x n The same as applying the method to the diagonalized system x = Λx Diagonalization and discretization commute! Stability condition from linear test equation applies to all diagonalizable systems! Numerical Methods for Differential Equations p. 47/52
88 9. Stiff ODEs Example Solve ẏ = λ(y sin t) + cost with λ = 50 Solution Particular: Homogeneous: General: y P (t) = sin t y H (t) = e λt y(t) = e λ(t t 0) (y(t 0 ) sint 0 ) + sin t Study the flow of this equation and numerical solutions Numerical Methods for Differential Equations p. 48/52
89 Flow (solution trajectories) y t Numerical Methods for Differential Equations p. 49/52
90 Stiffness... With Explicit Euler the solution approaches sin t as t, as the exact solution does, only if 0 < h < 1 25 Numerical Methods for Differential Equations p. 50/52
91 Stiffness... With Explicit Euler the solution approaches sin t as t, as the exact solution does, only if 0 < h < 1 25 This means h must be kept small, not to keep errors small, but to have a stable numerical solution Numerical Methods for Differential Equations p. 50/52
92 Stiffness... With Explicit Euler the solution approaches sin t as t, as the exact solution does, only if 0 < h < 1 25 This means h must be kept small, not to keep errors small, but to have a stable numerical solution The trapezoidal rule solution tends to sin t as t, as the exact solution does, for every h > 0 This means h must be kept small only to keep errors small Numerical Methods for Differential Equations p. 50/52
93 Stiffness... With Explicit Euler the solution approaches sin t as t, as the exact solution does, only if 0 < h < 1 25 This means h must be kept small, not to keep errors small, but to have a stable numerical solution The trapezoidal rule solution tends to sin t as t, as the exact solution does, for every h > 0 This means h must be kept small only to keep errors small For A-stable methods, there is no stability restriction on h The step size is only restricted by accuracy Numerical Methods for Differential Equations p. 50/52
94 Stiffness... Stiff differential equations are characterized by homogeneous solutions being strongly damped Example ẏ = λ(y sint) + cos t with λ 1 Stability regions of explicit methods are bounded, and hλ D puts a strong stability restriction on h Example Explicit Euler applied to the problem above requires h 2/λ 1 Numerical Methods for Differential Equations p. 51/52
95 Stiffness... Implicit methods with unbounded stability regions put no restrictions on h, and the stepsize is only restricted by accuracy requirement! Example The implicit Euler applied to the problem above requires only that l n h2 y 2 h2 2 sin t n is sufficiently small, independently of λ Numerical Methods for Differential Equations p. 52/52
Numerical Methods for Differential Equations
Numerical Methods for Differential Equations Course objectives and preliminaries Gustaf Söderlind and Carmen Arévalo Numerical Analysis, Lund University Textbooks: A First Course in the Numerical Analysis
MATH 425, PRACTICE FINAL EXAM SOLUTIONS.
MATH 45, PRACTICE FINAL EXAM SOLUTIONS. Exercise. a Is the operator L defined on smooth functions of x, y by L u := u xx + cosu linear? b Does the answer change if we replace the operator L by the operator
SIXTY STUDY QUESTIONS TO THE COURSE NUMERISK BEHANDLING AV DIFFERENTIALEKVATIONER I
Lennart Edsberg, Nada, KTH Autumn 2008 SIXTY STUDY QUESTIONS TO THE COURSE NUMERISK BEHANDLING AV DIFFERENTIALEKVATIONER I Parameter values and functions occurring in the questions belowwill be exchanged
Stability Analysis for Systems of Differential Equations
Stability Analysis for Systems of Differential Equations David Eberly Geometric Tools, LLC http://wwwgeometrictoolscom/ Copyright c 1998-2016 All Rights Reserved Created: February 8, 2003 Last Modified:
Chapter 5. Methods for ordinary differential equations. 5.1 Initial-value problems
Chapter 5 Methods for ordinary differential equations 5.1 Initial-value problems Initial-value problems (IVP) are those for which the solution is entirely known at some time, say t = 0, and the question
ORDINARY DIFFERENTIAL EQUATIONS
ORDINARY DIFFERENTIAL EQUATIONS GABRIEL NAGY Mathematics Department, Michigan State University, East Lansing, MI, 48824. SEPTEMBER 4, 25 Summary. This is an introduction to ordinary differential equations.
Homework 2 Solutions
Homework Solutions Igor Yanovsky Math 5B TA Section 5.3, Problem b: Use Taylor s method of order two to approximate the solution for the following initial-value problem: y = + t y, t 3, y =, with h = 0.5.
1 Error in Euler s Method
1 Error in Euler s Method Experience with Euler s 1 method raises some interesting questions about numerical approximations for the solutions of differential equations. 1. What determines the amount of
Second Order Linear Partial Differential Equations. Part I
Second Order Linear Partial Differential Equations Part I Second linear partial differential equations; Separation of Variables; - point boundary value problems; Eigenvalues and Eigenfunctions Introduction
Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 10
Lecture Notes to Accompany Scientific Computing An Introductory Survey Second Edition by Michael T. Heath Chapter 10 Boundary Value Problems for Ordinary Differential Equations Copyright c 2001. Reproduction
Introduction to the Finite Element Method
Introduction to the Finite Element Method 09.06.2009 Outline Motivation Partial Differential Equations (PDEs) Finite Difference Method (FDM) Finite Element Method (FEM) References Motivation Figure: cross
Class Meeting # 1: Introduction to PDEs
MATH 18.152 COURSE NOTES - CLASS MEETING # 1 18.152 Introduction to PDEs, Fall 2011 Professor: Jared Speck Class Meeting # 1: Introduction to PDEs 1. What is a PDE? We will be studying functions u = u(x
An Introduction to Partial Differential Equations
An Introduction to Partial Differential Equations Andrew J. Bernoff LECTURE 2 Cooling of a Hot Bar: The Diffusion Equation 2.1. Outline of Lecture An Introduction to Heat Flow Derivation of the Diffusion
The Heat Equation. Lectures INF2320 p. 1/88
The Heat Equation Lectures INF232 p. 1/88 Lectures INF232 p. 2/88 The Heat Equation We study the heat equation: u t = u xx for x (,1), t >, (1) u(,t) = u(1,t) = for t >, (2) u(x,) = f(x) for x (,1), (3)
Numerical Analysis An Introduction
Walter Gautschi Numerical Analysis An Introduction 1997 Birkhauser Boston Basel Berlin CONTENTS PREFACE xi CHAPTER 0. PROLOGUE 1 0.1. Overview 1 0.2. Numerical analysis software 3 0.3. Textbooks and monographs
Numerical Methods for Ordinary Differential Equations 30.06.2013.
Numerical Methods for Ordinary Differential Equations István Faragó 30.06.2013. Contents Introduction, motivation 1 I Numerical methods for initial value problems 5 1 Basics of the theory of initial value
Math 2280 - Assignment 6
Math 2280 - Assignment 6 Dylan Zwick Spring 2014 Section 3.8-1, 3, 5, 8, 13 Section 4.1-1, 2, 13, 15, 22 Section 4.2-1, 10, 19, 28 1 Section 3.8 - Endpoint Problems and Eigenvalues 3.8.1 For the eigenvalue
5.4 The Heat Equation and Convection-Diffusion
5.4. THE HEAT EQUATION AND CONVECTION-DIFFUSION c 6 Gilbert Strang 5.4 The Heat Equation and Convection-Diffusion The wave equation conserves energy. The heat equation u t = u xx dissipates energy. The
College of the Holy Cross, Spring 2009 Math 373, Partial Differential Equations Midterm 1 Practice Questions
College of the Holy Cross, Spring 29 Math 373, Partial Differential Equations Midterm 1 Practice Questions 1. (a) Find a solution of u x + u y + u = xy. Hint: Try a polynomial of degree 2. Solution. Use
Inner Product Spaces
Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and
Nonlinear Algebraic Equations. Lectures INF2320 p. 1/88
Nonlinear Algebraic Equations Lectures INF2320 p. 1/88 Lectures INF2320 p. 2/88 Nonlinear algebraic equations When solving the system u (t) = g(u), u(0) = u 0, (1) with an implicit Euler scheme we have
Using the Theory of Reals in. Analyzing Continuous and Hybrid Systems
Using the Theory of Reals in Analyzing Continuous and Hybrid Systems Ashish Tiwari Computer Science Laboratory (CSL) SRI International (SRI) Menlo Park, CA 94025 Email: [email protected] Ashish Tiwari
On computer algebra-aided stability analysis of dierence schemes generated by means of Gr obner bases
On computer algebra-aided stability analysis of dierence schemes generated by means of Gr obner bases Vladimir Gerdt 1 Yuri Blinkov 2 1 Laboratory of Information Technologies Joint Institute for Nuclear
1. First-order Ordinary Differential Equations
Advanced Engineering Mathematics 1. First-order ODEs 1 1. First-order Ordinary Differential Equations 1.1 Basic concept and ideas 1.2 Geometrical meaning of direction fields 1.3 Separable differential
APPLIED MATHEMATICS ADVANCED LEVEL
APPLIED MATHEMATICS ADVANCED LEVEL INTRODUCTION This syllabus serves to examine candidates knowledge and skills in introductory mathematical and statistical methods, and their applications. For applications
CHAPTER 2. Eigenvalue Problems (EVP s) for 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 4 A COLLECTION OF HANDOUTS ON PARTIAL DIFFERENTIAL EQUATIONS
Student name: Earlham College. Fall 2011 December 15, 2011
Student name: Earlham College MATH 320: Differential Equations Final exam - In class part Fall 2011 December 15, 2011 Instructions: This is a regular closed-book test, and is to be taken without the use
AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS
AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS Revised Edition James Epperson Mathematical Reviews BICENTENNIAL 0, 1 8 0 7 z ewiley wu 2007 r71 BICENTENNIAL WILEY-INTERSCIENCE A John Wiley & Sons, Inc.,
Numerical Solution of Differential Equations
Numerical Solution of Differential Equations Dr. Alvaro Islas Applications of Calculus I Spring 2008 We live in a world in constant change We live in a world in constant change We live in a world in constant
1 Norms and Vector Spaces
008.10.07.01 1 Norms and Vector Spaces Suppose we have a complex vector space V. A norm is a function f : V R which satisfies (i) f(x) 0 for all x V (ii) f(x + y) f(x) + f(y) for all x,y V (iii) f(λx)
Math 241, Exam 1 Information.
Math 241, Exam 1 Information. 9/24/12, LC 310, 11:15-12:05. Exam 1 will be based on: Sections 12.1-12.5, 14.1-14.3. The corresponding assigned homework problems (see http://www.math.sc.edu/ boylan/sccourses/241fa12/241.html)
Similarity and Diagonalization. Similar Matrices
MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that
t := maxγ ν subject to ν {0,1,2,...} and f(x c +γ ν d) f(x c )+cγ ν f (x c ;d).
1. Line Search Methods Let f : R n R be given and suppose that x c is our current best estimate of a solution to P min x R nf(x). A standard method for improving the estimate x c is to choose a direction
Understanding Poles and Zeros
MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF MECHANICAL ENGINEERING 2.14 Analysis and Design of Feedback Control Systems Understanding Poles and Zeros 1 System Poles and Zeros The transfer function
Lecture 1: Schur s Unitary Triangularization Theorem
Lecture 1: Schur s Unitary Triangularization Theorem This lecture introduces the notion of unitary equivalence and presents Schur s theorem and some of its consequences It roughly corresponds to Sections
A First Course in Elementary Differential Equations. Marcel B. Finan Arkansas Tech University c All Rights Reserved
A First Course in Elementary Differential Equations Marcel B. Finan Arkansas Tech University c All Rights Reserved 1 Contents 1 Basic Terminology 4 2 Qualitative Analysis: Direction Field of y = f(t, y)
A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS
A QUIK GUIDE TO THE FOMULAS OF MULTIVAIABLE ALULUS ontents 1. Analytic Geometry 2 1.1. Definition of a Vector 2 1.2. Scalar Product 2 1.3. Properties of the Scalar Product 2 1.4. Length and Unit Vectors
3. Reaction Diffusion Equations Consider the following ODE model for population growth
3. Reaction Diffusion Equations Consider the following ODE model for population growth u t a u t u t, u 0 u 0 where u t denotes the population size at time t, and a u plays the role of the population dependent
SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS
SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS A second-order linear differential equation has the form 1 Px d y dx dy Qx dx Rxy Gx where P, Q, R, and G are continuous functions. Equations of this type arise
Example 4.1 (nonlinear pendulum dynamics with friction) Figure 4.1: Pendulum. asin. k, a, and b. We study stability of the origin x
Lecture 4. LaSalle s Invariance Principle We begin with a motivating eample. Eample 4.1 (nonlinear pendulum dynamics with friction) Figure 4.1: Pendulum Dynamics of a pendulum with friction can be written
Fourth-Order Compact Schemes of a Heat Conduction Problem with Neumann Boundary Conditions
Fourth-Order Compact Schemes of a Heat Conduction Problem with Neumann Boundary Conditions Jennifer Zhao, 1 Weizhong Dai, Tianchan Niu 1 Department of Mathematics and Statistics, University of Michigan-Dearborn,
r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + 1 = 1 1 θ(t) 1 9.4.4 Write the given system in matrix form x = Ax + f ( ) sin(t) x y 1 0 5 z = dy cos(t)
Solutions HW 9.4.2 Write the given system in matrix form x = Ax + f r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + We write this as ( ) r (t) θ (t) = ( ) ( ) 2 r(t) θ(t) + ( ) sin(t) 9.4.4 Write the given system
Mean value theorem, Taylors Theorem, Maxima and Minima.
MA 001 Preparatory Mathematics I. Complex numbers as ordered pairs. Argand s diagram. Triangle inequality. De Moivre s Theorem. Algebra: Quadratic equations and express-ions. Permutations and Combinations.
Numerical Analysis Lecture Notes
Numerical Analysis Lecture Notes Peter J. Olver. Finite Difference Methods for Partial Differential Equations As you are well aware, most differential equations are much too complicated to be solved by
CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION
No: CITY UNIVERSITY LONDON BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION ENGINEERING MATHEMATICS 2 (resit) EX2005 Date: August
Lecture 13 Linear quadratic Lyapunov theory
EE363 Winter 28-9 Lecture 13 Linear quadratic Lyapunov theory the Lyapunov equation Lyapunov stability conditions the Lyapunov operator and integral evaluating quadratic integrals analysis of ARE discrete-time
LS.6 Solution Matrices
LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions
Finite Difference Approach to Option Pricing
Finite Difference Approach to Option Pricing February 998 CS5 Lab Note. Ordinary differential equation An ordinary differential equation, or ODE, is an equation of the form du = fut ( (), t) (.) dt where
MATH 132: CALCULUS II SYLLABUS
MATH 32: CALCULUS II SYLLABUS Prerequisites: Successful completion of Math 3 (or its equivalent elsewhere). Math 27 is normally not a sufficient prerequisite for Math 32. Required Text: Calculus: Early
Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices
MATH 30 Differential Equations Spring 006 Linear algebra and the geometry of quadratic equations Similarity transformations and orthogonal matrices First, some things to recall from linear algebra Two
8 Hyperbolic Systems of First-Order Equations
8 Hyperbolic Systems of First-Order Equations Ref: Evans, Sec 73 8 Definitions and Examples Let U : R n (, ) R m Let A i (x, t) beanm m matrix for i,,n Let F : R n (, ) R m Consider the system U t + A
Introduction to Partial Differential Equations. John Douglas Moore
Introduction to Partial Differential Equations John Douglas Moore May 2, 2003 Preface Partial differential equations are often used to construct models of the most basic theories underlying physics and
Nonlinear Systems of Ordinary Differential Equations
Differential Equations Massoud Malek Nonlinear Systems of Ordinary Differential Equations Dynamical System. A dynamical system has a state determined by a collection of real numbers, or more generally
The integrating factor method (Sect. 2.1).
The integrating factor method (Sect. 2.1). Overview of differential equations. Linear Ordinary Differential Equations. The integrating factor method. Constant coefficients. The Initial Value Problem. Variable
Eigenvalues, Eigenvectors, and Differential Equations
Eigenvalues, Eigenvectors, and Differential Equations William Cherry April 009 (with a typo correction in November 05) The concepts of eigenvalue and eigenvector occur throughout advanced mathematics They
Elementary Differential Equations and Boundary Value Problems. 10th Edition International Student Version
Brochure More information from http://www.researchandmarkets.com/reports/3148843/ Elementary Differential Equations and Boundary Value Problems. 10th Edition International Student Version Description:
19.7. Applications of Differential Equations. Introduction. Prerequisites. Learning Outcomes. Learning Style
Applications of Differential Equations 19.7 Introduction Blocks 19.2 to 19.6 have introduced several techniques for solving commonly-occurring firstorder and second-order ordinary differential equations.
Metric Spaces. Chapter 7. 7.1. Metrics
Chapter 7 Metric Spaces A metric space is a set X that has a notion of the distance d(x, y) between every pair of points x, y X. The purpose of this chapter is to introduce metric spaces and give some
BANACH AND HILBERT SPACE REVIEW
BANACH AND HILBET SPACE EVIEW CHISTOPHE HEIL These notes will briefly review some basic concepts related to the theory of Banach and Hilbert spaces. We are not trying to give a complete development, but
Numerical Solution of Differential
Chapter 13 Numerical Solution of Differential Equations We have considered numerical solution procedures for two kinds of equations: In chapter 10 the unknown was a real number; in chapter 6 the unknown
Høgskolen i Narvik Sivilingeniørutdanningen STE6237 ELEMENTMETODER. Oppgaver
Høgskolen i Narvik Sivilingeniørutdanningen STE637 ELEMENTMETODER Oppgaver Klasse: 4.ID, 4.IT Ekstern Professor: Gregory A. Chechkin e-mail: [email protected] Narvik 6 PART I Task. Consider two-point
System of First Order Differential Equations
CHAPTER System of First Order Differential Equations In this chapter, we will discuss system of first order differential equations. There are many applications that involving find several unknown functions
Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points
Introduction to Algebraic Geometry Bézout s Theorem and Inflection Points 1. The resultant. Let K be a field. Then the polynomial ring K[x] is a unique factorisation domain (UFD). Another example of a
Nonlinear Algebraic Equations Example
Nonlinear Algebraic Equations Example Continuous Stirred Tank Reactor (CSTR). Look for steady state concentrations & temperature. s r (in) p,i (in) i In: N spieces with concentrations c, heat capacities
State of Stress at Point
State of Stress at Point Einstein Notation The basic idea of Einstein notation is that a covector and a vector can form a scalar: This is typically written as an explicit sum: According to this convention,
Chapter 6. Orthogonality
6.3 Orthogonal Matrices 1 Chapter 6. Orthogonality 6.3 Orthogonal Matrices Definition 6.4. An n n matrix A is orthogonal if A T A = I. Note. We will see that the columns of an orthogonal matrix must be
General Theory of Differential Equations Sections 2.8, 3.1-3.2, 4.1
A B I L E N E C H R I S T I A N U N I V E R S I T Y Department of Mathematics General Theory of Differential Equations Sections 2.8, 3.1-3.2, 4.1 Dr. John Ehrke Department of Mathematics Fall 2012 Questions
CHAPTER IV - BROWNIAN MOTION
CHAPTER IV - BROWNIAN MOTION JOSEPH G. CONLON 1. Construction of Brownian Motion There are two ways in which the idea of a Markov chain on a discrete state space can be generalized: (1) The discrete time
Fuzzy Differential Systems and the New Concept of Stability
Nonlinear Dynamics and Systems Theory, 1(2) (2001) 111 119 Fuzzy Differential Systems and the New Concept of Stability V. Lakshmikantham 1 and S. Leela 2 1 Department of Mathematical Sciences, Florida
5 Numerical Differentiation
D. Levy 5 Numerical Differentiation 5. Basic Concepts This chapter deals with numerical approximations of derivatives. The first questions that comes up to mind is: why do we need to approximate derivatives
EXISTENCE AND NON-EXISTENCE RESULTS FOR A NONLINEAR HEAT EQUATION
Sixth Mississippi State Conference on Differential Equations and Computational Simulations, Electronic Journal of Differential Equations, Conference 5 (7), pp. 5 65. ISSN: 7-669. UL: http://ejde.math.txstate.edu
Lecture 7: Finding Lyapunov Functions 1
Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.243j (Fall 2003): DYNAMICS OF NONLINEAR SYSTEMS by A. Megretski Lecture 7: Finding Lyapunov Functions 1
Stability. Chapter 4. Topics : 1. Basic Concepts. 2. Algebraic Criteria for Linear Systems. 3. Lyapunov Theory with Applications to Linear Systems
Chapter 4 Stability Topics : 1. Basic Concepts 2. Algebraic Criteria for Linear Systems 3. Lyapunov Theory with Applications to Linear Systems 4. Stability and Control Copyright c Claudiu C. Remsing, 2006.
x a x 2 (1 + x 2 ) n.
Limits and continuity Suppose that we have a function f : R R. Let a R. We say that f(x) tends to the limit l as x tends to a; lim f(x) = l ; x a if, given any real number ɛ > 0, there exists a real number
3.2 Sources, Sinks, Saddles, and Spirals
3.2. Sources, Sinks, Saddles, and Spirals 6 3.2 Sources, Sinks, Saddles, and Spirals The pictures in this section show solutions to Ay 00 C By 0 C Cy D 0. These are linear equations with constant coefficients
Reaction diffusion systems and pattern formation
Chapter 5 Reaction diffusion systems and pattern formation 5.1 Reaction diffusion systems from biology In ecological problems, different species interact with each other, and in chemical reactions, different
S. Boyd EE102. Lecture 1 Signals. notation and meaning. common signals. size of a signal. qualitative properties of signals.
S. Boyd EE102 Lecture 1 Signals notation and meaning common signals size of a signal qualitative properties of signals impulsive signals 1 1 Signals a signal is a function of time, e.g., f is the force
ASEN 3112 - Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1
19 MDOF Dynamic Systems ASEN 3112 Lecture 1 Slide 1 A Two-DOF Mass-Spring-Dashpot Dynamic System Consider the lumped-parameter, mass-spring-dashpot dynamic system shown in the Figure. It has two point
Numerical methods for American options
Lecture 9 Numerical methods for American options Lecture Notes by Andrzej Palczewski Computational Finance p. 1 American options The holder of an American option has the right to exercise it at any moment
RAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A
RAJALAKSHMI ENGINEERING COLLEGE MA 26 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS. Solve (D 2 + D 2)y = 0. 2. Solve (D 2 + 6D + 9)y = 0. PART A 3. Solve (D 4 + 4)x = 0 where D = d dt 4. Find Particular Integral:
Solutions for Review Problems
olutions for Review Problems 1. Let be the triangle with vertices A (,, ), B (4,, 1) and C (,, 1). (a) Find the cosine of the angle BAC at vertex A. (b) Find the area of the triangle ABC. (c) Find a vector
4.3 Lagrange Approximation
206 CHAP. 4 INTERPOLATION AND POLYNOMIAL APPROXIMATION Lagrange Polynomial Approximation 4.3 Lagrange Approximation Interpolation means to estimate a missing function value by taking a weighted average
MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).
MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors Jordan canonical form (continued) Jordan canonical form A Jordan block is a square matrix of the form λ 1 0 0 0 0 λ 1 0 0 0 0 λ 0 0 J = 0
Elasticity Theory Basics
G22.3033-002: Topics in Computer Graphics: Lecture #7 Geometric Modeling New York University Elasticity Theory Basics Lecture #7: 20 October 2003 Lecturer: Denis Zorin Scribe: Adrian Secord, Yotam Gingold
Notes on metric spaces
Notes on metric spaces 1 Introduction The purpose of these notes is to quickly review some of the basic concepts from Real Analysis, Metric Spaces and some related results that will be used in this course.
Differential Equations and Linear Algebra Lecture Notes. Simon J.A. Malham. Department of Mathematics, Heriot-Watt University
Differential Equations and Linear Algebra Lecture Notes Simon J.A. Malham Department of Mathematics, Heriot-Watt University Contents Chapter. Linear second order ODEs 5.. Newton s second law 5.2. Springs
SECOND DERIVATIVE TEST FOR CONSTRAINED EXTREMA
SECOND DERIVATIVE TEST FOR CONSTRAINED EXTREMA This handout presents the second derivative test for a local extrema of a Lagrange multiplier problem. The Section 1 presents a geometric motivation for the
MATH 551 - APPLIED MATRIX THEORY
MATH 55 - APPLIED MATRIX THEORY FINAL TEST: SAMPLE with SOLUTIONS (25 points NAME: PROBLEM (3 points A web of 5 pages is described by a directed graph whose matrix is given by A Do the following ( points
Solutions to old Exam 1 problems
Solutions to old Exam 1 problems Hi students! I am putting this old version of my review for the first midterm review, place and time to be announced. Check for updates on the web site as to which sections
Mechanics 1: Conservation of Energy and Momentum
Mechanics : Conservation of Energy and Momentum If a certain quantity associated with a system does not change in time. We say that it is conserved, and the system possesses a conservation law. Conservation
4 Lyapunov Stability Theory
4 Lyapunov Stability Theory In this section we review the tools of Lyapunov stability theory. These tools will be used in the next section to analyze the stability properties of a robot controller. We
Date: April 12, 2001. Contents
2 Lagrange Multipliers Date: April 12, 2001 Contents 2.1. Introduction to Lagrange Multipliers......... p. 2 2.2. Enhanced Fritz John Optimality Conditions...... p. 12 2.3. Informative Lagrange Multipliers...........
An Introduction to Partial Differential Equations in the Undergraduate Curriculum
An Introduction to Partial Differential Equations in the Undergraduate Curriculum J. Tolosa & M. Vajiac LECTURE 11 Laplace s Equation in a Disk 11.1. Outline of Lecture The Laplacian in Polar Coordinates
Linear Algebra I. Ronald van Luijk, 2012
Linear Algebra I Ronald van Luijk, 2012 With many parts from Linear Algebra I by Michael Stoll, 2007 Contents 1. Vector spaces 3 1.1. Examples 3 1.2. Fields 4 1.3. The field of complex numbers. 6 1.4.
Scalar Valued Functions of Several Variables; the Gradient Vector
Scalar Valued Functions of Several Variables; the Gradient Vector Scalar Valued Functions vector valued function of n variables: Let us consider a scalar (i.e., numerical, rather than y = φ(x = φ(x 1,
HW6 Solutions. MATH 20D Fall 2013 Prof: Sun Hui TA: Zezhou Zhang (David) November 14, 2013. Checklist: Section 7.8: 1c, 2, 7, 10, [16]
HW6 Solutions MATH D Fall 3 Prof: Sun Hui TA: Zezhou Zhang David November 4, 3 Checklist: Section 7.8: c,, 7,, [6] Section 7.9:, 3, 7, 9 Section 7.8 In Problems 7.8. thru 4: a Draw a direction field and
Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL Dr Glenn Vinnicombe HANDOUT 3. Stability and pole locations.
Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL Dr Glenn Vinnicombe HANDOUT 3 Stability and pole locations asymptotically stable marginally stable unstable Imag(s) repeated poles +
The one dimensional heat equation: Neumann and Robin boundary conditions
The one dimensional heat equation: Neumann and Robin boundary conditions Ryan C. Trinity University Partial Differential Equations February 28, 2012 with Neumann boundary conditions Our goal is to solve:
