Use of Asymptotics for Holonomic Gradient Method

Size: px
Start display at page:

Download "Use of Asymptotics for Holonomic Gradient Method"

Transcription

1 Use of Asymptotics for Holonomic Gradient Method Akimichi Takemura Shiga University July 25, 2016 A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 1 / 30

2 Some disclaimers In this talk, I consider numerical aspects of HGM (Holonomic Gradient Method). I will only discuss some examples (no general theory). A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 2 / 30

3 Outline 1 Map of topics for HGM and asymptotic methods 2 A simple example of univariate normal distribution 3 HGM for ball probability under multivariate normal distribution. This part is based on the following paper: Holonomic gradient method for distribution function of a weighted sum of noncentral chi-square random variables. Computational Statistics. Tamio Koyama and A.T A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 3 / 30

4 Holonomic function and Pfaffian system Let f (x 1,..., x n ) be holonomic. Let i = / x i be the differential operator w.r.t. x i, i = 1,..., n. There exists some finite set F of lower-order derivatives ( standard monomials ) of f F = (f, 1 f, 2 f,..., 2 1f,... ) (column vector) such that i F = Q i F, i = 1,..., n (1) where Q i is n n matrix of rational functions in x 1,..., x n. (1) is called the Pfaffian system. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 4 / 30

5 Holonomic function and Pfaffian system Each i F = Q i F is an ordinary differential equation for the x i -axis. Once the Pfaffian system is obtained, we can solve F by a standard ODE solver along any path, by the chain rule. Any path is OK theoretically, but with floating number computations we need to choose an appropriate path. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 5 / 30

6 A figure of topics for HGM asymptotic evaluation chambers singularity 0 initial values by series A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 6 / 30

7 Numerical issues for asymptotics As we integrate F towards infinity (in certain direction), usually some elements of F diverges to infinity (or converges to zero, where we lose precision). This causes trouble, because with computer we work with floating point numbers with limited precision. The way F diverges should depend on how we approach the infinity. In order to keep elements of F within the precision of floating point numbers, we should re-scale elements of F as needed. We need theoretical evaluation of asymptotics for the elements of F. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 7 / 30

8 Asymptotics abounds in statistics literature In statistics, asymptotic approximation has been one of the major subjects for research. Most results are based on the central limit theorem, where the sample size goes to infinity. For HGM, the Laplace method is more useful, because the function f is often defined by integration as a parameterized integral. Laplace method approximates an integral by the contribution of the integrand around its maximum. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 8 / 30

9 A simple example of univariate normal distribution This is a simple example, where HGM is not really needed. I use it just for the purpose of illustration. Let φ(x) = 1 2π e x2 2 denote the density of the standard normal distribution N(0, 1). Let Φ(x) = x φ(u)du denote the upper probability of N(0, 1). The behavior of Φ(x) is not trivial. The ratio m(x) = Φ(x)/φ(x) is called the Mills ratio. 1 1 sometime written as Mill s ratio, but Mills ratio is more prevalent. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 9 / 30

10 Mills ratio Integration by parts gives the following asymptotics (as x ). Φ(x) = = = How about differential equation? 1 x u uφ(u)du [ 1 ] u φ(u) u=x x ( 1 x 1 ) x 3 + o(x 3 ) 1 u 2 φ(u)du φ(x). Because φ (x) = xφ(x), we have Φ (x) = x Φ (x). A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 10 / 30

11 Differential equation of the upper probability Numerically solving differential equation for φ(x) or Φ(x) is probably not good for large x: φ(x + x) φ(x) xφ(x) (x) = (1 x x)φ(x). We need to take x smaller and smaller as x gets larger. Since we know the asymptotic behavior of Φ(x), let us re-scale Φ(x) as f (x) = x 1 φ(x) Φ(x) = x 2πe x2 /2 Φ(x). Then f (x) 1 1 x 2, f (x) = O(x 3 ). A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 11 / 30

12 Re-scaling the upper probability We can write f (x) as f (x) = 1 φ(x) Φ(x) + x 2 2πe x2 /2 Φ(x) x = 1 f (x) + xf (x) x. x Divide both sides by x and further differentiate 2 to obtain 1 x 2 f (x) + 1 x f (x) = 2 x 3 f (x) + 1 x 2 f (x) + f (x). Multiplying by x gives f (x) = 2 x 2 f (x) + ( 2 x + x)f (x). 2 I am not sure if this is a reasonable thing to do or not. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 12 / 30

13 In the Pfaffian form ( ) ( f (x) 0 1 x f = (x) 2 x 2 2 x + x ) ( ) f (x) f (x) Numerically solving this differential equation should be OK, because xf (x) 0 as x. Question: can we do something like the following? ( ) ( ) ( ) f (x) 0 1 x f = x f (x) (x) xf (x) x 2 x 2 But the column vectors on both sides are not the same... A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 13 / 30

14 Question in more general form So far we only considered re-scaling of the function f itself. Given the set of standard monomials F and the asymptotic behavior of the elements of F, can we re-scale each element of F differently? A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 14 / 30

15 HGM for ball probability under multivariate normal distribution Let X be a d-dimensional normal random vector with the mean vector µ and the covariance matrix Σ: X N(µ, Σ) Then the probability P(X X d 2 r 2 ) of the ball with radius r is written as 1 x1 2+ +x2 d r 2 (2π) d/2 exp Σ 1/2 ( 1 ) 2 (x µ) Σ 1 (x µ) dx. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 15 / 30

