Math 116 Calculus II

Similar documents
b = and their properties: b 1 b 2 b 3 a b is perpendicular to both a and 1 b = x = x 0 + at y = y 0 + bt z = z 0 + ct ; y = y 0 )

Study Guide # Vectors in R 2 and R 3. (a) v = a, b, c = a i + b j + c k; vector addition and subtraction geometrically using parallelograms

Example. Check that the Jacobian of the transformation to spherical coordinates is

Chapter 12 Vectors and the Geometry of Space 12.1 Three-dimensional Coordinate systems

Lecture 20. Intro to line integrals. Dan Nichols MATH 233, Spring 2018 University of Massachusetts.

Section 16.3 Double Integrals over General Regions

Polar Coordinates. July 30, 2014

Section 17.2: Line Integrals. 1 Objectives. 2 Assignments. 3 Maple Commands. 1. Compute line integrals in IR 2 and IR Read Section 17.

STUDY GUIDE, CALCULUS III, 2017 SPRING

Lecture 16. Double integrals. Dan Nichols MATH 233, Spring 2018 University of Massachusetts.

Vector Calculus. 1 Line Integrals

9.4. ; 65. A family of curves has polar equations. ; 66. The astronomer Giovanni Cassini ( ) studied the family of curves with polar equations

10.4 AREAS AND LENGTHS IN POLAR COORDINATES

13.1 Double Integral over Rectangle. f(x ij,y ij ) i j I <ɛ. f(x, y)da.

Exercise 1-1. The Sine Wave EXERCISE OBJECTIVE DISCUSSION OUTLINE. Relationship between a rotating phasor and a sine wave DISCUSSION

Review guide for midterm 2 in Math 233 March 30, 2009

WI1402-LR Calculus II Delft University of Technology

33. Riemann Summation over Rectangular Regions

FUNCTIONS OF SEVERAL VARIABLES AND PARTIAL DIFFERENTIATION

MAXIMUM FLOWS IN FUZZY NETWORKS WITH FUNNEL-SHAPED NODES

Independent of path Green s Theorem Surface Integrals. MATH203 Calculus. Dr. Bandar Al-Mohsin. School of Mathematics, KSU 20/4/14

Geometric quantities for polar curves

Double Integrals over Rectangles

Experiment 3: Non-Ideal Operational Amplifiers

Exam 2 Summary. 1. The domain of a function is the set of all possible inputes of the function and the range is the set of all outputs.

MATH 105: Midterm #1 Practice Problems

Polar coordinates 5C. 1 a. a 4. π = 0 (0) is a circle centre, 0. and radius. The area of the semicircle is π =. π a

FP2 POLAR COORDINATES: PAST QUESTIONS

Definitions and claims functions of several variables

Experiment 3: Non-Ideal Operational Amplifiers

Unit 1: Chapter 4 Roots & Powers

The Discussion of this exercise covers the following points:

CS 135: Computer Architecture I. Boolean Algebra. Basic Logic Gates

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 4143/5195 Electrical Machinery Fall 2009

Calculus IV Math 2443 Review for Exam 2 on Mon Oct 24, 2016 Exam 2 will cover This is only a sample. Try all the homework problems.

MATH Exam 2 Solutions November 16, 2015

Fubini for continuous functions over intervals

2.1 Partial Derivatives

B) 0 C) 1 D) No limit. x2 + y2 4) A) 2 B) 0 C) 1 D) No limit. A) 1 B) 2 C) 0 D) No limit. 8xy 6) A) 1 B) 0 C) π D) -1

Math 148 Exam III Practice Problems

Engineer-to-Engineer Note

Differentiable functions (Sec. 14.4)

METHOD OF LOCATION USING SIGNALS OF UNKNOWN ORIGIN. Inventor: Brian L. Baskin

Test Yourself. 11. The angle in degrees between u and w. 12. A vector parallel to v, but of length 2.

MATH Review Exam II 03/06/11

WESI 205 Workbook. 1 Review. 2 Graphing in 3D

Energy Harvesting Two-Way Channels With Decoding and Processing Costs

Homework #1 due Monday at 6pm. White drop box in Student Lounge on the second floor of Cory. Tuesday labs cancelled next week

