ES 111 Mathematical Methods in the Earth Sciences Lecture Outline 6 - Tues 17th Oct 2017 Functions of Several Variables and Partial Derivatives

Similar documents
Calculus II Fall 2014

Math 148 Exam III Practice Problems

14.4. Tangent Planes. Tangent Planes. Tangent Planes. Tangent Planes. Partial Derivatives. Tangent Planes and Linear Approximations

Section 15.3 Partial Derivatives

FUNCTIONS OF SEVERAL VARIABLES AND PARTIAL DIFFERENTIATION

11.2 LIMITS AND CONTINUITY

Test Yourself. 11. The angle in degrees between u and w. 12. A vector parallel to v, but of length 2.

2.1 Partial Derivatives

MATH 12 CLASS 9 NOTES, OCT Contents 1. Tangent planes 1 2. Definition of differentiability 3 3. Differentials 4

Partial Differentiation 1 Introduction

CHAPTER 11 PARTIAL DERIVATIVES

MATH 8 FALL 2010 CLASS 27, 11/19/ Directional derivatives Recall that the definitions of partial derivatives of f(x, y) involved limits

Section 14.3 Partial Derivatives

Exam 2 Review Sheet. r(t) = x(t), y(t), z(t)

Exam 2 Summary. 1. The domain of a function is the set of all possible inputes of the function and the range is the set of all outputs.

33. Riemann Summation over Rectangular Regions

Mathematics 205 HWK 19b Solutions Section 16.2 p750. (x 2 y) dy dx. 2x 2 3

i + u 2 j be the unit vector that has its initial point at (a, b) and points in the desired direction. It determines a line in the xy-plane:

Math Final Exam - 6/11/2015

10.1 Curves defined by parametric equations

WESI 205 Workbook. 1 Review. 2 Graphing in 3D

University of California, Berkeley Department of Mathematics 5 th November, 2012, 12:10-12:55 pm MATH 53 - Test #2

Differentiable functions (Sec. 14.4)

[f(t)] 2 + [g(t)] 2 + [h(t)] 2 dt. [f(u)] 2 + [g(u)] 2 + [h(u)] 2 du. The Fundamental Theorem of Calculus implies that s(t) is differentiable and

Level Curves, Partial Derivatives

4 to find the dimensions of the rectangle that have the maximum area. 2y A =?? f(x, y) = (2x)(2y) = 4xy

Math 5BI: Problem Set 1 Linearizing functions of several variables

Chapter 9 Linear equations/graphing. 1) Be able to graph points on coordinate plane 2) Determine the quadrant for a point on coordinate plane

MATH 259 FINAL EXAM. Friday, May 8, Alexandra Oleksii Reshma Stephen William Klimova Mostovyi Ramadurai Russel Boney A C D G H B F E

The Chain Rule, Higher Partial Derivatives & Opti- mization

Review guide for midterm 2 in Math 233 March 30, 2009

2.3 Quick Graphs of Linear Equations

MATH 150 Pre-Calculus

DIFFERENTIAL EQUATIONS. A principal model of physical phenomena.

Practice problems from old exams for math 233

1.6. QUADRIC SURFACES 53. Figure 1.18: Parabola y = 2x 2. Figure 1.19: Parabola x = 2y 2

Practice problems from old exams for math 233

DIFFERENTIAL EQUATIONS. A principal model of physical phenomena.

Lecture 4 : Monday April 6th

Goals: To study constrained optimization; that is, the maximizing or minimizing of a function subject to a constraint (or side condition).

Chapter 16. Partial Derivatives

Lecture 19. Vector fields. Dan Nichols MATH 233, Spring 2018 University of Massachusetts. April 10, 2018.

14.1 Functions of Several Variables

MATH 234 THIRD SEMESTER CALCULUS

MATH Exam 2 Solutions November 16, 2015

REVIEW SHEET FOR MIDTERM 2: ADVANCED

Examples: Find the domain and range of the function f(x, y) = 1 x y 2.

