Perturbation Methods II: General Case

Size: px
Start display at page:

Download "Perturbation Methods II: General Case"

Transcription

1 Perturbation Methods II: General Case (Lectures on Solution Methods for Economists VI) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 21, University of Pennsylvania 2 Boston College

2 The General case Most of arguments in the previous set of lecture notes are easy to generalize. The set of equilibrium conditions of many DSGE models can be written using recursive notation as: E t H(y, y, x, x ) = 0, where y t is a n y 1 vector of controls and x t is a n x 1 vector of states. n = n x + n y. H maps R ny R ny R nx R nx into R n. 1

3 Partitioning the state vector The state vector x t can be partitioned as x = [x 1 ; x 2 ] t. x 1 is a (n x n ɛ ) 1 vector of endogenous state variables. x 2 is a n ɛ 1 vector of exogenous state variables. Why do we want to partition the state vector? 2

4 Exogenous stochastic process I x 2 = Ax 2 + λη ɛ ɛ Process with 3 parts: 1. The deterministic component Ax 2, where A is a n ɛ n ɛ matrix, with all eigenvalues with modulus less than one. 2. The scaled innovation η ɛɛ, where: 2.1 η ɛ is a known n ɛ n ɛ matrix. 2.2 ɛ is a n ɛ 1 i.i.d. innovation with bounded support, zero mean, and variance/covariance matrix I. 3. The perturbation parameter λ. 3

5 Exogenous stochastic process II We can accommodate very general structures of x 2 through changes in the definition of the state space: i.e. stochastic volatility. More general structure: x 2 = Γ(x 2 ) + λη ɛ ɛ where Γ is a non-linear function satisfying that all eigenvalues of its first derivative evaluated at the non-stochastic steady state lie within the unit circle. Note we do not impose Gaussanity. 4

6 The perturbation parameter The scalar λ 0 is the perturbation parameter. If we set λ = 0, we have a deterministic model. Important: there is only ONE perturbation parameter. The matrix η ɛ takes account of relative sizes of different shocks. Why bounded support? Samuelson (1970), Jin and Judd (2002). 5

7 Solution of the model The solution to the model is of the form: y = g(x; λ) x = h(x; λ) + ληɛ where g maps R nx R + into R ny and h maps R nx R + into R nx. The matrix η is of order n x n ɛ and is given by: [ ] η = η ɛ 6

8 Perturbation We wish to find a perturbation approximation of the functions g and h around the non-stochastic steady state, x t = x and λ = 0. We define the non-stochastic steady state as vectors ( x, ȳ) such that: H(ȳ, ȳ, x, x) = 0. Note that ȳ = g( x; 0) and x = h( x; 0). This is because, if λ = 0, E t H = H. 7

9 Plugging-in the proposed solution Substituting the proposed solution, we define: F (x; λ) E t H(g(x; λ), g(h(x; λ) + ηλɛ, λ), x, h(x; λ) + ηλɛ ) = 0 Since F (x; λ) = 0 for any values of x and λ, the derivatives of any order of F must also be equal to zero. Formally: F x k λj (x; λ) = 0 x, λ, j, k, where F x k λj (x, λ) denotes the derivative of F with respect to x taken k times and with respect to λ taken j times. 8

10 First-order approximation We are looking for approximations to g and h around (x, λ) = ( x, 0) of the form: g(x; λ) = g( x; 0) + g x ( x; 0)(x x) + g λ ( x; 0)λ h(x; λ) = h( x; 0) + h x ( x; 0)(x x) + h λ ( x; 0)λ As explained earlier, g( x; 0) = ȳ and h( x; 0) = x. The remaining four unknown coefficients of the first-order approximation to g and h are found by using the fact that: F x ( x; 0) = 0 and F λ ( x; 0) = 0 Before doing so, we need to introduce the tensor notation. 9

11 Tensors General trick from physics. An n th -rank tensor in a m-dimensional space is an operator that has n indices and m n components and obeys certain transformation rules. [H y ] i α is the (i, α) element of the derivative of H with respect to y: 1. The derivative of H with respect to y is an n n y matrix. 2. Thus, [H y ] i α is the element of this matrix located at the intersection of the i-th row and α-th column. 3. Thus, [H y ] i α[g x] α β [h x] β j = n y nx H i g α h β α=1 β=1. y α x β x j [H y y ]i αγ: 1. H y y is a three dimensional array with n rows, ny columns, and ny pages. 2. Then [H y y ]i αγ denotes the element of H y y located at the intersection of row i, column α and page γ. 10

12 Solving the system I g x and h x can be found as the solution to the system: [F x ( x; 0)] i j = [H y ] i α[g x ] α β[h x ] β j + [H y ] i α[g x ] α j + [H x ] i β[h x ] β j + [H x ] i j = 0; i = 1,..., n; j, β = 1,..., n x ; α = 1,..., n y Note that the derivatives of H evaluated at (y, y, x, x ) = (ȳ, ȳ, x, x) are known. Then, we have a system of n n x quadratic equations in the n n x unknowns given by the elements of g x and h x. We can solve with a standard quadratic matrix equation solver. 11

13 Solving the system II g λ and h λ are the solution to the n equations: Then: [F λ ( x; 0)] i = E t {[H y ] i α[g x ] α β[h λ ] β + [H y ] i α[g x ] α β[η] β φ [ɛ ] φ + [H y ] i α[g λ ] α +[H y ] i α[g λ ] α + [H x ] i β[h λ ] β + [H x ] i β[η] β φ [ɛ ] φ } i = 1,..., n; α = 1,..., n y ; β = 1,..., n x ; φ = 1,..., n ɛ. [F λ ( x; 0)] i = [H y ] i α[g x ] α β[h λ ] β + [H y ] i α[g λ ] α + [H y ] i α[g λ ] α + [f x ] i β[h λ ] β = 0; i = 1,..., n; α = 1,..., n y ; β = 1,..., n x ; φ = 1,..., n ɛ. Certainty equivalence: linear and homogeneous equation in g λ and h λ. Thus, if a unique solution exists, it satisfies: h λ = 0 g λ = 0 12