16 Ball probability By rotation, we can assume that Σ is a diagonal matrix without loss of generality. Hence X 2 = X X 2 d is the weighted sum of independent noncentral chi-square random variables. The integral for the infinitesimal interval is the Fisher-Bingham integral. r < x x 2 d < r + dr In statistical interpretation, the conditional distribution of X given X = r is the Fisher-Bingham distribution. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 16 / 30

17 Fisher Bingham Integral The Fisher Bingham Integral is an integral on the sphere S d 1 (r) = { t R d t t2 d = r 2} with parameters λ 1,..., λ d, τ 1,..., τ d defined by ( d ) d f (λ, τ, r) = exp λ i ti 2 + τ i t i dt. S d 1 (r) i=1 Here, dt is the volume element on S d 1 (r) with i=1 S d 1 (r) dt = r d 1 S d 1, S d 1 = Vol(S d 1 (1)) = 2πd/2 Γ(d/2). A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 17 / 30

18 The Ball Probability and the Fisher Bingham Integral Let Σ = diag(σ 2 1,..., σ 2 d ), µ = (µ 1,..., µ d ). Put new parameters as λ i := 1 2σi 2, τ i := µ i σi 2. Then the ball probability is written by the Fisher Bingham integral: P(X Xd 2 r 2 ) d ( i=1 λi 1 = exp 4 π d/2 d i=1 ) τi 2 r f (λ, τ, s)ds. λ i 0 A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 18 / 30

19 Pfaffian for ball probability Let f (λ, τ, r) be the Fisher Bingham integral. Put ( f F =,..., f, f ) f,...,. τ 1 τ d λ 1 λ d Then, the vector F satisfies the differential equation r F = P r F. (Pfaffian system) The matrix P r = (p ij ) is explicitly given by d rp ij = (2λ i r 2 + 1)δ ij + τ i δ j(k+d) (1 i d), k=1 rp (i+d)j = τ i r 2 δ ij + (2λ i r 2 + 2)δ j(i+d) + δ j(k+d) (1 i d) k i for 1 j 2d. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 19 / 30

20 Pfaffian for ball probability P r = 1 r 2r 2 x O y 1 y O 2r 2 x d + 1 y d y d r 2 y 1 O 2r 2 x O r 2 y d 1 2r 2 x d + 2, where O denotes off-diagonal block of 0 s and 1 denotes off-diagonal block of 1 s. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 20 / 30

21 Laplace approximation Suppose σ 1 > σ 2 σ d, i.e., λ 1 > λ 2 λ d, then we have the Laplace approximation for the Fisher Bingham integral as follows: Here, we put f (λ, τ, r) f (λ, τ, r). f (λ, τ, r) = (e rτ 1 + e rτ 1 ) exp ( r 2 λ 1 d i=2 π (d 1)/2 1 d i=2 (λ 1 λ i ) 1/2. ) τi 2 4(λ i λ 1 ) A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 21 / 30

22 Laplace approximation for the derivatives Under the same assumption, we have the Laplace approximation for derivatives of the Fisher Bingham integral: { ( f r 2 f ) } f τ 2 j 1, + f, λ 1 λ j 2(λ j λ 1 ) 2(λ 1 λ j ) f τ 1 r erτ1 e rτ1 e rτ 1 + e rτ 1 f, where j = 2,..., d. f τ j τ j 2(λ 1 λ j ) f, A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 22 / 30

23 Switching Pfaffian at r = 1. When 0 < r 1, we utilize the original differential equation F r = P r F When r > 1, we utilize the following differential equation: Q r = ( D r D 1 (2rλ 1 + τ 1 )I 2d + DP r D 1 ) Q (2) where ( 1 Q = exp( r 2 f λ 1 r τ 1 ), f,..., f, 1 f r τ 1 τ 2 τ d r 2, f f,..., λ 1 λ 2 λ d I 2d is the identity matrix with size 2d, and D = diag( 1 1, 1,..., 1,, 1,..., 1). r r 2 This is re-scaling by the Laplace approximation, which was essential. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 23 / 30 )

24 Numerical results Let d = 3 and σ 1 = 3.0, σ 2 = 2.0, σ 3 = 1.0, µ 1 = 0.01, µ 2 = 0.02, µ 3 = 0.03, (3) i.e., λ 1 = , λ 2 = 0.125, λ 3 = 0.5, τ 1 = , τ 2 = 0.005, τ 3 = ( d ) By the HGM, we can compute the probability P i=1 X i 2 < r 2 for each r. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 24 / 30

25 Numerical results Ball Probability r ( d ) Figure 1: A graph of r and P i=1 X i 2 < r 2 A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 25 / 30

26 Ratio of FB Integral and It s Laplace Approximation When r 1, the Laplace approximation for the Fisher Bingham integral is ( ) d f (λ, τ, r) (e rτ 1 + e rτ 1 ) exp r 2 τi 2 λ 1 4(λ i λ 1 ) π (d 1)/2 1 d i=2 (λ 1 λ i ) 1/2. i=2 If HGM is numerically accurate enough, the ratio of both sides of the above expression goes to 1 when r goes to infinity. The following numerical calculations confirm this conjecture experimentally. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 26 / 30

27 Ratio of FB Integral and It s Laplace Approximation For the parameter (3), the graph of the ratio are the following: (Fisher Bingham Integral)/(Laprace Approximation) Figure 2: Ratio of FB Integral and It s Laplace Approximation r A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 27 / 30

28 Ratio of FB Integral and It s Laplace Approximation The graph of the ratio of differentials are the following: (Differantial of FB)/(Laprace Approximation) df/d\tau_1 df/d\tau_2 df/d\tau_3 df/d\lambda_1 df/d\lambda_2 df/d\lambda_ r Figure 3: Ratio of differentials of FB and It s LA A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 28 / 30

