Section 14.8 Functions of more than three variables

Similar documents
Section 1.2 More on finite limits

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

Chapter 7: Exponents

Tangent Plane. Linear Approximation. The Gradient

f ', the first derivative of a differentiable function, f. Use the

Method of Lagrange Multipliers

Higher order derivative

PRACTICE PROBLEMS FOR MIDTERM I

Workshop I The R n Vector Space. Linear Combinations

Chapter 7: Exponents

Practice problems for Exam 1. a b = (2) 2 + (4) 2 + ( 3) 2 = 29

Ma 530 Power Series II

LB 220 Homework 4 Solutions

Section 5.1 Practice Exercises. Vocabulary and Key Concepts

OHSx XM521 Multivariable Differential Calculus: Homework Solutions 13.1

Department of Mathematics, IIT Bombay End-Semester Examination, MA 105 Autumn-2008

Vector Multiplication. Directional Derivatives and the Gradient

Section 4.4 Functions. CS 130 Discrete Structures

Exercises for Multivariable Differential Calculus XM521

LESSON 7.1 FACTORING POLYNOMIALS I

MATH 200 WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE

Directional Derivatives and the Gradient

Math 2 Variable Manipulation Part 7 Absolute Value & Inequalities

3 Applications of partial differentiation

Chapter 2. First-Order Differential Equations

Review of Coordinate Systems

Answer sheet: Final exam for Math 2339, Dec 10, 2010

Solutions to old Exam 3 problems

VECTORS vectors & scalars vector direction magnitude scalar only magnitude

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Chapter 3a Topics in differentiation. Problems in differentiation. Problems in differentiation. LC Abueg: mathematical economics

DO NOT BEGIN THIS TEST UNTIL INSTRUCTED TO START

0, otherwise. Find each of the following limits, or explain that the limit does not exist.

Section 15.6 Directional Derivatives and the Gradient Vector

Taylor and Maclaurin Series. Approximating functions using Polynomials.

11.4 Dot Product Contemporary Calculus 1

5-1 Perpendicular and Angle Bisectors

f(x, y) = 1 2 x y2 xy 3

Chapter 4: Radicals and Complex Numbers

Engg. Math. I. Unit-I. Differential Calculus

Solutions to Homework 5

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

Math 10C - Fall Final Exam

MA 123 September 8, 2016

2.1 Definition. Let n be a positive integer. An n-dimensional vector is an ordered list of n real numbers.

Section 0.2 & 0.3 Worksheet. Types of Functions

For Your Notebook E XAMPLE 1. Factor when b and c are positive KEY CONCEPT. CHECK (x 1 9)(x 1 2) 5 x 2 1 2x 1 9x Factoring x 2 1 bx 1 c

FACULTY OF ARTS AND SCIENCE University of Toronto FINAL EXAMINATIONS, APRIL 2016 MAT 133Y1Y Calculus and Linear Algebra for Commerce

B553 Lecture 3: Multivariate Calculus and Linear Algebra Review

g(2, 1) = cos(2π) + 1 = = 9

Functions and Their Graphs

mathematical objects can be described via equations, functions, graphs, parameterization in R, R, and R.

7.1. Calculus of inverse functions. Text Section 7.1 Exercise:

Linear Algebra Homework and Study Guide

Math 263 Assignment #4 Solutions. 0 = f 1 (x,y,z) = 2x 1 0 = f 2 (x,y,z) = z 2 0 = f 3 (x,y,z) = y 1

Final Exam 2011 Winter Term 2 Solutions

3. Interpret the graph of x = 1 in the contexts of (a) a number line (b) 2-space (c) 3-space

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

Lagrange Murderpliers Done Correctly

Module 2: First-Order Partial Differential Equations

Lecture Notes for MATH6106. March 25, 2010

Chapter 6. Additional Topics in Trigonometry. 6.6 Vectors. Copyright 2014, 2010, 2007 Pearson Education, Inc.