14 Second-order approximation I The second-order approximations to g around (x; λ) = ( x; 0) is [g(x; λ)] i = [g( x; 0)] i + [g x ( x; 0)] i a[(x x)] a + [g λ ( x; 0)] i [λ] [g xx( x; 0)] i ab[(x x)] a [(x x)] b [g xλ( x; 0)] i a[(x x)] a [λ] [g λx( x; 0)] i a[(x x)] a [λ] [g λλ( x; 0)] i [λ][λ] where i = 1,..., n y, a, b = 1,..., n x, and j = 1,..., n x. 13

15 Second-order approximation II The second-order approximations to h around (x; λ) = ( x; 0) is [h(x; λ)] j = [h( x; 0)] j + [h x ( x; 0)] j a[(x x)] a + [h λ ( x; 0)] j [λ] [h xx( x; 0)] j ab [(x x)] a[(x x)] b [h xλ( x; 0)] j a[(x x)] a [λ] [h λx( x; 0)] j a[(x x)] a [λ] [h λλ( x; 0)] j [λ][λ], where i = 1,..., n y, a, b = 1,..., n x, and j = 1,..., n x. 14

16 Second-order approximation III The unknowns of these expansions are [g xx ] i ab, [g xλ] i a, [g λx ] i a, [g λλ ] i, [h xx ] j ab, [h xλ ] j a, [h λx ] j a, [h λλ ] j. These coefficients can be identified by taking the derivative of F (x; λ) with respect to x and λ twice and evaluating them at (x; λ) = ( x; 0). By the arguments provided earlier, these derivatives must be zero. 15

17 Solving the system I We use F xx ( x; 0) to identify g xx ( x; 0) and h xx ( x; 0): [F xx ( x; 0)] i jk = ( [Hy y ]i αγ[g x ] γ δ [h x] δ k + [H y y ] i αγ[g x ] γ k + [H y x ]i αδ[h x ] δ k + [H y x] i ) αk [gx ] α β[h x ] β j +[H y ] i α[g xx ] α βδ[h x ] δ k[h x ] β j + [H y ] i α[g x ] α β[h xx ] β jk + ( [H yy ] i αγ[g x ] γ δ [h x] δ k + [H yy ] i αγ[g x ] γ k + [H yx ]i αδ[h x ] δ k + [H yx ] i αk) [gx ] α j +[H y ] i α[g xx ] α jk + ( [H x y ]i βγ[g x ] γ δ [h x] δ k + [H x y ] i βγ[g x ] γ k + [H x x ]i βδ[h x ] δ k + [H x x] i βk) [hx ] β j +[H x ] i β[h xx ] β jk +[H xy ] i jγ[g x ] γ δ [h x] δ k + [H xy ] i jγ[g x ] γ k + [H xx ]i jδ[h x ] δ k + [H xx ] i jk = 0; i = 1,... n, j, k, β, δ = 1,... n x ; α, γ = 1,... n y. 16

18 Solving the system II We know the derivatives of H. We also know the first derivatives of g and h evaluated at (y, y, x, x ) = (ȳ, ȳ, x, x). Hence, the above expression represents a system of n n x n x linear equations in then n n x n x unknowns elements of g xx and h xx. 17

19 Solving the system III Similarly, g λλ and h λλ can be obtained by solving: [F λλ ( x; 0)] i = [H y ] i α[g x ] α β[h λλ ] β +[H y y ]i αγ[g x ] γ δ [η]δ ξ[g x ] α β[η] β φ [I ]φ ξ +[H y x ]i αδ[η] δ ξ[g x ] α β[η] β φ [I ]φ ξ +[H y ] i α[g xx ] α βδ[η] δ ξ[η] β φ [I ]φ ξ + [H y ]i α[g λλ ] α +[H y ] i α[g λλ ] α + [H x ] i β[h λλ ] β +[H x y ]i βγ[g x ] γ δ [η]δ ξ[η] β φ [I ]φ ξ +[H x x ]i βδ[η] δ ξ[η] β φ [I ]φ ξ = 0; i = 1,..., n; α, γ = 1,..., n y ; β, δ = 1,..., n x ; φ, ξ = 1,..., n ɛ a system of n linear equations in the n unknowns given by the elements of g λλ and h λλ. 18

20 Cross-derivatives The cross derivatives g xλ and h xλ are zero when evaluated at ( x, 0). Why? Write the system F λx ( x; 0) = 0 taking into account that all terms containing either g λ or h λ are zero at ( x, 0). Then: [F λx ( x; 0)] i j = [H y ] i α[g x ] α β[h λx ] β j + [H y ] i α[g λx ] α γ [h x ] γ j + [H y ] i α[g λx ] α j + [H x ] i β[h λx ] β j = 0; i = 1,... n; α = 1,..., n y ; β, γ, j = 1,..., n x. This is a system of n n x equations in the n n x unknowns given by the elements of g λx and h λx. The system is homogeneous in the unknowns. Thus, if a unique solution exists, it is given by: g λx = 0 h λx = 0 19

21 Structure of the solution The perturbation solution of the model satisfies: g λ ( x; 0) = 0 h λ ( x; 0) = 0 g xλ ( x; 0) = 0 h xλ ( x; 0) = 0 Standard deviation only appears in: 1. A constant term given by 1 g 2 λλλ 2 for the control vector y t. 2. The first n x n ɛ elements of 1 h 2 λλλ 2. Correction for risk. Quadratic terms in endogenous state vector x 1. Those terms capture non-linear behavior. 20