29 Observations from the numerical results HGM was fast and very accurate in this problem. It is important to re-scale the elements of the standard monomial vector as needed, so that they do not become too small or too large. Asymptotic evaluation is useful for re-scaling. Question: can we start from infinity and integrate in the reverse direction? In this problem it was not practical. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 29 / 30

30 Summary I showed a map of topics for HGM and the importance of asymptotic methods. I believe that HGM sits in the middle of all kinds of asymptotics. It is important to incorporate the asymptotic results in the implementation of HGM, because the input to the program can be an extreme case. Obviously then people can use asymptotic approximation, but HGM should give more accurate results. I my personal memos, I have some scattered asymptotic formulas, which was not used for HGM in our published papers, because HGM works well enough for moderate input values. A.Takemura (Shiga U) HGM and asymptotics 2015/3/3 30 / 30

Holonomic gradient method for distribution function of a weighted sum of noncentral chi-square random variables

Holonomic gradient method for distribution function of a weighted sum of noncentral chi-square random variables Holonomic gradient method for distribution function of a weighted sum of noncentral chi-square random variables T.Koyama & A.Takemura March 3, 2015 1 The Ball Probability (1). Let X be a d-dimensional

More information

Holonomic Gradient Method for Multivariate Normal Distribution Theory. Akimichi Takemura, Univ. of Tokyo August 2, 2013

Holonomic Gradient Method for Multivariate Normal Distribution Theory. Akimichi Takemura, Univ. of Tokyo August 2, 2013 Holonomic Gradient Method for Multivariate Normal Distribution Theory Akimichi Takemura, Univ. of Tokyo August 2, 2013 Items 1. First example (non-central t-distribution, by T.Sei) 2. Principles of HGM

More information

Holonomic gradient method for hypergeometric functions of a matrix argument Akimichi Takemura, Shiga University

Holonomic gradient method for hypergeometric functions of a matrix argument Akimichi Takemura, Shiga University Holonomic gradient method for hypergeometric functions of a matrix argument Akimichi Takemura, Shiga University (joint with H.Hashiguchi and N.Takayama) June 20, 2016, RIMS, Kyoto Items 1. Summary of multivariate

More information

Chapter 5 continued. Chapter 5 sections

Chapter 5 continued. Chapter 5 sections Chapter 5 sections Discrete univariate distributions: 5.2 Bernoulli and Binomial distributions Just skim 5.3 Hypergeometric distributions 5.4 Poisson distributions Just skim 5.5 Negative Binomial distributions

More information

1.1. Fields Partial derivatives

1.1. Fields Partial derivatives 1.1. Fields A field associates a physical quantity with a position A field can be also time dependent, for example. The simplest case is a scalar field, where given physical quantity can be described by

More information

44 CHAPTER 2. BAYESIAN DECISION THEORY

44 CHAPTER 2. BAYESIAN DECISION THEORY 44 CHAPTER 2. BAYESIAN DECISION THEORY Problems Section 2.1 1. In the two-category case, under the Bayes decision rule the conditional error is given by Eq. 7. Even if the posterior densities are continuous,

More information

Chapter 5. Chapter 5 sections

Chapter 5. Chapter 5 sections 1 / 43 sections Discrete univariate distributions: 5.2 Bernoulli and Binomial distributions Just skim 5.3 Hypergeometric distributions 5.4 Poisson distributions Just skim 5.5 Negative Binomial distributions

More information

Math 115 Spring 11 Written Homework 10 Solutions

Math 115 Spring 11 Written Homework 10 Solutions Math 5 Spring Written Homework 0 Solutions. For following its, state what indeterminate form the its are in and evaluate the its. (a) 3x 4x 4 x x 8 Solution: This is in indeterminate form 0. Algebraically,

More information

8 Eigenvectors and the Anisotropic Multivariate Gaussian Distribution