Bi. lkent Calculus II Exams

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

Math Example Set 12A. m10360/homework.html

2.1 Affine and Projective Coordinates

Exercise 8.1 We have. the function is differentiable, with. f (x 0, y 0 )(u, v) = (2ax 0 + 2by 0 )u + (2bx 0 + 2cy 0 )v.

Review exercise 2. 1 The equation of the line is: = 5 a The gradient of l1 is 3. y y x x. So the gradient of l2 is. The equation of line l2 is: y =

Partial Derivatives. w = f(x, y, z).

Advanced Calculus Notes. Michael P. Windham

Lagrange Multipliers

Section 1.5 Formal definitions of limits

Table of mathematical symbols - Wikipedia, the free encyclopedia

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

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

Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems. Three-Dimensional Coordinate Systems

Higher Mathematics Course Notes

review To find the coefficient of all the terms in 15ab + 60bc 17ca: Coefficient of ab = 15 Coefficient of bc = 60 Coefficient of ca = -17

Math 2163, Practice Exam II, Solution

California Subject Examinations for Teachers

Exercise. Exercise 1.1. MA112 Section : Prepared by Dr.Archara Pacheenburawana 1

FINAL REVIEW Answers and hints Math 311 Fall 2017

Calculus III. Math 233 Spring Final exam May 3rd. Suggested solutions

Distances in R 3. Last time we figured out the (parametric) equation of a line and the (scalar) equation of a plane:

Slope Fields and Differential Equations. Copyright Cengage Learning. All rights reserved.

3.7 Constrained Optimization and Lagrange Multipliers

1. Let r, s, t, v be the homogeneous relations defined on the set M = {2, 3, 4, 5, 6} by

11.1 Vectors in the plane

POLYNOMIALS. x + 1 x x 4 + x 3. x x 3 x 2. x x 2 + x. x + 1 x 1

COMP 175 COMPUTER GRAPHICS. Lecture 04: Transform 1. COMP 175: Computer Graphics February 9, Erik Anderson 04 Transform 1

LECTURE 5, FRIDAY

JUST THE MATHS UNIT NUMBER PARTIAL DIFFERENTIATION 1 (Partial derivatives of the first order) A.J.Hobson

Vectors, dot product, and cross product

1 Review of di erential calculus

LESSON 6.2 POLYNOMIAL OPERATIONS I

2.2. THE PRODUCT AND QUOTIENT RULES 179. P dv dt + V dp. dt.

February 4, 2019 LECTURE 4: THE DERIVATIVE.

Matrix Basic Concepts

Math 210, Final Exam, Fall 2010 Problem 1 Solution. v cosθ = u. v Since the magnitudes of the vectors are positive, the sign of the dot product will

Practice Midterm 2 Math 2153

Transcription:

Section 14.8 Functions of more than three variables (3/24/08) Overview: In this section we discuss functions with more than three variables and their derivatives. The necessary definitions, results, and procedures are analogous to those for functions with two or three variables. Topics: n-dimensional Euclidean space and functions of n variables Partial derivatives Graphs of functions and their tangent planes Gradient vectors and directional derivatives Level surfaces and their tangent planes n-dimensional Euclidean space and functions of n variables Most results concerning derivatives of functions of two or three variables carry over to functions with more variables when we provide for the extra variables in definitions, theorems, and descriptions of procedures. The main difference is that we cannot visualize geometric interpretations of results and procedures when there are more than three variables. Nevertheless, we can use our geometric intuition to guide us in dealing with the higher dimensional cases by visualizing the analagous calculations and relationships in two- or three-dimensional space. For this purpose, we use terms such as point, plane, surface, and space in discussions of the corresponding mathematical entities in dimensions higher than three. A point in n-dimensional space, for an arbitrary positive integer n, is an ordered set P = (x 1, x 2, x 3,...,x n ) of n real numbers. The numbers are the coordinates of P. The set of all such points is called n-dimensional Euclidean space and is denoted R n. R 1 is a coordinate line and R 2 is a coordinate plane. A real-valued function f of n variables is defined on a subset of R n : Defintion 1 (Functions of n variables) A function f of n variables, for any positive integer n, is a rule that assigns a number, denoted f(x 1, x 2, x 3,...,x n ), to each point in the domain of the function. The domain is a subset or all of R n. Example 1 On July 21, 2006, Ford Motor stock sold for $6.19 per share, Hewlett Packard stock sold for $31,80 per share, Motorola stock sold for $20.60 per share, Pepsi Cola stock sold for $62.48 per share, and Yahoo stock sold for $25.27 per share. Give a formula for the cost C(x 1, x 2,x 3, x 4,x 5 ) on that day of x 1 shares of Ford Motor stock, x 2 shares of Hewlett Packard stock, x 3 shares of Motorola stock, x 4 shares of Pepsi Cola stock, and x 5 shares of Yahoo stock. What is the domain of this function? C(x 1,x 2, x 3,x 4, x 5 ) = 6.19x 1 + 31.80x 2 + 20.60x 3 + 62.48x 4 + 25.27x 5 dollars. Since each of the variables can be zero or a positive integer, the domain is the subset of R 5 consisting of the points (x 1,x 2, x 3, x 4,x 5 ), where x 1,x 2, x 3,x 4, and x 5 are nonnegative integers. If a function of n variables is given by a with no extra restrictions on the variables, we assume that its domain consists of all points in R n where the formula is defined. Example 2 What is the domain of the function g(x, y,z,w) = x + y + z + w? Since t is defined for t 0, the domain of g is the subset {(x, y,z,w) : x+y+z+w 0} of four-dimensional xyzw-space. 366

Section 14.8, Functions of more than three variables p. 367 (3/24/08) Partial derivatives, A partial derivative f xj = f/ x j of a function f with n variables (x 1, x 2,...,x n ) for any n > 3, like a partial derivative with two or three variables, is obtained by differentiating with respect to x j while holding the other variables constant. Example 3 Find the derivative P xz of P(x,y,z, v,w) = xe y sin z cos v ln w. The x-derivative is P x = x (xey sin z cos v ln w) = e y sin z cos v ln w. The xz-derivative is P xz = z (P x) = z = z (ey sin z cos v ln w) = e y cos z cos v ln w. Example 4 A steeple consists of a rectangular box of width x, depth y, and height y with a rectangular pyramid shape of height h on top of it, as in Figure 1. The volume of the steeple is V (x,y,z, w) = xyz + 1 3xyh. What are the first-order partial derivatives of the volume? h z FIGURE 1 x y The x-derivative is V x = x (xyz + 1 3 xyh) = yz + 1 3yh. The y-derivative is V y = y (xyz + 1 3 xyh) = xz + 1 3 xh. The z-derivative is V z = z (xyz + 3 1 xyh) = xy. The h-derivative is V h = h (xyz + 1 3 xyh) = 1 3 xy. Graphs of functions and their tangent planes The definitions of graphs and level surfaces of functions with two variables generalize to functions of three or more variables as follows. Definition 2 (Graphs with n variables) The graph of a function f with the n variables (x 1,x 2, x 3,...,x n ) is the surface x n+1 = f(x 1, x 2,x 3,...,x n ) in R n+1. We cannot draw or visualize graphs of functions with three or more variables because they are surfaces in R n with n 4. The definition of tangent planes to graphs of functions with three or more variables is obtained by adding variables to the definition for two variables from Section 14.5. Definition 3 The tangent plane to the graph x n+1 = f(x 1, x 2,...,x n ) at (a 1,a 2,...,a n ) is x n+1 = f + f x1 (x 1 a 1 ) + f x2 (x 2 a 2 ) + + f xn (x n a n ) (1) with the function and its derivatives evaluated at (a 1, a 2,...,a n ).