Discussion 8 Solution Thursday, February 10th. Consider the function f(x, y) := y 2 x 2.

MAT B41 SUMMER 2018 MOCK TERM TEST - VERSION A

Joint Distributions, Independence Class 7, Jeremy Orloff and Jonathan Bloom

Lesson 6.1 Linear Equation Review

Chapter 2: Functions and Graphs Lesson Index & Summary

Functions of several variables

Math for Economics 1 New York University FINAL EXAM, Fall 2013 VERSION A

Calculus II Final Exam Key

LECTURE 19 - LAGRANGE MULTIPLIERS

Mock final exam Math fall 2007

Calculus IV Math 2443 Review for Exam 2 on Mon Oct 24, 2016 Exam 2 will cover This is only a sample. Try all the homework problems.

Intro to Probability Instructor: Alexandre Bouchard

Definitions and claims functions of several variables

Calculus I Handout: Curves and Surfaces in R 3. 1 Curves in R Curves in R 2 1 of 21

Practice Problems: Calculus in Polar Coordinates

Section 3: Functions of several variables.

On Surfaces of Revolution whose Mean Curvature is Constant

266&deployment= &UserPass=b3733cde68af274d036da170749a68f6

E. Slope-Intercept Form and Direct Variation (pp )

Final Exam Review Problems. P 1. Find the critical points of f(x, y) = x 2 y + 2y 2 8xy + 11 and classify them.

Hyperbolas Graphs, Equations, and Key Characteristics of Hyperbolas Forms of Hyperbolas p. 583

Set Up and Test Results for a Vibrating Wire System for Quadrupole Fiducialization

LEIBNIZ INDIFFERENCE CURVES AND THE MARGINAL RATE OF SUBSTITUTION

Exam 1 Study Guide. Math 223 Section 12 Fall Student s Name

B) 0 C) 1 D) No limit. x2 + y2 4) A) 2 B) 0 C) 1 D) No limit. A) 1 B) 2 C) 0 D) No limit. 8xy 6) A) 1 B) 0 C) π D) -1

Solutions to the problems from Written assignment 2 Math 222 Winter 2015

Determine the intercepts of the line and ellipse below: Definition: An intercept is a point of a graph on an axis. Line: x intercept(s)

MATH Review Exam II 03/06/11

Chapter 3 Exponential and Logarithmic Functions

Maxima and Minima. Terminology note: Do not confuse the maximum f(a, b) (a number) with the point (a, b) where the maximum occurs.

ANSWER KEY. (a) For each of the following partials derivatives, use the contour plot to decide whether they are positive, negative, or zero.

10 GRAPHING LINEAR EQUATIONS

INTEGRATION OVER NON-RECTANGULAR REGIONS. Contents 1. A slightly more general form of Fubini s Theorem

This early Greek study was largely concerned with the geometric properties of conics.

Math 259 Winter Recitation Handout 6: Limits in Two Dimensions

MATH 20C: FUNDAMENTALS OF CALCULUS II FINAL EXAM

Lesson 11: Linear Functions, Part 2

Mathematics 205 HWK 2 Solutions Section 12.4 p588. x\y 0 1 2

SOLUTIONS 2. PRACTICE EXAM 2. HOURLY. Problem 1) TF questions (20 points) Circle the correct letter. No justifications are needed.

Basic Electronics Learning by doing Prof. T.S. Natarajan Department of Physics Indian Institute of Technology, Madras

Independent of path Green s Theorem Surface Integrals. MATH203 Calculus. Dr. Bandar Al-Mohsin. School of Mathematics, KSU 20/4/14

PEAT SEISMOLOGY Lecture 6: Ray theory

The Ellipse. PF 1 + PF 2 = constant. Minor Axis. Major Axis. Focus 1 Focus 2. Point 3.4.2

Conic and Quadric Surface Lab page 4. NORTHEASTERN UNIVERSITY Department of Mathematics Fall 03 Conic Sections and Quadratic Surface Lab

