ENGI Partial Differentiation Page y f x

Similar documents
ENGI Partial Differentiation Page y f x

3 Applications of partial differentiation

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

e x3 dx dy. 0 y x 2, 0 x 1.

ENGI 4430 Surface Integrals Page and 0 2 r

ENGI Gradient, Divergence, Curl Page 5.01

1. For each function, find all of its critical points and then classify each point as a local extremum or saddle point.

Exercises for Multivariable Differential Calculus XM521

McGill University April Calculus 3. Tuesday April 29, 2014 Solutions

MTH4101 CALCULUS II REVISION NOTES. 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) ax 2 + bx + c = 0. x = b ± b 2 4ac 2a. i = 1.

(a) The points (3, 1, 2) and ( 1, 3, 4) are the endpoints of a diameter of a sphere.

7a3 2. (c) πa 3 (d) πa 3 (e) πa3

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

ENGI Multiple Integration Page 8-01

Note: Each problem is worth 14 points except numbers 5 and 6 which are 15 points. = 3 2

Math 222 Spring 2013 Exam 3 Review Problem Answers

Math 2413 General Review for Calculus Last Updated 02/23/2016

1. If the line l has symmetric equations. = y 3 = z+2 find a vector equation for the line l that contains the point (2, 1, 3) and is parallel to l.

Solutions to old Exam 3 problems

Math 234 Final Exam (with answers) Spring 2017

MATH H53 : Final exam

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

Derivatives and Integrals

1 Functions of Several Variables Some Examples Level Curves / Contours Functions of More Variables... 6

Math 10C - Fall Final Exam

1. Find and classify the extrema of h(x, y) = sin(x) sin(y) sin(x + y) on the square[0, π] [0, π]. (Keep in mind there is a boundary to check out).

SOLUTIONS TO THE FINAL EXAM. December 14, 2010, 9:00am-12:00 (3 hours)

ENGI 4430 Parametric Vector Functions Page dt dt dt

MATH 18.01, FALL PROBLEM SET # 6 SOLUTIONS

Taylor Series and stationary points

SOME PROBLEMS YOU SHOULD BE ABLE TO DO

Review for the First Midterm Exam

Calculus - II Multivariable Calculus. M.Thamban Nair. Department of Mathematics Indian Institute of Technology Madras

1 + f 2 x + f 2 y dy dx, where f(x, y) = 2 + 3x + 4y, is

MIDTERM EXAMINATION. Spring MTH301- Calculus II (Session - 3)

NO CALCULATOR 1. Find the interval or intervals on which the function whose graph is shown is increasing:

MULTIVARIABLE INTEGRATION

APPM 2350 FINAL EXAM FALL 2017

Course Outline. 2. Vectors in V 3.

Name: Instructor: Lecture time: TA: Section time:

Lecture 13 - Wednesday April 29th

Created by T. Madas LINE INTEGRALS. Created by T. Madas

Math 118, Fall 2014 Final Exam

Review problems for the final exam Calculus III Fall 2003

x + ye z2 + ze y2, y + xe z2 + ze x2, z and where T is the

MULTIVARIABLE CALCULUS

Solutions to Math 41 Second Exam November 5, 2013

MATH 52 FINAL EXAM SOLUTIONS

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

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

1 Vectors and the Scalar Product

Math 210, Final Exam, Practice Fall 2009 Problem 1 Solution AB AC AB. cosθ = AB BC AB (0)(1)+( 4)( 2)+(3)(2)

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

Introduction to Differentials

1MA6 Partial Differentiation and Multiple Integrals: I

AP Calculus BC Chapter 4 AP Exam Problems A) 4 B) 2 C) 1 D) 0 E) 2 A) 9 B) 12 C) 14 D) 21 E) 40

Math3A Exam #02 Solution Fall 2017

Math 147 Exam II Practice Problems

Sec. 1.1: Basics of Vectors

Practice Problems for the Final Exam