22 Higher-order approximations We can iterate this procedure as many times as we want. We can obtain n-th order approximations. Problems: 1. Existence of higher order derivatives (Santos, 1992). 2. Numerical instabilities. 3. Computational costs. 21

A Model with Collateral Constraints

A Model with Collateral Constraints A Model with Collateral Constraints Jesús Fernández-Villaverde University of Pennsylvania December 2, 2012 Jesús Fernández-Villaverde (PENN) Collateral Constraints December 2, 2012 1 / 47 Motivation Kiyotaki

More information

Perturbation Methods

Perturbation Methods Perturbation Methods Jesús Fernández-Villaverde University of Pennsylvania May 28, 2015 Jesús Fernández-Villaverde (PENN) Perturbation Methods May 28, 2015 1 / 91 Introduction Introduction Remember that

More information

Perturbation Methods I: Basic Results

Perturbation Methods I: Basic Results Perturbation Methods I: Basic Results (Lectures on Solution Methods for Economists V) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 19, 2018 1 University of Pennsylvania 2 Boston College Introduction

More information

Linearization. (Lectures on Solution Methods for Economists V: Appendix) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 21, 2018

Linearization. (Lectures on Solution Methods for Economists V: Appendix) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 21, 2018 Linearization (Lectures on Solution Methods for Economists V: Appendix) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 21, 2018 1 University of Pennsylvania 2 Boston College Basic RBC Benchmark

More information

MATH443 PARTIAL DIFFERENTIAL EQUATIONS Second Midterm Exam-Solutions. December 6, 2017, Wednesday 10:40-12:30, SA-Z02

MATH443 PARTIAL DIFFERENTIAL EQUATIONS Second Midterm Exam-Solutions. December 6, 2017, Wednesday 10:40-12:30, SA-Z02 1 MATH443 PARTIAL DIFFERENTIAL EQUATIONS Second Midterm Exam-Solutions December 6 2017 Wednesday 10:40-12:30 SA-Z02 QUESTIONS: Solve any four of the following five problems [25]1. Solve the initial and

More information

Ambiguous Business Cycles: Online Appendix

Ambiguous Business Cycles: Online Appendix Ambiguous Business Cycles: Online Appendix By Cosmin Ilut and Martin Schneider This paper studies a New Keynesian business cycle model with agents who are averse to ambiguity (Knightian uncertainty). Shocks

More information

Second-order approximation of dynamic models without the use of tensors

Second-order approximation of dynamic models without the use of tensors Second-order approximation of dynamic models without the use of tensors Paul Klein a, a University of Western Ontario First draft: May 17, 2005 This version: January 24, 2006 Abstract Several approaches

More information

An Introduction to Perturbation Methods in Macroeconomics. Jesús Fernández-Villaverde University of Pennsylvania

An Introduction to Perturbation Methods in Macroeconomics. Jesús Fernández-Villaverde University of Pennsylvania An Introduction to Perturbation Methods in Macroeconomics Jesús Fernández-Villaverde University of Pennsylvania 1 Introduction Numerous problems in macroeconomics involve functional equations of the form:

More information

Solving Systems of Polynomial Equations

Solving Systems of Polynomial Equations Solving Systems of Polynomial Equations David Eberly, Geometric Tools, Redmond WA 98052 https://www.geometrictools.com/ This work is licensed under the Creative Commons Attribution 4.0 International License.

More information

Solving Nonlinear Rational Expectations Models by Approximating the Stochastic Equilibrium System

Solving Nonlinear Rational Expectations Models by Approximating the Stochastic Equilibrium System Solving Nonlinear Rational Expectations Models by Approximating the Stochastic Equilibrium System Michael P. Evers September 20, 2012 Revised version coming soon! Abstract Dynamic stochastic rational expectations

More information

First order approximation of stochastic models

First order approximation of stochastic models First order approximation of stochastic models Shanghai Dynare Workshop Sébastien Villemot CEPREMAP October 27, 2013 Sébastien Villemot (CEPREMAP) First order approximation of stochastic models October

More information

Computational Complexity

Computational Complexity Computational Complexity (Lectures on Solution Methods for Economists II: Appendix) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 18, 2018 1 University of Pennsylvania 2 Boston College Computational

More information

Solutions Methods in DSGE (Open) models

Solutions Methods in DSGE (Open) models Solutions Methods in DSGE (Open) models 1. With few exceptions, there are not exact analytical solutions for DSGE models, either open or closed economy. This is due to a combination of nonlinearity and

More information

Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations

Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations Bayesian Estimation of DSGE Models: Lessons from Second-order Approximations Sungbae An Singapore Management University Bank Indonesia/BIS Workshop: STRUCTURAL DYNAMIC MACROECONOMIC MODELS IN ASIA-PACIFIC

More information

1 Solving Linear Rational Expectations Models

1 Solving Linear Rational Expectations Models September 29, 2001 SCHUR.TEX Economics 731 International Monetary University of Pennsylvania Theory and Policy Martín Uribe Fall 2001 1 Solving Linear Rational Expectations Models Consider a vector x t

More information

Applications for solving DSGE models. October 25th, 2011

Applications for solving DSGE models. October 25th, 2011 MATLAB Workshop Applications for solving DSGE models Freddy Rojas Cama Marola Castillo Quinto Preliminary October 25th, 2011 A model to solve The model The model A model is set up in order to draw conclusions

More information

Solution Methods. Jesús Fernández-Villaverde. University of Pennsylvania. March 16, 2016