1. Vector Fields. f 1 (x, y, z)i + f 2 (x, y, z)j + f 3 (x, y, z)k.

Double Integrals over More General Regions

VectorPlot[{y^2-2x*y,3x*y-6*x^2},{x,-5,5},{y,-5,5}]

Math Final Exam - 6/13/2013

Name Period Date LINEAR FUNCTIONS STUDENT PACKET 5: INTRODUCTION TO LINEAR FUNCTIONS

Plotting Points in 2-dimensions. Graphing 2 variable equations. Stuff About Lines

Section 8.4: The Equations of Sinusoidal Functions

Calculus of Several Variables

Name: ID: Section: Math 233 Exam 2. Page 1. This exam has 17 questions:

Transcription:

ES 111 Mathematical Methods in the Earth Sciences Lecture Outline 6 - Tues 17th Oct 2017 Functions of Several Variables and Partial Derivatives So far we have dealt with functions of the form y = f(x), where x is the independent variable and y is the dependent variable, whose value is determined by x. More generally, we would expect y to depend on several independent variables y = f(x, y, z, ). We would like to extend calculus to functions of several variables, which involves the use of partial derivatives. Where are partial derivatives useful? Everywhere. Partial derivatives are completely inescapable in any real physical system, since there is always more than one variable which affects the outcome. A typical example is the gravity anomaly of a buried object, where the measured gravity anomaly g will depend on both depth and horizontal distance, that is g = f(x, y). We will start with two independent variables z = f(x, y) Here x and y are independent variables (we can assign them any values we choose) and z is the dependent variable. A good example of a function of two variables is a plane (see last lecture): a(x x 0 ) + b(y y 0 ) + c(z z 0 ) = 0 which we can rewrite z = 1 c [ a(x x 0) b(y y 0 )] + z 0 = f(x, y) Once we have specified x and y, the quantity z is then determined by the equation. In our example above z would represent the gravity anomaly, which depends on x and y. Functions of one variable are easy to graph - they make a curve in 2D (plot y against x). Functions of two variables are surfaces in 3D - a plane is just a particularly simple surface. One way of visualizing the surface is to calculate the x, y positions for which z stays the same - this is a contour line. Graphing functions of 2 variables is difficult, because we have to represent 3 dimensions on a 2D sheet of paper, and we have to let both independent variables vary. A good way to start is to determine the curves in the x = 0 and y = 0 planes, that is to graph y against z, and x against z. 1

Example What does the surface z = 2x 2 + y 2 look like? Start by setting y = 0 and drawing the curve in the x z plane, given by z = 2x 2 This is a parabola. Figure 1 Next we set x = 0 and draw the curve in the y z plane, given by z = y 2 This is also a parabola, but with a slightly different shape. Figure 2 Finally, we can think about what values of x and y produce the same value of z - this is equivalent to finding contour lines for the function. To do this, set z = k, where k is the value of the contour line we are interested in. In this case, all the contour lines are ellipses 2x 2 + y 2 = k with intercept values of x = ± k/2 and y = ± k, respectively. 2

Figure 3 So the overall surface has the shape of a bowl, elongated in the y direction. We are not limited to functions of two variables. In fact, calculus can handle functions of arbitrary numbers of variables. To make the notation simple, we often use subscripts, such that y = f(x 1, x 2, x 3,, x n ) represents a function of n variables. We can simplify this further using vector notation. Letting x = [x 1, x 2, x 3,, x n ] Then we can write the function as y = f(x) Partial Derivatives Let z = f(x, y). How does z change when we vary x? How does z change when we vary y? We answer these questions by extending the concept of a derivative to functions of several variables. By analogy with the derivative of y = f(x): we look at the limit df dx = lim f(x + h) f(x) h 0 h = lim f(x + h, y) f(x, y) h 0 h which we refer to as the partial derivative of f with respect to x. What we are doing here is holding y fixed and finding the slope of the curve f(x, y) in the x-direction. Similarly, y = lim f(x, y + h) f(x, y) h 0 h is the partial derivative of f with respect to y, that is, the slope of the curve in the y-direction with x held fixed. Notice the different symbols used for partial derivatives. 3

