Quantitative Techniques (Finance) 203. Derivatives for Functions with Multiple Variables

Similar documents
Advanced Macroeconomics 8. Growth Accounting

25 Increasing and Decreasing Functions

Long run economic growth, part 2. The Solow growth model

ANSWERS. Part 1 2. i) 1000 ii) iii) iv) 501 v) x x a) i) 4 ii) 3,4 b) p=10,9

I. The Solow model. Dynamic Macroeconomic Analysis. Universidad Autónoma de Madrid. Autumn 2014

MATH 105 CHAPTER 2 page 1

I. The Solow model. Dynamic Macroeconomic Analysis. Universidad Autónoma de Madrid. Autumn 2014

Growth 2. Chapter 6 (continued)

Intro to Economic analysis

ECON Micro Foundations

Solow Growth Accounting

I. The Solow model. Dynamic Macroeconomic Analysis. Universidad Autónoma de Madrid. September 2015

Lecture 2: Intermediate macroeconomics, autumn 2012

Modelling Economic Variables

ECON Chapter 4: Firm Behavior

BEE1024 Mathematics for Economists

Math Camp: Day 2. School of Public Policy George Mason University August 19, :00 to 8:00 pm.

Integrating rational functions (Sect. 8.4)

Chapter 4 Partial Fractions

Percentage Change and Elasticity

p 1 _ x 1 (p 1 _, p 2, I ) x 1 X 1 X 2

Econ Review Set 3 - Answers

Additional Review Exam 1 MATH 2053 Please note not all questions will be taken off of this. Study homework and in class notes as well!

Notation for the Derivative:

Lecture 05 Production

GE in production economies

ECON 4415: International Economics. Autumn Karen Helene Ulltveit-Moe. Lecture 8: TRADE AND OLIGOPOLY

004: Macroeconomic Theory

1 Answers to the Sept 08 macro prelim - Long Questions

Economic Growth: Lectures 1 (second half), 2 and 3 The Solow Growth Model

Math: Deriving supply and demand curves

Economic Growth: Lectures 2 and 3 The Solow Growth Model

Macroeconomics. Review of Growth Theory Solow and the Rest

I. More Fundamental Concepts and Definitions from Mathematics

Lecture notes: 101/105 (revised 9/27/00) Lecture 3: national Income: Production, Distribution and Allocation (chapter 3)

Exercises in Mathematcs for NEGB01, Quantitative Methods in Economics. Part 1: Wisniewski Module A and Logic and Proofs in Mathematics

The Theory of the Firm

Elements of Economic Analysis II Lecture II: Production Function and Profit Maximization

Exam Review. Exam Review

Name: Math 10250, Final Exam - Version A May 8, 2007

Macroeconomics I, UPF Professor Antonio Ciccone SOLUTIONS PROBLEM SET 1

1.4. Arithmetic of Algebraic Fractions. Introduction. Prerequisites. Learning Outcomes

Advanced Microeconomics

TA Handout 2 What is a Derivative and How Can We Make Use of It?

Lecture 5: Growth Theory

TN 2 - Basic Calculus with Financial Applications

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. C) y = - 39x - 80 D) y = x + 8 5

Microeconomic theory focuses on a small number of concepts. The most fundamental concept is the notion of opportunity cost.

Week 1 Quantitative Analysis of Financial Markets Basic Statistics A

Math 234 Spring 2013 Exam 1 Version 1 Solutions

Partial Fractions. A rational function is a fraction in which both the numerator and denominator are polynomials. For example, f ( x) = 4, g( x) =

ECO 209Y MACROECONOMIC THEORY AND POLICY LECTURE 12: THE DERIVATION OF THE AGGREGATE DEMAND CURVE

Consider the production function f(x 1, x 2 ) = x 1/2. 1 x 3/4

Financial Risk Management

Chapter 3: Black-Scholes Equation and Its Numerical Evaluation

Systems of Ordinary Differential Equations. Lectures INF2320 p. 1/48

