Solutions to Homework 7

Similar documents
LESSON 25: LAGRANGE MULTIPLIERS OCTOBER 30, 2017

Math 10C - Fall Final Exam

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

Math Maximum and Minimum Values, I

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

HOMEWORK 7 SOLUTIONS

MATH Midterm 1 Sample 4

Unit #24 - Lagrange Multipliers Section 15.3

Maxima and Minima. Marius Ionescu. November 5, Marius Ionescu () Maxima and Minima November 5, / 7

Tangent spaces, normals and extrema

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

Optimization: Problem Set Solutions

Chapter 7. Extremal Problems. 7.1 Extrema and Local Extrema

Transpose & Dot Product

x +3y 2t = 1 2x +y +z +t = 2 3x y +z t = 7 2x +6y +z +t = a

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

Math 234 Final Exam (with answers) Spring 2017

39.1 Absolute maxima/minima

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

Multivariable Calculus and Matrix Algebra-Summer 2017

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

Transpose & Dot Product

Extrema of Functions of Several Variables

3 Applications of partial differentiation

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

z 2 = 1 4 (x 2) + 1 (y 6)

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

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

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

3.7 Constrained Optimization and Lagrange Multipliers

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

Section 14.8 Maxima & minima of functions of two variables. Learning outcomes. After completing this section, you will inshaallah be able to

Chapter 2: Unconstrained Extrema

ENGI Partial Differentiation Page y f x

MATH20132 Calculus of Several Variables. 2018

Exercises for Multivariable Differential Calculus XM521

g(x,y) = c. For instance (see Figure 1 on the right), consider the optimization problem maximize subject to

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

MATHEMATICAL ECONOMICS: OPTIMIZATION. Contents

Higher order derivative

Seminars on Mathematics for Economics and Finance Topic 5: Optimization Kuhn-Tucker conditions for problems with inequality constraints 1

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

0 otherwise. Page 100 Exercise 9: Suppose that a random variable X has a discrete distribution with the following p.m.f.: { c. 2 x. 0 otherwise.

1 Overview. 2 A Characterization of Convex Functions. 2.1 First-order Taylor approximation. AM 221: Advanced Optimization Spring 2016

Test 2 Review Math 1111 College Algebra

Quantitative Techniques (Finance) 203. Polynomial Functions

Calculus 2 A collection of solved exercises

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

SOLUTIONS to Problems for Review Chapter 15 McCallum, Hughes, Gleason, et al. ISBN by Vladimir A. Dobrushkin

Solutions to Homework 5

Lecture 8: Maxima and Minima

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

LESSON 23: EXTREMA OF FUNCTIONS OF 2 VARIABLES OCTOBER 25, 2017

Practice Midterm 2 Math 2153

Calculus of Variations

Lagrange multipliers. Portfolio optimization. The Lagrange multipliers method for finding constrained extrema of multivariable functions.

Section 2.4: Add and Subtract Rational Expressions

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

2x (x 2 + y 2 + 1) 2 2y. (x 2 + y 2 + 1) 4. 4xy. (1, 1)(x 1) + (1, 1)(y + 1) (1, 1)(x 1)(y + 1) 81 x y y + 7.

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.

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

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).

APPM 2350 FINAL EXAM FALL 2017

Solutions to Sample Questions for Final Exam

Lagrange Multipliers

MA261-A Calculus III 2006 Fall Midterm 2 Solutions 11/8/2006 8:00AM ~9:15AM

Solutions to Homework 9

Faculty of Engineering, Mathematics and Science School of Mathematics

HW3 - Due 02/06. Each answer must be mathematically justified. Don t forget your name. 1 2, A = 2 2

Functions of Several Variables

1. The sides of a triangle are in the ratio 3 : 5 : 9. Which of the following words best describes the triangle?

Math 2204 Multivariable Calculus Chapter 14: Partial Derivatives Sec. 14.7: Maximum and Minimum Values

1 Lagrange Multiplier Method

Optimization. Sherif Khalifa. Sherif Khalifa () Optimization 1 / 50

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

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

VANDERBILT UNIVERSITY. MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions

Review for the Final Exam

MATH H53 : Final exam

Chapter 7: Exponents

Math 251 Midterm II Information Spring 2018

Absolute Extrema and Constrained Optimization

McGill University December Intermediate Calculus. Tuesday December 17, 2014 Time: 14:00-17:00

Mock Final Exam Name. Solve and check the linear equation. 1) (-8x + 8) + 1 = -7(x + 3) A) {- 30} B) {- 6} C) {30} D) {- 28}

MA102: Multivariable Calculus

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

MATH2070 Optimisation

MATH 3B (Butler) Practice for Final (I, Solutions)

A Note on Two Different Types of Matrices and Their Applications

(to be used later). We have A =2,B = 0, and C =4,soB 2 <AC and A>0 so the critical point is a local minimum