CHAPTER 2 LITERATURE STUDY

Mixture of Discrete and Continuous Random Variables

ANSWER KEY. (a) For each of the following partials derivatives, use the contour plot to decide whether they are positive, negative, or zero.

ECE 274 Digital Logic. Digital Design. Datapath Components Shifters, Comparators, Counters, Multipliers Digital Design

NEW OSTROWSKI-TYPE INEQUALITIES AND THEIR APPLICATIONS IN TWO COORDINATES

Review #Final Exam MATH 142-Drost

LECTURE 19 - LAGRANGE MULTIPLIERS

Module 9. DC Machines. Version 2 EE IIT, Kharagpur

MATH 118 PROBLEM SET 6

SOLUTIONS 2. PRACTICE EXAM 2. HOURLY. Problem 1) TF questions (20 points) Circle the correct letter. No justifications are needed.

Functions of several variables

LECTURE 9: QUADRATIC RESIDUES AND THE LAW OF QUADRATIC RECIPROCITY

Section 14.3 Partial Derivatives

EXERCISES CHAPTER 11. z = f(x, y) = A x α 1. x y ; (3) z = x2 + 4x + 2y. Graph the domain of the function and isoquants for z = 1 and z = 2.

Multivariable integration. Multivariable integration. Iterated integration

Compared to generators DC MOTORS. Back e.m.f. Back e.m.f. Example. Example. The construction of a d.c. motor is the same as a d.c. generator.

REVIEW, pages

Domination and Independence on Square Chessboard

Lecture 19. Vector fields. Dan Nichols MATH 233, Spring 2018 University of Massachusetts. April 10, 2018.

Name: ID: Section: Math 233 Exam 2. Page 1. This exam has 17 questions:

Synchronous Machine Parameter Measurement

Application Note. Differential Amplifier

Regular languages can be expressed as regular expressions.

Multiple Integrals. Advanced Calculus. Lecture 1 Dr. Lahcen Laayouni. Department of Mathematics and Statistics McGill University.

MATH 20C: FUNDAMENTALS OF CALCULUS II FINAL EXAM

PB-735 HD DP. Industrial Line. Automatic punch and bind machine for books and calendars

Calculus of Several Variables

LESSON 18: INTRODUCTION TO FUNCTIONS OF SEVERAL VARIABLES MATH FALL 2018

MATH 8 FALL 2010 CLASS 27, 11/19/ Directional derivatives Recall that the definitions of partial derivatives of f(x, y) involved limits

(CATALYST GROUP) B"sic Electric"l Engineering

Conditional Distributions

Ch13 INTRODUCTION TO NUMERICAL TECHNIQUES FOR NONLINEAR SUPERSONIC FLOW

Math Circles Finite Automata Question Sheet 3 (Solutions)

The Chain Rule, Higher Partial Derivatives & Opti- mization

Translate and Classify Conic Sections

TIME: 1 hour 30 minutes

Double Integrals over More General Regions

Kirchhoff s Rules. Kirchhoff s Laws. Kirchhoff s Rules. Kirchhoff s Laws. Practice. Understanding SPH4UW. Kirchhoff s Voltage Rule (KVR):

Direct Current Circuits. Chapter Outline Electromotive Force 28.2 Resistors in Series and in Parallel 28.3 Kirchhoff s Rules 28.

Electronic Circuits I - Tutorial 03 Diode Applications I

(d) If a particle moves at a constant speed, then its velocity and acceleration are perpendicular.

Alternating-Current Circuits

MEASURE THE CHARACTERISTIC CURVES RELEVANT TO AN NPN TRANSISTOR

University of California, Berkeley Department of Mathematics 5 th November, 2012, 12:10-12:55 pm MATH 53 - Test #2

MATH 261 EXAM II PRACTICE PROBLEMS

(1) Non-linear system

Unit 7 Partial Derivatives and Optimization

A Comparative Analysis of Algorithms for Determining the Peak Position of a Stripe to Sub-pixel Accuracy

First Round Solutions Grades 4, 5, and 6

A Novel Back EMF Zero Crossing Detection of Brushless DC Motor Based on PWM

Section Thyristor converter driven DC motor drive