SYLLABUS AND SAMPLE QUESTIONS FOR MSQE (Program Code: MQEK and MQED) Syllabus for PEA (Mathematics), 2013

Cost Functions. PowerPoint Slides prepared by: Andreea CHIRITESCU Eastern Illinois University

d. Find a competitive equilibrium for this economy. Is the allocation Pareto efficient? Are there any other competitive equilibrium allocations?

The Neoclassical Growth Model

Using derivatives to find the shape of a graph

004: Macroeconomic Theory

( ) 4 ( )! x f) h(x) = 2cos x + 1

Part A: Answer question A1 (required), plus either question A2 or A3.

Risk, Return, and Ross Recovery

The objectives of the producer

ECMB02F -- Problem Set 2 Solutions

Math 101, Basic Algebra Author: Debra Griffin

MATH 4512 Fundamentals of Mathematical Finance

Part A: Answer Question A1 (required) and Question A2 or A3 (choice).

Techniques for Calculating the Efficient Frontier

Worksheet A ALGEBRA PMT

EconS Micro Theory I 1 Recitation #7 - Competitive Markets

7. a. i. Nominal GDP is the total value of goods and services measured at current prices. Therefore, ( ) ( Q burgers ) ( Q hotdogs ) + P burgers

Chapter 4. Determination of Income and Employment 4.1 AGGREGATE DEMAND AND ITS COMPONENTS

PRODUCTION COSTS. Econ 311 Microeconomics 1 Lecture Material Prepared by Dr. Emmanuel Codjoe

Aspects of Financial Mathematics:

The Ramsey Model. Lectures 11 to 14. Topics in Macroeconomics. November 10, 11, 24 & 25, 2008

Lecture 2: Marginal Functions, Average Functions, Elasticity, the Marginal Principle, and

PAPER 27 STOCHASTIC CALCULUS AND APPLICATIONS

WEALTH, CAPITAL ACCUMULATION and LIVING STANDARDS

Class 2: The determinants of National Income. Long Run

Capital-goods imports, investment-specific technological change and U.S. growth

Lecture 2 Dynamic Equilibrium Models: Three and More (Finite) Periods

COURSE LECTURER: DR. O.F. ASHAOLU

Lecture 7. The consumer s problem(s) Randall Romero Aguilar, PhD I Semestre 2018 Last updated: April 28, 2018

Lecture 11. The firm s problem. Randall Romero Aguilar, PhD II Semestre 2017 Last updated: October 16, 2017

7 Economic Growth I. Questions for Review CHAPTER

Homework Assignment #2: Answer Sheet

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 19 11/20/2013. Applications of Ito calculus to finance

Optimal Investment. Government policy typically is targeted heavily on investment; most tax codes favor it.

ECON Answers Homework #3

THE USE OF A CALCULATOR, CELL PHONE, OR ANY OTHER ELECTRONIC DEVICE IS NOT PERMITTED DURING THIS EXAMINATION.

Elements of Economic Analysis II Lecture XI: Oligopoly: Cournot and Bertrand Competition

Firm s Problem. Simon Board. This Version: September 20, 2009 First Version: December, 2009.

Lecture 2: Intermediate macroeconomics, autumn 2014

Mathematics (Project Maths Phase 2)

Utility Maximization and Choice

This appendix discusses two extensions of the cost concepts developed in Chapter 10.

An Intertemporal Capital Asset Pricing Model

Transcription:

Quantitative Techniques (Finance) 203 Derivatives for Functions with Multiple Variables Felix Chan October 2006 1 Introduction In the previous lecture, we discussed the concept of derivative as approximation to the slope of a function at a given point. We have also introduced various ways to derive the derivatives for different functions as well as method to derive the tangent line for a function at a given point. This topic will extend the results and methodology developed thus far to functions that involve more than one independent variable. We will discuss the concept of partial derivatives and total derivatives as well as the concept of implicit differentiation. 2 Functions with Multiple variables Definition 1. A function F : R n R with y = F(x 1,..., x n ) defines a function with n- variables. Essentially, the definition above defines F as a function that takes n inputs and return a scalar y as an output. An example of function with many variables would be a production function π = F(K, L), 1