Solution Methods. Jesús Fernández-Villaverde. University of Pennsylvania. March 16, 2016 Solution Methods Jesús Fernández-Villaverde University of Pennsylvania March 16, 2016 Jesús Fernández-Villaverde (PENN) Solution Methods March 16, 2016 1 / 36 Functional equations A large class of problems

More information

Perturbation and Projection Methods for Solving DSGE Models

Perturbation and Projection Methods for Solving DSGE Models Perturbation and Projection Methods for Solving DSGE Models Lawrence J. Christiano Discussion of projections taken from Christiano Fisher, Algorithms for Solving Dynamic Models with Occasionally Binding

More information

Solutions to Homework 7

Solutions to Homework 7 Solutions to Homework 7 Exercise #3 in section 5.2: A rectangular box is inscribed in a hemisphere of radius r. Find the dimensions of the box of maximum volume. Solution: The base of the rectangular box

More information

1. (i) Determine how many periodic orbits and equilibria can be born at the bifurcations of the zero equilibrium of the following system:

1. (i) Determine how many periodic orbits and equilibria can be born at the bifurcations of the zero equilibrium of the following system: 1. (i) Determine how many periodic orbits and equilibria can be born at the bifurcations of the zero equilibrium of the following system: ẋ = y x 2, ẏ = z + xy, ż = y z + x 2 xy + y 2 + z 2 x 4. (ii) Determine

More information

Integration of Ordinary Differential Equations

Integration of Ordinary Differential Equations Integration of Ordinary Differential Equations Com S 477/577 Nov 7, 00 1 Introduction The solution of differential equations is an important problem that arises in a host of areas. Many differential equations

More information

Unconstrained Optimization

Unconstrained Optimization 1 / 36 Unconstrained Optimization ME598/494 Lecture Max Yi Ren Department of Mechanical Engineering, Arizona State University February 2, 2015 2 / 36 3 / 36 4 / 36 5 / 36 1. preliminaries 1.1 local approximation

More information

JUST THE MATHS SLIDES NUMBER 9.6. MATRICES 6 (Eigenvalues and eigenvectors) A.J.Hobson

JUST THE MATHS SLIDES NUMBER 9.6. MATRICES 6 (Eigenvalues and eigenvectors) A.J.Hobson JUST THE MATHS SLIDES NUMBER 96 MATRICES 6 (Eigenvalues and eigenvectors) by AJHobson 96 The statement of the problem 962 The solution of the problem UNIT 96 - MATRICES 6 EIGENVALUES AND EIGENVECTORS 96

More information

Eco504, Part II Spring 2010 C. Sims PITFALLS OF LINEAR APPROXIMATION OF STOCHASTIC MODELS

Eco504, Part II Spring 2010 C. Sims PITFALLS OF LINEAR APPROXIMATION OF STOCHASTIC MODELS Eco504, Part II Spring 2010 C. Sims PITFALLS OF LINEAR APPROXIMATION OF STOCHASTIC MODELS 1. A LIST OF PITFALLS Linearized models are of course valid only locally. In stochastic economic models, this usually

More information

Approximation around the risky steady state

Approximation around the risky steady state Approximation around the risky steady state Centre for International Macroeconomic Studies Conference University of Surrey Michel Juillard, Bank of France September 14, 2012 The views expressed herein

More information

Lecture Notes 6: Dynamic Equations Part A: First-Order Difference Equations in One Variable

Lecture Notes 6: Dynamic Equations Part A: First-Order Difference Equations in One Variable University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 1 of 54 Lecture Notes 6: Dynamic Equations Part A: First-Order Difference Equations in One Variable Peter J. Hammond latest revision 2017

More information

Mathematical Economics. Lecture Notes (in extracts)

Mathematical Economics. Lecture Notes (in extracts) Prof. Dr. Frank Werner Faculty of Mathematics Institute of Mathematical Optimization (IMO) http://math.uni-magdeburg.de/ werner/math-ec-new.html Mathematical Economics Lecture Notes (in extracts) Winter

More information

QUADRATIC MAJORIZATION 1. INTRODUCTION

QUADRATIC MAJORIZATION 1. INTRODUCTION QUADRATIC MAJORIZATION JAN DE LEEUW 1. INTRODUCTION Majorization methods are used extensively to solve complicated multivariate optimizaton problems. We refer to de Leeuw [1994]; Heiser [1995]; Lange et

More information

Computing first and second order approximations of DSGE models with DYNARE

