Solutions to Homework 5

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

Math 2163, Practice Exam II, Solution

Review for the Final Exam

Math 10C - Fall Final Exam

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

LESSON 25: LAGRANGE MULTIPLIERS OCTOBER 30, 2017

Multivariable Calculus and Matrix Algebra-Summer 2017

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

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

Lagrange Multipliers

LB 220 Homework 4 Solutions

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

Review Sheet for the Final

Dimensions = xyz dv. xyz dv as an iterated integral in rectangular coordinates.

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

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

Solutions to old Exam 3 problems

234 Review Sheet 2 Solutions

Method of Lagrange Multipliers

Here are some solutions to the sample problems assigned for Chapter 4. Solution: Consider a function of 3 (independent) variables. treating as real.

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

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

Faculty of Engineering, Mathematics and Science School of Mathematics

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

Practice Problems for the Final Exam

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

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

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.

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

3 Applications of partial differentiation

Practice Midterm 2 Math 2153

HOMEWORK 7 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

WORKSHEET #13 MATH 1260 FALL 2014

MATH Midterm 1 Sample 4

3.7 Constrained Optimization and Lagrange Multipliers

Solutions to Homework 7

Review for Exam 1. (a) Find an equation of the line through the point ( 2, 4, 10) and parallel to the vector

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

MAT 211 Final Exam. Fall Jennings.

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

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

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

Polynomials. In many problems, it is useful to write polynomials as products. For example, when solving equations: Example:

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

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

Final Exam 2011 Winter Term 2 Solutions

