LECTURE 11 - PARTIAL DIFFERENTIATION

Similar documents
Infinite series, improper integrals, and Taylor series

AP Calculus Summer Prep

Partial Derivatives October 2013

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0

Contents. 2 Partial Derivatives. 2.1 Limits and Continuity. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v. 2.

Partial Derivatives for Math 229. Our puropose here is to explain how one computes partial derivatives. We will not attempt

Example: Limit definition. Geometric meaning. Geometric meaning, y. Notes. Notes. Notes. f (x, y) = x 2 y 3 :

Pre-Calculus Notes from Week 6

8.5 Taylor Polynomials and Taylor Series

6.0 INTRODUCTION TO DIFFERENTIAL EQUATIONS

MATH 408N PRACTICE FINAL

Aim: How do we prepare for AP Problems on limits, continuity and differentiability? f (x)

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

1.10 Continuity Brian E. Veitch

13. LECTURE 13. Objectives

7.3 Singular points and the method of Frobenius

Math 21a Partial Derivatives Fall, 2016

February 11, 2019 LECTURE 5: THE RULES OF DIFFERENTIATION.

SET 1. (1) Solve for x: (a) e 2x = 5 3x

Lecture 5 - Logarithms, Slope of a Function, Derivatives

UNIT 3: DERIVATIVES STUDY GUIDE

Calculus I Review Solutions

23. Implicit differentiation

Topics from Algebra and Pre-Calculus. (Key contains solved problems)

8.7 MacLaurin Polynomials

x n cos 2x dx. dx = nx n 1 and v = 1 2 sin(2x). Andreas Fring (City University London) AS1051 Lecture Autumn / 36

Algebra & Trig Review

Faculty of Engineering, Mathematics and Science School of Mathematics

The Derivative. Appendix B. B.1 The Derivative of f. Mappings from IR to IR

5.9 Representations of Functions as a Power Series

f(x 0 + h) f(x 0 ) h slope of secant line = m sec

Functions of Several Variables

MATH 116, LECTURE 13, 14 & 15: Derivatives

University of Toronto MAT137Y1 Calculus! Test 2 1 December 2017 Time: 110 minutes

Math 5a Reading Assignments for Sections

Taylor series. Chapter Introduction From geometric series to Taylor polynomials

Solutions to Second Midterm(pineapple)

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series.

Math 180, Exam 2, Practice Fall 2009 Problem 1 Solution. f(x) = arcsin(2x + 1) = sin 1 (3x + 1), lnx

This is your first impression to me as a mathematician. Make it good.

CALCULUS I. Review. Paul Dawkins

Slope Fields: Graphing Solutions Without the Solutions

Math 111, Introduction to the Calculus, Fall 2011 Midterm I Practice Exam 1 Solutions

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Substitutions and by Parts, Area Between Curves. Goals: The Method of Substitution Areas Integration by Parts

Polynomial Approximations and Power Series

13 Implicit Differentiation

Families of Functions, Taylor Polynomials, l Hopital s

Practice Questions for Final Exam - Math 1060Q - Fall 2014

Lecture 7: Differential Equations

Final Exam. V Spring: Calculus I. May 12, 2011

There are some trigonometric identities given on the last page.

ln(9 4x 5 = ln(75) (4x 5) ln(9) = ln(75) 4x 5 = ln(75) ln(9) ln(75) ln(9) = 1. You don t have to simplify the exact e x + 4e x

B553 Lecture 1: Calculus Review

Math 61CM - Quick answer key to section problems Fall 2018

Differentiation of Multivariable Functions

Math Practice Exam 3 - solutions

(c) Find the equation of the degree 3 polynomial that has the same y-value, slope, curvature, and third derivative as ln(x + 1) at x = 0.

4.9 Anti-derivatives. Definition. An anti-derivative of a function f is a function F such that F (x) = f (x) for all x.

Investigating Limits in MATLAB

(e) 2 (f) 2. (c) + (d). Limits at Infinity. 2.5) 9-14,25-34,41-43,46-47,56-57, (c) (d) 2

Note: Final Exam is at 10:45 on Tuesday, 5/3/11 (This is the Final Exam time reserved for our labs). From Practice Test I

2. Theory of the Derivative

An Invitation to Mathematics Prof. Sankaran Vishwanath Institute of Mathematical Sciences, Chennai. Unit I Polynomials Lecture 1A Introduction

Core Mathematics 3 Differentiation

+ i sin. + i sin. = 2 cos

Advanced Calculus Questions

Topics and Concepts. 1. Limits

MAT137 Calculus! Lecture 9

Graphs of Antiderivatives, Substitution Integrals