Implicit Functions, Curves and Surfaces

Review Sheet for the Final

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.

Math 118, Fall 2014 Final Exam

Physics 6010, Fall 2016 Constraints and Lagrange Multipliers. Relevant Sections in Text:

********************************************************** 1. Evaluate the double or iterated integrals:

Using Properties of Exponents

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

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

Rational Functions. Elementary Functions. Algebra with mixed fractions. Algebra with mixed fractions

Transcription:

Solutions to Homework 7 Exercise #3 in section 5.2: A rectangular box is inscribed in a hemisphere of radius r. Find the dimensions of the box of maximum volume. Solution: The base of the rectangular box lies in the plane that contains the base of the hemisphere. If the center of the hemisphere lies at the origin, then in coordinates the hemisphere has equation z = r 2 x 2 y 2. The vertices of the inscribed rectangular box will, after rotating if necessary, lie at points of the form (±a, ±b c) or (±a, ±b, 0). The volume of this box will be (2a)(2b)c = 4abc, where a, b > 0. Moreover, since the vertex (a, b, c) lies on the hemisphere, c = r 2 a 2 b 2. And therfore, the volume of the box can be expressed as a fucntion of a and b alone as follows: V (a, b) = 4ab r 2 a 2 b 2. The goal is to determine the maximum value of this function. The values of a and b satisfy 0 < a 2 + b 2 < r. The function V is continuous on the region 0 a 2 + b 2 r, and this region is compact. Therefore, V attains a maximum value. The maximum value must lie in the interior of this region since V = 0 if either 0 = a 2 + b 2 or a 2 + b 2 = r. The critical points of V are determined by solving DV (a, b) = 0 or, equivalently, solving V a = 0 and V b = 0. Using the product rule, one obtains the following: V a = 4b r 2 a 2 b 2 4a 2 b r 2 a 2 b 2. The formula for V b is the same except that the roles of a and b are interchanged. The equation V a = 0 can be rewritten as follows after cancelling b (which is non-zero), moving the negative expression to the other side of the equation, and cross multiplying and regrouping: r 2 = 2a 2 + b 2 Similarly, V b = 0 can be rewritten as r 2 = 2b 2 + a 2. Multiplying this equation by two and subtracting the equation above results in r 2 = 3b 2 = a = b = r 3.

