HOMEWORK 7 SOLUTIONS

Similar documents
Lecture 9: Implicit function theorem, constrained extrema and Lagrange multipliers

Math 212-Lecture Interior critical points of functions of two variables

Faculty of Engineering, Mathematics and Science School of Mathematics

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

Solutions to old Exam 3 problems

Math 210, Final Exam, Spring 2012 Problem 1 Solution. (a) Find an equation of the plane passing through the tips of u, v, and w.

2015 Math Camp Calculus Exam Solution

2.2 Separable Equations

Projective Spaces. Chapter The Projective Line

CALCULUS: Math 21C, Fall 2010 Final Exam: Solutions. 1. [25 pts] Do the following series converge or diverge? State clearly which test you use.

Solutions to Homework 7

FINAL REVIEW Answers and hints Math 311 Fall 2017

ALGEBRAIC GEOMETRY HOMEWORK 3

Math 10C - Fall Final Exam

worked out from first principles by parameterizing the path, etc. If however C is a A path C is a simple closed path if and only if the starting point

Lagrange Multipliers

LESSON 25: LAGRANGE MULTIPLIERS OCTOBER 30, 2017

MATH Max-min Theory Fall 2016

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

Tangent spaces, normals and extrema

Let f(x) = x, but the domain of f is the interval 0 x 1. Note

Math 234 Final Exam (with answers) Spring 2017

Taylor Series and stationary points

volq = U(f, P 2 ). This finally gives

MATH20132 Calculus of Several Variables. 2018

3.7 Constrained Optimization and Lagrange Multipliers

MAT 211 Final Exam. Spring Jennings. Show your work!

VANDERBILT UNIVERSITY. MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions

4.4: Optimization. Problem 2 Find the radius of a cylindrical container with a volume of 2π m 3 that minimizes the surface area.

Review for the Final Exam

Lagrange Multipliers

AP Calculus 2004 AB FRQ Solutions

Mathematics 205 HWK 18 Solutions Section 15.3 p725

12.1 Taylor Polynomials In Two-Dimensions: Nonlinear Approximations of F(x,y) Polynomials in Two-Variables. Taylor Polynomials and Approximations.

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

Review test 1. C. 2 and 4. B. 2 and 4. D. 2 and 4. A. 8 and 0 B. 13 and 5 C. 0 D. 5

MATH 228: Calculus III (FALL 2016) Sample Problems for FINAL EXAM SOLUTIONS

Math Maximum and Minimum Values, I

Extrema of Functions of Several Variables

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.

Section 4.1: Polynomial Functions and Models

Problem. Set up the definite integral that gives the area of the region. y 1 = x 2 6x, y 2 = 0. dx = ( 2x 2 + 6x) dx.

Mechanical Systems II. Method of Lagrange Multipliers

1 Lagrange Multiplier Method

MATH Midterm 1 Sample 4

Things You Should Know Coming Into Calc I

LB 220 Homework 4 Solutions

Math 210, Final Exam, Spring 2010 Problem 1 Solution

Multivariable Calculus and Matrix Algebra-Summer 2017

Calculus I Review Solutions

Lecture 13 - Wednesday April 29th

CP Pre-Calculus Summer Packet

Math Boot Camp Functions and Algebra

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

Parametric Equations, Function Composition and the Chain Rule: A Worksheet

The University of British Columbia Midterm 1 Solutions - February 3, 2012 Mathematics 105, 2011W T2 Sections 204, 205, 206, 211.

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 Homework 5

Week 4: Differentiation for Functions of Several Variables

Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials

APPLICATIONS The eigenvalues are λ = 5, 5. An orthonormal basis of eigenvectors consists of

Section 6.6 Evaluating Polynomial Functions

Integration. Copyright Cengage Learning. All rights reserved.

Calculus Example Exam Solutions

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

4.3. Riemann Sums. Riemann Sums. Riemann Sums and Definite Integrals. Objectives

AP Calculus (BC) Chapter 10 Test No Calculator Section. Name: Date: Period:

Tropical Polynomials

Lecture 7 - Separable Equations

Green s Theorem. MATH 311, Calculus III. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Green s Theorem

for 2 1/3 < t 3 1/3 parametrizes

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

MTHE 227 Problem Set 2 Solutions

THE UNIVERSITY OF BRITISH COLUMBIA Sample Questions for Midterm 1 - January 26, 2012 MATH 105 All Sections

Determine whether the formula determines y as a function of x. If not, explain. Is there a way to look at a graph and determine if it's a function?

Integration. Tuesday, December 3, 13

18.02 Multivariable Calculus Fall 2007

Major Ideas in Calc 3 / Exam Review Topics

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

CS 323: Numerical Analysis and Computing

Math 425 Notes 9. We state a rough version of the fundamental theorem of calculus. Almost all calculations involving integrals lead back to this.

