1 Functions of Several Variables

Similar documents
DERIVATIVES AS MATRICES; CHAIN RULE

( 1) = 9 = 3 We would like to make the length 6. The only vectors in the same direction as v are those

(a) We have x = 3 + 2t, y = 2 t, z = 6 so solving for t we get the symmetric equations. x 3 2. = 2 y, z = 6. t 2 2t + 1 = 0,

Section 12.6: Directional Derivatives and the Gradient Vector

Solutions for Review Problems

L 2 : x = s + 1, y = s, z = 4s Suppose that C has coordinates (x, y, z). Then from the vector equality AC = BD, one has

Differentiation of vectors

College of the Holy Cross, Spring 2009 Math 373, Partial Differential Equations Midterm 1 Practice Questions

Solutions to Practice Problems for Test 4

Continuity. DEFINITION 1: A function f is continuous at a number a if. lim

Microeconomic Theory: Basic Math Concepts

Math 113 HW #7 Solutions

AP Calculus BC 2010 Free-Response Questions

A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS

AP Calculus AB 2010 Free-Response Questions

AP Calculus BC 2001 Free-Response Questions

Limits and Continuity

Linear and quadratic Taylor polynomials for functions of several variables.

f(x) = a x, h(5) = ( 1) 5 1 = 2 2 1

Homework #1 Solutions

SECOND DERIVATIVE TEST FOR CONSTRAINED EXTREMA

1 Calculus of Several Variables

Solutions to old Exam 1 problems

TOPIC 4: DERIVATIVES

3 Contour integrals and Cauchy s Theorem

AP Calculus AB 2003 Scoring Guidelines Form B

F Matrix Calculus F 1

LINEAR MAPS, THE TOTAL DERIVATIVE AND THE CHAIN RULE. Contents

SOLUTIONS. f x = 6x 2 6xy 24x, f y = 3x 2 6y. To find the critical points, we solve

Fundamental Theorems of Vector Calculus

1.(6pts) Find symmetric equations of the line L passing through the point (2, 5, 1) and perpendicular to the plane x + 3y z = 9.

This makes sense. t /t 2 dt = 1. t t 2 + 1dt = 2 du = 1 3 u3/2 u=5

x = + x 2 + x

MA4001 Engineering Mathematics 1 Lecture 10 Limits and Continuity

1 3 4 = 8i + 20j 13k. x + w. y + w

MATH 304 Linear Algebra Lecture 20: Inner product spaces. Orthogonal sets.

Math 53 Worksheet Solutions- Minmax and Lagrange

Math 241, Exam 1 Information.

If Σ is an oriented surface bounded by a curve C, then the orientation of Σ induces an orientation for C, based on the Right-Hand-Rule.

AP Calculus AB 2006 Scoring Guidelines

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

GRAPHING IN POLAR COORDINATES SYMMETRY

Section 13.5 Equations of Lines and Planes

Sample Test Questions

Lecture 3 : The Natural Exponential Function: f(x) = exp(x) = e x. y = exp(x) if and only if x = ln(y)

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

13.5. Click here for answers. Click here for solutions. CURL AND DIVERGENCE. 17. F x, y, z x i y j x k. 2. F x, y, z x 2z i x y z j x 2y k

5.7 Maximum and Minimum Values

Solutions - Homework sections

Chain Rule To differentiate composite functions we have to use the Chain rule. Composite functions are functions of a function.

AP Calculus AB 2010 Free-Response Questions Form B

Scientific Programming

Homework # 3 Solutions

AP Calculus BC 2006 Free-Response Questions

Solutions to Homework 5

Practice Final Math 122 Spring 12 Instructor: Jeff Lang

MATH 425, PRACTICE FINAL EXAM SOLUTIONS.

Math 104A - Homework 2

vector calculus 2 Learning outcomes

The Derivative. Philippe B. Laval Kennesaw State University

100. In general, we can define this as if b x = a then x = log b

