Higher order derivative

Size: px
Start display at page:

Download "Higher order derivative"

Transcription

1 2

2 Î 3 á Higher order derivative Î 1 Å Iterated partial derivative Iterated partial derivative Suppose f has f/ x, f/ y and ( f ) = 2 f x x x 2 ( f ) = 2 f x y x y ( f ) = 2 f y x y x ( f ) = 2 f y y y 2 These are the second partial derivatives of f. Use simplified expression f/ x = f x, f/ y = f y x 2 = f xx, y x = f xy, x y = f yx, y 2 = f yy Example 1.1. (1) f(x,y) = e xy + x 2 y (2) f(x,y,z) = x 2 y + y 2 z + z 3 x 3

3 4 3 ì HIGHER ORDER DERIVATIVE (x 0, y 0 ) 3.1: Difference sol. (1) For f(x,y) = e xy + x 2 y f x = ye xy + 2xy, f y = xe xy + x 2 f xx = y 2 e xy + 2y, f yy = x 2 e xy f xy = f yx = e xy + xye xy + 2x (2) For f(x,y,z) = x 2 y + y 2 z + z 3 x f x = 2xy + z 3, f y = x 2 + 2yz, f z = y 2 + 3z 2 x f xx = 2y, f yy = 2z, f zz = 6xz f xy = f yx = 2x f xz = f zx = 3z 2 f yz = f zy = 2y Mixed partials mixed partial derivative. Derivatives such as f xy,f yx, f xz,f zx, f yz,f zy are mixed partials. Theorem 1.2. If f(x,y) is class C 2 Then x y = 2 f y x Also, x i x j = 2 f x j x i

4 1 ITERATED PARTIAL DERIVATIVE 5 Proof. Need more motivation. Recall for fixed y 0 Then second derivative must be lim ( f x ) y lim f x = f(x 0 + x,y 0 ) f(x 0,y 0 ). x = f(x 0 + x,y 0 + y) f(x 0,y 0 + y) f(x 0 + x,y 0 ) + f(x 0,y 0 ). y x Let s define the increment of f(correspond. to second derivative) by Fix y 0 and y and define S( x, y) = f(x 0 + x,y 0 + y) f(x 0 + x,y 0 ) f(x 0,y 0 + y) + f(x 0,y 0 ) g(x) = f(x,y 0 + y) f(x,y 0 ) Then S( x, y) = g(x 0 + x) g(x 0 ). Use MVT. There is x 0 x x 0 + x such that S( x, y) = g ( x) x. So S( x, y) = g ( x) x ( f = x ( x,y 0 + y) f ) x ( x,y 0) x Apply MVT for y again there is y 0 ỹ y 0 + y such that But / x y is continuous S( x, y) = 2 f y x ( x,ỹ) x y y x (x S( x, y) 0,y 0 ) = lim ( x, y) (0,0) x y l.h.s. depends on the order of x, y but r.h.s. is independent of x and y. So exchanging the role of x and y. Then x y (x S( x, y) 0,y 0 ) = lim ( x, y) (0,0) y x

5 6 3 ì HIGHER ORDER DERIVATIVE Example 1.3. Find mixed partial / y x of f(x,y) = xy 2 e x2 x /(x 2 +1). sol. By Thm 1.2, f yx may be computed instead of f xy. f yx = (2xy) x = 2y Computing f xy is more complicated then f yx. Example 1.4. Show the following when f belongs to C 3. 3 f x y z = 3 f z x y sol. We can change order of differentiation 3 f x y z = ( x y z = 2 x z ( f y = 3 f z x y ) = ( ) x z y ) = 2 ( f ) z x y Example 1.5. Find all the second derivatives of h(s,t) = g f(s,t) = g(x(s,t),y(s,t)) when g(x,y): R 2 R and f(s,t) = (x(s,t),y(s,t)): R 2 R all functions are class C 2

6 2 TAYLOR THEOREM 7 sol. Chain rule Then h s = g x x s + g y y s, h t = g x x t + g y y t h ss = (g x ) s x s + g x x ss + (g y ) s y s + g y y ss = (g xx x s + g xy y s )x s + g x x ss + (g yx x s + g yy y s )y s + g y y ss, h st = h ts = (g x ) t x s + g x x st + (g y ) t y s + g y y st = (g xx x t + g xy y t )x s + g x x st + (g yx x t + g yy y t )y s + g y y st, and In matrix form, h tt = (g x ) t x t + g x x tt + (g y ) t y t + g y y tt = (g xx x t + g xy y t )x t + g x x tt + (g yx x t + g yy y t )y t + g y y tt h s = Dg D s x, h ss = D(Dg) (D s x) 2 + Dg D ss x, etc. Î 2 Å Taylor theorem The linear approximation of f(x 0 + h) is f(x 0 ) + Df(x 0 )h and the error R = f(x 0 + h) f(x 0 ) Df(x 0 )h satisfies lim h 0 R x x 0 = 0 when f is differentiable at x 0. What if we want higher order approximation? Theorem 2.1 (Taylor theorem one variable-integral remainder). If f : R R has continuous n- th partial derivatives f(x 0 + h) = f(x 0 ) + f (x 0 )h + f (x 0 ) h f(n) (x 0 ) h n + R n (h,x 0 ) n! Here R n (x 0,h) = x0 +h x 0 (x 0 + h τ) n f (n+1) (τ)dτ n!

7 8 3 ì HIGHER ORDER DERIVATIVE and R n (x 0,h)/h n 0 as h 0. Proof. x0 +h f(x 0 + h) = f(x 0 ) + f (τ)dτ. x 0 Recall integration by parts: udv = uv x 1 x 0 v du Integrate by parts, (with dτ = d(x 0 + h τ)) we have x0 f(x 0 + h) = f(x 0 ) + f +h (x 0 )h + f (τ)(x 0 + h τ)dτ. x 0 which is first order formula. Integrate by parts again, x0 +h x 0 = 1 2 f (τ)(x 0 + h τ)dτ x0 +h x 0 f (τ)d(x 0 + h τ) 2 = 1 2 f (x 0 )h x0 +h x 0 f (τ)(x 0 + h τ) 2 dτ. We can repeat this k-times. Also the remainder satisfies R k hk+1 (k + 1)! M Theorem 2.2 (Taylor theorem 1st order). If f : R n R is C 1 differentiable at x 0, then f(x 0 + h) = f(x 0 ) + [Df(x 0 )] h + R 1 (x 0,h) where R 1 (h,x 0 )/ h 0 as h 0. Here, h = (h 1,...,h n ). In scalar form, we have n f(x 0 + h) = f(x 0 ) + h i f xi + R 1 (h,x 0 ) i=1

8 2 TAYLOR THEOREM 9 Theorem 2.3 (Taylor theorem 2nd order). If f : R n R is class C 3 n f(x 0 + h) = f(x 0 ) + h i f xi (x 0 ) + 1 n h i h j f xi x 2 j (x 0 ) + R 2 (h,x 0 ) i=1 i,j=1 where R 2 (x 0,h)/ h 2 0 as h 0. In matrix form, f(x 0 + h) = f(x 0 ) + ( f,, f h 1 ) x 1 x n. h n + 1 x 1 x 1 x 1 x 2 2 (h 2 f 1,,h n ) x 2 x 1 x 2 x 2 x n x 1 x n x 2 = f(x 0 ) + Df(x 0 )h ht D(Df)(x 0 )h + R 2. x 1 x n h 1 x 2 x n. h n x n x n +R 2(h,x 0 ) Proof. Let g(t) = f(x 0 +th) and use Taylor theorem in one variable and chain rule. Then and By Chain rule, g(1) = g(0) + g (0) + g (0) 2! R 2 = 1 0 (t 1) 2 g (t)dt 2! + R 2 n g (t) = f xi (x 0 + th)h i, n g (t) = f xi x j (x 0 + th)h i h j, i=1 i,j=1 and n g (t) = f xi x j x k (x 0 + th)h i h j h k i,j,k=1 n R 2 (h,x 0 ) = i,j,k=1 1 0 (1 t) 2 f xi x 2 j x k (x 0 + th)h i h j h k dt