c The scaffold pole EL is 8 m long. How far does it extend beyond the line JK?

Transcription:

Mth 6 Clculus II

Contents 7 Additionl topics in Integrtion 7. Integrtion by prts..................................... 7.4 Numericl Integrtion.................................... 7 7.5 Improper Integrl...................................... 9 8 Clculus of Severl Vribles 4 8. Functions of severl vribles................................ 4 8. Prtil Derivtives...................................... 5 8.3 Mxim nd minim of functions of severl vribles................... 7 8.4 Lest Squres........................................ 9 8.5 Constrined Optimiztion nd Lgrnge multipliers.................... 8.6 Constrined Optimiztion nd Lgrnge Multipliers(continued).............. 8.7 Totl Differentils...................................... 3 8.8 Multiple Integrls...................................... 4 8.9 Applictions......................................... 6

Chpter 7 Additionl topics in Integrtion 7. Integrtion by prts Derivtion: u = u(x). du = u dx, ex. d sin x = cos xdx Especilly, d[uv] = udv + vdu = uv dx + vu dx = [uv + vu ]dx = [vu] dx (product rule). Ex. d[cos x sin x] = cos xd sin x + sin xd cos x = cos xdx sin xdx = [cos x sin x]dx = [sin x cos x] dx. duv = udv + vdu, uv = udv + vdu + C udv = uv vdu + C, or uv dx = uv vu dx + C Note: We should choose u,v such tht u v is simpler thn uv. Exmples:. xe x dx. Choose u nd dv, using try-nd-test Cse : u = e x, dv = xdx