5.6 Logarithmic and Exponential Equations

Calculus (Math 1A) Lecture 5

MATH 415, WEEKS 14 & 15: 1 Recurrence Relations / Difference Equations

Math 221 Exam II Tuesday Mar 23 5:30-7:00 PM Answers

Complex Variables. Chapter 2. Analytic Functions Section Harmonic Functions Proofs of Theorems. March 19, 2017

Math 480 The Vector Space of Differentiable Functions

Higher Mathematics Course Notes

MATH 1A - FINAL EXAM DELUXE - SOLUTIONS. x x x x x 2. = lim = 1 =0. 2) Then ln(y) = x 2 ln(x) 3) ln(x)

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input,

MAP 2302 Midterm 1 Review Solutions 1

Calculus. Central role in much of modern science Physics, especially kinematics and electrodynamics Economics, engineering, medicine, chemistry, etc.

The Relation between the Integral and the Derivative Graphs. Unit #10 : Graphs of Antiderivatives, Substitution Integrals

Solutions to Homework 5

Taylor and Maclaurin Series. Approximating functions using Polynomials.

c) xy 3 = cos(7x +5y), y 0 = y3 + 7 sin(7x +5y) 3xy sin(7x +5y) d) xe y = sin(xy), y 0 = ey + y cos(xy) x(e y cos(xy)) e) y = x ln(3x + 5), y 0

Main topics for the First Midterm

Section 2.5. Evaluating Limits Algebraically

APPLICATIONS OF DIFFERENTIATION

This practice exam is intended to help you prepare for the final exam for MTH 142 Calculus II.

M155 Exam 2 Concept Review

Math 2400, Midterm 2

Math 111D Calculus 1 Exam 2 Practice Problems Fall 2001

MATH 255 Applied Honors Calculus III Winter Homework 5 Solutions

( ) - 4(x -3) ( ) 3 (2x -3) - (2x +12) ( x -1) 2 x -1) 2 (3x -1) - 2(x -1) Section 1: Algebra Review. Welcome to AP Calculus!

PDE: The Method of Characteristics Page 1

(x + 3)(x 1) lim(x + 3) = 4. lim. (x 2)( x ) = (x 2)(x + 2) x + 2 x = 4. dt (t2 + 1) = 1 2 (t2 + 1) 1 t. f(x) = lim 3x = 6,

MATH 19520/51 Class 5

MATH 250 TOPIC 13 INTEGRATION. 13B. Constant, Sum, and Difference Rules

The derivative of a function f(x) is another function, defined in terms of a limiting expression: f(x + δx) f(x)

Institute of Computer Science

Transcription:

LECTURE 11 - PARTIAL DIFFERENTIATION CHRIS JOHNSON Abstract Partial differentiation is a natural generalization of the differentiation of a function of a single variable that you are familiar with 1 Introduction Given a function of two variables, fx, y, we may like to know how the function changes as the variables change In general this is a complicated problem because the variables can change in so many different ways: one variable may increase exponentially as another decreases linearly; or one variable may decrease logarithmically while the other variable decreases quadratically; or many more complicated things could happen In order to make our lives easier we will first suppose that only one variable changes at a time, since this is most directly related to the derivatives of single-variable functions that we understand Example 11 As a motivating example, consider the function x fx, y = sinxy + cos The surface z = fx, y associated to this function consists of ripples and waves that change in complicated ways as we change x and y See Figure 1 Let s suppose that y is some fixed constant, say y =, and only x-varies Geometrically, we re intersecting the surface with the plane y = See Figures 2 and The intersection of our surface with the plane gives us a curve, which is naturally the graph of the function x F x = sinx + cos If we differentiate this function we have F x = cosx x2 x sin 1

2 CHRIS JOHNSON Figure 1 The surface z = sinxy + cos x Figure 2 The surface z = sinxy + cos with the plane y = x together Figure The graph of sinx + cos x This derivative represents how the elevation of the surface z = fx, y changes if we walk along the surface keeping y fixed at y =, but letting x change

LECTURE 11 - PARTIAL DIFFERENTIATION If we had instead picked y = 5 instead of y =, how would this change things? We intersect our surface with the plane y = 5 to get a different curve See Figure 4 Figure 4 Intersecting with y = 5 gives a different curve x Gx = sin5x + cos Now when we take the derivative we calculate, G x = 5 cos5x x2 x sin This is certainly a different derivative than what we calculated earlier, but it s very closely related to our previous derivative In particular, all of the s that came from y = before are now 5 s, which isn t too surprising 2 Partial Derivatives In general, we could calculate the derivative of fx, y after choosing y to be any constant we want Instead of picking a new constant each time, though, let s suppose that we don t pick the constant we want to plug in for y yet, but instead just keep in mind that y represents a constant whatever that constant may happen to be When we then differentiate fx, y, treating y as a constant, we re calculating the partial derivative of fx, y with respect to x Notationally this