8 Eigenvectors and the Anisotropic Multivariate Gaussian Distribution Eigenvectors and the Anisotropic Multivariate Gaussian Distribution Eigenvectors and the Anisotropic Multivariate Gaussian Distribution EIGENVECTORS [I don t know if you were properly taught about eigenvectors

More information

General Technical Remarks on PDE s and Boundary Conditions Kurt Bryan MA 436

General Technical Remarks on PDE s and Boundary Conditions Kurt Bryan MA 436 General Technical Remarks on PDE s and Boundary Conditions Kurt Bryan MA 436 1 Introduction You may have noticed that when we analyzed the heat equation on a bar of length 1 and I talked about the equation

More information

Lecturer: Bengt E W Nilsson

Lecturer: Bengt E W Nilsson 9 3 19 Lecturer: Bengt E W Nilsson Last time: Relativistic physics in any dimension. Light-cone coordinates, light-cone stuff. Extra dimensions compact extra dimensions (here we talked about fundamental

More information

Chapter 2. Limits and Continuity 2.6 Limits Involving Infinity; Asymptotes of Graphs

Chapter 2. Limits and Continuity 2.6 Limits Involving Infinity; Asymptotes of Graphs 2.6 Limits Involving Infinity; Asymptotes of Graphs Chapter 2. Limits and Continuity 2.6 Limits Involving Infinity; Asymptotes of Graphs Definition. Formal Definition of Limits at Infinity.. We say that

More information

7.3 Singular points and the method of Frobenius

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

More information

O.K. But what if the chicken didn t have access to a teleporter.

O.K. But what if the chicken didn t have access to a teleporter. The intermediate value theorem, and performing algebra on its. This is a dual topic lecture. : The Intermediate value theorem First we should remember what it means to be a continuous function: A function

More information

Defining Exponential Functions and Exponential Derivatives and Integrals

Defining Exponential Functions and Exponential Derivatives and Integrals Defining Exponential Functions and Exponential Derivatives and Integrals James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University February 19, 2014

More information

Introduction and some preliminaries

Introduction and some preliminaries 1 Partial differential equations Introduction and some preliminaries A partial differential equation (PDE) is a relationship among partial derivatives of a function (or functions) of more than one variable.

More information

(b) (a) 1 Introduction. 2 Related Works. 3 Problem Definition. 4 The Analytical Formula. Yuandong Tian Facebook AI Research

(b) (a) 1 Introduction. 2 Related Works. 3 Problem Definition. 4 The Analytical Formula. Yuandong Tian Facebook AI Research Supp Materials: An Analytical Formula of Population Gradient for two-layered ReLU network and its Applications in Convergence and Critical Point Analysis Yuandong Tian Facebook AI Research yuandong@fb.com

More information

CS Lecture 19. Exponential Families & Expectation Propagation

CS Lecture 19. Exponential Families & Expectation Propagation CS 6347 Lecture 19 Exponential Families & Expectation Propagation Discrete State Spaces We have been focusing on the case of MRFs over discrete state spaces Probability distributions over discrete spaces

More information

CPSC 540: Machine Learning

CPSC 540: Machine Learning CPSC 540: Machine Learning Undirected Graphical Models Mark Schmidt University of British Columbia Winter 2016 Admin Assignment 3: 2 late days to hand it in today, Thursday is final day. Assignment 4:

More information

= lim. (1 + h) 1 = lim. = lim. = lim = 1 2. lim

= lim. (1 + h) 1 = lim. = lim. = lim = 1 2. lim Math 50 Exam # Solutions. Evaluate the following its or explain why they don t exist. (a) + h. h 0 h Answer: Notice that both the numerator and the denominator are going to zero, so we need to think a

More information

Notice that we are switching from the subtraction to adding the negative of the following term

Notice that we are switching from the subtraction to adding the negative of the following term MTH95 Day 6 Sections 5.3 & 7.1 Section 5.3 Polynomials and Polynomial Functions Definitions: Term Constant Factor Coefficient Polynomial Monomial Binomial Trinomial Degree of a term Degree of a Polynomial

More information

Gibbs Sampling in Linear Models #2

Gibbs Sampling in Linear Models #2 Gibbs Sampling in Linear Models #2 Econ 690 Purdue University Outline 1 Linear Regression Model with a Changepoint Example with Temperature Data 2 The Seemingly Unrelated Regressions Model 3 Gibbs sampling

More information

Effective Sample Size in Spatial Modeling

Effective Sample Size in Spatial Modeling Int. Statistical Inst.: Proc. 58th World Statistical Congress, 2011, Dublin (Session CPS029) p.4526 Effective Sample Size in Spatial Modeling Vallejos, Ronny Universidad Técnica Federico Santa María, Department

More information

Rational Functions. Elementary Functions. Algebra with mixed fractions. Algebra with mixed fractions

Rational Functions. Elementary Functions. Algebra with mixed fractions. Algebra with mixed fractions Rational Functions A rational function f (x) is a function which is the ratio of two polynomials, that is, Part 2, Polynomials Lecture 26a, Rational Functions f (x) = where and are polynomials Dr Ken W

More information

Statistics & Data Sciences: First Year Prelim Exam May 2018

Statistics & Data Sciences: First Year Prelim Exam May 2018 Statistics & Data Sciences: First Year Prelim Exam May 2018 Instructions: 1. Do not turn this page until instructed to do so. 2. Start each new question on a new sheet of paper. 3. This is a closed book

More information

Multivariate Statistical Analysis

Multivariate Statistical Analysis Multivariate Statistical Analysis Fall 2011 C. L. Williams, Ph.D. Lecture 4 for Applied Multivariate Analysis Outline 1 Eigen values and eigen vectors Characteristic equation Some properties of eigendecompositions

More information

MATH 162. Midterm 2 ANSWERS November 18, 2005

MATH 162. Midterm 2 ANSWERS November 18, 2005 MATH 62 Midterm 2 ANSWERS November 8, 2005. (0 points) Does the following integral converge or diverge? To get full credit, you must justify your answer. 3x 2 x 3 + 4x 2 + 2x + 4 dx You may not be able

More information

Parametric Equations, Function Composition and the Chain Rule: A Worksheet

Parametric Equations, Function Composition and the Chain Rule: A Worksheet Parametric Equations, Function Composition and the Chain Rule: A Worksheet Prof.Rebecca Goldin Oct. 8, 003 1 Parametric Equations We have seen that the graph of a function f(x) of one variable consists

More information

Large Deviations for Small-Noise Stochastic Differential Equations

Large Deviations for Small-Noise Stochastic Differential Equations Chapter 22 Large Deviations for Small-Noise Stochastic Differential Equations This lecture is at once the end of our main consideration of diffusions and stochastic calculus, and a first taste of large

More information

Large Deviations for Small-Noise Stochastic Differential Equations

Large Deviations for Small-Noise Stochastic Differential Equations Chapter 21 Large Deviations for Small-Noise Stochastic Differential Equations This lecture is at once the end of our main consideration of diffusions and stochastic calculus, and a first taste of large

More information

Stat260: Bayesian Modeling and Inference Lecture Date: February 10th, Jeffreys priors. exp 1 ) p 2

Stat260: Bayesian Modeling and Inference Lecture Date: February 10th, Jeffreys priors. exp 1 ) p 2 Stat260: Bayesian Modeling and Inference Lecture Date: February 10th, 2010 Jeffreys priors Lecturer: Michael I. Jordan Scribe: Timothy Hunter 1 Priors for the multivariate Gaussian Consider a multivariate