Student name: Earlham College. Fall 2011 December 15, 2011

The Method of Partial Fractions Math 121 Calculus II Spring 2015

Definition: A vector is a directed line segment that has and. Each vector has an initial point and a terminal point.

Inner Product Spaces

Review Sheet for Test 1

Line and surface integrals: Solutions

Mark Howell Gonzaga High School, Washington, D.C.

Vector Calculus Solutions to Sample Final Examination #1

r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + 1 = 1 1 θ(t) Write the given system in matrix form x = Ax + f ( ) sin(t) x y z = dy cos(t)

AP Calculus BC Exam. The Calculus BC Exam. At a Glance. Section I. SECTION I: Multiple-Choice Questions. Instructions. About Guessing.

Section 3.7. Rolle s Theorem and the Mean Value Theorem. Difference Equations to Differential Equations

Beginner s Matlab Tutorial

Section 14.4 Chain Rules with two variables

AP Calculus AB 2012 Free-Response Questions

British Columbia Institute of Technology Calculus for Business and Economics Lecture Notes

Math 265 (Butler) Practice Midterm II B (Solutions)

Equations Involving Lines and Planes Standard equations for lines in space

Using the Theory of Reals in. Analyzing Continuous and Hybrid Systems

Chapter 6. Linear Transformation. 6.1 Intro. to Linear Transformation

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

Vector has a magnitude and a direction. Scalar has a magnitude

Section 2.7 One-to-One Functions and Their Inverses

Section Composite and Inverse Functions

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

Chapter 17. Review. 1. Vector Fields (Section 17.1)

AP Calculus AB 2003 Scoring Guidelines

By Clicking on the Worksheet you are in an active Math Region. In order to insert a text region either go to INSERT -TEXT REGION or simply

AP Calculus AB 2005 Free-Response Questions

Math Placement Test Practice Problems

The Vector or Cross Product

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.

SOLUTIONS TO HOMEWORK ASSIGNMENT #4, MATH 253

OPTIMAl PREMIUM CONTROl IN A NON-liFE INSURANCE BUSINESS

Transcription:

Chain Rule for Functions of Several Variables June, 0 Functions of Several Variables We write f : R n R m for a rule assigning to each vector in a domain D R n a unique vector in R m Examples: Suppose your position at time t is given by p(t) t +, 3t, t This gives a function p : R R 3 Observe that any vector line equation r r 0 + tv is a function r : R R n, where r 0, v R n On a windy day, the force of the wind at a point (x, y, z) might be given by a function For a function f : R n R m, we write F (x, y, z) : R 3 R F (x, y, z) xz +, y + z f(x, x,, x n ) (f (x, x,, x n ), f (x, x,, x n ),, f m (x, x,, x n )) For the function p in Example, we have p (t) t +, p (t) 3t, and p 3 (t) t Derivative Matrix We can organize the partial derivatives of f : R R into a matrix called the derivative matrix, Df x More generally, for f : R n R m, the derivative matrix of y f(x,, x n ) (f (x,, x n ),, f m (x,, x n )) is Df Examples: Find the derivative matrix r(t) t +, 3t, t x x m x x x m x Dr 3 m

F (x, y) sin x, cos(xy), ln x DF cos x 0 y sin(xy) x sin(xy) 0 x 3 Composition for Functions of Several Variables Recall from single variable calculus that for two functions f, g : R R, we may find the composition f g(x) f(g(x)) We can illustrate this as follows: R g R f R To take derivatives of these compositions, we use the Chain Rule: d df dg (f g(x)) (g(x)) dx dx dx (x) For multivariable functions f : R n R m and g : R k R n, we can take the composition f g(t) f(g(t)) illustrated by R k g R n f R m Our next task will be to find a rule for expressing the derivative matrix of f g in terms of the matrices Df and Dg Examples: Find F g(x, y), where F (t) t, t, 3t + and g(x, y) 3x + y F g(t) F (g(t)) F (3x + y) (3x + y), 3(3x + 3y), 3(3x + y) + Express T in terms of t, when T (x, y) xy, 3x + y, and x t, y t T (t) (t )(t), 3(t ) + (t) We can view this as a composition by defining a function f(t) x(t), y(t) t, t Then expressing T in terms of t is the same as finding T f(t) 4 Chain Rule, Case Suppose the function f(x) gives the height of a mountain range at position x We are thinking of a cross section through the mountains, like the following graph