Computing first and second order approximations of DSGE models with DYNARE Computing first and second order approximations of DSGE models with DYNARE Michel Juillard CEPREMAP Computing first and second order approximations of DSGE models with DYNARE p. 1/33 DSGE models E t {f(y

More information

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01 ENGI 940 Lecture Notes 8 - PDEs Page 8.01 8. Partial Differential Equations Partial differential equations (PDEs) are equations involving functions of more than one variable and their partial derivatives

More information

slides chapter 3 an open economy with capital

slides chapter 3 an open economy with capital slides chapter 3 an open economy with capital Princeton University Press, 2017 Motivation In this chaper we introduce production and physical capital accumulation. Doing so will allow us to address two

More information

WORKING PAPER SERIES A THEORY OF PRUNING NO 1696 / JULY Giovanni Lombardo and Harald Uhlig

WORKING PAPER SERIES A THEORY OF PRUNING NO 1696 / JULY Giovanni Lombardo and Harald Uhlig WORKING PAPER SERIES NO 1696 / JULY 2014 A THEORY OF PRUNING Giovanni Lombardo and Harald Uhlig In 2014 all ECB publications feature a motif taken from the 20 banknote. NOTE: This Working Paper should

More information

DYNARE SUMMER SCHOOL

DYNARE SUMMER SCHOOL DYNARE SUMMER SCHOOL Introduction to Dynare and local approximation. Michel Juillard June 12, 2017 Summer School website http://www.dynare.org/summerschool/2017 DYNARE 1. computes the solution of deterministic

More information

ALGEBRAIC GEOMETRY HOMEWORK 3

ALGEBRAIC GEOMETRY HOMEWORK 3 ALGEBRAIC GEOMETRY HOMEWORK 3 (1) Consider the curve Y 2 = X 2 (X + 1). (a) Sketch the curve. (b) Determine the singular point P on C. (c) For all lines through P, determine the intersection multiplicity

More information

Math 1553, Introduction to Linear Algebra

Math 1553, Introduction to Linear Algebra Learning goals articulate what students are expected to be able to do in a course that can be measured. This course has course-level learning goals that pertain to the entire course, and section-level

More information

Perturbation techniques

Perturbation techniques 3 Perturbation techniques This is page i Printer: Opaque this Wouter J. den Haan University of Amsterdam wdenhaan@uva.nl 3.1 Introduction In this set of notes we show how perturbation techniques can be

More information

Solving Linear Rational Expectations Models

Solving Linear Rational Expectations Models Solving Linear Rational Expectations Models simplified from Christopher A. Sims, by Michael Reiter January 2010 1 General form of the models The models we are interested in can be cast in the form Γ 0

More information

19. Principal Stresses

19. Principal Stresses 19. Principal Stresses I Main Topics A Cauchy s formula B Principal stresses (eigenvectors and eigenvalues) C Example 10/24/18 GG303 1 19. Principal Stresses hkp://hvo.wr.usgs.gov/kilauea/update/images.html

More information

Risk Matters: Breaking Certainty Equivalence

Risk Matters: Breaking Certainty Equivalence Risk Matters: Breaking Certainty Equivalence Juan Carlos Parra-Alvarez (a,c), Hamza Polattimur (b), and Olaf Posch (b,c) (a) Aarhus University, (b) Universität Hamburg, (c) CREATES February 2017 Abstract

More information

Math 273, Final Exam Solutions

Math 273, Final Exam Solutions Math 273, Final Exam Solutions 1. Find the solution of the differential equation y = y +e x that satisfies the condition y(x) 0 as x +. SOLUTION: y = y H + y P where y H = ce x is a solution of the homogeneous

More information

Name: Math Homework Set # 5. March 12, 2010

Name: Math Homework Set # 5. March 12, 2010 Name: Math 4567. Homework Set # 5 March 12, 2010 Chapter 3 (page 79, problems 1,2), (page 82, problems 1,2), (page 86, problems 2,3), Chapter 4 (page 93, problems 2,3), (page 98, problems 1,2), (page 102,

More information

Chapter 4: First-order differential equations. Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey

Chapter 4: First-order differential equations. Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey Chapter 4: First-order differential equations Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey Chapter 4: First-order differential equations Phase portrait Singular point Separatrix

More information

Properties of Matrices and Operations on Matrices

Properties of Matrices and Operations on Matrices Properties of Matrices and Operations on Matrices A common data structure for statistical analysis is a rectangular array or matris. Rows represent individual observational units, or just observations,

More information

Solving models with (lots of) idiosyncratic risk

Solving models with (lots of) idiosyncratic risk Solving models with (lots of) idiosyncratic risk Wouter J. Den Haan November 8, 2009 Models with heterogeneous agents 1 Lots of idiosyncratic risk 2 If #2 leads to strong non-linearities in the policy

More information

Part 5: Penalty and augmented Lagrangian methods for equality constrained optimization. Nick Gould (RAL)

Part 5: Penalty and augmented Lagrangian methods for equality constrained optimization. Nick Gould (RAL) Part 5: Penalty and augmented Lagrangian methods for equality constrained optimization Nick Gould (RAL) x IR n f(x) subject to c(x) = Part C course on continuoue optimization CONSTRAINED MINIMIZATION x

More information

Lagrange Multipliers

Lagrange Multipliers Optimization with Constraints As long as algebra and geometry have been separated, their progress have been slow and their uses limited; but when these two sciences have been united, they have lent each

More information

Optimal Policy with Partial Information in a Forward-Looking Model: Certainty-Equivalence Redux

Optimal Policy with Partial Information in a Forward-Looking Model: Certainty-Equivalence Redux SWCE206.tex Optimal Policy with Partial Information in a Forward-Looking Model: Certainty-Equivalence Redux Lars E.O. Svensson and Michael Woodford First draft: January 1999 This version: June 2002 Abstract

More information

1 Joint and marginal distributions

1 Joint and marginal distributions DECEMBER 7, 204 LECTURE 2 JOINT (BIVARIATE) DISTRIBUTIONS, MARGINAL DISTRIBUTIONS, INDEPENDENCE So far we have considered one random variable at a time. However, in economics we are typically interested

More information

Final Exam Advanced Mathematics for Economics and Finance

Final Exam Advanced Mathematics for Economics and Finance Final Exam Advanced Mathematics for Economics and Finance Dr. Stefanie Flotho Winter Term /5 March 5 General Remarks: ˆ There are four questions in total. ˆ All problems are equally weighed. ˆ This is

More information

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Dongpeng Liu Nanjing University Sept 2016 D. Liu (NJU) Solving D(S)GE 09/16 1 / 63 Introduction Targets of the

More information

1 Proof of Claim Proof of Claim Proof of claim Solving The Primary Equation 5. 5 Psuedo-code for ASOS 7

1 Proof of Claim Proof of Claim Proof of claim Solving The Primary Equation 5. 5 Psuedo-code for ASOS 7 Contents 1 Proof of Claim 2 1 2 Proof of Claim 3 3 3 Proof of claim 4 4 4 Solving he Primary Equation 5 5 Psuedo-code for ASOS 7 1 Proof of Claim 2 Claim. Given a fixed setting of the parameters θ there

More information

Stat 206: Linear algebra

Stat 206: Linear algebra Stat 206: Linear algebra James Johndrow (adapted from Iain Johnstone s notes) 2016-11-02 Vectors We have already been working with vectors, but let s review a few more concepts. The inner product of two

More information

A framework for monetary-policy analysis Overview Basic concepts: Goals, targets, intermediate targets, indicators, operating targets, instruments

A framework for monetary-policy analysis Overview Basic concepts: Goals, targets, intermediate targets, indicators, operating targets, instruments Eco 504, part 1, Spring 2006 504_L6_S06.tex Lars Svensson 3/6/06 A framework for monetary-policy analysis Overview Basic concepts: Goals, targets, intermediate targets, indicators, operating targets, instruments

More information

Massachusetts Institute of Technology Department of Economics Statistics. Lecture Notes on Matrix Algebra

Massachusetts Institute of Technology Department of Economics Statistics. Lecture Notes on Matrix Algebra Massachusetts Institute of Technology Department of Economics 14.381 Statistics Guido Kuersteiner Lecture Notes on Matrix Algebra These lecture notes summarize some basic results on matrix algebra used

More information

OR MSc Maths Revision Course

OR MSc Maths Revision Course OR MSc Maths Revision Course Tom Byrne School of Mathematics University of Edinburgh t.m.byrne@sms.ed.ac.uk 15 September 2017 General Information Today JCMB Lecture Theatre A, 09:30-12:30 Mathematics revision

More information

Algorithmic Lie Symmetry Analysis and Group Classication for Ordinary Dierential Equations

Algorithmic Lie Symmetry Analysis and Group Classication for Ordinary Dierential Equations dmitry.lyakhov@kaust.edu.sa Symbolic Computations May 4, 2018 1 / 25 Algorithmic Lie Symmetry Analysis and Group Classication for Ordinary Dierential Equations Dmitry A. Lyakhov 1 1 Computational Sciences

More information

First and Second Order ODEs

First and Second Order ODEs Civil Engineering 2 Mathematics Autumn 211 M. Ottobre First and Second Order ODEs Warning: all the handouts that I will provide during the course are in no way exhaustive, they are just short recaps. Notation

More information

Review For the Final: Problem 1 Find the general solutions of the following DEs. a) x 2 y xy y 2 = 0 solution: = 0 : homogeneous equation.

Review For the Final: Problem 1 Find the general solutions of the following DEs. a) x 2 y xy y 2 = 0 solution: = 0 : homogeneous equation. Review For the Final: Problem 1 Find the general solutions of the following DEs. a) x 2 y xy y 2 = 0 solution: y y x y2 = 0 : homogeneous equation. x2 v = y dy, y = vx, and x v + x dv dx = v + v2. dx =