More information

DYNAMICAL SYSTEMS

DYNAMICAL SYSTEMS 0.42 DYNAMICAL SYSTEMS Week Lecture Notes. What is a dynamical system? Probably the best way to begin this discussion is with arguably a most general and yet least helpful statement: Definition. A dynamical

More information

6.3 Fundamental solutions in d

6.3 Fundamental solutions in d 6.3. Fundamental solutions in d 5 6.3 Fundamental solutions in d Since Lapalce equation is invariant under translations, and rotations (see Exercise 6.4), we look for solutions to Laplace equation having

More information

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

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

More information

Algebra II Vocabulary Alphabetical Listing. Absolute Maximum: The highest point over the entire domain of a function or relation.

Algebra II Vocabulary Alphabetical Listing. Absolute Maximum: The highest point over the entire domain of a function or relation. Algebra II Vocabulary Alphabetical Listing Absolute Maximum: The highest point over the entire domain of a function or relation. Absolute Minimum: The lowest point over the entire domain of a function

More information

Last Update: March 1 2, 201 0

Last Update: March 1 2, 201 0 M ath 2 0 1 E S 1 W inter 2 0 1 0 Last Update: March 1 2, 201 0 S eries S olutions of Differential Equations Disclaimer: This lecture note tries to provide an alternative approach to the material in Sections

More information

Notes: Pythagorean Triples

Notes: Pythagorean Triples Math 5330 Spring 2018 Notes: Pythagorean Triples Many people know that 3 2 + 4 2 = 5 2. Less commonly known are 5 2 + 12 2 = 13 2 and 7 2 + 24 2 = 25 2. Such a set of integers is called a Pythagorean Triple.

More information

Discriminant analysis and supervised classification

Discriminant analysis and supervised classification Discriminant analysis and supervised classification Angela Montanari 1 Linear discriminant analysis Linear discriminant analysis (LDA) also known as Fisher s linear discriminant analysis or as Canonical

More information

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

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

More information

Introduction to Partial Differential Equations

Introduction to Partial Differential Equations Introduction to Partial Differential Equations Partial differential equations arise in a number of physical problems, such as fluid flow, heat transfer, solid mechanics and biological processes. These

More information

Separation of Variables in Linear PDE: One-Dimensional Problems

Separation of Variables in Linear PDE: One-Dimensional Problems Separation of Variables in Linear PDE: One-Dimensional Problems Now we apply the theory of Hilbert spaces to linear differential equations with partial derivatives (PDE). We start with a particular example,

More information

(Refer Slide Time: 01:17)

(Refer Slide Time: 01:17) Heat and Mass Transfer Prof. S.P. Sukhatme Department of Mechanical Engineering Indian Institute of Technology, Bombay Lecture No. 7 Heat Conduction 4 Today we are going to look at some one dimensional

More information

The Convergence Rate for the Normal Approximation of Extreme Sums

The Convergence Rate for the Normal Approximation of Extreme Sums The Convergence Rate for the Normal Approximation of Extreme Sums Yongcheng Qi University of Minnesota Duluth WCNA 2008, Orlando, July 2-9, 2008 This talk is based on a joint work with Professor Shihong

More information

The generative approach to classification. A classification problem. Generative models CSE 250B

The generative approach to classification. A classification problem. Generative models CSE 250B The generative approach to classification The generative approach to classification CSE 250B The learning process: Fit a probability distribution to each class, individually To classify a new point: Which

More information

Lecture 10. (2) Functions of two variables. Partial derivatives. Dan Nichols February 27, 2018

Lecture 10. (2) Functions of two variables. Partial derivatives. Dan Nichols February 27, 2018 Lecture 10 Partial derivatives Dan Nichols nichols@math.umass.edu MATH 233, Spring 2018 University of Massachusetts February 27, 2018 Last time: functions of two variables f(x, y) x and y are the independent

More information

Appendix 5. Derivatives of Vectors and Vector-Valued Functions. Draft Version 24 November 2008

Appendix 5. Derivatives of Vectors and Vector-Valued Functions. Draft Version 24 November 2008 Appendix 5 Derivatives of Vectors and Vector-Valued Functions Draft Version 24 November 2008 Quantitative genetics often deals with vector-valued functions and here we provide a brief review of the calculus

More information

MATH 113: ELEMENTARY CALCULUS

MATH 113: ELEMENTARY CALCULUS MATH 3: ELEMENTARY CALCULUS Please check www.ualberta.ca/ zhiyongz for notes updation! 6. Rates of Change and Limits A fundamental philosophical truth is that everything changes. In physics, the change

More information

Systems of Linear ODEs

Systems of Linear ODEs P a g e 1 Systems of Linear ODEs Systems of ordinary differential equations can be solved in much the same way as discrete dynamical systems if the differential equations are linear. We will focus here

More information

2.20 Fall 2018 Math Review

2.20 Fall 2018 Math Review 2.20 Fall 2018 Math Review September 10, 2018 These notes are to help you through the math used in this class. This is just a refresher, so if you never learned one of these topics you should look more

More information

Math 150 Midterm 1 Review Midterm 1 - Monday February 28