where productivity π is a function of both labour input L and capital input K. An explicit example for the production function is the famous Cobbs-Douglas production function which is defined as follows: π = AK α L β. In the case such as the one above, we would often want to know the marginal impact on production if we change our inputs by a small amount. However, unlike the univariate case where there is only one input variable, we have two in this case. So we could potentially derive three sets of marginal effects, namely, 1. Marginal impact on π with respect to labour input L. 2. Marginal impact on π with respect to capital input k. 3. Marginal impact on π with respect to both labour and capital inputs. The first two marginal impacts can be derived using partial derivatives whereas the last marginal impact requires total derivatives. 3 Partial Derivatives Let y = F(x 1,..., x n ) be a function with n variables. The partial derivative of F with respect to x i is F(x 1,..., x i + h i,..., x n ) F(x 1,..., x i,..., x n ) = lim, i = 1,..., n. (1) hi 0 h i In practice, the partial derivative of F with respect to x i is derived by differentiating the function F with respect to x i holding all the other input variables constant. Since there are n variables in the function, we will end up with a set of n partial derivatives. Example 1. Find all the partial derivatives for the Cobbs-Douglas production function: π = 4L 0.5 K 0.5. 2

Since there are two input variables for the Cobbs-Douglas function, so there will be two partial derivatives. The partial derivative of π with respect to K is π = 4L 0.5K 0.5 π K = (0.5)(4)L0.5 K 0.5 1 = 2L 0.5 K 0.5. Notice in the derivation above, L is treated as a constant. Similarly, the partial derivative of π with respect to L is π = 4L 0.5 K 0.5 π L = (0.5)(4)L0.5 1 K 0.5 = 2L 0.5 K 0.5. where K is treated as a constant this time. Example 2. Find all the partial derivatives for the following function: y = ax 1 x 2 + bx 1 + cx 2. Again, there are two input variables here, so we will end up with 2 partial derivatives, namely x 1 and x 2. For the derivative of y with respect to (w.r.t.) x 1 : 3

y = ax 1 x 2 + bx 1 + cx 2 x 1 = ax 2 + b The last term vanished in the derivative as we are treating x 2 as constant in this case and the derivative of a constant is 0. Similarly, y = ax 1 x 2 + bx 1 + cx 2 x 1 = ax 1 + c. Similar to the standard derivative, the partial derivative is itself a function with multiple variables. This implies there will be n second order partial derivatives from each first order partial derivatives, which makes a total of n 2 second order partial derivatives. To illustrate this point, let s consider the second order derivatives for the Cobbs-Douglas production function. Example 3. From Example 1, we derived the two first order derivatives as follows: π K = 2K 0.5 L 0.5 π L = 2K0.5 L 0.5. Notice that each partial derivative is a function of both K and L and therefore there will be two second order derivatives by differentiating each first order derivative with respect to K and L, namely: 4

L L L K K K K L L 2 L K K 2 K L Now, deriving each of these derivatives we get L L L 2 = ( 0.5)(2)L 0.5 1 K 0.5 = L 1.5 K 0.5 L K L K = (0.5)(2)L 0.5 1 K 0.5 = L 0.5 K 0.5 K K K 2 = ( 0.5)(2)L 0.5 K 0.5 1 = L 0.5 K 1.5 5

K π L K L = (0.5)(2)L 0.5 K 0.5 1 = L 0.5 K 0.5 An interesting observation from the example above is that the cross derivatives actually equal to each other. In fact, if a function is well behaved then its second order cross derivatives will always equal to each other. Formally, Theorem 1. (Clairaut s theorem /Schwarz s theorem/young s Theorem) Let F : R n R with y = F(x 1,..., x n ), if F is a twice differentiable function with continuous second partial derivatives at every point then 2 F = 2 F i, j = 1,..., n. (2) x j x j 4 Total Derivative Let F : R n R with y = F(x 1,..., x n ), then the partial derivative with respect to x i measures the marginal impacts on y with respect to a small change in x i, i = 1,.., n holding x k constant k i. A basic assumption on the partial derivative is that we are ignoring the impact on other variables as we change x i. The following example would demonstrate this point more clearly: Example 4. Consider the following Cobbs-Douglas type production function where Q(K(t), L(t), t) = t 1 K(t) 0.5 L(t) 0.5. Notice this production function is no longer a function of just Capital and Labour input but also a function of time. Moreover, the Capital and Labour inputs are themselves changing over time. Therefore changing in time will have two impacts on the production function - (i) 6