9 10 3 ì HIGHER ORDER DERIVATIVE Then f(x 0 + h) = f(x 0 ) + n h i f xi (x 0 ) + 1 n h i h j f xi x 2 j (x 0 ) + R 2 (h,x 0 ) i=1 i,j=1 Here the integrand of R 2 (x,h) is continuous. So if h is small, it is less than M. So R 2 (h,x) M h 3. In other words R 2 (x,h) / h 2 0 as h 0. Example 2.4. Find 2nd order Taylor approximation of f(x,y) = e x+y near x 0 = (0,0). sol. Partials of f are f x (0,0) = f y (0,0) = e 0 = 1 f xx (0,0) = f xy (0,0) = f yy (0,0) = e 0 = 1 f(x,y) = 1 + x + y (x2 + 2xy + y 2 ) + R 2 As (x,y) (x 0,y 0 ), R 2 / (x,y) 2 0. Theorem 2.5. (1) Remainder of Taylor s theorem 2.2 is given by R 1 (h,x 0 ) = n i,j=1 1 0 (1 t)f xi x j (x 0 + th)h i h j dt = Here c is a point between x 0 and x 0 + h. (2) Remainder of Taylor s theorem 2.3 is R 2 (h,x 0 ) = n i,j,k=1 1 0 n i,j=1 (1 t) 2 f xi x 2 j x k (x 0 +th)h i h j h k dt = Here c is a point between x 0 and x 0 + h. 1 2 f x i,x j (c)h i h j n i,j,k=1 Proof. [MVT for integral] If h and g are continuous on [a,b] and g > 0 then for some c [a, b] the following holds b a b h(t)g(t)dt = h(c) g(t) dt a 1 3! f x i,x j,x k (c)h i h j h k

10 2 TAYLOR THEOREM 11 (1) From thm 2.2 we see n R 1 (h,x 0 ) = i,j=1 1 0 (1 t)f xi x j (x 0 + th)h i h j dt If we set h(t) = f xi x j (x 0 + th) and g(t) = (1 t)h i h j and use MVT. Then 1 0 (1 t)f xi x j (x 0 + th)h i h j dt 1 =f xi x j (c) (1 t)h i h j dt 0 = 1 2 f x i x j (c)h i h j (2) similar Second order Taylor formula gives second order approximation. Example 2.6. Find second order approx. of f(x,y) = sin xsin y. What is error if x 0.1, y 0.1. sol. partials of f(x,y) are f(0,0) = 0, f x (0,0) = 0, f y (0,0) = 0 f xx (0,0) = 0, f xy (0,0) = 1, f yy (0,0) = 0 Hence f(x,y) = ( ) x 2 (0) + 2xy + y 2 (0) + R 2 So sinxsin y xy and the error is R 2 = 1 6 (x3 f xxx + 3x 2 yf xxy + 3xy 2 f xyy + y 3 f yyy ) (c1,c 2 ) 1 ((0.1) 3 + 3(0.1) 1 + 3(0.1) 1 + (0.1) 1) (0.1) Example 2.7. Find second order approx. of f(x,y) = e x cos y at (0,0).

11 12 3 ì HIGHER ORDER DERIVATIVE sol. partials of f(x,y) are f(0,0) = 0, f x (0,0) = 1, f y (0,0) = 0 f xx (0,0) = 1, f xy (0,0) = 0, f yy (0,0) = 1 Hence f(h) = 1 + h ( ) h 2 1 h R 2 where R 2 / h 2 0 as h 0. Example 2.8. Find approx. value of (3.98 1) 2 /(5.97 3) 2 compare with exact value. sol. Let f = (x 1) 2 /(y 3) 2. Desired value is close to f(4,6) = 1. partials of f(x,y) are f(4,6) = 1, f x (4,6) = 2 3, f y(4,6) = 2 3, f xx (4,6) = 2 9, f xy(4,6) = 4 9, f yy(4,6) = 2 3 Hence linear approx. is while quadratic approx is ( 0.02) 2 ( 0.03) = ( 0.02) 2 3 ( 0.03)+2 ( 0.02) ( 0.02)( 0.03)+2 ( 0.03) = exact value is (calculator value) Î 3 Å Extrema of real valued functions Local Max, Min Definition 3.1. f : R n R has local minimum at x 0 R n if there is a nhd V of x 0 such that f(x 0 ) f(x) for all x V. Similarly, f has a local

12 3 EXTREMA OF REAL VALUED FUNCTIONS 13 maximaum if there is a nhd V of x 0 such that f(x 0 ) f(x) for all x V. The point x 0 is called local, or relative extremum A critical point which is either local max or min is called a saddle. local max local min 3.2: Near extreme Definition 3.2. A point x 0 R n is critical point if f is not differentiable or f(x 0 ) = 0 = (0,...,0). Theorem 3.3 (First derivative test for local extrema). If f : U R n R is differentiable at x 0 R n and has a extreme then Df(x 0 ) = 0, i.e, x 0 is a critical point. Proof. Suppose f has local maximum at x 0. Then for any h R n, the function g(t) = f(x 0 + th) has a local minimum. Hence g (0) = D h f(x 0 ) = f(x 0 ) h = 0 Sine this holds for every h, f(x 0 ) = 0. i.e, x 0 is critical point of f. Example 3.4. Find max and min f = x 2 + y 2 Example 3.5. Find extrema f = x 2 y 2 Example 3.6. Find critical points of z = x 2 y + y 2 x. sol. z x = 2xy + y 2, z y = 2xy + x 2 Set them equal to 0, obtain x 2 = y 2, Then for x = y, we get 2y 2 +y 2 = 0. Hence we get (0,0). For x = y, again get x = y = 0. Now for x = y, z = 2x 3. Not a extreme. So saddle.

13 14 3 ì HIGHER ORDER DERIVATIVE saddle point 3.3: Near Saddle point z y x y z x y z x z = x 2 + y 2 z = x 2 y 2 z = x 2 y 2 3.4: Graphs Example 3.7. z = 2(x 2 + y 2 )e x2 y 2 sol. z x = [4x + 2( 2x)(x 2 + y 2 )]e (x2 +y 2 ) = 4x(1 x 2 y 2 )e (x2 +y 2 ) z y = 4y(1 x 2 y 2 )e (x2 +y 2 ) Solving obtain x = y = 0 or x 2 + y 2 = 1, The points on the crater s rim are local maximum

14 3 EXTREMA OF REAL VALUED FUNCTIONS 15 Second derivative test Definition 3.8. Hf(x 0 )(h) = 1 2 (h 1,,h n ) x 1 x 1 x 2 x 1 x n x 1 x 1 x 2 x 2 x 2 x n x 2 x 1 x n h 1 x 2 x n. h n x n x n This is called (homogeneous) Hesssian at (x 0,y 0 ). At critical point, DF(x 0 ) = 0. Hence f(x 0 + h) = f(x 0 ) + Hf(x 0 )(h) + R 2 (x 0,h) A quadratic function g : R n R is said to be positive definite if g(h) 0 for all h R n, and g(h) = 0 only when h = 0. It is said to be negative definite if g(h) 0 for all h R n, and g(h) = 0 only when h = 0. Remark 3.9. If g is quadratic, then g(λh 1,,λh n ) = λ 2 g(h 1,,h n ). Theorem [Second derivative test] Suppose f is C 3 and (x 0,y 0 ) is a critical point of f. If the Hessian Hf(x 0 ) is positive definite, then x 0 is relative minimum. Similarly, if Hf(x 0 ) is negative definite, then x 0 is relative maximum. Example Consider f(x,y) = x 2 + y 2. (0,0) is the critical point. We see f(x,y) = f(0,0) + (h h 2 2) + 0 Hf = h h2 2 This is positive definite, hence (0,0) is min. Lemma If B = [b ij ] is n n real matrix and if H : R n R,(h 1,,h n ) 1 2 bij h i h j is positive-definite, then there is M > 0 such that for all h H(h) M h 2 Proof. For h = 1, set g(h) = H(h). Then g is continuous function on a