Math 150 Midterm 1 Review Midterm 1 - Monday February 28 Math 50 Midterm Review Midterm - Monday February 28 The midterm will cover up through section 2.2 as well as the little bit on inverse functions, exponents, and logarithms we included from chapter 5. Notes

More information

PHYS Handout 6

PHYS Handout 6 PHYS 060 Handout 6 Handout Contents Golden Equations for Lectures 8 to Answers to examples on Handout 5 Tricks of the Quantum trade (revision hints) Golden Equations (Lectures 8 to ) ψ Â φ ψ (x)âφ(x)dxn

More information

Linear Regression (9/11/13)

Linear Regression (9/11/13) STA561: Probabilistic machine learning Linear Regression (9/11/13) Lecturer: Barbara Engelhardt Scribes: Zachary Abzug, Mike Gloudemans, Zhuosheng Gu, Zhao Song 1 Why use linear regression? Figure 1: Scatter

More information

Two special equations: Bessel s and Legendre s equations. p Fourier-Bessel and Fourier-Legendre series. p

Two special equations: Bessel s and Legendre s equations. p Fourier-Bessel and Fourier-Legendre series. p LECTURE 1 Table of Contents Two special equations: Bessel s and Legendre s equations. p. 259-268. Fourier-Bessel and Fourier-Legendre series. p. 453-460. Boundary value problems in other coordinate system.

More information

Chapter 24 Review Prof. Townsend Fall 2016

Chapter 24 Review Prof. Townsend Fall 2016 Chapter 4 Review Prof. Townsend Fall 016 Sections covered: 4.1 Tangents and Normals 4.3 Curvilinear Motion 4.4 Related Rates 4.5 Using Derivatives in Curve Sketching 4.7 Applied Maximum and Minimum Problems

More information

Multivariate Bayesian Linear Regression MLAI Lecture 11

Multivariate Bayesian Linear Regression MLAI Lecture 11 Multivariate Bayesian Linear Regression MLAI Lecture 11 Neil D. Lawrence Department of Computer Science Sheffield University 21st October 2012 Outline Univariate Bayesian Linear Regression Multivariate

More information

Caltech Ph106 Fall 2001

Caltech Ph106 Fall 2001 Caltech h106 Fall 2001 ath for physicists: differential forms Disclaimer: this is a first draft, so a few signs might be off. 1 Basic properties Differential forms come up in various parts of theoretical

More information

d 1 µ 2 Θ = 0. (4.1) consider first the case of m = 0 where there is no azimuthal dependence on the angle φ.

d 1 µ 2 Θ = 0. (4.1) consider first the case of m = 0 where there is no azimuthal dependence on the angle φ. 4 Legendre Functions In order to investigate the solutions of Legendre s differential equation d ( µ ) dθ ] ] + l(l + ) m dµ dµ µ Θ = 0. (4.) consider first the case of m = 0 where there is no azimuthal

More information

MITOCW watch?v=dztkqqy2jn4

MITOCW watch?v=dztkqqy2jn4 MITOCW watch?v=dztkqqy2jn4 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To

More information

Symmetries 2 - Rotations in Space

Symmetries 2 - Rotations in Space Symmetries 2 - Rotations in Space This symmetry is about the isotropy of space, i.e. space is the same in all orientations. Thus, if we continuously rotated an entire system in space, we expect the system

More information

2.2 Coordinate transformations

2.2 Coordinate transformations 2.2 Coordinate transformations Lets now think about more general spaces which have arbitrary curvature. Define a point P in some space, and another point a little further on called R. These points have

More information

Fundamentals Physics

Fundamentals Physics Fundamentals Physics And Differential Equations 1 Dynamics Dynamics of a material point Ideal case, but often sufficient Dynamics of a solid Including rotation, torques 2 Position, Velocity, Acceleration

More information

Markov basis for testing homogeneity of Markov chains

Markov basis for testing homogeneity of Markov chains Markov basis for testing homogeneity of Markov chains Akimichi Takemura and Hisayuki Hara University of Tokyo July 6, 2009 Takemura and Hara (Univ. of Tokyo) Testing homogeneity of Markov chains July 6,

More information

1 Lesson 13: Methods of Integration

1 Lesson 13: Methods of Integration Lesson 3: Methods of Integration Chapter 6 Material: pages 273-294 in the textbook: Lesson 3 reviews integration by parts and presents integration via partial fraction decomposition as the third of the

More information

ESG Problem Set 12

ESG Problem Set 12 18.24 ESG Problem Set 12 Pramod N. Achar Spring 2 In this problem set you will prove an analogue of the Fundamental Theorem of Calculus, Stokes Theorem, etc. To set up the context of the problem, let us

More information

Chapter 8: An Introduction to Probability and Statistics