Study Guide/Practice Exam 3

Solutions for the Practice Final - Math 23B, 2016

Multi Variable Calculus

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

SOLUTIONS OF SELECTED PROBLEMS

Chapter 7. Extremal Problems. 7.1 Extrema and Local Extrema

6x 2 8x + 5 ) = 12x 8

Math 118, Fall 2014 Final Exam

Warm-Up. Given f ( x) = x 2 + 3x 5, find the function value when x = 4. Solve for x using two methods: 3x 2 + 7x 20 = 0

Math 164-1: Optimization Instructor: Alpár R. Mészáros

Partial Derivatives Formulas. KristaKingMath.com

Test 2 Review Math 1111 College Algebra

Math 265H: Calculus III Practice Midterm II: Fall 2014

Lagrange Multipliers

LECTURE 5, FRIDAY

Method of Lagrange Multipliers

Module 2: Reflecting on One s Problems

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

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

Transcription:

HOMEWORK 7 SOLUTIONS MA11: ADVANCED CALCULUS, HILARY 17 (1) Using the method of Lagrange multipliers, find the largest and smallest values of the function f(x, y) xy on the ellipse x + y 1. Solution: The ellipse is a compact set, and f(x, y) is a continuous function, so we know that there will be a maximum and minimum value of f on the ellipse. Thus must occur at critical points, as there are no boundary points of the ellipse. We use the method of Lagrange multipliers to find these extrema. We want to extremize the function f(x, y) subject to the constraint g(x, y) x / + y / 1. Note that ( g x, y ), which is only zero if x y. In particular, g on the ellipse. Thus, we need to solve the system of equations { f (y, x) λ g, g }. Comparing components of the gradients, this is equivalent to the system y λx x λy x + y 1. Plugging the first equation into the second gives x λ x, which implies x(λ / 1). If x, then the first equation in the system above implies that y, which gives the point (x, y) (, ), which isn t on the ellipse. Thus, we must have λ / 1, or λ ± /. Thus, the first equation above gives y ± x. Plugging into the equation for the ellipse gives x + x x 1. 1