a direct impact on the productivity Q as time changes and (ii) indirect impact on productivity, Q through the changes in capital and labour inputs as a result of time changes. So the total derivative of Q with respect to time, t should therefore be dq dt = Q + Q dk }{{} t K dt + Q dl }{{ L dt} Direct Effect Indirect Effect Notice we use dy/dx to denote the total derivative of y with respect to x and we use / x to denote the partial derivative of y with respect to x. If dk/dt = 0 and dl/dt = 0, that is, if neither capital input or labour input are functions of time, then the partial derivative equals to the total derivative as there is no indirect effect. In general, let F : R n R with y = F(x 1,..., x n ) then the total derivative of y with respect to x i is dy dx i = + j=1 i j x j dx i. (3) Example 5. Find the total derivative of Q with respect to t for the following Cobbs-Douglas production function: Q(K(t), L(t), t) = t 1 K(t) 0.5 L(t) 0.5 L(t) = t 2 + 1 K(t) = t + 1 In this case, the total derivative of Q with respect to t is Now, dq dt = Q t + Q dk K dt + Q L dl dt 7

Q t = t 2 K(t) 0.5 L(t) 0.5 Q K = 0.5t 1 K(t) 0.5 L(t) 0.5 dk dt = 0.5t 0.5 Q L = 0.5t 1 K(t) 0.5 L(t) 0.5 dl dt = 2t So the total derivative of Q with respect to t is dq dt = t 2 K(t) 0.5 L(t) 0.5 + 0.5t 0.5 (0.5t 1 K(t) 0.5 L(t) 0.5 ) + 2t(0.5t 1 K(t) 0.5 L(t) 0.5 ) = t 2 K(t) 0.5 L(t) 0.5 + 0.25t 1.5 K(t) 0.5 L(t) 0.5 + K(t) 0.5 L(t) 0.5 The concept of total derivative can be redefined in terms of differentials: dy = dx i (4) The differential dy can be interpreted as (though not very rigorously) the changes in y, and / dx i can be interpreted as (again not very rigorously) the marginal impact on y per small amount changes in x i multiply by the total changes in x i - that is, the total changes in y due to the changes in x i. Note that under certain conditions, the ratio between the differentials dy and is equivalent to the total derivative dy/. Thus, the total derivative of y with respect to x j is dy = dx i. Recall that / = 1 and hence the expression above can be rewritten as 8

dy = + x j i j dx i, which is equivalent to the definition of total derivative we had earlier. 5 Derivatives for Implicit Functions The dependent variable in all the functions we have encountered so far can be expressed in terms of the other variables using simple algebraic manipulation. However, there exists functions which are algebraically impossible to express the dependent variables in terms of the other variables. In such cases, it is still possible to compute the derivatives by using equation (4). Consider F(y, x 1,..., x n ) = c where c is a constant, then df = dy + dx i. However, since F = c which is a constant, this implies df = 0 and therefore dy + dx i = 0. (5) Now if we are interested in the derivatives of y with respect to x j then equation (5) will become x j + dx i = 0 + = 0 x j x j = / x j x j / dx i = 0 i j 1 i = j 0. The following example will provide an application for the result above: 9

Example 6. Find the derivative of y with respect to x for the following function: x + x 2 y + xy 2 = 0. F(x, y) = x + x 2 y + xy 2 = x2 + 2xy = 1 + 2xy + y2 x x = / x / 1 + 2xy + y2 = x 2 + 2xy 10