Chapter 8: An Introduction to Probability and Statistics Course S3, 200 07 Chapter 8: An Introduction to Probability and Statistics This material is covered in the book: Erwin Kreyszig, Advanced Engineering Mathematics (9th edition) Chapter 24 (not including

More information

Open Problems in Mixed Models

Open Problems in Mixed Models xxiii Determining how to deal with a not positive definite covariance matrix of random effects, D during maximum likelihood estimation algorithms. Several strategies are discussed in Section 2.15. For

More information

Error propagation. Alexander Khanov. October 4, PHYS6260: Experimental Methods is HEP Oklahoma State University

Error propagation. Alexander Khanov. October 4, PHYS6260: Experimental Methods is HEP Oklahoma State University Error propagation Alexander Khanov PHYS660: Experimental Methods is HEP Oklahoma State University October 4, 017 Why error propagation? In many cases we measure one thing and want to know something else

More information

2 A brief interruption to discuss boundary value/intial value problems

2 A brief interruption to discuss boundary value/intial value problems The lecture of 1/9/2013 1 The one dimensional heat equation The punchline from the derivation of the heat equation notes (either the posted file, or equivalently what is in the text) is that given a rod

More information

2.1 Affine and Projective Coordinates

2.1 Affine and Projective Coordinates 1 Introduction Depending how you look at them, elliptic curves can be deceptively simple. Using one of the easier definitions, we are just looking at points (x,y) that satisfy a cubic equation, something

More information

CS 542G: The Poisson Problem, Finite Differences

CS 542G: The Poisson Problem, Finite Differences CS 542G: The Poisson Problem, Finite Differences Robert Bridson November 10, 2008 1 The Poisson Problem At the end last time, we noticed that the gravitational potential has a zero Laplacian except at

More information

Exploring Substitution

Exploring Substitution I. Introduction Exploring Substitution Math Fall 08 Lab We use the Fundamental Theorem of Calculus, Part to evaluate a definite integral. If f is continuous on [a, b] b and F is any antiderivative of f

More information

1 Functions of many variables.

1 Functions of many variables. MA213 Sathaye Notes on Multivariate Functions. 1 Functions of many variables. 1.1 Plotting. We consider functions like z = f(x, y). Unlike functions of one variable, the graph of such a function has to

More information

Sometimes the domains X and Z will be the same, so this might be written:

Sometimes the domains X and Z will be the same, so this might be written: II. MULTIVARIATE CALCULUS The first lecture covered functions where a single input goes in, and a single output comes out. Most economic applications aren t so simple. In most cases, a number of variables

More information

MATH 590: Meshfree Methods

MATH 590: Meshfree Methods MATH 590: Meshfree Methods Chapter 34: Improving the Condition Number of the Interpolation Matrix Greg Fasshauer Department of Applied Mathematics Illinois Institute of Technology Fall 2010 fasshauer@iit.edu

More information

Probability and Measure

Probability and Measure Probability and Measure Robert L. Wolpert Institute of Statistics and Decision Sciences Duke University, Durham, NC, USA Convergence of Random Variables 1. Convergence Concepts 1.1. Convergence of Real

More information

Class Meeting # 1: Introduction to PDEs

Class Meeting # 1: Introduction to PDEs MATH 18.152 COURSE NOTES - CLASS MEETING # 1 18.152 Introduction to PDEs, Spring 2017 Professor: Jared Speck Class Meeting # 1: Introduction to PDEs 1. What is a PDE? We will be studying functions u =

More information

STA 294: Stochastic Processes & Bayesian Nonparametrics

STA 294: Stochastic Processes & Bayesian Nonparametrics MARKOV CHAINS AND CONVERGENCE CONCEPTS Markov chains are among the simplest stochastic processes, just one step beyond iid sequences of random variables. Traditionally they ve been used in modelling a

More information

The AP exams will ask you to find derivatives using the various techniques and rules including

The AP exams will ask you to find derivatives using the various techniques and rules including Student Notes Prep Session Topic: Computing Derivatives It goes without saying that derivatives are an important part of the calculus and you need to be able to compute them. You should know the derivatives

More information

CPSC 540: Machine Learning

CPSC 540: Machine Learning CPSC 540: Machine Learning Multivariate Gaussians Mark Schmidt University of British Columbia Winter 2019 Last Time: Multivariate Gaussian http://personal.kenyon.edu/hartlaub/mellonproject/bivariate2.html

More information

Econ 508B: Lecture 5

Econ 508B: Lecture 5 Econ 508B: Lecture 5 Expectation, MGF and CGF Hongyi Liu Washington University in St. Louis July 31, 2017 Hongyi Liu (Washington University in St. Louis) Math Camp 2017 Stats July 31, 2017 1 / 23 Outline

More information

UNIVERSITY of LIMERICK

UNIVERSITY of LIMERICK UNIVERSITY of LIMERICK OLLSCOIL LUIMNIGH Faculty of Science and Engineering END OF SEMESTER ASSESSMENT PAPER MODULE CODE: MA4607 SEMESTER: Autumn 2012-13 MODULE TITLE: Introduction to Fluids DURATION OF

More information

Asymptotic Statistics-III. Changliang Zou

Asymptotic Statistics-III. Changliang Zou Asymptotic Statistics-III Changliang Zou The multivariate central limit theorem Theorem (Multivariate CLT for iid case) Let X i be iid random p-vectors with mean µ and and covariance matrix Σ. Then n (

More information

Lecture 12. F o s, (1.1) F t := s>t

Lecture 12. F o s, (1.1) F t := s>t Lecture 12 1 Brownian motion: the Markov property Let C := C(0, ), R) be the space of continuous functions mapping from 0, ) to R, in which a Brownian motion (B t ) t 0 almost surely takes its value. Let

More information

Lecture 10: Generalized likelihood ratio test

Lecture 10: Generalized likelihood ratio test Stat 200: Introduction to Statistical Inference Autumn 2018/19 Lecture 10: Generalized likelihood ratio test Lecturer: Art B. Owen October 25 Disclaimer: These notes have not been subjected to the usual

More information

The Volume of Bitnets

The Volume of Bitnets The Volume of Bitnets Carlos C. Rodríguez The University at Albany, SUNY Department of Mathematics and Statistics http://omega.albany.edu:8008/bitnets Abstract. A bitnet is a dag of binary nodes representing