ENGI Parametric Vector Functions Page 5-01

Math 23b Practice Final Summer 2011

ENGI 4430 Multiple Integration Cartesian Double Integrals Page 3-01

APPLICATION OF DERIVATIVES

Higher order derivative

Functions. A function is a rule that gives exactly one output number to each input number.

ENGI 4430 Advanced Calculus for Engineering Faculty of Engineering and Applied Science Problem Set 3 Solutions [Multiple Integration; Lines of Force]

4 Partial Differentiation

Final Review Worksheet

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

ENGI 4430 Line Integrals; Green s Theorem Page 8.01

Multiple Integrals and Vector Calculus (Oxford Physics) Synopsis and Problem Sets; Hilary 2015

NO CALCULATOR 1. Find the interval or intervals on which the function whose graph is shown is increasing:

MATH 19520/51 Class 5

Directional Derivatives in the Plane

Integrals. D. DeTurck. January 1, University of Pennsylvania. D. DeTurck Math A: Integrals 1 / 61

is a surface above the xy-plane over R.

Faculty of Engineering, Mathematics and Science School of Mathematics

Multivariable Calculus and Matrix Algebra-Summer 2017

Practice problems **********************************************************

Practice Midterm 2 Math 2153

Practice Final Solutions

Math Review for Exam Compute the second degree Taylor polynomials about (0, 0) of the following functions: (a) f(x, y) = e 2x 3y.

Major Ideas in Calc 3 / Exam Review Topics

Tangent Plane. Linear Approximation. The Gradient

AP Calculus Chapter 4 Testbank (Mr. Surowski)

Jim Lambers MAT 280 Summer Semester Practice Final Exam Solution. dy + xz dz = x(t)y(t) dt. t 3 (4t 3 ) + e t2 (2t) + t 7 (3t 2 ) dt

Calculus I Review Solutions

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Mathematics for Economics ECON MA/MSSc in Economics-2017/2018. Dr. W. M. Semasinghe Senior Lecturer Department of Economics

Math 207 Honors Calculus III Final Exam Solutions

AB CALCULUS SEMESTER A REVIEW Show all work on separate paper. (b) lim. lim. (f) x a. for each of the following functions: (b) y = 3x 4 x + 2

Find the slope of the curve at the given point P and an equation of the tangent line at P. 1) y = x2 + 11x - 15, P(1, -3)

DEPARTMENT OF MATHEMATICS AND STATISTICS UNIVERSITY OF MASSACHUSETTS. MATH 233 SOME SOLUTIONS TO EXAM 2 Fall 2018