4 CHRIS JOHNSON partial derivative is usually denoted x or f x Formally, it s defined as follows: fx 0 + h, y 0 fx 0, y 0 x = lim h 0 x0,y 0 h = lim x x0 fx, y 0 fx 0, y 0 x x 0 That is, we re calculate the derivative like normal, but we have this extra y thrown into our function In the formula for the derivative above, though, notice that only x is changing because of the x + h, and the y is not: the y is constant There s nothing special about x of course, we could repeat all of the above by letting y change and keeping x constant This is the partial derivative of fx, y with respect to y, which is denoted or f y y In terms of limits, fx 0, y 0 + h fx 0, y 0 y = lim h 0 x0,y 0 h = lim y y0 fx 0, y fx 0, y 0 y y 0 Notice that what we re doing is keeping one of the variable set to be a constant, and letting the other variable change We can then apply all of our usual calculus rules to determine the partial derivative: just pretend one of the variables is constant Example 21 Calculate and of fx, y = sinxy + cos x x y To calculate, just pretend that y is constant and apply your x usual rules from calculus, differentiating with respect to x: x2 x = y cosxy x sin To calculate partialf, repeat the process, but this time pretend x is y the constant and y the variable: y = x cosxy Example 22 Calculate both partial derivatives of z = x y + 2 xy z x =yxy 1 + 2 xy y ln2 z y =xy lnx + 2 xy x ln2

LECTURE 11 - PARTIAL DIFFERENTIATION 5 Higher-Order Partials Notice that given a function of two variables, fx, y, both of our derivatives and are again functions of x and y, so we can take x y the partial derivatives again If fx, y = x y 2 +cosxy, then we know x = x2 y 2 y sinxy We could then differentiate this derivative once again: x = 6xy 2 y 2 cosxy x This is called a second-order partial derivative of fx, y, and is denoted 2 f x 2 or f xx We didn t just have to take the partial with respect to x there: we could have taken the partial with respect to y of x y = 6x 2 y xy cosxy x This is another second-order derivative and is denoted 2 f y x or f xy We could of course keep doing this, calculating partial derivatives of our partial derivatives, and the notation extends the way you would expect:

6 CHRIS JOHNSON 2 f y =f 2 yy 2 f x y =f yx f x =f xxx f x 2 y =f yxx f x y x =f xyx x y =f 2 yyx When we take three partial derivatives, as in the case of where x 2 y we first differentiate with respect to y and then differentiate with respect to x two more times, we ve taken a third-order partial derivative If we calculate four partial derivatives, we ve taken a fourth-order partial derivative, and so on Any of these higher-order partial derivatives where we differentiate with respect to different variables is called a mixed partial derivative The second-order mixed partials are x y and y x Some of the third-order mixed partials are x y x, x 2 y, and yx 2 A reasonable question to ask would be how these mixed partial derivatives are related: Is there any relationship between f xy and f yx? This is answered by Clairaut s theorem Theorem 1 Clairaut s Theorem If f is defined in a neighborhood of x 0, y 0 and if f xy and f yx are both defined and continuous in this neighborhood, then f xy x 0, y 0 = f yx x 0, y 0 Corollary 2 Under all of the assumptions of Clairaut s theorem, we can move the order of differentiation around to our heart s content

LECTURE 11 - PARTIAL DIFFERENTIATION 7 for any n-th order partial derivative: 4 f x 2 y 2 = 4 f yx 2 y = 4 f xyxy = The assumptions in Clairaut s theorem will be satisfied for most of the functions we care about, and so for practical purposes, in this class f xy = f yx However, in general, it s possible to find functions that do not satisfy the assumptions of Clairaut s theorem, and in such situations there s no guarantee that the partial derivatives agree! 4 Functions of More Than Two Variables This notion partially differentiating a function of two variables naturally extends to partial derivatives of functions of any number of variables For a function of three variables, fx, y, z, for instance, we can define z = lim fx, y, z + h fx, y, z h 0 h To calculate we differentiate like normal, but now pretend that both z x and y are constants Example 41 Calculate of fx, y, z = z x2 y z 4 z = 4x2 y z This same idea works for any finite! number of variables If we have with twenty-six variables, given by the twenty-six letters of the English alphabet, to differentiate with respect to any one, we treat the other twenty-five as constant: 2 l u a b c l 5 mu u sinx = l 5 m sinxu sinx 1 l = 5l 4 m