Since this is the only critical point in the interior of the region 0 a 2 + b 2 r 2 and since V attains a maximum in the interior and since V is differentiable in the interior, the maximum value of V must occur at a = b = r/ 3. Therefore, the maximum volume of such a box is 4r 3 /3 3. Notes: This problem can be solved using the methods of calculus of a single variable. It is clear from symmetry that the base of the box must be a square. If this square has an edge of length b and if the box has a height of h, then V = b 2 h. Let a be the length of the segment from the center of the square to a vertex. Then a 2 + h 2 = r 2 and b = 2a. Therefore, V = 2(r 2 h h 3. Since V = 0 when h = r/ 3 and V < 0, the V has a maximum value of 4r 3 /3 3. Exercise #4 in section 5.2: Determine the maximum and minimum values of the function f(x, y) = x 2 + 2y 2 2x on the disk D = {(x, y) : x 2 + y 2 2. Solution: The answer is in the textbook. You will find that there is only one crictial point in the interior of the region D, namely (1, 0); and one computes that f(1, 0) = 1. On the boundary of the disk D, one uses the fact that x 2 + y 2 = 2 to study f restricted to the boundary: f = x 2 + 2(2 x 2 ) 2x = x 2 2x + 4. The above is valid only if 2 x 2. Since f = 2x 2 and f = 0 when x = 1, the extreme values of f restricted to the boundary of D must belong to the following list f( 2) = 2 + 2 2, f( 1) = 5, f( 2 = 2 2 2. Among all of the possible extreme values (including f(1, 0) = 1), one sees that 1 is the minimum value and that 5 is the maximum value. Notes: This is a very good example of how the extreme values of a function can occur either in the interior of a compact region or on the boundary of a compact region. To analayze a function on the boundary of a region, one uses the additional constraint and solves the new constrained optimization problem. Exercise #1 (b, d, e, h) in section 5.3: Classify the critical points of each function below.

Solution: (b): f(x, y) = xy + x y. Since f x = y + 1 and f y = x 1, the only critical point is (1, 1). The second order partial derivatives are f xx = 0, f yx = 1, f xy = 1, and f yy = 0. Therefore, the Hessian matrix defines an indefinite quadratic form (the determinant of the Hessian matrix is 1 and Corollary 3.4 applies). Hence, f has a saddle point at (1, 1). (d): f(x, y) = x 2 3x 2 y + y 3. f x = 2x 6xy, f y = 3x 2 + 3y 2. f y = 0 implies that x = ±y. If x = y, then f x = 0 implies that 2x(1 3x) = 0 and so (0, 0) and (1/3, 1/3) are critical points. If x = y, then f x = 0 implies that 2x(1 + 3x) = 0 and so ( 1/3, 1/3) is also a critical point. The second order partial derivatives are f xx = 2 3y, f yx = 6x, f xy = 6x, f yy = 6y. Let H(x, y) = (2 3y)6y 36x 2 be the determinant of the Hessian matrix at (x, y). Since H(0, 0) = 0, Corollary 3.4 does not apply. However, one can deduce that (0, 0) is a saddle point directly from the defintion: every open ball containing (0, 0) contains both points such that f is positive and points such that f is negative. Given any open set U containing (0, 0), choose n N such that the ball of radius 1/n with center (0, 0) is contained in U. Since f(1/2n, 0) > 0 and f(1/2n, 1/4n) < 0 (check this). On the othe other hand, Corollary 3.4 can be applied to the other critical points: H(1/3, 1/3) < 0, so there is a saddle point at (1/3, 1/3); and H( 1/3, 1/3) < 0, so there is also a saddle point at ( 1/3, 1/3). (e) f(x, y) = x 2 y + x 3 x 2 + y 2. The solution is similar to the previous two problems. The critical points are (0, 0), (1, 1/2), and (2, 2). These critical points are, respectively, a saddle point, a local minimum, and a saddle point. (h) f(x, y) = x 2 y 4xy y 2. The solution is similar to the previous three problems. The critical points are (0, 0), (4, 0) and (2, 2). These are, respectively, a saddle point, a saddle point, and a local maximum. Exercise # 1 in section 5.4: Solution: (a) Find the minimum value of f(x, y) = x 2 + y 2 on the curve x + y = 2. Why is there no maximum?

There is no maximum value since on this curve, f = x 2 + (2 x) 2 = 2x 2 4x + 4, which is a function which increases without bound. To find the minimum, one can use the method of Lagrange multipliers. (The methods of calculus of a single variable are also appropriate.) Let g = x + y 2. Then f = [2x, 2y] T and g = [1, 1] T. Since g is non-zero it has rank one at every point of g 1 (0) and so Theorem 4.1 applies. Let λ be the Lagrange multiplier. One solves the system 2x = λ 1, 2y = λ 1, x + y 2 = 0. There is a unique solution: x = y = 1 and λ = 2. The value of f(1, 1) is equal to 2. This is the minimum value of f since f has a minimum value when restricted to the compact set g 1 (0) {0 x 2} and since f(0, 2) and f(2, 0) are greater than f(1, 1). (Theorem 4.1 states that since f is differentiable and if f has an extreme value at a point a on g 1 (0), then a must be a solution to the system of equations above. What is written above is a formal argument that, in fact, the solution to this system is a global minimum value of f (as opposed to a local extremum which is not a global extremum). (b) Find the maximum value of g(x, y) = x + y on the curve x 2 + y 2 = 2. Is there a minimum? There is a maximum and a minimum value since the set {x 2 + y 2 = 2} is compact and g is continuous. One can determine these global extrema by the method of Lagrange multipliers (or by methods of calculus of a single variable). Let h = x 2 + y 2 2. g = [1, 1] T and h = [2x, 2y] T. Since x = y = 0 is not a point in h 1 (0), Theorem 4.1 applies. (The rank of Dh is equal to one at every point of h 1 (0).) One solve the system 1 = λ(2x), 1 = λ(2y), x 2 + y 2 2 = 0. The first two equations implie that λ 0, x 0, and y 0. Divide the first equation by the second to obtain x = y. By the third equation, x = y = 1 or x = y = 1. (It is not possible for x and y to have opposite signs by the first two equations.) Therefore, the extreme values of g must occur at one of the following points: (1, 1), or ( 1, 1). Evaluating g at each of these points, one determines that g has a maximum value of 2 and a minimum value of 2. (c) How are the questions (and answers) in parts (a) and (b) related?

This is an open ended question. Here is my answer. Both problems concern the problem of finding points which are closest or farthest from a given curve. For part (a) this is clear: the problem asks one to determine the closest point on the line x + y = 2 to the origin. (There is no farthest point on the line to the origin.) For part (b) this is less clear. However, one might interpret g(x, y) = x + y as measuring the distance to the origin in a certain sense, at least if x and y are positive. And in this case, we are asked to determine the closest and farthest points on the circle x 2 + y 2 = 2 to the origin. My answer is guided (or misguided?) by my previous encounters with what are know as the l 2 and l 1 norms. You can find additional information about this topics on Wikipedia, for instance. Exercise # 2 in section 5.4 Solution: The answer to this problem is in the textbook. There is a maximum and a minimum value since the curve x 2 + y 2 2y = 0 is a compact set; it is a circle centered at (0, 1). You should solve this problem using the method of Lagrange multipliers (to practice this method), and then check your work by also computing a solution using methods of calculus of a single variable.