1. (a) (5 points) Find the unit tangent and unit normal vectors T and N to the curve. r (t) = 3 cos t, 0, 3 sin t, r ( 3π

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

Free Response Questions Compiled by Kaye Autrey for face-to-face student instruction in the AP Calculus classroom

MATHEMATICS 200 April 2010 Final Exam Solutions

Sept , 17, 23, 29, 37, 41, 45, 47, , 5, 13, 17, 19, 29, 33. Exam Sept 26. Covers Sept 30-Oct 4.

AN INTRODUCTION TO CURVILINEAR ORTHOGONAL COORDINATES

Transcription:

ENGI 3424 4 Partial Differentiation Page 4-01 4. Partial Differentiation For functions of one variable, be found unambiguously by differentiation: y f x, the rate of change of the dependent variable can dy f x. In this chapter we explore dx z f x, y. rates of change for functions of more than one variable, such as Contents: 4.1 Partial Derivatives - introduction, chain rule, practice 4.2 Higher Partial Derivatives, Clairaut s theorem, Laplace s PDE 4.3 Differentials; error estimation; chain rule [again]; implicit functions; partial derivatives on curves of intersection 4.4 The Jacobian - implicit and explicit forms; plane polar; spherical polar 4.5 Gradient Vector, directional derivative, potential function, central force law z f x, y 4.6 Extrema; Second Derivative Test for 4.7 Lagrange Multipliers; nearest point on curve of intersection to given point 4.8 Miscellaneous Additional Examples

ENGI 3424 4.1 Partial Derivatives Page 4-02 4.1 Partial Derivatives - introduction, chain rule, practice Example 4.1.1 At a particular instant, a cone has a height of h = 2 m and a base radius of r = 1 m. The base radius is increasing at a rate of 1 mm/s. The height is constant. How fast is the volume V increasing at this time? dr dh dt dt dv how do we find? dt We shall return to this question later. 1 1 But if 1 mms and 2 mms,

ENGI 3424 4.1 Partial Derivatives Page 4-03 Graph of V against r and h : Plotting z = V (where V = r 2 h / 3) against both x = r and y = h yields The cross-section of this surface in the vertical plane h = 2 is The cross-section of this surface in the vertical plane r = 1 is

ENGI 3424 4.1 Partial Derivatives Page 4-04 The tangent line to the surface in a cross-section (h = constant) has a slope of The tangent line to the surface in a cross-section (r = constant) has a slope of At each point on the surface, these two tangent lines define a tangent plane. V r. V h. V is a function of r and h, each of which in turn is a function of t only. In this case, the chain rule becomes In example 4.1.1, dv V dr V dh dt r dt h dt If w = f (x, y, z), then V r, h A Maple worksheet, used to generate the graph of 2 1 3 r h, is available at "http://www.engr.mun.ca/~ggeorge/3424/demos/conevolume.mws". Open this worksheet in Maple and click on the graph. Then, by dragging the mouse (with left button down), one can change the direction of view of the graph as one wishes. Other features of the graph may be changed upon opening a menu with a right mouse click on the graph or by using the main menu at the top of the Maple window.

ENGI 3424 4.1 Partial Derivatives Page 4-05 Example 4.1.2 2 2 2 f x, y, z x y z Find f 0,3,4. z [the first partial derivative of f with respect to z, evaluated at the point (0, 3, 4)].

ENGI 3424 4.1 Partial Derivatives Page 4-06 Example 4.1.3 u = x y/z Find the three first partial derivatives, ux, uy, u z.

ENGI 3424 4.2 Higher Partial Derivatives Page 4-07 4.2 Higher Partial Derivatives, Clairaut s theorem, Laplace s PDE u x u x u xx u yx 2 u z y x 2 u y y x etc. Example 4.2.1 t u xe sin y Find the second partial derivatives uxy, uyx, u xx and the third partial derivative u ttt.

ENGI 3424 4.2 Higher Partial Derivatives Page 4-08 Clairaut s Theorem If, on a disk D containing the point (a, b), f is defined and both of the partial derivatives f xy and f yx are continuous, (which is the case for most functions of interest), then xy,, f a b f a b that is, the order of differentiation doesn t matter. One of the most important partial differential equations involving second partial derivatives is Laplace s equation, which arises naturally in many applications, including electrostatics, fluid flow and heat conduction: 2 2 u u 0 2 2 x y or its equivalent in 3 : 2 u 2 x 2 u 2 y yx 2 u 2 z 0 Example 4.2.2 Does u x y 2 2 ln satisfy Laplace s equation?

ENGI 3424 4.3 Differentials Page 4-09 4.3 Differentials; error estimation; chain rule [again]; implicit functions; partial derivatives on curves of intersection In 2, let a curve have the Cartesian equation y = f (x). The small change in y, ( y ), caused by travelling along the curve for a small horizontal distance x, may be approximated by the change dy that is caused by travelling for the same horizontal distance x along the tangent line instead. The exact form is y f x x f x. The approximation to y is y dy f x dx where the increment x has been replaced by the differential dx. The approximation improves as x decreases towards zero. Stepping up one dimension, let a surface have the Cartesian equation z = f (x, y). The change in the dependent variable z caused by small changes in the independent variables x and y has the exact value z f x x, y y f x, y. The approximation to z is f f z dz dx dy x y Example 4.3.1 A rectangle has quoted dimensions of 30 cm for length and 24 cm for width. However, there may be an error of up to 1 mm in the measurement of each dimension. Estimate the maximum error in the calculated area of the rectangle. Let A = area, L = length and W = width. Length = (30 ± 0.1) cm L = 30 and L = 0.1 Width = (24 ± 0.1) cm W = 24 and W = 0.1

ENGI 3424 4.3 Differentials Page 4-10 Example 4.3.1 (continued) Compare this to a direct calculation: Relative error:

ENGI 3424 4.3 Differentials Page 4-11 Chain Rule z f x, y. If x and y are both functions of t only, then, by the chain rule, If z f x, y and y in turn is a function of x only, then replace t by x in the formula above.

ENGI 3424 4.3 Differentials Page 4-12 Example 4.3.2 In the study of fluid dynamics, one approach is to follow the motion of a point in the fluid. In that approach, the velocity vector is a function of both time and position, while, t r r t. position, in turn, is a function of time. v vr and The acceleration vector is then obtained through differentiation following the motion of the fluid: d v v v d x v d y v d z a t dt t x dt y dt z dt d v v or, equivalently, at v v dt t Further analysis of an ideal fluid of density at pressure p subjected to a force field F leads to Euler s equation of motion v p v v F t This application of partial differentiation will be explored in some majors in a later x semester. As a simple example here, suppose that e t find the acceleration vector. v 1 10 1, then T

ENGI 3424 4.3 Differentials Page 4-13 Generalized Chain Rule Let z be a function of n variables x1, x2,, x n, each of which, in turn, is a function of m variables t1, t2,, t m, so that m m, x t, t,, t. z f x t, t,, t, x t, t,, t, To find 1 1 2 2 1 2 z t i, n 1 2 m trace all paths that start at z and end at t i, via all of the n n j j j1x j ti j1x j ti j x variables. z z z x dz dx and i 1,2,, m Example 4.3.3: st u x y yz zx, x st, y e and z t. Find u s in terms of s and t only. Find the value of u s when s = 0 and t = 1. 2

ENGI 3424 4.3 Differentials Page 4-14 Implicit functions: If z is defined implicitly as a function of x and y by F x, y, z df Fx dx Fy dy Fz dz 0 1 F dz Fx dx Fy dy provided Fz 0 F z z c, then Example 4.3.4: Find the change in z when x and y both increase by 0.2 from the point (1, 2, 2) on the 2 2 2 sphere x y z 9. 2 2 2 F x y z 9 dz Solution Approximate motion on the sphere by motion on the tangent plane:

ENGI 3424 4.3 Differentials Page 4-15 Curves of Intersection Example 4.3.5: Find both partial derivatives with respect to z on the curve of intersection of the sphere centre the origin, radius 5, and the circular cylinder, central axis on the y-axis, radius 3. Sphere: f = Cylinder: g = df = and dg = which leads to the linear system

ENGI 3424 4.3 Differentials Page 4-16 Example 4.3.6 f x, y, z xz y z z 1. Find A surface is defined by 2 z y. Implicit method: df In general, if a dx b dy c dz then z a z (because y is constant and dy = 0 in the slice in which x c x z b (because x is constant and dx = 0 in the slice in which y c is evaluated) and z is evaluated). y

ENGI 3424 4.4 The Jacobian Page 4-17 4.4 The Jacobian - implicit and explicit forms; plane polar; spherical polar The Jacobian is a conversion factor for a differential of area or volume between one orthogonal coordinate system and another. Let x, y,, u v be related by the pair of simultaneous equations,,, 1,,, c2 f x y u v c g x y u v df fx dx fy dy fu du fv dv 0 and dg g dx g dy g du g dv 0 x y u v The Jacobian for the transformation from x, y to, u v is also the magnitude of the cross product of the tangent vectors that define the boundaries of the element of area, so that x, y r r u, v u v

ENGI 3424 4.4 The Jacobian Page 4-18 Example 4.4.1 Transform the element of area da dx dy to plane polar coordinates. x r cos, y r sin. If x, y can be written as explicit functions of (u, v), then an explicit form of the Jacobian is available: x, y uv, x u y u x v y v The Jacobian can also be used to express an element of volume in terms of another orthogonal coordinate system: x, y, z dv dx dy dz du dv dw u, v, w

ENGI 3424 4.4 The Jacobian Page 4-19 Spherical Polar Coordinates The declination angle is the angle between the positive z axis and the radius vector r. 0. The azimuth angle is the angle on the x-y plane, measured anticlockwise from the positive x axis, of the shadow of the radius vector. 0 2. z rcos The shadow of the radius vector on the x-y plane has length r sin. It then follows that x rsincos and y rsinsin. Example 4.4.2 Express the element of volume dv in spherical polar coordinates, x rsincos r y rsinsin z rcos Using the explicit form, r,, x, y, z xr x x yr y y zr z z

ENGI 3424 4.4 The Jacobian Page 4-20 For a transformation from Cartesian to plane polar coordinates in x, y r so that da dx dy r dr d r, 2, For cylindrical polar coordinates in 3, x, y, z r dv r dr d dz r,, z Explicit method for plane polar coordinates: x r cos, y r sin x x x, y r cos rsin ABS det r, y y sin r cos r 2 2 r cos r sin r. Implicit method for plane polar coordinates [Example 4.4.1]: f x r cos 0 df dx cos dr r sin d 0 g y r sin 0 dg dy sin dr r cos d 0 1 0 dx cos r sin dr 0 1 dy sin r cos d A B 2 2 x, y B r cos rsin r r r, A 1 Note that for spherical polar coordinates r,, there is no agreement among textbooks as to which angle is and which angle is. In this course we adopt as the angle between the positive z axis and the radius vector r. You are likely to encounter textbooks and software in which that same angle is labelled as.

ENGI 3424 4.5 The Gradient Vector Page 4-21 4.5 Gradient Vector, directional derivative, potential function, central force law Let df dt F Fr and t r r. Directional Derivative The rate of change of the function F at the point P o in the direction of the vector a aa ˆ a0 is D F aˆ Po F The maximum value of the directional derivative of F at any point P o occurs when Po aˆ

ENGI 3424 4.5 The Gradient Vector Page 4-22 Example 4.5.1 The temperature in a region within 10 units of the origin follows the form r 2 2 2 T r e, where r x y z. Find the rate of temperature change at the point ( 1, 1, +1) in the direction of the vector 1 0 0 T.

ENGI 3424 4.5 The Gradient Vector Page 4-23 Central Force Law If r is the potential function for some force per unit mass or force per unit charge Fr, then F (or, in some cases, F ). For a central force law, the potential function is spherically symmetric and is dependent only on the distance r from the n origin. When the central force law is a simple power law, kr. Examples include the inverse square laws, for which n = 1: Electromagnetism: k Q 4, Q 4, F Q r 4 r r ˆ 2 Gravity: GM k GM,, F r GM r rˆ 2

ENGI 3424 4.5 The Gradient Vector Page 4-24 Some Applications of the Gradient Vector: (1) The directional derivative D at the point,, choosing a to be parallel to F at P o, so that P x y z is maximized by o o o o D F aˆ Po r F. Po (2) A normal vector to the surface F x, y, z N F r. P o c at the point P x, y, z is o o o o (3) The equation of the line normal to the surface F x, y, z Po xo, yo, z o is r OPo t F P ro t F P o o c at the point (4) The equation of the tangent plane to the surface F x, y, z Po xo, yo, z o is r OPo F r ro P F P o o c at the point 0 (5) If the point Po xo, yo, z o lies on both of the surfaces F x, y, z Gx, y, z k point is given by c and, then the acute angle of intersection of the surfaces at the cos F P G P F o P o G o P o

ENGI 3424 4.6 Extrema; Second Derivative Test Page 4-25 4.6 Extrema; Second Derivative Test for z = f (x, y) Much of differential calculus in the study of maximum and minimum values of a function of one variable carries over to the case of a function of two (or more) variables. In order to visualize what is happening, we shall restrict our attention to the case of functions of z f x, y. two variables, For a function f, critical point [and the value, x y defined on some domain D in 1) P is on any boundary of D; or f x, y is undefined; or 2) o o 3) f x and/or f y is undefined at P; or 4) f x and f y are both zero at P ( f x y is a critical value] of f if o o f 0 at P). 2, the point, P x y is a o o A local maximum continues to be equivalent to a hilltop, while a local minimum continues to be equivalent to a valley bottom. Local extremum is a collective term for local maximum or local minimum. Instead of tangent lines being horizontal at critical points of type (4), we now have tangent planes being horizontal at critical points of type (4). At any local extremum at which f, x y is differentiable, the tangent plane is horizontal, f f 0 and f 0. x y The converse is false. f 0 does not guarantee a local extremum. There could be a saddle point (the higher dimensional equivalent of a point of inflection) instead.