MA11: ADVANCED CALCULUS, HILARY 17 Thus, x ±1. Using the equation y ± x again gives y ±. Thus, there are 4 points which solve the system above, (1, ), ( 1, ), (1, ), and ( 1, ). In the first two cases, xy, which is then the maximum value of f, while f attains its minimum value at the second two points, namely. Alternatively, and more messily, we could write the equation of the ellipse as y ± x +, which when plugged into f(x, y) gives ( ) g(x) f x, ± x + ±x x +. This would have to be extremized for x in [, ] (using the fact that (x, y) is on the ellipse again). On the boundary points, x ±, we have y, and so f(x, y). One can differentiate g to get (after a little rearrangement) g (x) ± (x 1), x + which clearly vanishes if and only if x ±1. This gives the same four points as we found using Lagrange multipliers above. However, the idea was to demonstrate the difference between the two methods and how Lagrange multipliers makes things look much simpler and more symmetric in many cases. For instance, in this case, although the ellipse isn t the graph of a function of x, it nearly is. Specifically, it is the union of two graphs. However, solving for y, even using multiple functions, for more general curves may not even be possible, so this direct method of solving for y in the curve and plugging into the function to be extremized is often infeasible or impossible. () Find the absolute maximum and minimum values of f(x, y) x y on the closed unit disc {(x, y) : x + y 1}. Solution: The Extreme Value Theorem guarantees that these extrema exist. We have to look for critical points on the interior (where x + y < 1), and for potential extrema on the boundary (the circle x + y 1). On the interior, we want to solve f (x, y) (,. Clearly, this only happens at (x, y) (, ). At this point, f(, ). This is the only potential extremum on the interior. On the boundary circle, we can use the method of Lagrange multipliers, as in problem (1), to extremize the function f(x, y) subject to the constraint g(x, y)

HOMEWORK 7 SOLUTIONS x + y 1. For this, note that g (x, y) (, ) on the circle (as the origin ins t on our circle). Thus, we have to solve f λg and g. This gives the system of equations x λx y λy x + y 1. There are several cases. If x, then since x + y 1, we have y ±1. Thus, two possible extrema are at (, 1) and (, 1). The value of f at both these points is f(, ±1) 1. Now, if x, then the equation x λx implies that 1 λ. But then the equation y λy becomes y y, and so y, x ±1. The value of the function f at these two points is f(±1, ) 1. Comparing all these values with the value of the function at the critical point in the origin identifies in the last step, we see that the global min value of f on the closed unit disc is 1 and that the maximum value is +1. () As hinted at in class, there is a method of Lagrange multipliers not only for functions of many variables but for functions with multiple constraints. We will state the system of equations for a function subject to constraints just for concreteness, but you should be able to guess the general formula from this example and the cases you have already seen! In this case, the system of equations to solve to search for extrema for a function f(x 1,..., x n ) subject to the constraints g(x 1,..., x n ) and h(x 1,..., x n ) is f λ g + µ h g h. Here, λ and µ are two real numbers. Note that there are n + unknowns (x 1,..., x n and λ, µ), and n + equations in this system. Use this method to find the closest point on the intersection of the surfaces x + y z and x + y z to the origin. Solution: We need to extremize the distance function between an arbitrary point (x, y, z) and the origin. To simplify, we instead look for the minimum of the square of the distance function, namely f(x, y, z) x + y + z. So we want to use the method of Lagrange multipliers to minimize f subject to the constraints g and h, where g(x, y, z) x + y z, h(x, y, z) x + y z. We then have f (x, y, z), g (x, y, z), h (1, 1, 1).

4 MA11: ADVANCED CALCULUS, HILARY 17 Thus, the method of Lagrange multipliers gives the system of equations (note that we can factor the out of f and g for convenience, which gets absorbed into the arbitrary constant µ) x λx + µ y λy + µ z λz µ x + y z x + y z. First suppose that λ 1. If it is, then x 1 x + µ, so that µ. But then the third equation in our system implies that z z. Then z, and the equation x + y z implies that x + y, which implies that x y z. But that point isn t on the plane x + y z. Thus, we can assume λ 1. Thus, we can solve the first equation in our system for x to find x µ 1 λ. Similarly, the second equation implies that y µ 1 λ. Thus, we have x y. This drastically simplifies the remaining calculations. Since x y, plugging into the equation for the plane gives x z, or z x. Plugging (x, x, x ) in for (x, y, z) into the equation x + y z gives x (x ) 4x 8x + 4, or x 8x + 4, which implies x 4x +. This quadratic has roots x ±. Thus, plugging back into the equations above, we find x y ±, z ±. Plugging these values into f gives the minimum value 4 16 at x (the value at x + is 4 + 16 which is larger). In fact, geometrically, the intersection of this (double) cone with this plane is a hyperbola, and both points gave local minimums which are at the closest points on each branch of the hyperbola to the origin. Thus, the minimum distance from the origin to a point on this hyperbola is 4 16. This geometric picture makes it clear that one of the points we found using the method of Lagrange multipliers has to be a global minimum, as there is clearly some closest point to the origin and this must occur at a critical point. To compare with a method without using Lagrange multipliers, we could do the following. Let s parameterize this hyperbola. Set x t, and using the two equations for the cone and the plane, after a little algebra we get the parametric

coordinates HOMEWORK 7 SOLUTIONS 5 x t, y t 1 t, z t t + t (t ). Plugging this into the (square of the) distance function gives ( f(x(t), y(t), z(t)) x + y + z t + t 1 ) ( ) t t + +, t t which after combining and simplifying is equal to (call it g(t) for convenience) Differentiating and simplifying gives g(t) (t t + ) (t ). g (t) 4 (t t + )(t 4t + ) (t ). Critical points thus occur at x t +, and x t (note that t wasn t in our original domain and one of the quadratics has no real roots). Plugging into the equations for y and z recovers the points discovered by Lagrange multipliers above. Thus, in this case, it is also possible to avoid using Lagrange multipliers, but significantly more algebra has to be carried out! (4) Evaluate the double integral 1 Also compute 1 1 (4xy x + y)dydx. (4xy x + y)dxdy directly to see that you get the same answer. Solution: We find that ( 1 ) (4xy x + y)dydx (4xy x + y)dy dx [ xy x y + y / ] 1 dx (x x + 1/)dx [x x + x ] 7 5 6.

6 MA11: ADVANCED CALCULUS, HILARY 17 1 Computing the double integral in the other order gives 1 ( ) (4xy x + y)dxdy (4xy x + y)dx dy 1 1 [ 11y [ x y x / + xy ] 1 dy ((1y 9) (1y 8/))dy (11y 19/)dy 19y ] 1 11 19 5 6. which is the same number we got above. (5) The average value of a two variable function f(x, y) on a region R of the x y plane is the double integral of f over that region f(x, y)da, divided by the R area of the region. Find the average value of f(x, y) x + y xy on the box [, 1] [4, 5]. Solution: The area of this rectangle is the product of its side lengths, or 1 1 1. Thus, in this case, the average of f on the rectangle is just f(x, y)da. R We will compute this by integrating with respect to x first (since it will be the easier one since the endpoints are and 1 which are nice to evaluate polynomials at). That is, the average is 5 ( 1 ) (x + y xy)dx dy 4 5 [ x 4 + xy x y) [ y y + y ] 5 4 ] 1 dy 5 185 6 44 97 6. 4 (1/ + y y)dy