More information

Dynamical Systems. August 13, 2013

Dynamical Systems. August 13, 2013 Dynamical Systems Joshua Wilde, revised by Isabel Tecu, Takeshi Suzuki and María José Boccardi August 13, 2013 Dynamical Systems are systems, described by one or more equations, that evolve over time.

More information

Implicit Functions, Curves and Surfaces

Implicit Functions, Curves and Surfaces Chapter 11 Implicit Functions, Curves and Surfaces 11.1 Implicit Function Theorem Motivation. In many problems, objects or quantities of interest can only be described indirectly or implicitly. It is then

More information

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

TMA Calculus 3. Lecture 21, April 3. Toke Meier Carlsen Norwegian University of Science and Technology Spring 2013 TMA4115 - Calculus 3 Lecture 21, April 3 Toke Meier Carlsen Norwegian University of Science and Technology Spring 2013 www.ntnu.no TMA4115 - Calculus 3, Lecture 21 Review of last week s lecture Last week

More information

EE376A: Homeworks #4 Solutions Due on Thursday, February 22, 2018 Please submit on Gradescope. Start every question on a new page.

EE376A: Homeworks #4 Solutions Due on Thursday, February 22, 2018 Please submit on Gradescope. Start every question on a new page. EE376A: Homeworks #4 Solutions Due on Thursday, February 22, 28 Please submit on Gradescope. Start every question on a new page.. Maximum Differential Entropy (a) Show that among all distributions supported

More information

LECTURE 9: SERIES SOLUTIONS NEAR AN ORDINARY POINT I

LECTURE 9: SERIES SOLUTIONS NEAR AN ORDINARY POINT I LECTURE 9: SERIES SOLUTIONS NEAR AN ORDINARY POINT I In this lecture and the next two, we will learn series methods through an attempt to answer the following two questions: What is a series method and

More information

Lecture 6: Dynamic panel models 1

Lecture 6: Dynamic panel models 1 Lecture 6: Dynamic panel models 1 Ragnar Nymoen Department of Economics, UiO 16 February 2010 Main issues and references Pre-determinedness and endogeneity of lagged regressors in FE model, and RE model

More information

Chapter 3 Numerical Methods

Chapter 3 Numerical Methods Chapter 3 Numerical Methods Part 2 3.2 Systems of Equations 3.3 Nonlinear and Constrained Optimization 1 Outline 3.2 Systems of Equations 3.3 Nonlinear and Constrained Optimization Summary 2 Outline 3.2

More information

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01 ENGI 940 ecture Notes 8 - PDEs Page 8.0 8. Partial Differential Equations Partial differential equations (PDEs) are equations involving functions of more than one variable and their partial derivatives

More information

Math 203A - Solution Set 4