(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

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

Chain Rule. MATH 311, Calculus III. J. Robert Buchanan. Spring Department of Mathematics

Math 210, Final Exam, Spring 2010 Problem 1 Solution

Tangent Plane. Linear Approximation. The Gradient

Math 222 Spring 2013 Exam 3 Review Problem Answers

Calculus 2 A collection of solved exercises

MATH 332: Vector Analysis Summer 2005 Homework

Unit #24 - Lagrange Multipliers Section 15.3

Review for the First Midterm Exam

11.1 Three-Dimensional Coordinate System

2015 Math Camp Calculus Exam Solution

Solutions to Sample Questions for Final Exam

Ph.D. Katarína Bellová Page 1 Mathematics 2 (10-PHY-BIPMA2) EXAM - Solutions, 20 July 2017, 10:00 12:00 All answers to be justified.

The Law of Averages. MARK FLANAGAN School of Electrical, Electronic and Communications Engineering University College Dublin

FINAL EXAM STUDY GUIDE

MATH H53 : Final exam

Chapter 7: Exponents

Math Maximum and Minimum Values, I

ALGEBRAIC GEOMETRY HOMEWORK 3

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

MA FINAL EXAM Form B December 13, 2016

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

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

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

Higher order derivative

39.1 Absolute maxima/minima

1 Lagrange Multiplier Method

MATH 105: PRACTICE PROBLEMS FOR CHAPTER 3: SPRING 2010

Math 234 Final Exam (with answers) Spring 2017

Math Level 2. Mathematics Level 2

Lagrange Multipliers

Math 207 Honors Calculus III Final Exam Solutions

Taylor Series and stationary points

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

Mathematics 9 Midterm Review Package

MATH 255 Applied Honors Calculus III Winter Homework 5 Solutions

Homework #6 Solutions

MATH Max-min Theory Fall 2016

Chapter 13: Vectors and the Geometry of Space

Chapter 13: Vectors and the Geometry of Space

MAC2313 Final A. (5 pts) 1. How many of the following are necessarily true? i. The vector field F = 2x + 3y, 3x 5y is conservative.

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

Solutions and Proofs: Optimizing Portfolios

IOAN ŞERDEAN, DANIEL SITARU

Print Your Name: Your Section:

Optimization for Communications and Networks. Poompat Saengudomlert. Session 4 Duality and Lagrange Multipliers

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

Tangent spaces, normals and extrema

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

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

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.

26. LECTURE 26. Objectives

Transcription:

Solutions to Homework 5 1.7 Problem. f = x 2 y, y 2 x. If we solve f = 0, we can find two solutions (0, 0) and (1, 1). At (0, 0), f xx = 0, f yy = 0, f xy = and D = f xx f yy fxy 2 < 0, therefore (0, 0) is saddle point. At (1, 1), f xx = 6, f yy = 6, f xy = d and D = > 0, hence (1, 1) is a local minimum. Problem 7. f = 1 2xy +y 2, 1 x 2 +2xy. To solve the equation f = 0, we can add the two equations to get y 2 x 2 = 0, therefore y = ±x. If y = x, then the solution is (1, 1) and ( 1, 1). If y = x, there is no solution. At (1, 1), f xx = 2, f yy = 2, f xy = 0 and D = < 0, hence (1, 1) is saddle point. At ( 1, 1), f xx = 2, f yy = 2, f xy = 0 and D = < 0, hence ( 1, 1) is a saddle point. Problem 1. f = y sin x, cos x. f = 0 implies that cos x = 0. Therefore sin x = ±1. Since y sin x = 0, y must be 0. So the critical points are ( π 2 + kπ, 0) for any integer k. Since f xx = y cos x, f yy = 0, f xy = sin x, D at ( π 2 + kπ, 0) is 1. Therefore, all the critical points are saddle points. Problem 15. f = e x cos y, e x sin y. Since e x 0, f = 0 implies that sin y = cos y = 0. However there is no such y. So there is no critical point. Problem 1. First step: locate the interior critical point. Since f = 2x 2, 2y, we have one critical point (1, 0), and the value at (1, 0) is 1. Second step: find maximum and minimum on the boundary: On the edge from (0, 2) to (0, 2), f = y 2, hence the maximum is and the minimum is 0. On the edge from (0, 2) to (2, 0), since x + y = 2 and 0 x 2, f = x 2 + (2 x) 2 2x = 2x 2 6x +. f reaches the minimum 1 2 when x = 2 and reaches maximum when x = 0. On the edge from (0, 2) to (2, 0), by the same argument in the second case(or symmetry), the maximum is and minimum is 1 2 Putting them together we have the maximum is and minimum is 1. Problem. First step: locate the interior critical point. Since f = 2x + y, x + 2y 6, we have one critical point ( 2, ), and the value at ( 2, ) is 12. Second step: find maximum and minimum on the boundary: 1

On the edge from (, 0) to (, 0), f = x 2, hence the maximum is 9 and the minimum is 0. On the edge from (, 5) to (, 5), f = x 2 + 5x 5. f reaches the minimum 5 reaches maximum 19 when x =. when x = 5 2 and On the edge from (, 0) to (, 5), f = y 2 9y + 9. f reaches the minimum 5 reaches maximum 9 when y = 0. when y = 9 2 and On the edge from (, 0) to (, 5), f = y 2 y + 9. f reaches the minimum maximum 9 when y = 19. Putting them together we have the maximum is 19 and minimum is 12. when y = 2 and reaches Problem 1. It is easier to find the smallest squared distance. d 2 = (x 2) 2 + y 2 + (z + ) 2 for x + y + z = 1. Since z = 1 x y, d 2 = (x 2) 2 + y 2 + ( x y) 2. The critical point of d 2 can be found by solving { 2(x 2) 2( x y) = 0 2y 2( x y) = 0 The solution is ( 8, 2 ). Since for x, y big, f is very big. Hence the critical point ( 8, 2 ) must correspond to the global minimum. Hence the minimum distance is. Problem. Let the three numbers be x, y, z, then we want to maximize f = xyz for x + y + z = 100 and x > 0, y > 0, z > 0. Substitute z = 100 x y, we have f = xy(100 x y) for x > 0, y > 0 and x+y < 100. The critical point of f is ( 100, 100 ), which is inside the domain, and f(100, 100 ) = 1000000. When f restricted to the boundary of the domain, the value is 0. So the maximum is 1000000 Problem 51. Assume the dimensions of the box are x, y, z. We need to maximize xyz given (x + y + z) = c. This is exactly the situation in the previous question(if c = 00). Therefore the maximum c is achieved 12 when x = y = z = c 12. Problem 52. Assume the dimensions of the aquarium is x, y, z. Assume glass costs 1 per unit. Then we need to minimize 2yz + 2xz + 5xy given xyz = V. Since z = V xy, f = 2V x + 2V y + 5xy for x, y > 0. Since f = 2V + 5y, 2V + 5x, there is only one critical point ( 2V x 2 y 2 5, 2V 5 ). Note that if x 0, then yz, if y 0, then xz and if z 0, then xy. That is f diverges to when any one of x, y, z approaches 0. Therefore the unique critical point must correspond to the global minimum. So the optimal dimensions are 2V 5, 2V 5, 25V 1.8 Problem 1. At any solution to the Larangian multiplier, we must have f is perpendiculer to the constriant g(x, y) = 8. In other words, the level curves of f is tangent to g(x, y) = 8. From the picture we find four points satifying such condition. The maximum value among is 60 and the minimum value is 0. Problem. By Lagrange multipliers we have 2x = λ2x 2y = λ2y x 2 + y 2 = 1. 2

If x 0, then from the first equation λ = 1, hence 2y = 2y, i.e. y = 0. Therefore we have two solutions (1, 0) and ( 1, 0). If x = 0, then y 0 by the third equation, hence λ = 1 and y = ±1, we have the other two solutions (0, 1), (0, 1). Plugging them in, we have the maximum is 1 and the minimum is 1. Problem 11. By Lagrange multipliers we have 2x = λx 2y = λy 2z = λz x + y + z = 1 If x, y, z are nonzero, the first three equastions imply that x 2 = y 2 = z 2 = 1 2λ. Combining with the third equation, we have eight solutions (± 1, ± 1, ± 1 ). If only one of x, y, z is zero, assume it is x, then by the second and third equation, we have y 2 = z 2. So there are four solutions (0, ± 1 2, ± 1 2 ). If y = 0, we have another four (± 1 2, 0, ± 1 2 ) and if z = 0, we have (± 1 2, ± 1 2, 0) If two of z, y, z are zero, then the solutions are (±1, 0, 0), (0, ±1, 0) and (0, 0, ±1) Plugging those points into the function, we have the maximum is and minimum is 1. Problem 16. By Lagrange multipliers we have 2x = λ y = 2λ 6z = λ x + 2y + z = 10 The first three euqations imply that x = y = z. Hence the solution is ( 10, 10, 10 ). If any one of x, y, z is very big, f is also very big. Therefore f has no maximum, and the solution from the Lagrange multipliers corresponds to the global minimum 200. Problem 2. First step: find the interior critical points. Since f = ye xy, xe xy, the only critical point is (0, 0), which is inside the domain. f(0, 0) = 1. Second step: find the maximum and minimum on the boundary. The boundary is x 2 + y 2 = 1 and we will use Lagrange multipliers: ye xy = 2λx xe xy = 8λy x 2 + y 2 = 1 If we multple x to the first equation and y to the second equation, we have xye xy = 2λx 2 = 8λy 2. If λ 0, then we know x 2 = y 2 1. Hence the solutions are (± 2, ± 1 1 2 2 ). If the λ = 0, then the first two equations imply that x = y = 0, contradicting the last equation. Evaluating the function on those four points, we have the maximum on the boundry is e 1 and the minimum is e 1 Putting them together, the global maximum is e 1 and the global minimum is e 1. Problem 29. Assume the dimensions of the rectangle are x, y. We need to maximize A = xy subject to constraints 2x + 2y = p, x 0 and y 0. Geometrically, the constraints give a line segement. To find the maximum, we need to use Lagrange multipliers to locate critical points in the interior of the line segement and evaluating the function there, we also need to compare them with the boundary value.

Step one: Lagrange multipliers for the interior critical points: y = 2λ x = 2λ 2x + 2y = p Hence the critical point is ( p, p p2 ), where A = 16. Step two: Find the maximum and minimum on the boundary. Since the boundary is two points (0, p 2 ) and ( p 2, 0), the boundary maximum and minimum are both 0. Therefore the global maximunm is p2 16, and it is reached when x = y = p 2. Problem 0. It is easier to maximize A 2 = s(s x)(s y)(s z) subject to constraints x + y + z = p, x 0, y 0, z 0, x + y z, y + z x and x + z y. The last three inequalities are necessary conditions for x, y, z to form a triangle. The domain for x, y, z is actually a triangle in space, where the edges of triangle come from the inequalities. Step one: Lagrange multipliers for the interior critical points. Note that s = p 2 s(s y)(s z) = λ s(s x)(s z) = λ s(s x)(s y) = λ x + y + z = p is a constant. Multiply (s x) to the first equation, multiply (s y) to the second and (s z) to the third. If λ 0, we have s x = s y = s z = s(s x)(s y)(s z) λ. Since x+y +z = 2s = p, we must have x = y = z = p. In this case, the area is p 2 6. If λ = 0, from the first three equations, we must have two of (s x), (s y), (s z) are zero, no matter what are the solutions, the area must be zero by Heron s formula. Step two: the boundary maximum. Since the boundary points are thoses points (x, y, z) on the plane x + y + z = p such that one of the six inequalities becomes equality. Once we have a equality, the triangle collapses to a line segement, hence the area must be zero. Therefore the global maximum comes from the interior critical point ( p, p, p ). Problem 1. We will maximize the distance square d 2 = (x 2) 2 + y 2 + (z + ) 2 By Lagrange multipliers we have 2(x 2) = λ 2y = λ 2(z + ) = λ x + y + z = 1 From the first three equations, we know that (x 2) = y = (z + ). Hence the only solution is ( 8, 2, 7 ), where the distance is. When any one of x, y, z is big, the distance is also big. Therefore, the only critical point we find above corresponds to the global minimum. Problem 7. Since we can rotate the sphere as well as the box inside it, it is safe to assume all the edges of the box are parallel to the axes. Assume the coordinate of the vertex in the octant is (x, y, z), we need to maximze V = 8xyz subject to x 2 + y 2 + z 2 = r 2, x 0, y 0 and z 0. Step one: Use Lagrange multipliers to locate interior critical points. 8yz = 2λx 8xz = 2λy 8xy = 2λz x 2 + y 2 + z 2 = r 2

Multiply the first eqaution by x, the second by y and the third by z. We have 2λx 2 = 2λy 2 = 2λz 2 = 8xyz. If λ 0, we must have x 2 = y 2 = z 2 1. Since we also have x, y, z 0, the only solution is (r, r 1, r 1 ), where V = 8r 1. If λ = 0, then the first three equations imply that two of x, y, z are zero, and the volume is 0 since the box collapses. Step two: the boundary maximum. Since the boundary of the contraints come from x = 0 or y = 0 or z = 0. In any case, the box collapses hence the volume is 0. Therefore the maximum is 8r 1. One can avoid the discussion of the boundary by considering maximizing V 2 = 6x 2 y 2 z 2 for any point x, y, z on the sphere x 2 + y 2 + z 2 = r 2. The reason of using V 2 instead of V is that V = 8 xyz is not differentiable unless we restrict the function to the first octant like what we did in the solution. 5