February 4, 2019 LECTURE 4: THE DERIVATIVE.

Similar documents
February 27, 2019 LECTURE 10: VECTOR FIELDS.

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

March 4, 2019 LECTURE 11: DIFFERENTIALS AND TAYLOR SERIES.

MA 123 September 8, 2016

Note: Every graph is a level set (why?). But not every level set is a graph. Graphs must pass the vertical line test. (Level sets may or may not.

1 Differentiability at a point

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

Notes on multivariable calculus

Chapter -1: Di erential Calculus and Regular Surfaces

The derivative: Definition

What is on today. 1 Linear approximation. MA 123 (Calculus I) Lecture 17: November 2, 2017 Section A2. Professor Jennifer Balakrishnan,

LECTURE 5, FRIDAY

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2.

Tangent Planes, Linear Approximations and Differentiability

Section 2.1, Section 3.1 Rate of change, Tangents and Derivatives at a point

Lecture Notes on Metric Spaces

Tangent spaces, normals and extrema

Math 320-3: Lecture Notes Northwestern University, Spring 2015

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,

This exam will be over material covered in class from Monday 14 February through Tuesday 8 March, corresponding to sections in the text.

Directional Derivatives in the Plane

3.7 Constrained Optimization and Lagrange Multipliers

Transformations and A Universal First Order Taylor Expansion

Functions of Several Variables

AP CALCULUS SUMMER WORKSHEET

e x = 1 + x + x2 2! + x3 If the function f(x) can be written as a power series on an interval I, then the power series is of the form

AP Calculus. Derivatives.

x n -2.5 Definition A list is a list of objects, where multiplicity is allowed, and order matters. For example, as lists

The Double Sum as an Iterated Integral

Electromagnetic Theory Prof. D. K. Ghosh Department of Physics Indian Institute of Technology, Bombay

2.1 Affine and Projective Coordinates

1 Lecture 25: Extreme values

Lagrange Multipliers

REVIEW OF DIFFERENTIAL CALCULUS

Lecture 10. Econ August 21

Math Review ECON 300: Spring 2014 Benjamin A. Jones MATH/CALCULUS REVIEW

Complex Differentials and the Stokes, Goursat and Cauchy Theorems

2.2 Graphs of Functions

AP CALCULUS SUMMER WORKSHEET

Sometimes the domains X and Z will be the same, so this might be written:

The Schwarzian Derivative

Math 212-Lecture 8. The chain rule with one independent variable

Example: f(x) = 2x² + 1 Solution: Math 2 VM Part 5 Quadratic Functions April 25, 2017

Optimization and Calculus

Dr. Allen Back. Sep. 8, 2014

Vector Calculus, Maths II

2.12: Derivatives of Exp/Log (cont d) and 2.15: Antiderivatives and Initial Value Problems

Week 4: Differentiation for Functions of Several Variables

Calculus I Review Solutions

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

Math 291-3: Lecture Notes Northwestern University, Spring 2016

1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4

3 Applications of partial differentiation

Math 2 Variable Manipulation Part 7 Absolute Value & Inequalities

Math 291-2: Final Exam Solutions Northwestern University, Winter 2016

Calculus 2502A - Advanced Calculus I Fall : Local minima and maxima

Lecture 5 - Logarithms, Slope of a Function, Derivatives

CALCULUS III. Paul Dawkins

MA102: Multivariable Calculus

Definition 1.2. Let p R n be a point and v R n be a non-zero vector. The line through p in direction v is the set

Analytic Geometry and Calculus I Exam 1 Practice Problems Solutions 2/19/7

MATH Max-min Theory Fall 2016

Chapter 12: Differentiation. SSMth2: Basic Calculus Science and Technology, Engineering and Mathematics (STEM) Strands Mr. Migo M.

Chapter Product Rule and Quotient Rule for Derivatives

8. Find r a! r b. a) r a = [3, 2, 7], r b = [ 1, 4, 5] b) r a = [ 5, 6, 7], r b = [2, 7, 4]

Linear Algebra, Summer 2011, pt. 2

Review of Multi-Calculus (Study Guide for Spivak s CHAPTER ONE TO THREE)

The theory of manifolds Lecture 2

MITOCW MITRES_18-007_Part3_lec5_300k.mp4

Name Period. Date: Topic: 9-2 Circles. Standard: G-GPE.1. Objective:

The theory of manifolds Lecture 3

AB.Q103.NOTES: Chapter 2.4, 3.1, 3.2 LESSON 1. Discovering the derivative at x = a: Slopes of secants and tangents to a curve

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

1.4 Techniques of Integration

Preliminaries Lectures. Dr. Abdulla Eid. Department of Mathematics MATHS 101: Calculus I

Finish section 3.6 on Determinants and connections to matrix inverses. Use last week's notes. Then if we have time on Tuesday, begin:

4.2: What Derivatives Tell Us

MATH 23b, SPRING 2005 THEORETICAL LINEAR ALGEBRA AND MULTIVARIABLE CALCULUS Midterm (part 1) Solutions March 21, 2005

10/22/16. 1 Math HL - Santowski SKILLS REVIEW. Lesson 15 Graphs of Rational Functions. Lesson Objectives. (A) Rational Functions

Math 118, Fall 2014 Final Exam

Differentiation - Quick Review From Calculus

Machine Learning Brett Bernstein. Recitation 1: Gradients and Directional Derivatives

MATH 19520/51 Class 5

Unit 1 PreCalculus Review & Limits

Metric Spaces Math 413 Honors Project

(1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3

Introduction to Vector Functions

1,3. f x x f x x. Lim. Lim. Lim. Lim Lim. y 13x b b 10 b So the equation of the tangent line is y 13x

Chapter 4 Notes, Calculus I with Precalculus 3e Larson/Edwards

Math Example Set 12A. m10360/homework.html

Dear Future CALCULUS Student,

College Algebra: Midterm Review

[Refer Slide Time: 00:45]

Partial Derivatives October 2013

Tangent Plane. Nobuyuki TOSE. October 02, Nobuyuki TOSE. Tangent Plane

LB 220 Homework 4 Solutions

(x 3)(x + 5) = (x 3)(x 1) = x + 5. sin 2 x e ax bx 1 = 1 2. lim

4 Partial Differentiation

Math 1120 Calculus, section 2 Test 1

Math 20C. Lecture Examples. Section 14.5, Part 1. Directional derivatives and gradient vectors in the plane

Transcription:

February 4, 29 LECTURE 4: THE DERIVATIVE 2 HONORS MULTIVARIABLE CALCULUS PROFESSOR RICHARD BROWN Synopsis Today, we finish our discussion on its and pass through the concept of continuity Really, there is little to add to the mix since the only new idea is that the it of a function not only exists but equals the function value at a point of continuity But there are a few rules and extensions that we talk about here Then on to differentiability, where things start to diverge from single variable calculus Here we define what differentiability is for a vector-valued function on more than one variable, both from an analytical as well as geometric perspective, and start the discussion on its properties The accompanying Mathematica notebook gives some geometric meaning to the derivative of a real-valued function on two variables and how the tangent plane to its graph in three space is defined and constructed Helpful Documents Mathematica: PartialDerivatives The Derivative A partial derivative of a real-valued function f : X R n R taken at a point is really a single variable calculus concept, where one studies how a function is changing in a particular direction: Definition 4 Let a X be an interior point, and f : X R n R a real-valued function on X Then the partial derivative of f, with respect to the coordinate x i at the point x = a is the real number f(a,, a i, a i + h, a i+,, a n ) f(a) (a) x i h h The partial derivative of f with respect to x i is the real-valued function Notes: f(x,, x i, x i + h, x i+,, x n ) f(x) (x) x i h h It is simply the ordinary (read: Calculus I) derivative of f with respect to x i, found by fixing all coordinates x j, for j i, and varying only x i Alternate notation: D xi f(x), or f xi (x) [ ] x Geometrically, given f(x, y) and x =, the y-slice through graph(f) at y = b y is a -dimensional curve inside the xz-plane at y = b Then (a, b) is the slope of x this curve inside the slice, evaluated at (a, b): f(a + h, b) f(a, b) (a, b) x h h In this case, a varies, but b is held constant In this case,, we say that the partial derivative of f with respect to x, evaluated at (x, y) = (a, b) is the slope of the line

2 2 HONORS MULTIVARIABLE CALCULUS PROFESSOR RICHARD BROWN tangent to that portion of the graph(f) that intersects the xz-plane at y = b item In turn, f(a, b + h) f(a, b) (a, b) y h h is the slope of the line tangent to that portion of the graph(f) that intersects the xy-plane at x = a These partial derivatives, as regular single variable calculus derivatives in a single direction, satisfy all of the rules that one developed in Calculus I Now, for a point (a, b) in the domain where these two quantities exist, the two tangent lines sitting in R 3, cross at the point (a, b, f(a, b)) R 3 and are perpendicular (form a right angle) They will determine a plane in R 3 : choose a non-zero vector inside each line, based at the corssing point The plane determined by these two crossing lines is then the set of all linear combinations (in R 3 ) of these two vectors Example 42 In higher, dimensions, this setup generalizes well: For f : X R n R, with x graph(f) = x Rn+ z = f(x,, x n ), n z fix a point a = fixing a a n X Now allow the ith coordinte to vary Then the slice formed by x = a,, x i = a i, x i+ = a i+,, x n = a n (note that this set of equations comprise n equations in R n+, where the graph of f lives), forms a two-dimensional space in R n+ parameterized by the variable x and z, which we will call the x i z-plane at a Here, the intersection graph(f) {x i z-plane at x = a} is a -dimensional curve If x i (a) exists, then its value represents the slope of the line tangent to this curve in the x i z-plane at a As a line in R n+, it passes through (a, f(a) R n+ Now if tangent lines exist for each of the variables x i, for i =,, n, they will form an n-dimensional space inside R n+ passing through the point (a, f(a) R n+ This space will be of vital importance to us Back to our two dimensional case, the plane formed by the two tangent lines to the slices of f(x, y) at the point (a, b) is called the tangent plane to the graph of f at (a, b) So what is the equation defining this 2-dimensional plane in R 3, what is its equation? It will consist of one linear equation in the three variables x, y, and z One choice of vector in the tangent line to the curve[ in the xz-plane ] corresponding to y = b will be based at (a, b) and have components (Why is this?) So, f x (a, b)

LECTURE 4: THE DERIVATIVE 3 as a vector in R 3, this vector will have components f x (a, b), and be based at the point (x, y, z) = (a, b, f(a, b)) The other vector in the tangent line to the intersection of the yz-plane at x = a with the graph of f, will have components, again based at (a, b, f(a, b)) f y (a, b) The tangent plane is then the set of all linear combinations of vectors, based at (a, b, f(a, b) that have components c + c 2 f x (a, b) f y (a, b) A little cumbersome, but well-defined There is a better way to describe the tangent plane: The vector n = = f x(a, b) f y (a, b) f x (a, b) f y (a, b) is normal to both of the tangent vectors Thus it is also normal to every linear combination of these tangent vectors In fact, then, one can define the tangent space defined by these two tangent vectors as the space of vectors normal to n, so with the dot product, we have x a y b f x(a, b) f y (a, b) = z f(a, b) }{{}}{{} generic vector at (a,b,f(a,b)) normal vector to all This works out to or, with a bit of rearranging of terms f x (a, b)(x a) f y (a, b)(y b) + z f(a, b) =, z = f(a, b) + f x (a, b)(x a) + f y (a, b)(y b) Now, call the right hand side of this last equation h(x, y), so that z = h(x, y) = f(a, b) + f x (a, b)(x a) + f y (a, b)(y b) is a linear function h : R 2 R It s graph z = h(x, y) is then a linear equation representing a plane in R 3 that passes through (a, b, f(a, b)), and has precisely the partials h x (a, b) = f x (a, b) and h y (a, b) = f y (a, b), when it is defined, that is When it is defined, the graph of this function becomes the best linear approximation to graph(f) at the point (a, b) X So what does best actually mean in this context? It means: () z = h(x, y) is a linear function in the variables x, y, and z, and (2) at (a, b), all of the following are true: The functions are equal, so h(a, b) = f(a, b);

4 2 HONORS MULTIVARIABLE CALCULUS PROFESSOR RICHARD BROWN the derivatives are equal, so h(a, b) = h x x(a, b) = f x (a, b) = (a, b), and x h (a, b) = h y y(a, b) = f y (a, b) = (a, b) y Example 43 Let f(x, y) = x 2 + y 2, and choose (a, b) = (, 2) We can go directly to Definition 4 here and compute f( + h, 2) f(, 2) (, 2) x h h (( + h) 2 + 2 2 ) ( 2 + 2 2 ) h h ( + 2h + h 2 + 4 ( + 4)) 2h + h 2 h h h h Similarly, (, 2) = 4 Then y z = h(x, y) = f(a, b) + f x (a, b)(x a) + f y (a, b)(y b) = 5 + 2(x ) + 4(y 2) h 2 + h = 2 is the equation in x, y, and z, whose solutions comprise the tangent plane to the graph of f(x, y) in R 3 Of course, as mentioned in the first note after Definition 4, one can think directly that partial derivative are really single variable derivatives, as far as calculation goes What this means is that we can sidestep the definition, and simply write (, 2) = (x, y) x x = [ x 2 + y 2] = (2x + ) (x,y)=(,2) x = 2 (x,y)=(,2) (x,y)=(,2) There is a major caveat that we need to mention here: Just because the individual its (a, b) and (a, b) may both exist, it does not automatically mean that f is differentiable x y at (a, b)! Example 4, on page 2 of the text is a great example of why the existence of these its is not enough I call this the rooftop function: Example 44 Let g(x, y) = x y x y Here, g g( + h, ) g(, ) h h (, ) = x h h h h Similarly, g (, ) = However, step off of the axes, and one can see the sharp edges of the y graph In fact, if one sliced the graph of g along the x = y line (diagonally, with respect to the two axes), then the its would not exist! Indeed, slice graph(g) along the line y = x Call the plane forming this slice P x = { (x, y, z) R 3 y = x } Then the piece of the graph of g inside P x can be written as z = g(x, x) = g(x) = x x x x = 2 x But, as already known from Calculus I, This function has no derivative at x =, since g () x g(x) g() x = 2 x x

LECTURE 4: THE DERIVATIVE 5 This it does not exist, and one can see the corner at the origin of the graph of g(x) Note: This idea of slicing a graph of a function along a line that is different from an axis in the domain will be an important tool in studying the properties of functions of more than one variable This is the idea of a directional derivative, which we will explore soon The existence of a proper tangent space to the graph of a function relies on its ability to well-approximate the function from ALL directions The best way to construct this is, again, to use the it! Let f : R R, and notice how we can rewrite f f(x) f(a) f(x) (f(a) + f (a)(x a)) (a), as = x a x a x a x a when (and only when) the it actually exists Exercise Show that this is true But this means that, for h(x) = f(a) + f (a)(x a), we can say that f is differentiable at x = a precisely when the tangent line y = h(x) to y = f(x) at x = a exists, so precisely when f(x) h(x) x a x a This is important, and establishes an alternate way to define differentiability for a function; A function f(x) is differentiable Example 45 In 2-dimensions, this setup generalizes well: For X R 2 open, with f : X R, f is differentiable at (a, b) X if Both (a, b) and (a, b) exist, and x y if h(x, y) = f(a, b) + f x (a, b)(x a) + f y (a, b)(y b) satisfies f(x, y) h(x, y) (x,y) (a,b) (x, y) (a, b) = Note that, again, when h(x, y) exists and satisfies the it above, then z = h(x, y) is the tangent plane to graph(f) at (a, b, f(a, b)) graph(f) R 3 More notes: An alternate, but equivalent, notion of differentiability: For X R 2 open, and f : X R, f is differentiable at (a, b) if f x (x, y) and f y (x, y) are continuous in a neighborhood of (a, b) in X Like in Calculus I, differentiability always implies continuity Also true in n-dimensions: Given X R n open, and f : X R, f is differentiable at a X if Each of x i (a) exist for i =,, n, and if h(x) = f(a) + n i= There is an easier way to write this: f(x) h(x) (a)(x i a i ) satisfies x i x a x a =

6 2 HONORS MULTIVARIABLE CALCULUS PROFESSOR RICHARD BROWN Definition 46 For f : X R n R differentiable at a X, the derivative of f at a is the n matrix Df(a) = [ f x (a) f x2 (a) f xn (a) ] And the derivative function is the n matrix of functions Df(x) = [ f x (x) f x2 (x) f xn (x) ] Knowing this, the tangent linear function, using the above notation and definition, can be written n h(x) = f(a) + f xi (a)(x i a i ) i= = f(a) + [ f x (a) f xn (a) ] = f(a) + Df(a) (x a) x a x 2 a 2 x n a n where Df(a) is a n (row) matrix, and (x a) is an n matrix (an n-vector) The result is a number, as it should Hence the it, in the definition becomes f(x) f(a) x a x a x a f(x) (f(a) Df(a)(x a)) x a f(x) h(x) x a x a f (x) Now what about f : X R n R m? Here, for x X, we have f(x) with f n (x) n input variables and m output variables If the derivative is to exist, then each component real-valued function f i : X R must have a derivative (including all of the partials) We have Df (a) Df(a) =, Df n (a) where each element in this matrix is, itself, a n matrix Hence x (a) x 2 (a) x n (a) 2 Df(a) = x (a) 2 x 2 (a) 2 x n (a), n x (a) n x 2 (a) n x n (a) an m n matrix with i x j (a) as the ijth entry So our most general definition is: Definition 47 Let f : X R n R m be a vector-valued function on an open X, and let a X f is differentiable at x = a if () i x j (a) all exist, for i =,, n and j =,, n, and

LECTURE 4: THE DERIVATIVE 7 (2) the linear map h(x) = f(a) + Df(a)(x a) satisfies Some final notes: x a f(x) h(x) x a In Definition 47, the term f(x) h(x) measures the distance between f(x) and h(x) near a, as vector-valued functions Df(a), as a matrix of numbers, represents a linear transformation from R n to R m It s entries vary as a varies, but it represents the best linear map approximating f(x) near x = a Df(a)(x a) R m is an m-vector for each value of x and represents a catalog of ways that moving around near a affects functions values in the codomain h(x) = f(a) + Df(a)(x a) defines an affine map h : R n R m (a linear map with a translation) Recall that for m =, z = h(x) has a graph in R n+ which is tangent to graph(f) at the point (a, f(a)) It is the same for m >, once one understands the nature of a graph with more than one output, but geometrically, it is far less easy to see