Why is it called a partial derivative? Because it describes variation in only one degree of freedom. Functions of two or more variables have two or more degrees of freedom; the partial derivative is only examining the sensitivity of the function to one particular degree of freedom. You can think of as giving the slope of the function in the x-direction and y in the y-direction. as the slope of the function We obtain partial derivatives just as we do regular derivatives, treating the ignored independent variable(s) as constants. For example has partial derivatives f(x, y) = x 2 + 2xy 2 = 2x + 2y2 y = 4xy The product rule works the same way as for regular derivatives. Example: f(x, y) = e xy sin(xy) The chain rule can be applied to partial derivatives in many ways. Some important examples include the following, for a function z = f(g(x, y)): and Example: z = e sin(xy) z = Let g = sin(xy) so that z = e g. Then g Example: z = e ax2 +by 2 Higher derivatives follow the same rules ( g z ) ( ) g ( ) ( ) z g y = g z y = y cos(xy) and z g = eg. So z = y cos(xy)esin(xy) 2 f = 2 2 f y = 2 y y 4

2 f y = y ( ) = ( ) y This last expression says that if you differentiate a function with respect to x, and then differentiate the result with respect to y, you will get the same answer as if you reversed the order of operations. This same rule also extends to higher derivatives, e.g.: 3 f 2 y = 3 f y = 3 f y 2 Example If the function is f(x, y) = x 2 + 2y + xy then 2 f y = 2 f y = 1. Examples Find and y 1.f(x, y) = xy 2. f(x, y) = x cos y 3. f(x, y) = (x 2 + y 2 ) 1/2 4. f(x, y) = cos(xy) for the following: 5. f(x, y) = cos((x 2 + y 2 ) 1/2 ) In steady-state with no heat sources, the 2D thermal diffusion equation may be written (where does this come from?) Show that an equation of the form satisfies this relationship. ( T = T 0 exp 2 T + 2 T 2 z = 0 2 2πz λ ) sin ( ) 2πx I don t have time to discuss it here, but this is an important physical result: variations in the x-direction with short wavelength (small λ) only propagate a small distance in the z-direction (and vice versa). Total Differential Where is this useful? If forms the basis of error analysis. For functions of 1 variable, the regular derivative is also the total differential. You can think of the total differential as telling you how much y changes for some change in x. That is, for y = f(x) dy = df dx dx 5 λ

is a total differential. The quantity dy tells you how much y varies as you make small changes dx to x - a concept closely related to the uncertainty or error in y (of which more later). Functions of several variables also have total differentials. For z = f(x, y) the total differential dz is given by dz = dx + y dy As before, dz approximates the change in z for small increments (dx, dy) in x and y. This expression makes sense - if a surface is flat in the x-direction (/=0) then you can vary your x-position without affecting z. Error Analysis Let s say that z = f(x, y) and the uncertainties (errors) in x and y are dx and dy, respectively. Then dz, the expected error in z, is given by (dz) 2 = ( ) 2 ( ) 2 dx + y dy where here we are squaring the terms ( adding in quadrature ) to avoid opposite signs cancelling the error. This approach assumes that the uncertainties are uncorrelated. Example Say we want to estimate the shear modulus of a material from its density and shear velocity. If the values obtained for the density and shear velocity are 2700 ± 40 kg m 3 and 3500 ± 100 m s 1, respectively, what is the error in the resulting shear modulus? (Here we are using v 2 = µ/ρ). With a bit of algebra, you end up with ( ) 2 ( dµ = 2 dv ) 2 + µ v ( ) 2 dρ ρ Note that the error is more sensitive to uncertainties in v than ρ because the relationship is that µ = ρv 2. Problem Set 2 is due today by 4pm. 6