Now suppose your are traveling through the mountains along this cross section, with position at time t given by a function g(t) Then your height at time t is f(g(t)) We can define a function h(t) f(g(t)) Sometimes we write h f g or h(t) (f g)(t) Recall that the one-dimensional chain rule is dh df (t) dt dx ( g(t) ) dg dt (t) We can state this in terms of the derivative matrices of f and g Since f : R R and g : R R, the matrices Df and Dg are matrices Df df dx, Dg dg dx Since multiplication of matrices is just scalar multilplication, the one-dimensional chain rule can be written Dh(t) Df(g(t))Dg(t) Chain Rule, Case Now redefine the mountain range by a function of two variables f(x, y) As before, you travel across the mountain range in a path g(t) g (t), g (t) Now your height at time t is given by h(t) f(g(t)), which means that we evaluate f(x, y) at x g (t) and y g (t) The derivative h (t) will give the rate of change of height with respect to time We compute this by taking the product of derivative matrices Dh(t) Df(g(t))Dg(t) This what the computation looks like: Dh(t) (x, y) x (x, y) g (t) g(t) t y g (t) t g (g(t)) (g(t)) (t) t x y g (t) t x (g(t)) g (t) + t y (g(t)) g t (t) 3

6 Chain Rule for Multivariable Functions For general functions f : R n R m, and g : R k R n we can take the composition f(x) f (x),, f m (x) ) g(t) g (t),, g n (t) h(t) f(g(t)) f(g (t),, g n (t)) We can find the derivative matrix of the composition h by taking the product of derivative matrices Dh(t) Df(g(t))Dg(t) 7 Examples Suppose in our example from the beginning, the height of the mountain range at point (x, y) is given by f(x, y) x sin(xy), and the path you travel is given by g(t) t, t Then your height at time t is h(t) f(g(t)) We can compute the rate of change of height at time t using the chain rule Dh(t) Df(g(t))Dg(t) xy cos(xy) + sin(xy) x cos(xy) g(t) t t 3 cos(t 3 ) + sin(t 3 ) t cos(t 3 ) t t 3 cos(t 3 ) + sin(t 3 ) + 4t 3 cos(t 3 ) 6t 3 cos(t 3 ) + sin(t 3 ) We can also compute this derivative by first composing the functions, then taking the derivative of the composition h(t) f(g(t)) t sin(t 3 ) Dh(t) 6t 3 cos(t 3 ) + sin(t 3 ) Find Dh and Dh(, ) where h f(g(s, t)), and f(x, y, z) x + z, xyz, h(s, t) t, st, s 3 Using the chain rule, we compute: Dh(s, t) Df(g(s, t))dg(s, t) 4

0 z 0 t yz xz xy 4st g(s,t) 3s 0 0 s 3 0 s 4 t s 3 t st 3 t 4st 3s 0 6s s 3 t 3 + 6s 3 t 3 s 4 t + 4s 4 t 6s 8s 3 t 3 6s 4 t Without using the chain rule, we can first compose the functions, then find the derivative matrix of the composition From this, we compute h(s, t) (f g)(s, t) t + s 6, s 4 t 3 Dh(s, t) D(f g)(s, t) Dh(, ) 6 8 6 6s 8s 3 t 3 6s 4 t 3 Find D(F g)(3, ), if F (x, y) e xy+, e x, Dg(3, ), 0, and g(3, ) D(F g)(3, ) DF (g(3, ))Dg(3, ) ye xy+ xe xy+ e x 0 (,0) 0 e 0 e e e