p. 368 (3/24/08) Section 14.8, Functions of more than three variables Example 5 Give an equation of the tangent plane to the graph of w = x 2 + y 2 + z 2 at x = 1,y = 2, z = 3. The value of the function at x = 1, y = 2, z = 3 is w(1,2, 3) = 1 2 + 2 2 + 3 2 = 14. The first-order partial derivatives are w x = x (x2 + y 2 + z 2 ) = 2x, w y = y (x2 + y 2 + z 2 ) = 2y, and w z = x (x2 + y 2 + z 2 ) = 2z. Their values at (1, 2,3) are w x (1, 2, 3) = 2(1) = 1, w y (1, 2, 3) = 2(2) = 2, and w z (1, 2, 3) = 2(3) = 6. Consequently, the tangent plane is w = 14 + 2(x 1) + 4(y 2) + 6(z 3). Gradient vectors and directional derivatives A vector in R n for n > 3 is an ordered n-tuple of numbers A = a 1,a 2,...,a n. Vectors in R n are added component by component and to multiply a vector by a number, each component is multiplied by the number: a 1, a 2,...,a n + b 1,b 2,...,b n = a 1 + b 1,a 2 + b 2,...,a n + b n k a 1,a 2,...,a n = ka 1,ka 2,...,ka n. The displacement vector PQ from a point P = (x 1, x 2,...,x n ) to a point Q = (y 1,y 2,...y n ) is obtained by subtracting the coordinates of P from the coordinates of Q: PQ = y 1 x 1, y 2 x 2,...,y n x n. The length of a vector is the square root of the sum of the squares of its components, and a unit vector is a vector of length 1. a 1, a 2,...,a n = a 2 1 + a2 2 + + a2 n Two nonzero vectors are said to have the same direction if one equals a positive number multiplied by the other. The unit vector with the same direction as a nonzero vector can be obtained by dividing the vector by its length. The dot product of two vectors is the sum of the products of their components: a 1,a 2,...,a n b 1, b 2,...,b n = a 1 b 1 + a 2 b 2 + + a n b n. One vector is said to be perpendicular to another if their dot product is zero. With this notation, the definitions of gradients and directional derivatives for n > 3 differ from those in the cases of n = 2 and 3 only in the numbers of coordinates and components: Definition 4 (Gradient vectors and directional derivatives) (a) The gradient vector of x n+1 = f(x 1, x 2,...,x n ) at (a 1,a 2,...,a n ) is f(a 1,a 2,...,a n ) = f x1, f x2,...,f xn with the partial derivatives evaluated at (a 1,a 2,...,a n ). (b) The directional derivative D u f of z = f(x,y,z) at (a 1,a 2,...,a n ) in the direction of the unit vector u = u 1, u 2,u 3 is the t-derivative of the cross section x n+1 = f(a 1 +tu 1,a 2 +tu 2,...,a n +tu n ) at t = 0.