ENGI 3424 4.6 Extrema; Second Derivative Test Page 4-26 Example 4.6.1 f x, y x y 4x 6y. Find and identify the nature of the extrema of 2 2 Polynomial functions of x and y are defined and are infinitely differentiable on all of Therefore the only critical points are of type (4). 2. Second Derivative Test To determine the nature of a critical point: 1) Examine the values of f in the neighbourhood of P; or 2) [First derivative test:] Examine the changes in x f y at P; or 3) Use the second derivative test: At all points (a, b) where f 0, find all second partial derivatives, then find fxx fxy D f f (the Hessian determinant) yx and evaluate D at (x, y) = (a, b)., 0 f a, b 0 a relative minimum of f is at (a, b) Da b and xx Da, b 0 and xx, 0 Da, b 0 yy f a, b 0 a relative maximum of f is at (a, b) D a b a saddle point of f is at (a, b) test fails (no information).

ENGI 3424 4.6 Extrema; Second Derivative Test Page 4-27 Note that and f f f 2 0 D a, b 0 fxx f yy fxy f yx xy yx xy Therefore D 0 f f 0 f, f must have the same sign at an extremum. xx yy xx yy One can therefore check the sign of whichever of f xx or f yy is easier to evaluate in the second derivative test, when determining whether an extremum is a maximum or a minimum. Example 4.6.1 (again): f x, y x y 4x 6y. Find all extrema of 2 2