15 16 3 ì HIGHER ORDER DERIVATIVE closed set, hence have a positive minimum say M. Because H is quadratic, for any h 0. H(h) = H( h h h ) = H( h h ) h 2 = g( h h ) h 2 M h 2 Proof of Theorem f(x 0 ) f(x 0 ) = H(x 0 )(h) + R 2 where R 2 / h 2 0. Since Hf(x 0 ) is positive definite, Hf(x 0 )(h) M h 2 and R 2 < M h 2. hence R 2 > 0 for 0 < h < δ. So a strict min. Example (1) f(x,y) = x 4 + y 4 (2) h(x,y) = x 3 + y 3 sol. (1) One can check Hf(0) = h h2 2. So rel minimum. (2) (0,0) is the only critical point of f and D = 0 at (0,0). So the test fails. It is easy to check f 0 for all (x,y) and f(0,0) = 0. So (0,0) is local minimum (3) Again D = 0. h 0 if x 0, y 0 or x 0, y 0 Also, h 0 for x 0, y 0 or x 0, y 0. Hence (0,0) is a saddle of h. Determinant test for Positive definiteness Then how do we know Positive definiteness? Lemma Let [ ] a b B = b c and H(h) = 1 2 [h 1,h 2 ] B [ ] h1 h 2 Then H(h) is positive definite iff a > 0 and det B = ac b 2 > 0.

16 3 EXTREMA OF REAL VALUED FUNCTIONS 17 Theorem 3.15 (Second derivative test). Suppose f is C 3 on an open subset U of R 2. A point (x 0,y 0 ) is a local min, if the following holds (1) f x (x 0,y 0 ) = f y (x 0,y 0 ) = 0. (critical point of f) (2) f xx (x 0,y 0 ) > 0 (3) D = f xx (x 0,y 0 )f yy (x 0,y 0 ) (f xy (x 0,y 0 )) 2 D is called the discriminant. If cond. (2) is replaced by f xx (x 0,y 0 ) < 0 then f has local max at (x 0,y 0 ). If If D < 0, (x 0,y 0 ) is saddle. Proof of pos. definiteness when D > 0 Hf = 1 2 [h 1,h 2 ] [ ] [ ] fxx f xy h1 f yx f yy h 2 [ ] a b Thus we need to check definiteness of the matrix of the form B = b c z = ax 2 + 2bxy + cy 2 ac b 2 > 0 a < 0 a > 0 z = ax 2 + 2bxy + cy 2 ac b 2 < 0 3.5: Graphs of quadratic functions [ ] a b Lemma Let B = and H(h) = 1 2 b c ht Bh. Then H(h) is positivedefinite if and only if a > 0 and ac b 2 > 0.