Section 14.8, Functions of more than three variables p. 369 (3/24/08) The procedure for finding a directional derivative and the basic results concerning gradient vectors in in R n for n > 3 are basically the same as in the cases of n = 2 and n = 3: Theorem 1 (a) The directional derivative D u f(a 1, a 2,...,a n ) of x n+1 = f(x 1, x 2,...,x n ) is equal to the dot product of the gradient of f at (a 1,a 2,...,a n ) with the unit vector u: D u f(a 1, a 2,...,a n ) = f(a 1,a 2,...,a n ) u = f x1 u 1 + f x2 u 2 + + f xn u n. (2) The derivatives in these formulas are evaluated at (a 1, a 2,...,a n ). (b) The greatest directional derivative of f at (a 1, a 2,...,a n ) is the length f of the gradient vector at that point, and the least directional derivative is the negative of the length of the gradient vector. (c) If the gradient vector is not zero at (a 1,a 2,...,a n ), then the greatest directional derivative at the point is in the direction of the gradient, the least directional derivative is in the direction opposite to that of the gradient, and the directional derivative is zero in the directions perpendicular to the gradient. This theorem can be established by modifying proofs from Section 14.5 to deal with n variables for any n 2 rather than with two variables. Example 6 (a) What is the gradient vector of w = x 2 + y 3 + z 4 + v 5 at (1, 1,1, 1)? (b) What is the derivative of w = x 2 + y 2 + z 2 + w 2 at (1, 1, 1, 1) in the direction toward the origin? (c) What is the maximum directional derivative of w = x 2 + y 2 + z 2 + w 2 at (1, 1,1, 1)? (a) The gradient at (x,y,z,v) is w = w x,w y,w z,w v = 2x,3y 2,4z 3, 5v 4 so f(1, 1, 1, 1) = 2, 3, 4,5. (b) The displacement vector from P = (1, 1, 1,1) to the origin O = (0, 0, 0, 0) is PO = 0 1, 0 1,0 1, 0 1 = 1, 1, 1, 1. Its length is 1, 1, 1, 1 = 1 2 + 1 2 + 1 2 + 1 2 = 4 = 2. Consequently, the unit vector with that direction is u = 1 2, 1 2, 1 2, 1 2. By formula (2), the directional derivative is w u = 2, 3, 4,5 1 2, 1 2, 1 2, 1 2 = 2( 1 2 ) + 3(1 2 ) + 4(1 2 ) + 5(1 2 ) = 14(1 2 ) = 7. (c) By part (c) of Theorem 1, the maximum directional derivative of the function at (1, 1,1, 1) is equal to the length of the gradient vector, which is 2, 3, 4,5 = 2 2 + 3 2 + 4 2 + 5 2 = 54. Level surfaces and their tangent planes Level surfaces of functions with n-variables and their tangent planes are in R n. Definition 5 (Level surfaces and their tangent planes) (a) A level surface of a function x n+1 = f(x 1, x 2,...,x n ) is the locus of points in R n that satisfy the equation f(x 1, x 2,...,x n ) = c with a constant c. (b) If the gradient of f is not zero at a point (a 1,a 2,...,a n ), then the level surface through that point has a tangent plane there with the equation, f x1 (x 1 a 1 ) + f x2 (x 2 a 2 ) + + f xn (x n a n ) = 0. The partial derivatives here are evaluated at (a 1,a 2,...,a n ).