. du = e x dx, v = Cse : e x }{{} =u =dv {}}{ xdx = e x }{{} u dv = v {}}{ x xdx = x du x {}}{ e x dx }{{} v u = x, dv = e x dx du = dx, v = e x dx = e x xe x dx = xe x e x dx = xe x e x + C x 4 ln xdx. u = ln x, dv = x 4 dx 3. du = x dx, v = x5 5 x 4 ln xdx = ln(x) x5 5 (x + )(x 5) 5 dx x x5 5 dx 4. u = (x + ), dv = (x 5) 5 dx (x 5)6 du = dx, v = 6 (x + )(x 5) 5 dx = (x + ) x x + dx. (x 5)6 6 (x 5) 6 dx 6 u = x, dv = x + x du = dx, v = + dx = (x + )3/ 3 x x + = x 3 (x + )3/ 3 (x + )3/ dx = 3 x(x + )3/ 4 5 (x + )5/ + C Rewrite it s x(x + ) / dx, then refer to exmple 4. 3

5. ln xdx u = ln x, dv = dx 6. du = x dx, v = x ln xdx = ln(x) x x xdx. (ln x) dx (repeted use by prt) u = (ln x), dv = dx du = ln(x) x, v = x (ln x) dx = (ln x) x u = ln(x), dv = dx ln(x) x xdx = (ln x) x ln(x)dx. du = x dx, v = x ln(x)dx = ln(x)x xdx = ln(x)x x x (ln x) dx = (ln x) x ln(x)x + x. Some tricks. xf(x)dx, usully we choose u = x, f(x)dx, u = x, dv = f(x)dx du = dx, v = f(x)dx = F (x) xf(x)dx = xf (x) F (x)dx Exmples () x sin xdx: F (x) = sin xdx = cos x, F (x) = cos xdx = sin x (b) x cos xdx: (c) xe x dx: F (x) = e x dx = e x, F (x)dx = e x dx = e x 4

(d) (e) x(x+) n dx: F (x) = x ln xdx (x+) n dx = (x + )n+, n + (x + ) n+ dx = n + (x + )n+ (n + )(n + ). () u = lnx, du = x, = x ln x dv = xdx v = xdx = x x x x dx = ln x x f(x)dx: using integrtion-by-prt two times x cos xdx st time: x x x dx = ln x 4 + C u = x, dv = cos xdx du = xdx, v = sin x = x sin x x sin xdx nd time: Clculte x sin xdx u = x, dv = sin xdx du = dx, v = cos x = x cos x ( cos x)dx = x cos x + sin x (b) (c) x cos xdx = x sin x + x cos x sin x + C x cos xdx x e x dx st time: u = x, dv = e x dx du = xdx, v = e x = x e x xe x dx 5

nd time: Clculte xe x dx u = x, dv = e x dx du = dx, v = e x = xe x e x dx = xe x e x (d) (e) x e x dx = x e x xe x + e x x (x + 3) dx x ln xdx u = ln x, dv = x dx du = x dx, v = x3 3 x ln xdx = x3 3 ln x x 3 x 3 dx = x3 x 3 ln x 3 dx (f) (ln x) dx x 3 Need to use times of integrtion by prt. st time: u = (ln x), dv = x dx du = ln x x, v = x = (ln x) x + ln xx dx nd time: clculte ln xx dx u = ln x, dv = x dx du = x dx, v = x = ln xx + x dx = ln xx x 6

Exmple 7: A politicin cn rise cmpign funds t the rte of 5te.t thousnd dollrs per week during the first t weeks of cmpign. Find the verge mount rised during the first 5 weeks. 5 verge = 5 5te.t dt u = 5t, dv = e.t dt du = 5dt, v = e.t. 5te.t dt = 5t e.t 5 5. 5 e.t. dt = 5t e.t 5 5 e.t + 5. 7.4 Numericl Integrtion Integrtion Techniques: from integrtion rules; by substitution; by prts. But we my not be ble to find the closed form of mny integrls. For exmple Approximtion: (Riemnn Sum) e x dx =?, sin(x) dx =? x Consider b The Rectngle Rule: f(x)dx. Given n integer n >, divide [, b] into n subintervls. Then x = b n, x =, x = x + x,..., x n+ = x n + x = b. R n = xf(x ) + xf(x ) + + xf(x n ) b f(x)dx def = lim n R n The following figures show how Reimnn Sum pproximtes integrl when n =,, 3, 6,,. 7

4 4 4 3 3 4 5 6 7 3 3 4 5 6 7 3 3 4 5 6 7 4 4 4 3 3 4 5 6 7 3 3 4 5 6 7 3 3 4 5 6 7 It cn be proved (in Numericl nlysis) tht The Trpezoidl Rule: Simpson s Rule: (Just mention) b f(x)dx R n M (b ) n [ T n = x f(x ) + f(x ) + + f(x n ) + ] f(x n+) b f(x)dx T n M (b ) 3 n S n = x 3 [f(x ) + 4f(x ) + f(x 3 ) + 4f(x 4 ) + + 4f(x n ) + f(x n )] b f(x)dx S n M 3(b ) 5 n 4 These rules cn be esily progrmmed on computer (including your grphic clcultor). Exmple : Use the rectngulr nd the trpezoidl rules to pproximte Soln: x = 3 4 =. 3 dx with n = 4. x 8

Rectngulr Rule x f(x) = /x 3/ /3 / 5/ /5 3 /3 sum=.5667 s =.567 =.83 Trpezoidl Rule x f(x) = /x / 3/ /3 / 5/ /5 3 /3 /6 sum=.33 s =.33 =.67 Error for rectngulr pproximtion: Error for Trpezoidl pproximtion: 3 3 3 x dx = ln(x) 3 = ln 3 x dx S 4 =.84 x dx T 4 =.8 Trpezoidl pproximtion is much more ccurte thn rectngulr pproximtion. 7.5 Improper Integrl It is known tht b x-xis (if f(x), x [, b]). f(x)dx mens the re of the region bounded by y = f(x), x =, x = b nd the How cn we find the re of the region bounded by y = e x, x =, nd x-xis? A = This is not n ordinry integrl. How to clculte it? Ide: Approximtion: let b is constnt nd lrge. b e x dx = ex e x dx b = e b. 9

Tking limit on both sides, It is resonble to regrd Definition: The improper integrl lim b b e x dx = lim b ( e b ) = e x dx = lim b b f(x)dx is defined s e x dx. Similrly b f(x)dx = lim b f(x)dx = b b lim f(x)dx. f(x)dx, f(x)dx = = lim f(x)dx + f(x)dx f(x)dx + lim b b f(x)dx An improper integrl is sid to be convergent if the limit (or limits) exists nd to be divergent if the limit (or limits) does not exist. L Hôpitl s rule lim x c f(x) = lim x c g(x) =, or ± lim x c f (x) g (x) exists, nd g (x) for ll x c. f(x) then lim x c g(x) = lim f (x) x c g (x) Exmples. lim x x e x = lim x e x = x. lim x e x = lim x x e x = lim x e x = sin x 3. lim x x = lim cos x = cos() = x

4. lim x e x ln x = lim x e x /x = lim x xex =. Limits of some specil functions e = lim x ex e = lim x ex ln( ) = lim ln x x ln() = lim ln x x lim x /xn n > lim x /xn n > lim x xe x lim x xn e x, n >, Exmples.. x + dx = ln( x + ) x (x + ) dx. = (divergent). Using method of substitution. Let u = x +, then du = xdx, xdx = du x (x + ) dx = du u = ln( u ) 5 = + 3. 4. 5. x dx = x = [ ] [ ] = + =. x dx = x =. xe x dxdx using integrtion by prts u = x, dv = e x dx du = dx, v = e x xe x dx = xe x + e x dx = xe x e x xe x dxdx = xe x e x

lim x xe x = lim x x e x = x, xe x e x =, x, xe x e x = Soln= ( ) = Improper Integrl: f(x)dx Let c be ny rel number nd suppose both the improper integrls re convergent. Then the improper integrl c f(x)dx nd c f(x)dx f(x)dx = c f(x)dx + c f(x)dx Exmples. xe x dx xe x dx = using method of substitution xe x dxdx + xe x dxdx u = x, du = xdx xe x dx = e u du = eu = e x x, e x = x, e x = xe x dxdx = e x = x, e x = xe x dxdx = e x = ( ) = xe x dx = + =

Review of Chpter 7 Integrtion by prts: uv dx = udv = uv vdu = uv vu dx Improper integrls: Numericl integrtion: Rectngulr rule. trpezoidl rule. Simpson s rule*. Exmples:. Integrtion by prts. f(x)dx, ln(t) t dt. b inf f(x)dx, f(x)dx. u = ln(t), dv = t dt = t / dt. Integrtion by prts. du = dt, v = t/ t ln(t) dt = ln(t) t t t t/ dt (x + 3)(x ) 4 dx u = (x + ), dv = (x ) 4 dx 3. Substitution. (x )5 du = dx, v = 5 (x + 3)(x ) 4 dx = e x ( + e x ) 3. (x + )(x )5 5 (x ) 4 dx u = + e x, du = e x dx. e x ( + e x ) 3 = u du = u3 = 3

Chpter 8 Clculus of Severl Vribles 8. Functions of severl vribles Definition(function):(y = f(x)) A function is rule such tht to ech vlue x in the domin, there corresponds one nd only one number y. Wht to know for y = f(x): find the domin: set of ll x for which f(x) is defined. nturl domin: lrgest set of ll x for which f(x) is defined. Rnge: the set of ll resulting vlues of the function sketch the grph (rnge, domin, specil points, behvior s x. differentite f(x). integrte f(x). Exmple: f(x) = x domin: x or {x x } = [, + ). rnge: {y y } = [, + ). y = x x y = x.44 4 3 4 5 4

Functions of Severl Vribles : Motivtion: temperture depends on plce (ltitude, longitude, nd elevtion) nd time T = T (t, θ, φ, h) Def: A function f of two vribles is rule such tht to ech ordered pir (x, y) in the domin of f, there corresponds one nd only one number f(x, y). or z = f(x, y). x Exmple : f(x, y) = y Domin: D = {(x, y) x, y > } Rnge: z Exmple : f(x, y) = x, f(, e), f(e, )? ln(y) (x, y) z = f(x, y) Exmple 3: f(x, y) = x y, f(x, y) = ln(x + y ). Exmple 4: z = 8 x y Exmple 5: z = y x 8. Prtil Derivtives Def (Using prtil derivtives): the rte of chnge of function with respect to one vrible while holding ll other vribles constnt. Consider differentiting f(x) Wht bout two vribles (x, y) df dx = lim f(x + h) f(x) h h f(x) = cx 3, c is constnt df dx = d dx (cx3 ) = 3cx f(x, y) = x 4 + y d dx (x4 + y ) = 4x 3 y held constnt d dy (x4 + y ) = y x held constnt 5

Nottions: f x = f (x, y) = f(x, y) = d x x f y = f y (x, y) = f(x, y) = d y f x f (x, y) = lim x h dx dy f(x, y) f(x, y) f(x + h, y) f(x, y) (x, y) = lim h h f(x, y + h) f(x, y) h y held constnt x held constnt Exmples: f(x, y) = x 3 + 3x y y 3 x + y f x = 3x + 6xy + f y = + 6x y 6y + f(x, y) = ln( x + y ) f x = f y = x + y x + y (x) x + y x + y (y) w = (u v) 3 f(x, y) = e x +y, find f x (, ), f y (, ) w = 3(u v) u w v = 3(u v) ( ) f x = e x +y (x), f x (, ) = e ( ) = f y = e x +y (y), f y (, ) = e ( ) = e Higher Order Derivtives: f = f(x, y), f xy = ( ) f. Similr rules re pplied to f xx, f xy, f yx y x Exmple: Second-order derivtives of f(x, y) = 5x 3 x y 3 + 3y 4 6

Soln: f x = 5x 4xy 3, f y = 6x y + y 3 f xx = x (5x 4xy 3 ) = 3x 4y 3, f yx = f xy = y (5x 4xy 3 ) = xy f yy = y ( 6x y + y 3 ) = x y + 36y 8.3 Mxim nd minim of functions of severl vribles Introduction: minimum points, mximum points, sddle points. How to define or chrcterize them? Criticl points (Def): (, b) is criticl point of f(x, y) if f x (, b) =, nd f y (, b) = Reltive mximum nd minimum vlues cn occur only t criticl points. reltive mximum, minimum nd sddle points re criticl points. Exmple : find criticl points of f(x, y) = 3x + y + xy + 8x + 4y. Soln: { fx (x, y) = 6x + y + 8 = ; f y (x, y) = 4y + x + 4 = x = 6 5, y = 5 Second Derivtive test for functions f(x, y) The D-test: (, b) is criticl point of f(x, y). Let D = f xx (, b) f yy (, b) [f xy (, b)], (i) if D > nd f xx (, b) >, f(x, y) hs reltive (locl) minimum t (, b); (ii) if D > nd f xx (, b) <, f(x, y) hs reltive (locl) mximum t (, b); (iii) if D <, f(x, y) hs sddle point t (, b). (iv) if D =, inconclusive. (, b) cn be either reltive mximum, reltive minimum or sddle point. 7

Def: (Sddle Point): sddle point is sttionry point (criticl point) but not locl extremum. A criticl point is either locl minimum, locl mximum or sddle point. Exmple : f(x, y) = 3x + y + xy + 8x + 4y, f xx = 6, f xy =, f yy = 4. D = f xx f yy f xy = 4 4 = >, f xx >, reltive minimum Exmple 3: find the reltive extreme vlues of f(x, y) = e 5(x +y ). f x (x, y) = xe 5(x +y ) f y (x, y) = ye 5(x +y ) f xx (x, y) = e 5(x +y )+x e 5(x +y ) f xy (x, y) = xye 5(x +y ) f yy (x, y) = e 5(x +y ) + y e 5(x +y ) Criticl Points: { xe 5(x +y ) = ye 5(x +y6) = x =, y =. f xx (, ) = > f xy (, ) = f yy (, ) = D = = > (, b) = (, ), minimum points f(, ) =. Exmple 4 f(x, y) = x 3 y 3 3x + 6y. 8

8.4 Lest Squres We wnt to find stright line to fit these dt. 5 E G 5 E G F H F H 5 5 Exmple We try to find line y = x + b to best fit the following 4 given points. Let We find, b by x y x+b error=x+b-y 6 +b +b-6 6 6+b 6+b- 5 +b +b-5 +b +b- S(, b) = ( + b 6) + (6 + b ) + ( + b 5) + ( + b ) Generl Cse: fit stright line to dt min S(, b),b x y xy x x y x y x x y x y x.... x n x y n y x n y n xy x n x the lest squre line is y = x + b = n xy ( x)( y) n x ( x) b = n ( y x) Exmple : n = 3. 9

x y xy x 4 4 3 5 75 9 x = 6 y = 47 xy = 9 x = 4 fitting line: y = 7.5x +.67 = n xy ( x)( y) n x ( x) 3 9 6 47 = 3 4 6 = 7.5 b = n ( y x) = (47 7.5 6) =.667 3 C A B 3 Exmple Fit stright line to () x y. 3.5 35 38.5 4 (b) x y 5 8 8 3

8.5 Constrined Optimiztion nd Lgrnge multipliers Review: unconstrined Optimiztion: f x = f y = Constrined Optimiztion z = f(x, y) = x + y f f = x, x y = y (x, y) = (, ) (Criticl point nd minimum point) Find the minimum of the intersection curve between z = x + y nd y = plne, which is equivlent to minimize x + y, subject to y =. missing grph here Method : Method : Let (x, y) = (, ) f(x, y) = x + y, f(x, ) = x + 4 minimize(x + 4) x = is the minimum point, nd the corresponding minimum function vlue is 4 F (x, y, λ) = x + y + λ(y ) F x = x, x = F = y + λ, y + λ = y F λ = y, y = x =, y =, λ = 4 (x, y) = (, ) is the minimum point with minimum vlue f(, ) = 4. Method of Lgrnge multipliers minimize f(x, y) subject to g(x, y) = (constrint) (i) define F (x, y, λ) = f(x, y) + λg(x, y).

(ii) Find criticl points (x, y, λ) of F : F x =, F y =, F λ =. (iii) The solutions found in step re cndidtes for the extrem of f. Note: Of the method of Lgrnge multipliers, there is no criterion to determine whether criticl point of function of two or more vribles leds to reltive mximum or reltive minimum. Exmple f(x, y, z) = xy + 6yz + 8xz, constrint: xyz =,. 8.6 Constrined Optimiztion nd Lgrnge Multipliers(continued) Exmple : A continer compny wnts to design nd luminum cn requiring the lest mount of luminum, but tht contins exctly 6π cubic inches. Find the rdius nd the height of the cn. A = πr + πr h V = πr h min r,h πr + πr h subject to πr h = 6π Soln: Using method of Lgrnge multiplier F (r, h, λ) = πr + πrh + λ(πr h 3π) F r = 4πr + πh + πrhλ = () F h = πr + λπr = () F λ = πr h 6π (3) From () λr = λr in (), 4πr πh =, r = h r h in (3), πr 3 6π =, r = r =, h = 4 The minimum mount of luminum needed is π() + π()(4) = 4π, when r =, h = 4.

Exmple :Minimize or mximize f(x, y) = xy, subject to x + y = 8. F (x, y, λ) = xy + λ(x + y 8). F x = y + xλ = ; () F y = x + yλ = ; () F λ = x + y 8 =. (3) y(y + xλ) = (3) x(x + yλ) = (4) (3) (4) y x =. Criticl points: { y x = x + y 8 = y = ±3 x = ±3 ( 3, 3) ( 3, 3) (3, 3) (3, 3) f( 3, 3) = 8; f( 3, 3) = 8; f(3, 3) = 8; f(3, 3) = 8; minimum: 8, mximum: 8. More Exmples: Mximize nd minimize f(x, y) = x + 3y, subject to x + 5y = 8. 8.7 Totl Differentils One-vrible function f(x), chnge in x: dx. x x + dx f(x) f(x + dx) f = f(x + dx) f(x) f (x)dx. Two-vrible function f(x), chnge in x: dx, chnge in y: dy. f = f(x + dx, y + dy) f(x, y) = f(x + dx, y + dy) f(x, y + dy) + f(x, y + dy) f(x, y) f x (x, y + dy)dx + f y (x, y)dy f x dx + f y dy. df f x dx + f y dy f Approximte chnge of f Exmple: f(x, y) = e 3x y df = e 3x y 3dx + e 3x y ( )dy 3

Exmple : f(x, y) = ln( + x + y ). df =? Exmple : f(x, y) = x y, find f when (x, y) chnges from ( 3, ) to ( 3.,.98) x + y dx = 3. ( 3) =., dy =.98 ( ) =. f x = (x y) x(x + y) (x + y) x(x y) (x + y) = y (x + y) f y = (x y) y(x + y) (x + y) y(x y) (x + y) = x (x + y) f df = f x dx + f y dy x= 3,y=,dx=.,dy=. =.8/5 +./5 =./5 =.8 Applied Exmple: (Approximting Chnges) Find the pproximte chnge in the volume of cylinder when the rdius is incresed from 5 to 6 nd the height is decresed from 4 to. V = πr h dv = V V dx + r h dh r = 5, h = 4 dr =, dh = = (πrh)dr + (πr )dh r = 5, h = 4 dr =, dh = = 4π 5π = π 8.8 Multiple Integrls Definition:(Double integrl) The double integrl of continuous function f(x, y) on rectngulr region R is f(x, y)dxdy = lim f(xi, y j ) x y x, y (The sum is over ll rectngles in R) R If f(x, y) is non-negtive on R, then the double integrl gives the volume under f over R. Definition: (Iterted integrls) R is the rectngle defined by x b, c y d nd re clled iterted integrls. d c [ b ] f(x, y)dx dy, b [ d c ] f(x, y)dy dx 4

Exmple : Exmple : Rule : d c [ b 8xydydx = 4 ] f(x, y)dx dy = [ (x + y )dxdy b [ d Rule : Let R = {(x, y) x b, c y d} d b f(x, y)dxdy = f(x, y)dxdy = R Exmple 4: R : x, y, f(x, y) = c c xy + y. Exmple 5: R = {(x, y) x, y } 6x ydxdy. Double integrl over non-rectngulr region R ] 8xydy dx ] f(x, y)dy dx b d c f(x, y)dydx Exmple 6 R = {(x, y) x, y e x }, f(x, y) = xy Slon: e x e x xydydx xydy = /xy ex = /x(e x ) /x = /xe x /xe x dx, Using integrtion by prts u = /x, dv = e x dx du = /dx, v = e x dx = /e x. F (x) = /xe x dx = (/x)(/e x ) /4e x dx = /4xe x /8e x F () F () = /4e /8. Note: since the region of y depends on x, the order of the integrl is NOT exchngeble, tht is, we cn not clculte e x ( ) xydx dy. 5

Exmple : f(x, y) = y + x ; R is the region bounded by y = x, y =, nd x = 4. Region R 4 3 R B A 3 4 5 6 Soln: 4 x y + x dydx x 4 y y dx = + x + x x = x + x x dx, Using method substitution + x u = ( + x ), du = xdx 4 x + x dx = / u du = / ln u = / ln( + x ) 4 = / ln 5 8.9 Applictions Averge: Exmple 4: f(x, y) = + 6x y Averge vlue of f over R = f(x, y)dxdy re of R R R = {(x, y) x, y 3} 6

Exmple Suppose the popultion of certin city is f(x, y) =, e.x.y /mile Let (, ) gives the loction of the city hll, wht is the popultion inside the rectngulr re described by R = {(x, y) x ; y 5} Soln: The popultion is 5 5, e.x.y dydx, e.x.y dy =, e.x.y 5 =, [e.x.5 e.x ] (, )[e.x.5 e.x ]dx = 5, [e.x.5 e.x ] = 5, [e.5 e e.5 + ] = 79.5 Review of Chpter 8 functions of severl vribles: definition, domin, nturl domin, rnge, three dimensionl coordinte system. prtil derivtive (f x, f y, f xx, f yy,...) Optimiztion problem: Criticl points (reltive minimum points, reltive mximum points, sddle points) D-test Constrined Optimiztion problem: Lgrnge multiplier method. Lest squres: stright line fitting totl differentils double integrtion: iterted integrls, verge over domin. Exmple : Find ll reltive extreme vlues: nd tell if they re minimum or mximum. f(x, y) = xy x 5y + x y + 3 Exmple : Stright line fitting x y 7 4 4 5-7

Exmple 3: = n xy ( x)( y) n x ( x), b = n ( y x) mximize f(x, y) = 4xy x y subject to x + y = 6 Exmple 4:A compny s profit is p = 3x /3 y /3, where x nd y re respectively, the mounts spent on production nd dvertising. The compny hs totl 6, dollrs to spend. find the mounts for production nd dvertising tht mximizing the profit. 8