17 18 3 ì HIGHER ORDER DERIVATIVE sol. We have [ ] [ ] ah1 + bh 2 h1 H(h) = 1 2 [h 1,h 2 ] bh 1 + ch 2 h 2 = 1 2 (ah bh 1h 2 + ch 2 2 ) ) ( ) H(h) = 1 2 a (h 1 + b a h 2 c b2 a h 2 2 Suppose H is positive definite, then setting h 2 = 0, we have a > 0. Setting h 1 = 0, we get ac b 2 > 0. Converse also hold. Similarly, we have negative definite if a < 0 and ac b 2 > 0. Example Classify the critical points of the following form. (1) g(x,y) = 3x 2 + 6xy + 9y 2 (2) h(x,y) = 2x 2 + xy y 2 (3) k(x,y) = x 2 xy + 2y 2 sol. All the critical points are (0,0). For g, we see D = = 18 > 0. Hence (0,0) is a local min of g. For h, we have D = ( 2)( 1) 1/4 = 7/4 > 0 and a = 2 < 0, we see h has local maximum at (0,0). For k, D = 2 1 1/4 = 3/4 > 0 and a = 1 > 0, hence k has local minimum at (0,0). Example Locate relative maxima minima saddle of f(x,y) = log(x 2 + y 2 + 1) sol. f = 0 gives (0,0) as a critical point. Second derivatives are f xx (0,0) = 2 = f yy (0,0), f xy (0,0) = 0 Hence D = 2 2 = 4 > 0. Hence min. Example The graph of g = 1/xy is a surface S. Find the point on S closest to (0,0).

18 3 EXTREMA OF REAL VALUED FUNCTIONS 19 Each point on the surface is (x,y,1/xy). Hence sol. d 2 = x 2 + y x 2 y 2 We find the point which minimize f(x,y) = d 2 (x,y) rather than d. f x = 2x 2 x 3 y 2 = 0 f y = 2y 2 x 2 y 3 = 0. That is, x 4 y2 = 1 and x 2 y 4 = 1. From the first eq. we get y 2 = 1/x 4. Subst into second eq, we get x 6 = 1. So x = ±1 and y = ±1. All these four points are min. (d = 3) As x or y approaches, f. So f has min somewhere and no max. Example Find the critical points of f(x,y) = (x 2 y 2 )e ( x2 y 2 )/2 and determine if they are local max. or min. or neither.

19 20 3 ì HIGHER ORDER DERIVATIVE sol. Critical points. f x = [2x x(x 2 y 2 )]e ( x2 y 2 )/2 = 0 f y = [ 2y y(x 2 y 2 )]e ( x2 y 2 )/2 = 0 We see Hence x[2 (x 2 y 2 )] = 0, y[ 2 (x 2 y 2 )] = 0. (x,y) = (0,0), (± 2,0), (0, ± 2) On the other hand, f xx = [2 5x 2 + x 2 (x 2 y 2 ) + y 2 ]e ( x2 y 2 )/2, f yy = [5y y 2 (x 2 y 2 ) x 2 ]e ( x2 y 2 )/2, f xy = xy(x 2 y 2 )e ( x2 y 2 )/2. Since D(0,0) = 4 (0,0) is a saddle. While D(± 2,0) = 16/e 2 > 0 and f xx (± 2,0) = 4/e. So (± 2,0) is local min. Since D(0, ± 2) = 16/e 2 > 0 and f xx (0, ± 2) = 4/e, (0, ± 2) is local max. Graph is as Fig 3.6. z y x 3.6: f(x,y) = (x 2 y 2 )e ( x2 y 2 )/2 Global maxima and Minima Definition Suppose f D R n is real valued function. A point x 0 D is an absolute maximum if f(x 0 ) f(x) for all x A. Similarly, it is an

20 3 EXTREMA OF REAL VALUED FUNCTIONS 21 absolute minimum if f(x 0 ) f(x) for all x A. Strategy (1) Find all critical points (2) Find max or min of U(by parametrization) (3) Compute values at critical points (4) Compare all of the above. Example Find maximum or minimum of f(x,y) = x 2 + y 2 x y + 1 in D = {(x,y) R 2 x 2 + y 2 1}. sol. Critical points of f. Since f x = 2x 1 = 0, f y = 2y 1 = 0, (1/2,1/2) is the only critical points. (By second derivative test f xx = 2, f xy = 0, f yy = 2 f xx f yy fxy 2 = 4 > 0, f xx = 2 > 0 (1/2,1/2) is minimum) Now on the boundary D: x 2 + y 2 = 1. Use parametrization x = cos t, y = sin t, 0 t 2π to f. g(t) = sin 2 t + cos 2 t sin t cos t + 1 = 2 sin t cos t See g (t) = cos t + sint = 0 hence t = π/4,5π/4 are critical points. We have to check the end points t = 0,2π also. Hence the values are g(0) = 1, g(π/4) = 2 2. g(5π/4) = 2 + 2, g(2π) = 1 Comparing, we see maximum is at t = 5π/4, (x,y) = ( 2/2, 2/2) and Min at π/4. Existence of max and min Definition A set D R n is bounded if x M for all x D. It is Closed if it contains all boundary points. (fig 3.7 ) Example (1) D = {(x,y) R 2 x 2 + y 2 1} (2) D 0 = D {(0,0)}

21 22 3 ì HIGHER ORDER DERIVATIVE A p q x 0 D ε(x 0) 3.7: A neighborhood D ǫ (x 0 ) of a boundary point x 0 contains contains both points of A and points not in A D M(0) A 3.8: A is contained in a neighborhood D M (0). (3) S = {(x,y) R 2 x 2 + y 2 = 1} Theorem 3.25 (Existence of maximum and minimum). If f : A R is continuous function defined on a closed bounded set A R n. Then there are x 0,x 1 A such that for all x A f(x 0 ) f(x) f(x 1 ) Î 4 Å Constrained Extrema and Lagrange multiplier Lagrange multiplier method Theorem 4.1 (Lagrange multiplier method). Assume f : R n R and g: R n R are C 1 class. The restriction of f to the level set S = {x R n g(x) = c} (written as f S ) has maximum or minimum at x 0 S where g(x 0 ) 0. Then there is a λ (Lagrange multiplier) such that f(x 0 ) = λ g(x 0 )

22 4 CONSTRAINED EXTREMA AND LAGRANGE MULTIPLIER23 g(x 0) f(x 0) x 0 x1 f(x, y) = M x 2 f(x, y) = M 1 g(x,y) = C f(x, y) = M 2 3.9: Lagrange multiplier method Proof. First recall that g(x 0 ) is perpendicular to the level surface S at x 0. If c(t) is any curve in S, then since f is constant along any curve, df(c(t))/dt t=0 = 0. 0 = df(c(t)) dt = f(x 0 ) c (0) t=0 Hence f(x 0 ) perpendicular to c (0). So perpend. to tangent plane of S at x 0 Hence f(x 0 ) and g(x 0 ) are parallel(orthogonal to the same plane). Hence for some λ, f(x 0 ) = λ g(x 0 ) holds. Theorem 4.2. if f has max or min at a point x 0 of S. Then f S. To solve it we solve system of equations with n + 1 variables f(x) = λ g(x) g(x) = c Or f x1 = λg x1. f xn = λg xn g(x) = c (3.1) Another interpretation of Lagrange multiplier method: Let h(x 1,,x n λ) = f(x 1,,x n ) λ[g(x 1,,x n ) c]. Lagrange multiplier method says to find

23 24 3 ì HIGHER ORDER DERIVATIVE extreme points of f S, we should find extreme points of h. That is equivalent to solving equations (3.1). Example 4.3. Find extrema of f(x,y) = x 2 +y 2 on the set S, where S is the line y = x + 1. See figure in the book, p229. Example 4.4. Find max of f(x,y) = x 2 y 2 on S : x 2 + y 2 = 1. (See figure) where the two level curves touch. sol. Since g(x,y) = x 2 + y 2 = 1 and f = (2x 2y), g = (2x,2y) the equation is f x (x,y) = λg x (x,y) 2x = λ2x f y (x,y) = λg y (x,y) 2y = λ2y g(x,y) = 1 x 2 + y 2 = 1 From the first equation we get x = 0 or λ = 1. If x = 0, we see from third equation y = ±1. If λ = 1 then y = 0 and x = ±1. Now f(0,1) = f(0, 1) = 1, f(1,0) = f( 1,0) = 1. Hence max is 1 min is 1. Example 4.5. Find max of f(x,y,z) = x + z subject to x 2 + y 2 + z 2 = 1. sol. By Lagrange multiplier 1 = 2xλ 0 = 2yλ 1 = 2zλ 1 = x 2 + y 2 + z 2 From first and third equation we see λ 0 and x = z. Hence from second equation y = 0. From fourth equation we obtain x = z = ±1/ 2. Hence (1/ 2,0,1/ 2) and ( 1/ 2,0, 1/ 2). 2/ 2 is max and 2/ 2 is min.

24 4 CONSTRAINED EXTREMA AND LAGRANGE MULTIPLIER25 Example 4.6. Find the maximum volume of rectangular box with fixed surface area 10m 2. sol. Let x, y, z be the dimension. Then volume is f(x,y,z) = xyz. But surface are is 10. Hence the condition g(x,y,z) = 2(xy + yz + zx) = 10 is the constraint. yz = λ(y + z), xz = λ(x + z), yx = λ(y + x), 5 = xy + yz + zx. Since x > 0, y > 0, z > 0, y + z 0, x + z 0. So eliminating λ we get yz/(y + z) = xz/(x + z). Hence x = y. Similarly, y = z and we see x = y = z = 5/3. i,e, f( 5/3, 5/3, 5/3) = (5/3) 3/2 are candidates for maximum or minimum. Surface S : xy + yz + zx = 5 is not bounded. If function value f(x,y,z) approaches 0 as any of x or y z approaches 0 or then (5/3) 3/2 is max. Example 4.7. Find max(min) of f(x,y) = x 2 y 2 on x 2 + y 2 1. sol. Critical points of f. Since f x = 2x = 0, f y = 2y = 0, (0,0) is the only critical point. f(0,0) = 0. But D = f xx f yy fxy 2 = 4 < 0 hence it is a saddle. We have seen in Example 4.4 that f has max and min 1 and 1 Several constraint Let S be the surface determined by the following equations: g 1 (x) = c 1, g k (x) = c k

25 26 3 ì HIGHER ORDER DERIVATIVE If f : R n R is C 1 class and has max or min on S then there exist λ 1,...,λ k such that f(x 0 ) = λ 1 g 1 (x 0 ) + + λ k g k (x 0 ) Example 4.8. Find extreme points of f = x + y + z subject to x 2 + y 2 = 2 and x + z = 1. sol. Constraints are g 1 = x 2 + y 2 2 = 0 and g 2 = x + z 1 = 0. Thus f = λ 1 g 1 + λ 2 g 2 Since g 1 = x 2 + y 2 2 g 2 = x + z 1 we obtain 1 = λ 1 2x + λ = λ 1 2y + λ = λ λ = x 2 + y = x + z 1 From third equation we obtain λ 2 = 1 and so λ 1 2x = 0 and λ 1 2y = 1. From second, we see λ 1 0, hence x = 0. Thus y = ± 2 and z = 1. Hence possible extrema are (0, ± 2,1). (0, 2,1) give max(0, 2,1) give min. Example 4.9. Find absolute maximum and minimum of f = xy on x 2 +y 2 1.

26 5 CONSTRAINED EXTREMA AND LAGRANGE MULTIPLIER27 sol. First find critical points. f x = y, f y = x (0,0) is the only critical point. Now consider on the unit circle g = x 2 + y 2 = 1. f = λ g (y,x) = λ(2x,2y) Thus we get y = 4λ 2 y, or λ = ±1/2 and y = ±x. So y = ±1/ 2 = x. Checking f values at these points we see f has max 1/2 and 1/2 is min. By checking second derivative, (0,0) is saddle Example Find absolute maximum and minimum of f = 1 2 x y2 on 1 2 x2 + y 2 1. sol. First find critical points. f x = x, f y = y (0,0) is the only critical point. Now consider on the unit circle g = x 2 +y 2 = 1. Use Lagrange method.(recall one could use parametrization as before). Thus we get f = λ g (x,y) = λ(x,2y) x = λx y = 2λy 1 2 x2 + y 2 = 1 So (0, ±1) and (± 2,0). Checking f values at these points we see f has max 1 at (0,0).

27 28 3 ì HIGHER ORDER DERIVATIVE Î 5 Å Implicit function theorem Implicit function theorem-one variable Theorem 5.1. y = f(x) and f (x 0 ) 0. Then inverse function x = f 1 (y) exists near y 0 = f(x 0 ). We generalize this to higher dimensions. A special case first. Theorem 5.2. Suppose F : R n+1 R has continuous partials. Denote points in R n+1 by (x,z). assume F(x,z) satisfies F(x 0,z 0 ) = 0 and F z (x 0,z) 0. Then there is a ball U containing x 0 and V of z 0 such that z = g(x) for x U and satisfies F(x,g(x)) = 0. Moreover, evaluated at z = g(x). Dg = 1 D F x F(x,z) z Proof. Sketch only. Assume z is a function of x near x 0, take derivative of Fz(x 0,z) with resp. to x i. Then F + F z = 0. x i z x i So z = x i F x i F z. Example 5.3. Show that near (x, y, uy, v) = (1, 1, 1, 1) we can solve xu + yvu 2 = 2 xu 3 + y 2 v 4 = 2

28 5 IMPLICIT FUNCTION THEOREM 29 sol. Let F 1 = xu + yvu 2 2 F 2 = xu 3 + y 2 v 4 2 and check = = = F 1 F 1 u v F 2 F 2 u v x + 2yuv yu 2 3u 2 4y 2 v = 9

29 30 3 ì HIGHER ORDER DERIVATIVE

3 Applications of partial differentiation

3 Applications of partial differentiation Advanced Calculus Chapter 3 Applications of partial differentiation 37 3 Applications of partial differentiation 3.1 Stationary points Higher derivatives Let U R 2 and f : U R. The partial derivatives

More information

MA102: Multivariable Calculus

MA102: Multivariable Calculus MA102: Multivariable Calculus Rupam Barman and Shreemayee Bora Department of Mathematics IIT Guwahati Differentiability of f : U R n R m Definition: Let U R n be open. Then f : U R n R m is differentiable

More information

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

Partial Derivatives. w = f(x, y, z). Partial Derivatives 1 Functions of Several Variables So far we have focused our attention of functions of one variable. These functions model situations in which a variable depends on another independent

More information

Lagrange Multipliers

Lagrange Multipliers Lagrange Multipliers 3-15-2018 The method of Lagrange multipliers deals with the problem of finding the maxima and minima of a function subject to a side condition, or constraint. Example. Find graphically

More information

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.

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. Homework 8 Solutions, November 007. (1 We calculate some derivatives: f x = f y = x (x + y + 1 y (x + y + 1 x = (x + y + 1 4x (x + y + 1 4 y = (x + y + 1 4y (x + y + 1 4 x y = 4xy (x + y + 1 4 Substituting

More information

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

Calculus 2502A - Advanced Calculus I Fall : Local minima and maxima Calculus 50A - Advanced Calculus I Fall 014 14.7: Local minima and maxima Martin Frankland November 17, 014 In these notes, we discuss the problem of finding the local minima and maxima of a function.

More information

Module Two: Differential Calculus(continued) synopsis of results and problems (student copy)

Module Two: Differential Calculus(continued) synopsis of results and problems (student copy) Module Two: Differential Calculus(continued) synopsis of results and problems (student copy) Srikanth K S 1 Syllabus Taylor s and Maclaurin s theorems for function of one variable(statement only)- problems.

More information

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 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, Final Exam, Fall Problem Solution. Let u,, and v,,3. (a) Is the angle between u and v acute, obtuse, or right? (b) Find an equation for the plane through (,,) containing u and v. Solution: (a) The

More information

Taylor Series and stationary points

Taylor Series and stationary points Chapter 5 Taylor Series and stationary points 5.1 Taylor Series The surface z = f(x, y) and its derivatives can give a series approximation for f(x, y) about some point (x 0, y 0 ) as illustrated in Figure

More information

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

Practice problems for Exam 1. a b = (2) 2 + (4) 2 + ( 3) 2 = 29 Practice problems for Exam.. Given a = and b =. Find the area of the parallelogram with adjacent sides a and b. A = a b a ı j k b = = ı j + k = ı + 4 j 3 k Thus, A = 9. a b = () + (4) + ( 3)

More information

Engg. Math. I. Unit-I. Differential Calculus

Engg. Math. I. Unit-I. Differential Calculus Dr. Satish Shukla 1 of 50 Engg. Math. I Unit-I Differential Calculus Syllabus: Limits of functions, continuous functions, uniform continuity, monotone and inverse functions. Differentiable functions, Rolle

More information

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

DEPARTMENT OF MATHEMATICS AND STATISTICS UNIVERSITY OF MASSACHUSETTS. MATH 233 SOME SOLUTIONS TO EXAM 2 Fall 2018 DEPARTMENT OF MATHEMATICS AND STATISTICS UNIVERSITY OF MASSACHUSETTS MATH 233 SOME SOLUTIONS TO EXAM 2 Fall 208 Version A refers to the regular exam and Version B to the make-up. Version A. A particle

More information

Lecture 13 - Wednesday April 29th

Lecture 13 - Wednesday April 29th Lecture 13 - Wednesday April 29th jacques@ucsdedu Key words: Systems of equations, Implicit differentiation Know how to do implicit differentiation, how to use implicit and inverse function theorems 131

More information

Classnotes - MA1101. Functions of Several Variables

Classnotes - MA1101. Functions of Several Variables lassnotes - MA111 Functions of Several Variables epartment of Mathematics Indian Institute of Technology Madras This material is only meant for internal use; not to be distributed for commercial purpose.

More information

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

Calculus - II Multivariable Calculus. M.Thamban Nair. Department of Mathematics Indian Institute of Technology Madras Calculus - II Multivariable Calculus M.Thamban Nair epartment of Mathematics Indian Institute of Technology Madras February 27 Revised: January 29 Contents Preface v 1 Functions of everal Variables 1 1.1

More information

Multivariable Calculus and Matrix Algebra-Summer 2017

Multivariable Calculus and Matrix Algebra-Summer 2017 Multivariable Calculus and Matrix Algebra-Summer 017 Homework 4 Solutions Note that the solutions below are for the latest version of the problems posted. For those of you who worked on an earlier version

More information

Method of Lagrange Multipliers

Method of Lagrange Multipliers Method of Lagrange Multipliers A. Salih Department of Aerospace Engineering Indian Institute of Space Science and Technology, Thiruvananthapuram September 2013 Lagrange multiplier method is a technique

More information

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

Let f(x) = x, but the domain of f is the interval 0 x 1. Note I.g Maximum and Minimum. Lagrange Multipliers Recall: Suppose we are given y = f(x). We recall that the maximum/minimum points occur at the following points: (1) where f = 0; (2) where f does not exist;

More information

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

SOLUTIONS to Problems for Review Chapter 15 McCallum, Hughes, Gleason, et al. ISBN by Vladimir A. Dobrushkin SOLUTIONS to Problems for Review Chapter 1 McCallum, Hughes, Gleason, et al. ISBN 978-0470-118-9 by Vladimir A. Dobrushkin For Exercises 1, find the critical points of the given function and classify them

More information

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

Math 212-Lecture Interior critical points of functions of two variables Math 212-Lecture 24 13.10. Interior critical points of functions of two variables Previously, we have concluded that if f has derivatives, all interior local min or local max should be critical points.

More information

MATH Midterm 1 Sample 4

MATH Midterm 1 Sample 4 1. (15 marks) (a) (4 marks) Given the function: f(x, y) = arcsin x 2 + y, find its first order partial derivatives at the point (0, 3). Simplify your answers. Solution: Compute the first order partial

More information

Math 321 Final Exam. 1. Do NOT write your answers on these sheets. Nothing written on the test papers will be graded.

Math 321 Final Exam. 1. Do NOT write your answers on these sheets. Nothing written on the test papers will be graded. Math 31 Final Exam Instructions 1 Do NOT write your answers on these sheets Nothing written on the test papers will be graded Please begin each section of questions on a new sheet of paper 3 Do not write

More information

ENGI Partial Differentiation Page y f x

ENGI Partial Differentiation Page y f x 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

More information

The Derivative. Appendix B. B.1 The Derivative of f. Mappings from IR to IR

The Derivative. Appendix B. B.1 The Derivative of f. Mappings from IR to IR Appendix B The Derivative B.1 The Derivative of f In this chapter, we give a short summary of the derivative. Specifically, we want to compare/contrast how the derivative appears for functions whose domain

More information

Chapter 2: Unconstrained Extrema

Chapter 2: Unconstrained Extrema Chapter 2: Unconstrained Extrema Math 368 c Copyright 2012, 2013 R Clark Robinson May 22, 2013 Chapter 2: Unconstrained Extrema 1 Types of Sets Definition For p R n and r > 0, the open ball about p of

More information

Section 3.5 The Implicit Function Theorem

Section 3.5 The Implicit Function Theorem Section 3.5 The Implicit Function Theorem THEOREM 11 (Special Implicit Function Theorem): Suppose that F : R n+1 R has continuous partial derivatives. Denoting points in R n+1 by (x, z), where x R n and

More information

Solutions to old Exam 3 problems

Solutions to old Exam 3 problems Solutions to old Exam 3 problems Hi students! I am putting this version of my review for the Final exam review here on the web site, place and time to be announced. Enjoy!! Best, Bill Meeks PS. There are

More information

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

x + ye z2 + ze y2, y + xe z2 + ze x2, z and where T is the 1.(8pts) Find F ds where F = x + ye z + ze y, y + xe z + ze x, z and where T is the T surface in the pictures. (The two pictures are two views of the same surface.) The boundary of T is the unit circle

More information

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

Math 210, Final Exam, Practice Fall 2009 Problem 1 Solution AB AC AB. cosθ = AB BC AB (0)(1)+( 4)( 2)+(3)(2) Math 2, Final Exam, Practice Fall 29 Problem Solution. A triangle has vertices at the points A (,,), B (, 3,4), and C (2,,3) (a) Find the cosine of the angle between the vectors AB and AC. (b) Find an

More information

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

LESSON 23: EXTREMA OF FUNCTIONS OF 2 VARIABLES OCTOBER 25, 2017 LESSON : EXTREMA OF FUNCTIONS OF VARIABLES OCTOBER 5, 017 Just like with functions of a single variable, we want to find the minima (plural of minimum) and maxima (plural of maximum) of functions of several

More information

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.

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. PhD Katarína Bellová Page 1 Mathematics 2 (10-PHY-BIPMA2 EXAM - Solutions, 20 July 2017, 10:00 12:00 All answers to be justified Problem 1 [ points]: For which parameters λ R does the following system

More information

1 Partial differentiation and the chain rule

1 Partial differentiation and the chain rule 1 Partial differentiation and the chain rule In this section we review and discuss certain notations and relations involving partial derivatives. The more general case can be illustrated by considering

More information

MATH2070 Optimisation

MATH2070 Optimisation MATH2070 Optimisation Nonlinear optimisation with constraints Semester 2, 2012 Lecturer: I.W. Guo Lecture slides courtesy of J.R. Wishart Review The full nonlinear optimisation problem with equality constraints

More information

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

Lecture 9: Implicit function theorem, constrained extrema and Lagrange multipliers Lecture 9: Implicit function theorem, constrained extrema and Lagrange multipliers Rafikul Alam Department of Mathematics IIT Guwahati What does the Implicit function theorem say? Let F : R 2 R be C 1.

More information

REVIEW OF DIFFERENTIAL CALCULUS

REVIEW OF DIFFERENTIAL CALCULUS REVIEW OF DIFFERENTIAL CALCULUS DONU ARAPURA 1. Limits and continuity To simplify the statements, we will often stick to two variables, but everything holds with any number of variables. Let f(x, y) be

More information

Tangent spaces, normals and extrema

Tangent spaces, normals and extrema Chapter 3 Tangent spaces, normals and extrema If S is a surface in 3-space, with a point a S where S looks smooth, i.e., without any fold or cusp or self-crossing, we can intuitively define the tangent

More information

Final Exam 2011 Winter Term 2 Solutions

Final Exam 2011 Winter Term 2 Solutions . (a Find the radius of convergence of the series: ( k k+ x k. Solution: Using the Ratio Test, we get: L = lim a k+ a k = lim ( k+ k+ x k+ ( k k+ x k = lim x = x. Note that the series converges for L

More information

Faculty of Engineering, Mathematics and Science School of Mathematics

Faculty of Engineering, Mathematics and Science School of Mathematics Faculty of Engineering, Mathematics and Science School of Mathematics GROUPS Trinity Term 06 MA3: Advanced Calculus SAMPLE EXAM, Solutions DAY PLACE TIME Prof. Larry Rolen Instructions to Candidates: Attempt

More information

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

z 2 = 1 4 (x 2) + 1 (y 6) MA 5 Fall 007 Exam # Review Solutions. Consider the function fx, y y x. a Sketch the domain of f. For the domain, need y x 0, i.e., y x. - - - 0 0 - - - b Sketch the level curves fx, y k for k 0,,,. The

More information

3. Minimization with constraints Problem III. Minimize f(x) in R n given that x satisfies the equality constraints. g j (x) = c j, j = 1,...

3. Minimization with constraints Problem III. Minimize f(x) in R n given that x satisfies the equality constraints. g j (x) = c j, j = 1,... 3. Minimization with constraints Problem III. Minimize f(x) in R n given that x satisfies the equality constraints g j (x) = c j, j = 1,..., m < n, where c 1,..., c m are given numbers. Theorem 3.1. Let

More information

Lagrange Multipliers

Lagrange Multipliers Lagrange Multipliers (Com S 477/577 Notes) Yan-Bin Jia Nov 9, 2017 1 Introduction We turn now to the study of minimization with constraints. More specifically, we will tackle the following problem: minimize

More information

Solutions to Homework 7

Solutions to Homework 7 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

More information

Math 2163, Practice Exam II, Solution

Math 2163, Practice Exam II, Solution Math 63, Practice Exam II, Solution. (a) f =< f s, f t >=< s e t, s e t >, an v v = , so D v f(, ) =< ()e, e > =< 4, 4 > = 4. (b) f =< xy 3, 3x y 4y 3 > an v =< cos π, sin π >=, so

More information

Math 10C - Fall Final Exam

Math 10C - Fall Final Exam Math 1C - Fall 217 - Final Exam Problem 1. Consider the function f(x, y) = 1 x 2 (y 1) 2. (i) Draw the level curve through the point P (1, 2). Find the gradient of f at the point P and draw the gradient

More information

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

0, otherwise. Find each of the following limits, or explain that the limit does not exist. Midterm Solutions 1, y x 4 1. Let f(x, y) = 1, y 0 0, otherwise. Find each of the following limits, or explain that the limit does not exist. (a) (b) (c) lim f(x, y) (x,y) (0,1) lim f(x, y) (x,y) (2,3)

More information

Contents. 2 Partial Derivatives. 2.1 Limits and Continuity. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v. 2.

Contents. 2 Partial Derivatives. 2.1 Limits and Continuity. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v. 2. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v 260) Contents 2 Partial Derivatives 1 21 Limits and Continuity 1 22 Partial Derivatives 5 23 Directional Derivatives and the Gradient

More information

Math 210, Final Exam, Spring 2010 Problem 1 Solution

Math 210, Final Exam, Spring 2010 Problem 1 Solution Problem Solution. The position vector r (t) t3î+8tĵ+3t ˆk, t describes the motion of a particle. (a) Find the position at time t. (b) Find the velocity at time t. (c) Find the acceleration at time t. (d)

More information

Math 234 Final Exam (with answers) Spring 2017

Math 234 Final Exam (with answers) Spring 2017 Math 234 Final Exam (with answers) pring 217 1. onsider the points A = (1, 2, 3), B = (1, 2, 2), and = (2, 1, 4). (a) [6 points] Find the area of the triangle formed by A, B, and. olution: One way to solve

More information

EC /11. Math for Microeconomics September Course, Part II Lecture Notes. Course Outline

EC /11. Math for Microeconomics September Course, Part II Lecture Notes. Course Outline LONDON SCHOOL OF ECONOMICS Professor Leonardo Felli Department of Economics S.478; x7525 EC400 20010/11 Math for Microeconomics September Course, Part II Lecture Notes Course Outline Lecture 1: Tools for

More information

Optimization: Problem Set Solutions

Optimization: Problem Set Solutions Optimization: Problem Set Solutions Annalisa Molino University of Rome Tor Vergata annalisa.molino@uniroma2.it Fall 20 Compute the maxima minima or saddle points of the following functions a. f(x y) =

More information

Study Guide/Practice Exam 3

Study Guide/Practice Exam 3 Study Guide/Practice Exam 3 This study guide/practice exam covers only the material since exam. The final exam, however, is cumulative so you should be sure to thoroughly study earlier material. The distribution

More information

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

7a3 2. (c) πa 3 (d) πa 3 (e) πa3 1.(6pts) Find the integral x, y, z d S where H is the part of the upper hemisphere of H x 2 + y 2 + z 2 = a 2 above the plane z = a and the normal points up. ( 2 π ) Useful Facts: cos = 1 and ds = ±a sin

More information

Exercises for Multivariable Differential Calculus XM521

Exercises for Multivariable Differential Calculus XM521 This document lists all the exercises for XM521. The Type I (True/False) exercises will be given, and should be answered, online immediately following each lecture. The Type III exercises are to be done

More information

Exercise The solution of

Exercise The solution of Exercise 8.51 The solution of dx dy = sin φ cos θdr + r cos φ cos θdφ r sin φ sin θdθ sin φ sin θdr + r cos φ sin θdφ r sin φ cos θdθ is dr dφ = dz cos φdr r sin φdφ dθ sin φ cos θdx + sin φ sin θdy +

More information

LESSON 25: LAGRANGE MULTIPLIERS OCTOBER 30, 2017

LESSON 25: LAGRANGE MULTIPLIERS OCTOBER 30, 2017 LESSON 5: LAGRANGE MULTIPLIERS OCTOBER 30, 017 Lagrange multipliers is another method of finding minima and maxima of functions of more than one variable. In fact, many of the problems from the last homework

More information

Math 207 Honors Calculus III Final Exam Solutions

Math 207 Honors Calculus III Final Exam Solutions Math 207 Honors Calculus III Final Exam Solutions PART I. Problem 1. A particle moves in the 3-dimensional space so that its velocity v(t) and acceleration a(t) satisfy v(0) = 3j and v(t) a(t) = t 3 for

More information

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

McGill University April Calculus 3. Tuesday April 29, 2014 Solutions McGill University April 4 Faculty of Science Final Examination Calculus 3 Math Tuesday April 9, 4 Solutions Problem (6 points) Let r(t) = (t, cos t, sin t). i. Find the velocity r (t) and the acceleration

More information

Chapter 4. Several-variable calculus. 4.1 Derivatives of Functions of Several Variables Functions of Several Variables

Chapter 4. Several-variable calculus. 4.1 Derivatives of Functions of Several Variables Functions of Several Variables Chapter 4 Several-variable calculus 4.1 Derivatives of Functions of Several Variables 4.1.1 Functions of Several Variables ² A function f of n variables (x 1,x 2,...,x n ) in R n is an entity that operates

More information

CALCULUS MATH*2080 SAMPLE FINAL EXAM

CALCULUS MATH*2080 SAMPLE FINAL EXAM CALCULUS MATH*28 SAMPLE FINAL EXAM Sample Final Exam Page of 2 Prof. R.Gentry Print Your Name Student No. SIGNATURE Mark This exam is worth 45% of your final grade. In Part I In Part II In part III In

More information

Math Maximum and Minimum Values, I

Math Maximum and Minimum Values, I Math 213 - Maximum and Minimum Values, I Peter A. Perry University of Kentucky October 8, 218 Homework Re-read section 14.7, pp. 959 965; read carefully pp. 965 967 Begin homework on section 14.7, problems

More information

Implicit Functions, Curves and Surfaces

Implicit Functions, Curves and Surfaces Chapter 11 Implicit Functions, Curves and Surfaces 11.1 Implicit Function Theorem Motivation. In many problems, objects or quantities of interest can only be described indirectly or implicitly. It is then

More information

MATHEMATICAL ECONOMICS: OPTIMIZATION. Contents

MATHEMATICAL ECONOMICS: OPTIMIZATION. Contents MATHEMATICAL ECONOMICS: OPTIMIZATION JOÃO LOPES DIAS Contents 1. Introduction 2 1.1. Preliminaries 2 1.2. Optimal points and values 2 1.3. The optimization problems 3 1.4. Existence of optimal points 4

More information

Lagrange Multipliers

Lagrange Multipliers Optimization with Constraints As long as algebra and geometry have been separated, their progress have been slow and their uses limited; but when these two sciences have been united, they have lent each

More information

Summer 2017 MATH Solution to Exercise 5

Summer 2017 MATH Solution to Exercise 5 Summer 07 MATH00 Solution to Exercise 5. Find the partial derivatives of the following functions: (a (xy 5z/( + x, (b x/ x + y, (c arctan y/x, (d log((t + 3 + ts, (e sin(xy z 3, (f x α, x = (x,, x n. (a

More information

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

1 Functions of Several Variables Some Examples Level Curves / Contours Functions of More Variables... 6 Contents 1 Functions of Several Variables 1 1.1 Some Examples.................................. 2 1.2 Level Curves / Contours............................. 4 1.3 Functions of More Variables...........................

More information

(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

(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 8 Show Your Work! Page of 6. (a) Find and classify any critical points of f(x, y) =x 2 +x+2y 2 in the region x 2 +y 2

More information

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.

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. Math, Final Exam, Spring Problem Solution. Consider three position vectors (tails are the origin): u,, v 4,, w,, (a) Find an equation of the plane passing through the tips of u, v, and w. (b) Find an equation

More information

Analysis/Calculus Review Day 3

Analysis/Calculus Review Day 3 Analysis/Calculus Review Day 3 Arvind Saibaba arvindks@stanford.edu Institute of Computational and Mathematical Engineering Stanford University September 15, 2010 Big- Oh and Little- Oh Notation We write

More information

ECON 186 Class Notes: Optimization Part 2

ECON 186 Class Notes: Optimization Part 2 ECON 186 Class Notes: Optimization Part 2 Jijian Fan Jijian Fan ECON 186 1 / 26 Hessians The Hessian matrix is a matrix of all partial derivatives of a function. Given the function f (x 1,x 2,...,x n ),

More information

Definition: Let f(x) be a function of one variable with continuous derivatives of all orders at a the point x 0, then the series.

Definition: Let f(x) be a function of one variable with continuous derivatives of all orders at a the point x 0, then the series. 2.4 Local properties o unctions o several variables In this section we will learn how to address three kinds o problems which are o great importance in the ield o applied mathematics: how to obtain the

More information

Calculus III: Practice Final

Calculus III: Practice Final Calculus III: Practice Final Name: Circle one: Section 6 Section 7. Read the problems carefully. Show your work unless asked otherwise. Partial credit will be given for incomplete work. The exam contains

More information

Chapter 7. Extremal Problems. 7.1 Extrema and Local Extrema

Chapter 7. Extremal Problems. 7.1 Extrema and Local Extrema Chapter 7 Extremal Problems No matter in theoretical context or in applications many problems can be formulated as problems of finding the maximum or minimum of a function. Whenever this is the case, advanced

More information

MATH H53 : Final exam

MATH H53 : Final exam MATH H53 : Final exam 11 May, 18 Name: You have 18 minutes to answer the questions. Use of calculators or any electronic items is not permitted. Answer the questions in the space provided. If you run out

More information

Review for the Final Exam

Review for the Final Exam Calculus 3 Lia Vas Review for the Final Exam. Sequences. Determine whether the following sequences are convergent or divergent. If they are convergent, find their limits. (a) a n = ( 2 ) n (b) a n = n+

More information

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

Name: Instructor: Lecture time: TA: Section time: Math 2220 Prelim 1 February 17, 2009 Name: Instructor: Lecture time: TA: Section time: INSTRUCTIONS READ THIS NOW This test has 6 problems on 7 pages worth a total of 100 points. Look over your test package

More information

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

The University of British Columbia Midterm 1 Solutions - February 3, 2012 Mathematics 105, 2011W T2 Sections 204, 205, 206, 211. 1. a) Let The University of British Columbia Midterm 1 Solutions - February 3, 2012 Mathematics 105, 2011W T2 Sections 204, 205, 206, 211 fx, y) = x siny). If the value of x, y) changes from 0, π) to 0.1,

More information

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input,

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input, MATH 20550 The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input, F(x 1,, x n ) F 1 (x 1,, x n ),, F m (x 1,, x n ) where each

More information

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.

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. MTH4101 CALCULUS II REVISION NOTES 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) 1.1 Introduction Types of numbers (natural, integers, rationals, reals) The need to solve quadratic equations:

More information

Maxima and Minima. (a, b) of R if

Maxima and Minima. (a, b) of R if Maxima and Minima Definition Let R be any region on the xy-plane, a function f (x, y) attains its absolute or global, maximum value M on R at the point (a, b) of R if (i) f (x, y) M for all points (x,

More information

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

Math 265H: Calculus III Practice Midterm II: Fall 2014 Name: Section #: Math 65H: alculus III Practice Midterm II: Fall 14 Instructions: This exam has 7 problems. The number of points awarded for each question is indicated in the problem. Answer each question

More information

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

MAT 211 Final Exam. Spring Jennings. Show your work! MAT 211 Final Exam. pring 215. Jennings. how your work! Hessian D = f xx f yy (f xy ) 2 (for optimization). Polar coordinates x = r cos(θ), y = r sin(θ), da = r dr dθ. ylindrical coordinates x = r cos(θ),

More information

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

1. For each function, find all of its critical points and then classify each point as a local extremum or saddle point. Solutions Review for Exam # Math 6. For each function, find all of its critical points and then classify each point as a local extremum or saddle point. a fx, y x + 6xy + y Solution.The gradient of f is

More information

Department of Mathematics, IIT Bombay End-Semester Examination, MA 105 Autumn-2008

Department of Mathematics, IIT Bombay End-Semester Examination, MA 105 Autumn-2008 Department of Mathematics, IIT Bombay End-Semester Examination, MA 105 Autumn-2008 Code: C-031 Date and time: 17 Nov, 2008, 9:30 A.M. - 12:30 P.M. Maximum Marks: 45 Important Instructions: 1. The question

More information

Math 263 Assignment #4 Solutions. 0 = f 1 (x,y,z) = 2x 1 0 = f 2 (x,y,z) = z 2 0 = f 3 (x,y,z) = y 1

Math 263 Assignment #4 Solutions. 0 = f 1 (x,y,z) = 2x 1 0 = f 2 (x,y,z) = z 2 0 = f 3 (x,y,z) = y 1 Math 263 Assignment #4 Solutions 1. Find and classify the critical points of each of the following functions: (a) f(x,y,z) = x 2 + yz x 2y z + 7 (c) f(x,y) = e x2 y 2 (1 e x2 ) (b) f(x,y) = (x + y) 3 (x

More information

Chapter 4 Notes, Calculus I with Precalculus 3e Larson/Edwards

Chapter 4 Notes, Calculus I with Precalculus 3e Larson/Edwards 4.1 The Derivative Recall: For the slope of a line we need two points (x 1,y 1 ) and (x 2,y 2 ). Then the slope is given by the formula: m = y x = y 2 y 1 x 2 x 1 On a curve we can find the slope of a

More information

Chapter 3: Constrained Extrema

Chapter 3: Constrained Extrema Chapter 3: Constrained Extrema Math 368 c Copyright 2012, 2013 R Clark Robinson May 22, 2013 Chapter 3: Constrained Extrema 1 Implicit Function Theorem For scalar fn g : R n R with g(x ) 0 and g(x ) =

More information

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

12.1 Taylor Polynomials In Two-Dimensions: Nonlinear Approximations of F(x,y) Polynomials in Two-Variables. Taylor Polynomials and Approximations. Week 12 Lecture Overheads Math2080 Week 12 Page 1 12.1 Taylor Polynomials In Two-Dimensions: Nonlinear Approximations of F(x,y) Polynomials in Two-Variables. Taylor Polynomials and Approximations. 12.2

More information

4 Partial Differentiation

4 Partial Differentiation 4 Partial Differentiation Many equations in engineering, physics and mathematics tie together more than two variables. For example Ohm s Law (V = IR) and the equation for an ideal gas, PV = nrt, which

More information

Solutions to Sample Questions for Final Exam

Solutions to Sample Questions for Final Exam olutions to ample Questions for Final Exam Find the points on the surface xy z 3 that are closest to the origin. We use the method of Lagrange Multipliers, with f(x, y, z) x + y + z for the square of the

More information

Basics of Calculus and Algebra

Basics of Calculus and Algebra Monika Department of Economics ISCTE-IUL September 2012 Basics of linear algebra Real valued Functions Differential Calculus Integral Calculus Optimization Introduction I A matrix is a rectangular array

More information

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

e x3 dx dy. 0 y x 2, 0 x 1. Problem 1. Evaluate by changing the order of integration y e x3 dx dy. Solution:We change the order of integration over the region y x 1. We find and x e x3 dy dx = y x, x 1. x e x3 dx = 1 x=1 3 ex3 x=

More information

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

x +3y 2t = 1 2x +y +z +t = 2 3x y +z t = 7 2x +6y +z +t = a UCM Final Exam, 05/8/014 Solutions 1 Given the parameter a R, consider the following linear system x +y t = 1 x +y +z +t = x y +z t = 7 x +6y +z +t = a (a (6 points Discuss the system depending on the

More information

CHAPTER 4: HIGHER ORDER DERIVATIVES. Likewise, we may define the higher order derivatives. f(x, y, z) = xy 2 + e zx. y = 2xy.

CHAPTER 4: HIGHER ORDER DERIVATIVES. Likewise, we may define the higher order derivatives. f(x, y, z) = xy 2 + e zx. y = 2xy. April 15, 2009 CHAPTER 4: HIGHER ORDER DERIVATIVES In this chapter D denotes an open subset of R n. 1. Introduction Definition 1.1. Given a function f : D R we define the second partial derivatives as

More information

Convex Optimization. Chapter Introduction Mathematical Optimization

Convex Optimization. Chapter Introduction Mathematical Optimization Chapter 4 Convex Optimization 4.1 Introduction 4.1.1 Mathematical Optimization The problem of mathematical optimization is to minimize a non-linear cost function f 0 (x) subject to inequality constraints

More information

2.1 NUMERICAL SOLUTION OF SIMULTANEOUS FIRST ORDER ORDINARY DIFFERENTIAL EQUATIONS. differential equations with the initial values y(x 0. ; l.

2.1 NUMERICAL SOLUTION OF SIMULTANEOUS FIRST ORDER ORDINARY DIFFERENTIAL EQUATIONS. differential equations with the initial values y(x 0. ; l. Numerical Methods II UNIT.1 NUMERICAL SOLUTION OF SIMULTANEOUS FIRST ORDER ORDINARY DIFFERENTIAL EQUATIONS.1.1 Runge-Kutta Method of Fourth Order 1. Let = f x,y,z, = gx,y,z be the simultaneous first order

More information

Lecture notes for Math Multivariable Calculus

Lecture notes for Math Multivariable Calculus Lecture notes for Math 417-517 Multivariable alculus J. Dimock Dept. of Mathematics SUNY at Buffalo Buffalo, NY 14260 December 4, 2012 ontents 1 multivariable calculus 3 1.1 vectors....................................

More information

SIMPLE MULTIVARIATE OPTIMIZATION

SIMPLE MULTIVARIATE OPTIMIZATION SIMPLE MULTIVARIATE OPTIMIZATION 1. DEFINITION OF LOCAL MAXIMA AND LOCAL MINIMA 1.1. Functions of variables. Let f(, x ) be defined on a region D in R containing the point (a, b). Then a: f(a, b) is a

More information

September Math Course: First Order Derivative

September Math Course: First Order Derivative September Math Course: First Order Derivative Arina Nikandrova Functions Function y = f (x), where x is either be a scalar or a vector of several variables (x,..., x n ), can be thought of as a rule which

More information

MAT 211 Final Exam. Fall Jennings.

MAT 211 Final Exam. Fall Jennings. MAT 211 Final Exam. Fall 218. Jennings. Useful formulas polar coordinates spherical coordinates: SHOW YOUR WORK! x = rcos(θ) y = rsin(θ) da = r dr dθ x = ρcos(θ)cos(φ) y = ρsin(θ)cos(φ) z = ρsin(φ) dv

More information

II. An Application of Derivatives: Optimization

II. An Application of Derivatives: Optimization Anne Sibert Autumn 2013 II. An Application of Derivatives: Optimization In this section we consider an important application of derivatives: finding the minimum and maximum points. This has important applications

More information