Math 203A - Solution Set 4 Math 203A - Solution Set 4 Problem 1. Let X and Y be prevarieties with affine open covers {U i } and {V j }, respectively. (i) Construct the product prevariety X Y by glueing the affine varieties U i V

More information

Regime-Switching Perturbation for Non-Linear Equilibrium Models

Regime-Switching Perturbation for Non-Linear Equilibrium Models Regime-Switching Perturbation for Non-Linear Equilibrium Models Nelson Lind UC San Diego October 10, 2014 Abstract Salient macroeconomic problems often lead to highly non-linear models for instance models

More information

Unit #24 - Lagrange Multipliers Section 15.3

Unit #24 - Lagrange Multipliers Section 15.3 Unit #24 - Lagrange Multipliers Section 1.3 Some material from Calculus, Single and MultiVariable by Hughes-Hallett, Gleason, McCallum et. al. Copyright 200 by John Wiley & Sons, Inc. This material is

More information

Vector Derivatives and the Gradient

Vector Derivatives and the Gradient ECE 275AB Lecture 10 Fall 2008 V1.1 c K. Kreutz-Delgado, UC San Diego p. 1/1 Lecture 10 ECE 275A Vector Derivatives and the Gradient ECE 275AB Lecture 10 Fall 2008 V1.1 c K. Kreutz-Delgado, UC San Diego

More information

Solution of Matrix Eigenvalue Problem

Solution of Matrix Eigenvalue Problem Outlines October 12, 2004 Outlines Part I: Review of Previous Lecture Part II: Review of Previous Lecture Outlines Part I: Review of Previous Lecture Part II: Standard Matrix Eigenvalue Problem Other Forms

More information

CENTER MANIFOLD AND NORMAL FORM THEORIES

CENTER MANIFOLD AND NORMAL FORM THEORIES 3 rd Sperlonga Summer School on Mechanics and Engineering Sciences 3-7 September 013 SPERLONGA CENTER MANIFOLD AND NORMAL FORM THEORIES ANGELO LUONGO 1 THE CENTER MANIFOLD METHOD Existence of an invariant

More information

Higher-Order Dynamics in Asset-Pricing Models with Recursive Preferences

Higher-Order Dynamics in Asset-Pricing Models with Recursive Preferences Higher-Order Dynamics in Asset-Pricing Models with Recursive Preferences Walt Pohl Karl Schmedders Ole Wilms Dept. of Business Administration, University of Zurich Becker Friedman Institute Computational

More information

Solution to sunset diagram problem

Solution to sunset diagram problem Solution to sunset diagram problem The sunset diagram provides the leading contribution to the p 2 )/ and hence Z, where I am simplifying notation by using Z Z φ.. First, use Feynman parameters to write

More information

Prof. Krstic Nonlinear Systems MAE281A Homework set 1 Linearization & phase portrait

Prof. Krstic Nonlinear Systems MAE281A Homework set 1 Linearization & phase portrait Prof. Krstic Nonlinear Systems MAE28A Homework set Linearization & phase portrait. For each of the following systems, find all equilibrium points and determine the type of each isolated equilibrium. Use

More information

ELEMENTARY LINEAR ALGEBRA

ELEMENTARY LINEAR ALGEBRA ELEMENTARY LINEAR ALGEBRA K R MATTHEWS DEPARTMENT OF MATHEMATICS UNIVERSITY OF QUEENSLAND Second Online Version, December 998 Comments to the author at krm@mathsuqeduau All contents copyright c 99 Keith

More information

GG303 Lecture 6 8/27/09 1 SCALARS, VECTORS, AND TENSORS

GG303 Lecture 6 8/27/09 1 SCALARS, VECTORS, AND TENSORS GG303 Lecture 6 8/27/09 1 SCALARS, VECTORS, AND TENSORS I Main Topics A Why deal with tensors? B Order of scalars, vectors, and tensors C Linear transformation of scalars and vectors (and tensors) II Why

More information

Test 2 Review Math 1111 College Algebra

Test 2 Review Math 1111 College Algebra Test 2 Review Math 1111 College Algebra 1. Begin by graphing the standard quadratic function f(x) = x 2. Then use transformations of this graph to graph the given function. g(x) = x 2 + 2 *a. b. c. d.

More information

Notes on floating point number, numerical computations and pitfalls

Notes on floating point number, numerical computations and pitfalls Notes on floating point number, numerical computations and pitfalls November 6, 212 1 Floating point numbers An n-digit floating point number in base β has the form x = ±(.d 1 d 2 d n ) β β e where.d 1

More information

Numerical Analysis of Differential Equations Numerical Solution of Elliptic Boundary Value

Numerical Analysis of Differential Equations Numerical Solution of Elliptic Boundary Value Numerical Analysis of Differential Equations 188 5 Numerical Solution of Elliptic Boundary Value Problems 5 Numerical Solution of Elliptic Boundary Value Problems TU Bergakademie Freiberg, SS 2012 Numerical

More information

MFM Practitioner Module: Quantitiative Risk Management. John Dodson. October 14, 2015

MFM Practitioner Module: Quantitiative Risk Management. John Dodson. October 14, 2015 MFM Practitioner Module: Quantitiative Risk Management October 14, 2015 The n-block maxima 1 is a random variable defined as M n max (X 1,..., X n ) for i.i.d. random variables X i with distribution function

More information

OPER 627: Nonlinear Optimization Lecture 2: Math Background and Optimality Conditions

OPER 627: Nonlinear Optimization Lecture 2: Math Background and Optimality Conditions OPER 627: Nonlinear Optimization Lecture 2: Math Background and Optimality Conditions Department of Statistical Sciences and Operations Research Virginia Commonwealth University Aug 28, 2013 (Lecture 2)