More information

The Jacobian. Jesse van den Kieboom

The Jacobian. Jesse van den Kieboom The Jacobian Jesse van den Kieboom jesse.vandenkieboom@epfl.ch 1 Introduction 1 1 Introduction The Jacobian is an important concept in robotics. Although the general concept of the Jacobian in robotics

More information

LECTURE NOTES ELEMENTARY NUMERICAL METHODS. Eusebius Doedel

LECTURE NOTES ELEMENTARY NUMERICAL METHODS. Eusebius Doedel LECTURE NOTES on ELEMENTARY NUMERICAL METHODS Eusebius Doedel TABLE OF CONTENTS Vector and Matrix Norms 1 Banach Lemma 20 The Numerical Solution of Linear Systems 25 Gauss Elimination 25 Operation Count

More information

MAS3301 Bayesian Statistics Problems 5 and Solutions

MAS3301 Bayesian Statistics Problems 5 and Solutions MAS3301 Bayesian Statistics Problems 5 and Solutions Semester 008-9 Problems 5 1. (Some of this question is also in Problems 4). I recorded the attendance of students at tutorials for a module. Suppose

More information

Physics 221B Spring 2018 Notes 30 The Thomas-Fermi Model

Physics 221B Spring 2018 Notes 30 The Thomas-Fermi Model Copyright c 217 by Robert G. Littlejohn Physics 221B Spring 218 Notes 3 The Thomas-Fermi Model 1. Introduction The Thomas-Fermi model is a relatively crude model of multi-electron atoms that is useful

More information

1.4 Techniques of Integration

1.4 Techniques of Integration .4 Techniques of Integration Recall the following strategy for evaluating definite integrals, which arose from the Fundamental Theorem of Calculus (see Section.3). To calculate b a f(x) dx. Find a function

More information

Vector Fields and Line Integrals The Fundamental Theorem for Line Integrals

Vector Fields and Line Integrals The Fundamental Theorem for Line Integrals Math 280 Calculus III Chapter 16 Sections: 16.1, 16.2 16.3 16.4 16.5 Topics: Vector Fields and Line Integrals The Fundamental Theorem for Line Integrals Green s Theorem Curl and Divergence Section 16.1

More information

NAME DATE PERIOD. Operations with Polynomials. Review Vocabulary Evaluate each expression. (Lesson 1-1) 3a 2 b 4, given a = 3, b = 2

NAME DATE PERIOD. Operations with Polynomials. Review Vocabulary Evaluate each expression. (Lesson 1-1) 3a 2 b 4, given a = 3, b = 2 5-1 Operations with Polynomials What You ll Learn Skim the lesson. Predict two things that you expect to learn based on the headings and the Key Concept box. 1. Active Vocabulary 2. Review Vocabulary Evaluate

More information

Notes on Random Variables, Expectations, Probability Densities, and Martingales

Notes on Random Variables, Expectations, Probability Densities, and Martingales Eco 315.2 Spring 2006 C.Sims Notes on Random Variables, Expectations, Probability Densities, and Martingales Includes Exercise Due Tuesday, April 4. For many or most of you, parts of these notes will be

More information

Chapter 4: Asymptotic Properties of the MLE (Part 2)

Chapter 4: Asymptotic Properties of the MLE (Part 2) Chapter 4: Asymptotic Properties of the MLE (Part 2) Daniel O. Scharfstein 09/24/13 1 / 1 Example Let {(R i, X i ) : i = 1,..., n} be an i.i.d. sample of n random vectors (R, X ). Here R is a response

More information

Mathematical Economics (ECON 471) Lecture 3 Calculus of Several Variables & Implicit Functions

Mathematical Economics (ECON 471) Lecture 3 Calculus of Several Variables & Implicit Functions Mathematical Economics (ECON 471) Lecture 3 Calculus of Several Variables & Implicit Functions Teng Wah Leo 1 Calculus of Several Variables 11 Functions Mapping between Euclidean Spaces Where as in univariate

More information

Summary of various integrals

Summary of various integrals ummary of various integrals Here s an arbitrary compilation of information about integrals Moisés made on a cold ecember night. 1 General things o not mix scalars and vectors! In particular ome integrals

More information

Massachusetts Institute of Technology Instrumentation Laboratory Cambridge, Massachusetts

Massachusetts Institute of Technology Instrumentation Laboratory Cambridge, Massachusetts Massachusetts Institute of Technology Instrumentation Laboratory Cambridge, Massachusetts Space Guidance Analysis Memo #9 To: From: SGA Distribution James E. Potter Date: November 0, 96 Subject: Error

More information

McGill University April 16, Advanced Calculus for Engineers

McGill University April 16, Advanced Calculus for Engineers McGill University April 16, 2014 Faculty of cience Final examination Advanced Calculus for Engineers Math 264 April 16, 2014 Time: 6PM-9PM Examiner: Prof. R. Choksi Associate Examiner: Prof. A. Hundemer

More information

( ), λ. ( ) =u z. ( )+ iv z

( ), λ. ( ) =u z. ( )+ iv z AMS 212B Perturbation Metho Lecture 18 Copyright by Hongyun Wang, UCSC Method of steepest descent Consider the integral I = f exp( λ g )d, g C =u + iv, λ We consider the situation where ƒ() and g() = u()

More information

1 Lecture 24: Linearization

1 Lecture 24: Linearization 1 Lecture 24: Linearization 1.1 Outline The linearization of a function at a point a. Linear approximation of the change in f. Error, absolute error. Examples 1.2 Linearization Functions can be complicated.

More information