p. 370 (3/24/08) Section 14.8, Functions of more than three variables Example 7 Give an equation for the tangent plane to the level surface f = 5 of f(x,y, z,u,v) = e x + e y + e u + e v at the origin (0, 0, 0,0, 0) in xyzuv-space. Since the derivatives f x = e x, f y = e y,f z = e z, f u = e u, and f v = e v all have the value 1 at (0,0, 0, 0, 0), the tangent plane has the equation, (x 1 0) + (x 2 0) + (x 3 0) + (x 4 0) + (x 5 0) = 0 which simplifies to x 1 + x 2 + x 3 + x 4 + x 5 = 0. Interactive Examples 14.8 Interactive solutions are on the web page http//www.math.ucsd.edu/ ashenk/. 1. What are the first-order partial derivatives of F(x,y,z, w) = x 5 + y 4 + z 3 + w 2? 2. Give an equation of the tangent plane to w = xye z at x = 1, y = 2, z = 3. 3. What is the gradient vector of H(x,y,z) = sin x + sin y + sin x + sin z at (π, π,π, π)? 4. Use the result of Interactive Example 3 to find the derivative of H(x,y,z) = sin x + sin y + sin z + sin w at (π,π, π, π) in the direction toward (3π, 3π, 3π, 3π). 5. Find the maximum directional derivative of K(x, y, z, w) = xyzw at (1, 2, 3, 4). 6 Give an equation of the tangent plane to xy + yz + zw + xw = 4 at (1,1, 1, 1) in xyzw-space. Exercises 14.8 A Answer provided. CONCEPTS: O Outline of solution provided. C Graphing calculator or computer required. 1. Suppose that the cost function C(x 1, x 2,x 3,x 4, x 5 ) in Example 1 is defined for all positive values of its variables. What are the rates of change with respect to x 1,x 2,x 3, x 4 and x 5 of the cost function and what do they represent? 2. How can a function w = f(x,y,z, u,v) be viewed as a function of the three variables (x,y,z)? 3. When does a function f(x) of one variable become a function of the four variables (x, y,z,w)? 4. Show that the formula w = f(a,b, c) + f x (a,b, c)(x a) + f y (a,b, c)(y b) + f z (a,b, c)(z c) for the tangent plane to the graph of a function can be obtained from the formula for the tangent plane to a level surface of g(x, y,z,w) = f(x, y,z) w at ( a,b, c,f(a,b, c) ). BASICS: Find the derivatives in Exercises 5 through 11. 5. O g xyzw for g(x, y,z,w) = (sin x)(cosy)(lnz)(e 2w ). 6. A x (x2 y 3 z 4 w 5 ) 7. (6x 7y + 4z 7w) w 8. A 2 z w (e5x+4y+3z+2w ) 9. 3 x w 2(x2 y 3 z 4 w 5 ) 10. A P xyzw for P(x,y,z,w) = xyzw 11. 3 w 3 (ex+2y+3z+4w ) In the published text the interactive solutions of these examples will be on an accompanying CD disk which can be run by any computer browser without using an internet connection.

Section 14.8, Functions of more than three variables p. 371 (3/24/08) In Exercises 12 through 15 give equations of the tangent plnes. 12. O The tangent plane to the graph of w = sin x sin y sin z at x = 1, y = 2, z = 3. 13. A The tangent plane to the graph of w = e xyz at x = 1, y = 1, z = 1 14. The tangent plane to the graph of w = e x + e y + e z at x = 1, y = 1, z = 1 15. The tangent plane to the graph of g = 5 + x 2 y 2 + z 2 w 2 at x = 0, y = 0, z = 0, w = 0 Find the gradient vectors in Exercises 16 through 19. 16. O The gradient vector of f(x,y,z,w) = xyzw at (1, 2,3, 4) 17. A The gradient vector of g(x,y,z, u,v) = 2x + 4y + 6z + 8u + 10v. 18. Q(0, 0,0, 0) for Q(x,y,z,w) = sin x + sin(2y) + sin(3z) + sin(4w)? 19. P(x,y,z, w) for P(x,y,z,w) = x 4 + y 3 + z 2 + w 1? Find the directional derivatives in Exercises 20 through 23. 20. O The directional derivative of f(x,y,z,w) = xyzw at (1, 2, 3,4) in the direction toward (2,3, 4, 5) (See Exercise 12.) 21. A D u g(x, y,z,u,v) for g(x, y,z,u,v) = 2x+4y+6z+8u+10v and u = 3 5, 2 5, 2 5, 2 5 (See Exercise 13.) 22. The directional derivative of H = xyzw at (2, 3, 2,3) in the direction toward the origin 23. D u h(0,0, 0, 0, 0) for H(x,y,z,u, v) = e x+y+z+u+v 1,1, 1, 1, 1 and u = 5 In Exercises 24 through 27 give formulas for the tangent planes to the level surfaces. 24. O The tangent plane to x + y + z + w = 10 at (1, 2, 3, 4) in R 4 25. A The tangent plane to xyzw = 24 at (1, 2, 3,4) in xyzw-space 26. The tangent plane to sin x + sin y + sin z + sin w = 0 at the origin in R 4 27. The tangent plane to x + x 2 = 6 at (2, 3,4, 5) in xyzw-space (End of Section 14.8)