More information

Eigenvalues and Eigenvectors 7.1 Eigenvalues and Eigenvecto

Eigenvalues and Eigenvectors 7.1 Eigenvalues and Eigenvecto 7.1 November 6 7.1 Eigenvalues and Eigenvecto Goals Suppose A is square matrix of order n. Eigenvalues of A will be defined. Eigenvectors of A, corresponding to each eigenvalue, will be defined. Eigenspaces

More information

Optimization: Problem Set Solutions

Optimization: Problem Set Solutions Optimization: Problem Set Solutions Annalisa Molino University of Rome Tor Vergata annalisa.molino@uniroma2.it Fall 20 Compute the maxima minima or saddle points of the following functions a. f(x y) =

More information

2 Lie Groups. Contents

2 Lie Groups. Contents 2 Lie Groups Contents 2.1 Algebraic Properties 25 2.2 Topological Properties 27 2.3 Unification of Algebra and Topology 29 2.4 Unexpected Simplification 31 2.5 Conclusion 31 2.6 Problems 32 Lie groups

More information

Introduction to Machine Learning (67577) Lecture 3

Introduction to Machine Learning (67577) Lecture 3 Introduction to Machine Learning (67577) Lecture 3 Shai Shalev-Shwartz School of CS and Engineering, The Hebrew University of Jerusalem General Learning Model and Bias-Complexity tradeoff Shai Shalev-Shwartz

More information

Fixed point iteration and root finding

Fixed point iteration and root finding Fixed point iteration and root finding The sign function is defined as x > 0 sign(x) = 0 x = 0 x < 0. It can be evaluated via an iteration which is useful for some problems. One such iteration is given

More information

CALCULUS MATH*2080 SAMPLE FINAL EXAM

CALCULUS MATH*2080 SAMPLE FINAL EXAM CALCULUS MATH*28 SAMPLE FINAL EXAM Sample Final Exam Page of 2 Prof. R.Gentry Print Your Name Student No. SIGNATURE Mark This exam is worth 45% of your final grade. In Part I In Part II In part III In

More information

An introduction to Birkhoff normal form

An introduction to Birkhoff normal form An introduction to Birkhoff normal form Dario Bambusi Dipartimento di Matematica, Universitá di Milano via Saldini 50, 0133 Milano (Italy) 19.11.14 1 Introduction The aim of this note is to present an

More information

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur-71309 email: anita.buie@gmail.com 1 . Chapter 8 Numerical Solution of

More information

Lecture Notes 6: Dynamic Equations Part B: Second and Higher-Order Linear Difference Equations in One Variable

Lecture Notes 6: Dynamic Equations Part B: Second and Higher-Order Linear Difference Equations in One Variable University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 1 of 56 Lecture Notes 6: Dynamic Equations Part B: Second and Higher-Order Linear Difference Equations in One Variable Peter J. Hammond

More information

ECE 275A Homework 6 Solutions

ECE 275A Homework 6 Solutions ECE 275A Homework 6 Solutions. The notation used in the solutions for the concentration (hyper) ellipsoid problems is defined in the lecture supplement on concentration ellipsoids. Note that θ T Σ θ =

More information

Symmetry Methods for Differential and Difference Equations. Peter Hydon

Symmetry Methods for Differential and Difference Equations. Peter Hydon Lecture 2: How to find Lie symmetries Symmetry Methods for Differential and Difference Equations Peter Hydon University of Kent Outline 1 Reduction of order for ODEs and O Es 2 The infinitesimal generator

More information

CHAPTER 5. Basic Iterative Methods

CHAPTER 5. Basic Iterative Methods Basic Iterative Methods CHAPTER 5 Solve Ax = f where A is large and sparse (and nonsingular. Let A be split as A = M N in which M is nonsingular, and solving systems of the form Mz = r is much easier than

More information

Mathematical Economics: Lecture 2

Mathematical Economics: Lecture 2 Mathematical Economics: Lecture 2 Yu Ren WISE, Xiamen University September 25, 2012 Outline 1 Number Line The number line, origin (Figure 2.1 Page 11) Number Line Interval (a, b) = {x R 1 : a < x < b}

More information

Differentiation and Integration

Differentiation and Integration Differentiation and Integration (Lectures on Numerical Analysis for Economists II) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 12, 2018 1 University of Pennsylvania 2 Boston College Motivation

More information

Half of Final Exam Name: Practice Problems October 28, 2014

Half of Final Exam Name: Practice Problems October 28, 2014 Math 54. Treibergs Half of Final Exam Name: Practice Problems October 28, 24 Half of the final will be over material since the last midterm exam, such as the practice problems given here. The other half

More information

Estimating Macroeconomic Models: A Likelihood Approach

Estimating Macroeconomic Models: A Likelihood Approach Estimating Macroeconomic Models: A Likelihood Approach Jesús Fernández-Villaverde University of Pennsylvania, NBER, and CEPR Juan Rubio-Ramírez Federal Reserve Bank of Atlanta Estimating Dynamic Macroeconomic

More information

Applications of Eigenvalues & Eigenvectors

Applications of Eigenvalues & Eigenvectors Applications of Eigenvalues & Eigenvectors Louie L. Yaw Walla Walla University Engineering Department For Linear Algebra Class November 17, 214 Outline 1 The eigenvalue/eigenvector problem 2 Principal

More information

Projection Methods. (Lectures on Solution Methods for Economists IV) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 7, 2018

Projection Methods. (Lectures on Solution Methods for Economists IV) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 7, 2018 Projection Methods (Lectures on Solution Methods for Economists IV) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 7, 2018 1 University of Pennsylvania 2 Boston College Introduction Remember that

More information