ENGI 3424 4.6 Extrema; Second Derivative Test Page 4-28 Example 4.6.2 f x, y 2x xy 5x y. Find all extrema of 3 2 2 2

ENGI 3424 4.6 Extrema; Second Derivative Test Page 4-29 Example 4.6.2 (continued)

ENGI 3424 4.6 Extrema; Second Derivative Test Page 4-30 Example 4.6.3 z f x, y x y Find all extrema of 2 2

ENGI 3424 4.6 Extrema; Second Derivative Test Page 4-31 Example 4.6.4 f x, y 1 x y. Find and identify the nature of the extrema of 2 2

ENGI 3424 4.7 Lagrange Multipliers Page 4-32 4.7 Lagrange Multipliers; nearest point on curve of intersection to given point In order to obtain an appreciation for the geometric foundation for the method of Lagrange multipliers, we shall begin with an example that could be solved in another way. Example 4.7.1 A farmer wishes to enclose a rectangle of land. One side is a straight hedge, more than 30 m long. The farmer has a total length of 12 m of fencing available for the other three sides. What is the greatest area that can be enclosed by the available fencing? The function to be maximized is the area enclosed by the fencing and the hedge: The constraint is the length of fencing available: There are additional constraints. Neither length may be a negative number. Therefore any solution is confined to the first quadrant of the xy, graph. Superimpose the graph of the constraint function L(x, y) = 12 on the contour graph of the function z = A(x, y) : The least value of A(x, y) is zero, on the coordinate axes. At (0, 6), two 6-metre segments of fence are touching, enclosing zero area. At (12, 0), all of the fence is up against the hedge, enclosing zero area.

ENGI 3424 4.7 Lagrange Multipliers Page 4-33 Example 4.7.1 (continued) As one travels along the constraint line L = 12 from one absolute minimum at (0, 6) to the other absolute minimum at (12, 0), the line first passes through increasing contours of A(x, y), A 6 34, 3 8.5 1 A 6 2 7, 3 7 4 A 6 18, 3 4.5 9 A(4, 4) = 16 until, somewhere in the vicinity of (6, 3), the area reaches a maximum value, then declines, (for example, A(8, 2) = 16), back to the other absolute minimum at (12, 0). At the maximum, the graph of L(x, y) = 12 is the Lagrange multiplier.

ENGI 3424 4.7 Lagrange Multipliers Page 4-34 To maximize, f x y subject to the constraint g x, y k : As one travels along the constraint curve g x, y k, the maximum value of f x, y occurs only where the two gradient vectors are parallel. This principle can be extended to the case of functions of more than two variables. General Method of Lagrange Multipliers To find the maximum or minimum value(s) of a function 1, 2,, n constraint g x x x k f x x x subject to a 1, 2,, n, solve the system of simultaneous (usually non-linear) equations in (n + 1) unknowns: f g g = k where is the Lagrange multiplier. Then identify which solution(s) gives a maximum or minimum value for f. This can also be extended to the case of more than one constraint: In the presence of two constraints g x x x k and the system in (n + 2) unknowns:,,, n 1 2 f g h g = k h = c h x1, x2,, xn c, solve

ENGI 3424 4.7 Lagrange Multipliers Page 4-35 Example 4.7.2 Find the points, on the curve of intersection of the surfaces x + y 2z = 6 and 2x 2 + 2y 2 = z 2, that are nearest / farthest from the origin. The maximum and minimum values of distance d occur at the same place as the maximum and minimum values of d 2. [Differentiation of d 2 will be much easier than differentiation of d.] The function to be maximized/minimized is The constraints are

ENGI 3424 4.7 Lagrange Multipliers Page 4-36 Example 4.7.2 (continued)

ENGI 3424 4.8 Additional Examples Page 4-37 4.8 Miscellaneous Additional Examples Example 4.8.1 A window has the shape of a rectangle surmounted by a semicircle. Find the maximum area of the window, when the perimeter is constrained to be 8 m. The function to be maximized is The constraint is the perimeter function Single variable method:

ENGI 3424 4.8 Additional Examples Page 4-38 Example 4.8.1 (continued) Lagrange Multiplier Method:

ENGI 3424 4.8 Additional Examples Page 4-39 Example 4.8.1 (continued)

ENGI 3424 4.8 Additional Examples Page 4-40 Example 4.8.2 Find the local and absolute extrema of the function 3 2 2 f x, y x y. [Any vertical cross-section containing the z axis.]

ENGI 3424 4.8 Additional Examples Page 4-41 Example 4.8.3 Find the maximum and minimum values of the function V x, y 48xy 32x 24y in the unit square 0 x1, 0 y 1. 3 2

ENGI 3424 4.8 Additional Examples Page 4-42 Example 4.8.4 A hilltop is modelled by the part of the elliptic paraboloid 2 2 x y hx, y 4000 1000 250 that is above the x-y plane. At the point P(500, 300, 3390), in which direction is the steepest ascent?

ENGI 3424 4.8 Additional Examples Page 4-43 Example 4.8.5 1 satisfies 2 Show that ux, t f x ct f x ct u t u x 2 2 2 c 2 2. [END OF CHAPTER 4]

ENGI 3424 4 Partial Differentiation Page 4-44 [Space for additional notes]