Minima, Maxima, Saddle points

Size: px
Start display at page:

Download "Minima, Maxima, Saddle points"

Transcription

1 Minima, Maxima, Saddle points Levent Kandiller Industrial Engineering Department Çankaya University, Turkey Minima, Maxima, Saddle points p./9

2 Scalar Functions Let us remember the properties for maxima, minima and saddle points when we have scalar functions with two variables with the help of the following examples. Minima, Maxima, Saddle points p./9

3 Scalar Functions Example. Let f(x,y) = x + y. Find the extreme points: Minima, Maxima, Saddle points p./9

4 Scalar Functions Example. Let f(x,y) = x + y. Find the extreme points: Minima, Maxima, Saddle points p./9

5 Scalar Functions Example. Let f(x,y) = x + y. Find the extreme points:.5.5 f(x,y) x = x =. f(x,y) x =, y = y =. y =. Since we have only one critical point, it is either the maximum or the minimum. We observe that f(x, y) takes only nonnegative values. Thus, we see that the origin is the minimum point. Minima, Maxima, Saddle points p./9

6 Scalar Functions Example. Find the extreme points of f(x,y) = xy x y x y + 4. Minima, Maxima, Saddle points p.3/9

7 Scalar Functions Example. Find the extreme points of f(x,y) = xy x y x y + 4. The function is differentiable and has no boundary points. Minima, Maxima, Saddle points p.3/9

8 Scalar Functions Example. Find the extreme points of f(x,y) = xy x y x y + 4. f x = f(x,y) x Thus, x = y = is the critical point. = y x, f y = f(x,y) y = x y. Minima, Maxima, Saddle points p.3/9

9 Scalar Functions Example. Find the extreme points of f(x,y) = xy x y x y + 4. f x = f(x,y) x Thus, x = y = is the critical point. f xx = f(x,y) x = y x, f y = f(x,y) y = x y. = = f(x,y) y = f yy, f xy = f(x,y) x y =. Minima, Maxima, Saddle points p.3/9

10 Scalar Functions Example. Find the extreme points of f(x,y) = xy x y x y + 4. f x = f(x,y) x Thus, x = y = is the critical point. f xx = f(x,y) x = y x, f y = f(x,y) y = x y. = = f(x,y) y = f yy, f xy = f(x,y) x y =. The discriminant (Jacobian) of f at (a, b) = (, ) is f xx f xy f xy f yy = f xx f yy f xy = 4 = 3. Since f xx <, f xx f yy f xy > f has a local maximum at (, ). Minima, Maxima, Saddle points p.3/9

11 Scalar Functions Theorem. The extreme values for f(x,y) can occur only at i. Boundary points of the domain of f. ii. Critical points (interior points where f x = f y =, or points where f x or f y fails to exist). Minima, Maxima, Saddle points p.4/9

12 Scalar Functions Theorem. If the first and second order partial derivatives of f are continuous throughout an open region containing a point (a, b) and f x (a,b) = f y (a,b) =, you may be able to classify (a,b) with the second derivative test: i. f xx <, f xx f yy fxy > at (a,b) local maximum; ii. f xx >, f xx f yy fxy > at (a,b) local minimum; iii. f xx f yy fxy < at (a,b) saddle point; iv. f xx f yy fxy = at (a,b) test is inconclusive (f is singular). Minima, Maxima, Saddle points p.4/9

13 Quadratic forms Definition. The quadratic term f(x, y) = ax + bxy + cy is positive definite (negative definite) if and only if a > (a < ) and ac b >. Minima, Maxima, Saddle points p.5/9

14 Quadratic forms Definition. The quadratic term f(x, y) = ax + bxy + cy is positive definite (negative definite) if and only if a > (a < ) and ac b >. f has a minimum (maximum) at x = y = if and only if f xx (, ) > (f xx (, ) < ) and f xx (, )f yy (, ) > f xy(, ). Minima, Maxima, Saddle points p.5/9

15 Quadratic forms Definition. The quadratic term f(x, y) = ax + bxy + cy is positive definite (negative definite) if and only if a > (a < ) and ac b >. f has a minimum (maximum) at x = y = if and only if f xx (, ) > (f xx (, ) < ) and f xx (, )f yy (, ) > f xy(, ). If f(, ) =, we term f as positive (negative) semi-definite provided the above conditions hold. Minima, Maxima, Saddle points p.5/9

16 Quadratic forms Now, we are able to introduce matrices to the quadratic forms: ax + bxy + cy = [x,y] a b x. b c y Minima, Maxima, Saddle points p.6/9

17 Quadratic forms Thus, for any symmetric A, the product f = x T Ax is a pure quadratic form: it has a stationary point at the origin and no higher terms. Minima, Maxima, Saddle points p.6/9

18 Quadratic forms Thus, for any symmetric A, the product f = x T Ax is a pure quadratic form: it has a stationary point at the origin and no higher terms. a a a n x xa T a a a n x x = [x,x,,x n ] a n a n a nn x n Minima, Maxima, Saddle points p.6/9

19 Quadratic forms Thus, for any symmetric A, the product f = x T Ax is a pure quadratic form: it has a stationary point at the origin and no higher terms. a a a n x xa T a a a n x x = [x,x,,x n ] a n a n a nn x n = a x + a x x + + a nn x n = n n i= j= a ijx i x j. Minima, Maxima, Saddle points p.6/9

20 Quadratic forms Definition. If A is such that a ij = f x i x j (hence symmetric), it is called the Hessian matrix. Minima, Maxima, Saddle points p.7/9

21 Quadratic forms Definition. If A is such that a ij = f x i x j (hence symmetric), it is called the Hessian matrix. If A is positive definite (x T Ax >, x θ) and if f has a stationary point at the origin (all first derivatives at the origin are zero), then f has a minimum. Minima, Maxima, Saddle points p.7/9

22 Quadratic forms Remark. Let f : R n R and x R n be the local minimum, f(x ) = θ and f(x ) is positive definite. Minima, Maxima, Saddle points p.8/9

23 Quadratic forms Remark. Let f : R n R and x R n be the local minimum, f(x ) = θ and f(x ) is positive definite. We are able to explore the neighborhood of x by means of x + x, where x is sufficiently small (such that the second order Taylor s approximation is pretty good) and positive. Minima, Maxima, Saddle points p.8/9

24 Quadratic forms Remark. Let f : R n R and x R n be the local minimum, f(x ) = θ and f(x ) is positive definite. We are able to explore the neighborhood of x by means of x + x, where x is sufficiently small (such that the second order Taylor s approximation is pretty good) and positive. Then, f(x + x) = f(x ) + x T f(x ) + xt f(x ) x. Minima, Maxima, Saddle points p.8/9

25 Quadratic forms Remark. Let f : R n R and x R n be the local minimum, f(x ) = θ and f(x ) is positive definite. We are able to explore the neighborhood of x by means of x + x, where x is sufficiently small (such that the second order Taylor s approximation is pretty good) and positive. Then, f(x + x) = f(x ) + x T f(x ) + xt f(x ) x. The second term is zero since x is a critical point and the third term is positive since the Hessian evaluated at x is positive definite. Thus, the left hand side is always strictly greater than the right hand side, indicating the local minimality of x. Minima, Maxima, Saddle points p.8/9

26 E Collaborative Work: Let f(x, x ) = 3 x3 + x + x x + x x + 9. Find the stationary and boundary points, then find the minimizer and the maximizer over 4 x x ,,4,6,8,,4,6,8 C A,,4 B,6, ,5 -,9 -,4 -,9 -, Minima, Maxima, Saddle points p.9/9

27 E Collaborative Work: Let f(x, x ) = 3 x3 + x + x x + x x + 9. Find the stationary and boundary points, then find the minimizer and the maximizer over 4 x x ,,4,6,8,,4,6,8 C A, E,4 B,6, ,5 -,9 -,4 -,9 -, ,,4,6,8,,4,6,8 C A B,,4,6, ,4 -,9 -,4 -,9-3,5 Minima, Maxima, Saddle points p.9/9

28 E Collaborative Work: Let f(x, x ) = 3 x3 + x + x x + x x + 9. Find the stationary and boundary points, then find the minimizer and the maximizer over 4 x x 3 f x f(x) = = x + x + x =. (x )(x ) = x + x x = x f x ,,4,6,8,,4,6,8 C A,,4 B,6, ,5 -,9 -,4 -,9 -, Minima, Maxima, Saddle points p.9/9

29 E 33 3 Collaborative Work: f(x) = f x f x = x + x + x x + x. = ,,4,6 C A B,8,,4,6,8,,4,6, ,4 -,9 -,4 -,9-3,5-4 (x )(x ) = x = x Therefore, x A = ¾, xb = defined by 4 x x 3. ¾ 3 are stationary points inside the region Minima, Maxima, Saddle points p.9/9

30 E 33 3 Collaborative Work: f(x) = f x f x = x + x + x x + x. = ,,4,6 C A B,8,,4,6,8,,4,6, ,4 -,9 -,4 -,9-3,5-4 (x )(x ) = x = x Therefore, x A = ¾, xb = defined by 4 x x 3. ¾ 3 are stationary points inside the region Moreover, we have the following boundaries ¾ defined by x I = ¾ x x C = ¾, xii =, xd = ¾ 3 x ¾ and xiii = 4, xe = ¾ x 4 3, xiv =, xf = ¾ x 3 4. ¾ Minima, Maxima, Saddle points p.9/9

31 E Collaborative Work: Let the Hessian matrix be f(x) = f x x f x x f x x f x x = x ,,4,6,8.,,4,6,8 C A,,4 B,6, ,4 -,9 -,4 -,9-3,5 Minima, Maxima, Saddle points p.9/9

32 E Collaborative Work: Let the Hessian matrix be f(x) = f x x f x x have f(x A ) = f x x f x x 3 = x , and f(x B ) =,4,6,8,,4,6,8 C A,,4 B,6, ,5. Then, we 5. -,9 -,4 -,9 -, Minima, Maxima, Saddle points p.9/9

33 E Collaborative Work: Let the Hessian matrix be f(x) = f x x f x x have f(x A ) = f x x f x x 3 = x , and f(x B ) = Let us check the positive definiteness of f(x A ): v T f(x A )v = [v, v ] ¾ 3 ¾ v v,4,6,8,,4,6,8 C A,,4 B,6, ,5. Then, we 5. = 3v + 4v v + v. If v =.5 and v =., we will have v T f(x A )v <. On the other hand, if v =.5 and v =., we will have v T f(x A )v >. Thus, f(x A ) is indefinite. -,9 -,4 -,9 -, Minima, Maxima, Saddle points p.9/9

34 E Collaborative Work: Let the Hessian matrix be f(x) = f x x f x x have f(x A ) = Let us check f(x B ): v T f(x B )v = [v, v ] f x x f x x 3 ¾ 5 = x , and f(x B ) = ¾ v v Thus, f(x B ) is positive definite and x B = f(x B ) = ,4,6,8,,4,6,8 C A,,4 B,6, ,5. Then, we 5. = 5v + 4v v + v = v + (v + v ) >. ¾ 3 is a local minimizer with -,9 -,4 -,9 -, Minima, Maxima, Saddle points p.9/9

35 E Collaborative Work: C A B ,4 -,9 -,4 Let us check the boundary defined by x I :,,4,6,8,,4,6,8,,4,6, ,9-3,5 f(, x ) = x x + 9 df(, x ) dx = x. = x =. Since d f(,x ) = >, x dx = > is the local minimizer outside the feasible region. As the first derivative is negative for 4 x, we will check x = for minimizer and x = 4 for maximizer. Minima, Maxima, Saddle points p.9/9

36 E Collaborative Work: C A B ,4 -,9 -,4 Let us check the boundary defined by x II :,,4,6,8,,4,6,8,,4,6, ,9-3,5 f(3, x ) = x + 5x + 65 df(3, x ) dx = x + 5. = x = 5. Since d f(,x ) = >, x dx = 5 < 4 is the local minimizer outside the feasible region. As the first derivative is positive for 4 x, we will check x = 4 for minimizer and x = for maximizer. Minima, Maxima, Saddle points p.9/9

37 E Collaborative Work: C A B ,4 -,9 -,4 Let us check the boundary defined by x III :,,4,6,8,,4,6,8,,4,6, ,9-3,5 f(x,) = 3 x3 + x +9 df(x,) dx = x +x. = x =,. Since d f(x,) dx ( d f(,) dx = x +, x = is the local minimizer = > ) on the boundary, and x = is the local maximizer ( d f(,) = < ) outside the feasible region. As dx the first derivative is positive for x 3, we will check x = 3 for maximizer. Minima, Maxima, Saddle points p.9/9

38 E Collaborative Work: Let us check the boundary defined by x IV : f(x, 4) = 3 x3 + x 8x + 3 df(x, 4) dx = x + x 8 =. x = ± +3. Since d f(x, 4) dx root x = + 33 =.373 is the local minimizer ( d f(.373,) dx ,,4,6,8, = x + again, the positive > ), and the negative root is the local maximizer but it is outside the feasible region. As the first derivative is positive for x 3, we will check x = 3 for maximizer again.,4,6,8 C A,,4 B,6, ,5 -,9 -,4 -,9 -, Minima, Maxima, Saddle points p.9/9

39 E Collaborative Work: C A B ,4 -,9 -,4,,4,6,8,,4,6,8,,4,6, ,9-3,5 To sum up, we have to consider (, 3), (,) and (.373, 4) for the minimizer; (3,) and (, 4) for the maximizer: f(, 3) = , f(,) = 9, f(.373, 4) = (,) is the minimizer! f(3,) = 3.5, f(, 4) = 3 (3,) is the maximizer! Minima, Maxima, Saddle points p.9/9

(1) Given the following system of linear equations, which depends on a parameter a R, 3x y + 5z = 2 4x + y + (a 2 14)z = a + 2

(1) Given the following system of linear equations, which depends on a parameter a R, 3x y + 5z = 2 4x + y + (a 2 14)z = a + 2 (1 Given the following system of linear equations, which depends on a parameter a R, x + 2y 3z = 4 3x y + 5z = 2 4x + y + (a 2 14z = a + 2 (a Classify the system of equations depending on the values of

More information

Tangent Planes/Critical Points

Tangent Planes/Critical Points Tangent Planes/Critical Points Christopher Croke University of Pennsylvania Math 115 UPenn, Fall 2011 Problem: Find the tangent line to the curve of intersection of the surfaces xyz = 1 and x 2 + 2y 2

More information

Unconstrained Optimization

Unconstrained Optimization Unconstrained Optimization Joshua Wilde, revised by Isabel Tecu, Takeshi Suzuki and María José Boccardi August 13, 2013 1 Denitions Economics is a science of optima We maximize utility functions, minimize

More information

Functions of Two variables.

Functions of Two variables. Functions of Two variables. Ferdinánd Filip filip.ferdinand@bgk.uni-obuda.hu siva.banki.hu/jegyzetek 27 February 217 Ferdinánd Filip 27 February 217 Functions of Two variables. 1 / 36 Table of contents

More information

3.3 Optimizing Functions of Several Variables 3.4 Lagrange Multipliers

3.3 Optimizing Functions of Several Variables 3.4 Lagrange Multipliers 3.3 Optimizing Functions of Several Variables 3.4 Lagrange Multipliers Prof. Tesler Math 20C Fall 2018 Prof. Tesler 3.3 3.4 Optimization Math 20C / Fall 2018 1 / 56 Optimizing y = f (x) In Math 20A, we

More information

Lecture 2 Optimization with equality constraints

Lecture 2 Optimization with equality constraints Lecture 2 Optimization with equality constraints Constrained optimization The idea of constrained optimisation is that the choice of one variable often affects the amount of another variable that can be

More information

Chapter 3 Numerical Methods

Chapter 3 Numerical Methods Chapter 3 Numerical Methods Part 1 3.1 Linearization and Optimization of Functions of Vectors 1 Problem Notation 2 Outline 3.1.1 Linearization 3.1.2 Optimization of Objective Functions 3.1.3 Constrained

More information

Math 213 Exam 2. Each question is followed by a space to write your answer. Please write your answer neatly in the space provided.

Math 213 Exam 2. Each question is followed by a space to write your answer. Please write your answer neatly in the space provided. Math 213 Exam 2 Name: Section: Do not remove this answer page you will return the whole exam. You will be allowed two hours to complete this test. No books or notes may be used other than a onepage cheat

More information

2 Second Derivatives. As we have seen, a function f (x, y) of two variables has four different partial derivatives: f xx. f yx. f x y.

2 Second Derivatives. As we have seen, a function f (x, y) of two variables has four different partial derivatives: f xx. f yx. f x y. 2 Second Derivatives As we have seen, a function f (x, y) of two variables has four different partial derivatives: (x, y), (x, y), f yx (x, y), (x, y) It is convenient to gather all four of these into

More information

= w. w u. u ; u + w. x x. z z. y y. v + w. . Remark. The formula stated above is very important in the theory of. surface integral.

= w. w u. u ; u + w. x x. z z. y y. v + w. . Remark. The formula stated above is very important in the theory of. surface integral. 1 Chain rules 2 Directional derivative 3 Gradient Vector Field 4 Most Rapid Increase 5 Implicit Function Theorem, Implicit Differentiation 6 Lagrange Multiplier 7 Second Derivative Test Theorem Suppose

More information

5 Day 5: Maxima and minima for n variables.

5 Day 5: Maxima and minima for n variables. UNIVERSITAT POMPEU FABRA INTERNATIONAL BUSINESS ECONOMICS MATHEMATICS III. Pelegrí Viader. 2012-201 Updated May 14, 201 5 Day 5: Maxima and minima for n variables. The same kind of first-order and second-order

More information

Optimizations and Lagrange Multiplier Method

Optimizations and Lagrange Multiplier Method Introduction Applications Goal and Objectives Reflection Questions Once an objective of any real world application is well specified as a function of its control variables, which may subject to a certain

More information

Multivariate Calculus Review Problems for Examination Two

Multivariate Calculus Review Problems for Examination Two Multivariate Calculus Review Problems for Examination Two Note: Exam Two is on Thursday, February 28, class time. The coverage is multivariate differential calculus and double integration: sections 13.3,

More information

LECTURE 18 - OPTIMIZATION

LECTURE 18 - OPTIMIZATION LECTURE 18 - OPTIMIZATION CHRIS JOHNSON Abstract. In this lecture we ll describe extend the optimization techniques you learned in your first semester calculus class to optimize functions of multiple variables.

More information

Date: 16 July 2016, Saturday Time: 14:00-16:00 STUDENT NO:... Math 102 Calculus II Midterm Exam II Solutions TOTAL. Please Read Carefully:

Date: 16 July 2016, Saturday Time: 14:00-16:00 STUDENT NO:... Math 102 Calculus II Midterm Exam II Solutions TOTAL. Please Read Carefully: Date: 16 July 2016, Saturday Time: 14:00-16:00 NAME:... STUDENT NO:... YOUR DEPARTMENT:... Math 102 Calculus II Midterm Exam II Solutions 1 2 3 4 TOTAL 25 25 25 25 100 Please do not write anything inside

More information

7/26/2018 SECOND HOURLY PRACTICE V Maths 21a, O.Knill, Summer 2018

7/26/2018 SECOND HOURLY PRACTICE V Maths 21a, O.Knill, Summer 2018 7/26/28 SECOND HOURLY PRACTICE V Maths 2a, O.Knill, Summer 28 Name: Start by printing your name in the above box. Try to answer each question on the same page as the question is asked. If needed, use the

More information

. 1. Chain rules. Directional derivative. Gradient Vector Field. Most Rapid Increase. Implicit Function Theorem, Implicit Differentiation

. 1. Chain rules. Directional derivative. Gradient Vector Field. Most Rapid Increase. Implicit Function Theorem, Implicit Differentiation 1 Chain rules 2 Directional derivative 3 Gradient Vector Field 4 Most Rapid Increase 5 Implicit Function Theorem, Implicit Differentiation 6 Lagrange Multiplier 7 Second Derivative Test Theorem Suppose

More information

22. LECTURE 22. I can define critical points. I know the difference between local and absolute minimums/maximums.

22. LECTURE 22. I can define critical points. I know the difference between local and absolute minimums/maximums. . LECTURE Objectives I can define critical points. I know the difference between local and absolute minimums/maximums. In many physical problems, we re interested in finding the values (x, y) that maximize

More information

Daily WeBWorK, #1. This means the two planes normal vectors must be multiples of each other.

Daily WeBWorK, #1. This means the two planes normal vectors must be multiples of each other. Daily WeBWorK, #1 Consider the ellipsoid x 2 + 3y 2 + z 2 = 11. Find all the points where the tangent plane to this ellipsoid is parallel to the plane 2x + 3y + 2z = 0. In order for the plane tangent to

More information

11/1/2017 Second Hourly Practice 11 Math 21a, Fall Name:

11/1/2017 Second Hourly Practice 11 Math 21a, Fall Name: 11/1/217 Second Hourly Practice 11 Math 21a, Fall 217 Name: MWF 9 Jameel Al-Aidroos MWF 9 Dennis Tseng MWF 1 Yu-Wei Fan MWF 1 Koji Shimizu MWF 11 Oliver Knill MWF 11 Chenglong Yu MWF 12 Stepan Paul TTH

More information

Convexity and Optimization

Convexity and Optimization Convexity and Optimization Richard Lusby DTU Management Engineering Class Exercises From Last Time 2 DTU Management Engineering 42111: Static and Dynamic Optimization (3) 18/09/2017 Today s Material Extrema

More information

Affine function. suppose f : R n R m is affine (f(x) =Ax + b with A R m n, b R m ) the image of a convex set under f is convex

Affine function. suppose f : R n R m is affine (f(x) =Ax + b with A R m n, b R m ) the image of a convex set under f is convex Affine function suppose f : R n R m is affine (f(x) =Ax + b with A R m n, b R m ) the image of a convex set under f is convex S R n convex = f(s) ={f(x) x S} convex the inverse image f 1 (C) of a convex

More information

Constrained and Unconstrained Optimization

Constrained and Unconstrained Optimization Constrained and Unconstrained Optimization Carlos Hurtado Department of Economics University of Illinois at Urbana-Champaign hrtdmrt2@illinois.edu Oct 10th, 2017 C. Hurtado (UIUC - Economics) Numerical

More information

Convexity Theory and Gradient Methods

Convexity Theory and Gradient Methods Convexity Theory and Gradient Methods Angelia Nedić angelia@illinois.edu ISE Department and Coordinated Science Laboratory University of Illinois at Urbana-Champaign Outline Convex Functions Optimality

More information

Convexity and Optimization

Convexity and Optimization Convexity and Optimization Richard Lusby Department of Management Engineering Technical University of Denmark Today s Material Extrema Convex Function Convex Sets Other Convexity Concepts Unconstrained

More information

Multivariate Calculus: Review Problems for Examination Two

Multivariate Calculus: Review Problems for Examination Two Multivariate Calculus: Review Problems for Examination Two Note: Exam Two is on Tuesday, August 16. The coverage is multivariate differential calculus and double integration. You should review the double

More information

Lecture 6: Chain rule, Mean Value Theorem, Tangent Plane

Lecture 6: Chain rule, Mean Value Theorem, Tangent Plane Lecture 6: Chain rule, Mean Value Theorem, Tangent Plane Rafikul Alam Department of Mathematics IIT Guwahati Chain rule Theorem-A: Let x : R R n be differentiable at t 0 and f : R n R be differentiable

More information

14.5 Directional Derivatives and the Gradient Vector

14.5 Directional Derivatives and the Gradient Vector 14.5 Directional Derivatives and the Gradient Vector 1. Directional Derivatives. Recall z = f (x, y) and the partial derivatives f x and f y are defined as f (x 0 + h, y 0 ) f (x 0, y 0 ) f x (x 0, y 0

More information

Linear and quadratic Taylor polynomials for functions of several variables.

Linear and quadratic Taylor polynomials for functions of several variables. ams/econ 11b supplementary notes ucsc Linear quadratic Taylor polynomials for functions of several variables. c 016, Yonatan Katznelson Finding the extreme (minimum or maximum) values of a function, is

More information

MTAEA Convexity and Quasiconvexity

MTAEA Convexity and Quasiconvexity School of Economics, Australian National University February 19, 2010 Convex Combinations and Convex Sets. Definition. Given any finite collection of points x 1,..., x m R n, a point z R n is said to be

More information

2. Optimization problems 6

2. Optimization problems 6 6 2.1 Examples... 7... 8 2.3 Convex sets and functions... 9 2.4 Convex optimization problems... 10 2.1 Examples 7-1 An (NP-) optimization problem P 0 is defined as follows Each instance I P 0 has a feasibility

More information

Answer sheet: Second Midterm for Math 2339

Answer sheet: Second Midterm for Math 2339 Answer sheet: Second Midterm for Math 2339 October 26, 2010 Problem 1. True or false: (check one of the box, and briefly explain why) (1) If a twice differentiable f(x,y) satisfies f x (a,b) = f y (a,b)

More information

Local and Global Minimum

Local and Global Minimum Local and Global Minimum Stationary Point. From elementary calculus, a single variable function has a stationary point at if the derivative vanishes at, i.e., 0. Graphically, the slope of the function

More information

Lecture 10: SVM Lecture Overview Support Vector Machines The binary classification problem

Lecture 10: SVM Lecture Overview Support Vector Machines The binary classification problem Computational Learning Theory Fall Semester, 2012/13 Lecture 10: SVM Lecturer: Yishay Mansour Scribe: Gitit Kehat, Yogev Vaknin and Ezra Levin 1 10.1 Lecture Overview In this lecture we present in detail

More information

NAME: Section # SSN: X X X X

NAME: Section # SSN: X X X X Math 155 FINAL EXAM A May 5, 2003 NAME: Section # SSN: X X X X Question Grade 1 5 (out of 25) 6 10 (out of 25) 11 (out of 20) 12 (out of 20) 13 (out of 10) 14 (out of 10) 15 (out of 16) 16 (out of 24)

More information

Pre-Calculus Guided Notes: Chapter 10 Conics. A circle is

Pre-Calculus Guided Notes: Chapter 10 Conics. A circle is Name: Pre-Calculus Guided Notes: Chapter 10 Conics Section Circles A circle is _ Example 1 Write an equation for the circle with center (3, ) and radius 5. To do this, we ll need the x1 y y1 distance formula:

More information

Section 4: Extreme Values & Lagrange Multipliers.

Section 4: Extreme Values & Lagrange Multipliers. Section 4: Extreme Values & Lagrange Multipliers. Compiled by Chris Tisdell S1: Motivation S2: What are local maxima & minima? S3: What is a critical point? S4: Second derivative test S5: Maxima and Minima

More information

Tutorial on Convex Optimization for Engineers

Tutorial on Convex Optimization for Engineers Tutorial on Convex Optimization for Engineers M.Sc. Jens Steinwandt Communications Research Laboratory Ilmenau University of Technology PO Box 100565 D-98684 Ilmenau, Germany jens.steinwandt@tu-ilmenau.de

More information

Shiqian Ma, MAT-258A: Numerical Optimization 1. Chapter 2. Convex Optimization

Shiqian Ma, MAT-258A: Numerical Optimization 1. Chapter 2. Convex Optimization Shiqian Ma, MAT-258A: Numerical Optimization 1 Chapter 2 Convex Optimization Shiqian Ma, MAT-258A: Numerical Optimization 2 2.1. Convex Optimization General optimization problem: min f 0 (x) s.t., f i

More information

Winter 2012 Math 255 Section 006. Problem Set 7

Winter 2012 Math 255 Section 006. Problem Set 7 Problem Set 7 1 a) Carry out the partials with respect to t and x, substitute and check b) Use separation of varibles, i.e. write as dx/x 2 = dt, integrate both sides and observe that the solution also

More information

11/1/2011 SECOND HOURLY PRACTICE IV Math 21a, Fall Name:

11/1/2011 SECOND HOURLY PRACTICE IV Math 21a, Fall Name: 11/1/211 SECOND HOURLY PRACTICE IV Math 21a, Fall 211 Name: MWF 9 Chao Li MWF 9 Thanos Papaïoannou MWF 1 Emily Riehl MWF 1 Jameel Al-Aidroos MWF 11 Oliver Knill MWF 11 Tatyana Kobylyatskaya MWF 12 Tatyana

More information

Lesson 4: Gradient Vectors, Level Curves, Maximums/Minimums/Saddle Points

Lesson 4: Gradient Vectors, Level Curves, Maximums/Minimums/Saddle Points Lesson 4: Gradient Vectors, Level Curves, Maximums/Minimums/Saddle Points Example 1: The Gradient Vector 2 df Let f(x) x. Then 2x. This can be thought of as a vector that dx tells you the direction of

More information

= f (a, b) + (hf x + kf y ) (a,b) +

= f (a, b) + (hf x + kf y ) (a,b) + Chapter 14 Multiple Integrals 1 Double Integrals, Iterated Integrals, Cross-sections 2 Double Integrals over more general regions, Definition, Evaluation of Double Integrals, Properties of Double Integrals

More information

FAQs on Convex Optimization

FAQs on Convex Optimization FAQs on Convex Optimization. What is a convex programming problem? A convex programming problem is the minimization of a convex function on a convex set, i.e. min f(x) X C where f: R n R and C R n. f is

More information

Lecture 2: August 31

Lecture 2: August 31 10-725/36-725: Convex Optimization Fall 2016 Lecture 2: August 31 Lecturer: Lecturer: Ryan Tibshirani Scribes: Scribes: Lidan Mu, Simon Du, Binxuan Huang 2.1 Review A convex optimization problem is of

More information

Convexity I: Sets and Functions

Convexity I: Sets and Functions Convexity I: Sets and Functions Lecturer: Aarti Singh Co-instructor: Pradeep Ravikumar Convex Optimization 10-725/36-725 See supplements for reviews of basic real analysis basic multivariate calculus basic

More information

Math 213 Calculus III Practice Exam 2 Solutions Fall 2002

Math 213 Calculus III Practice Exam 2 Solutions Fall 2002 Math 13 Calculus III Practice Exam Solutions Fall 00 1. Let g(x, y, z) = e (x+y) + z (x + y). (a) What is the instantaneous rate of change of g at the point (,, 1) in the direction of the origin? We want

More information

Chapter Multidimensional Gradient Method

Chapter Multidimensional Gradient Method Chapter 09.04 Multidimensional Gradient Method After reading this chapter, you should be able to: 1. Understand how multi-dimensional gradient methods are different from direct search methods. Understand

More information

Practice problems from old exams for math 233 William H. Meeks III December 21, 2009

Practice problems from old exams for math 233 William H. Meeks III December 21, 2009 Practice problems from old exams for math 233 William H. Meeks III December 21, 2009 Disclaimer: Your instructor covers far more materials that we can possibly fit into a four/five questions exams. These

More information

302 CHAPTER 3. FUNCTIONS OF SEVERAL VARIABLES. 4. Function of several variables, their domain. 6. Limit of a function of several variables

302 CHAPTER 3. FUNCTIONS OF SEVERAL VARIABLES. 4. Function of several variables, their domain. 6. Limit of a function of several variables 302 CHAPTER 3. FUNCTIONS OF SEVERAL VARIABLES 3.8 Chapter Review 3.8.1 Concepts to Know You should have an understanding of, and be able to explain the concepts listed below. 1. Boundary and interior points

More information

f xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is

f xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is 1. Let f(x, y) = 5 + 3x 2 + 3y 2 + 2y 3 + x 3. (a) Final all critical points of f. (b) Use the second derivatives test to classify the critical points you found in (a) as a local maximum, local minimum,

More information

Optimization Methods: Optimization using Calculus-Stationary Points 1. Module - 2 Lecture Notes 1

Optimization Methods: Optimization using Calculus-Stationary Points 1. Module - 2 Lecture Notes 1 Optimization Methods: Optimization using Calculus-Stationary Points 1 Module - Lecture Notes 1 Stationary points: Functions of Single and Two Variables Introduction In this session, stationary points of

More information

Precomposing Equations

Precomposing Equations Precomposing Equations Let s precompose the function f(x) = x 3 2x + 9 with the function g(x) = 4 x. (Precompose f with g means that we ll look at f g. We would call g f postcomposing f with g.) f g(x)

More information

1. Gradient and Chain Rule. First a reminder about the gradient f of a smooth function f. In R n, the gradient operator or grad has the form

1. Gradient and Chain Rule. First a reminder about the gradient f of a smooth function f. In R n, the gradient operator or grad has the form REVIEW OF CRITICAL OINTS, CONVEXITY AND INTEGRALS KATHERINE DONOGHUE & ROB KUSNER 1. Gradient and Chain Rule. First a reminder about the gradient f of a smooth function f. In R n, the gradient operator

More information

Worksheet 2.7: Critical Points, Local Extrema, and the Second Derivative Test

Worksheet 2.7: Critical Points, Local Extrema, and the Second Derivative Test Boise State Math 275 (Ultman) Worksheet 2.7: Critical Points, Local Extrema, and the Second Derivative Test From the Toolbox (what you need from previous classes) Algebra: Solving systems of two equations

More information

Optimization. Industrial AI Lab.

Optimization. Industrial AI Lab. Optimization Industrial AI Lab. Optimization An important tool in 1) Engineering problem solving and 2) Decision science People optimize Nature optimizes 2 Optimization People optimize (source: http://nautil.us/blog/to-save-drowning-people-ask-yourself-what-would-light-do)

More information

EC5555 Economics Masters Refresher Course in Mathematics September Lecture 6 Optimization with equality constraints Francesco Feri

EC5555 Economics Masters Refresher Course in Mathematics September Lecture 6 Optimization with equality constraints Francesco Feri EC5555 Economics Masters Refresher Course in Mathematics September 2013 Lecture 6 Optimization with equality constraints Francesco Feri Constrained optimization The idea of constrained optimisation is

More information

Math 241, Final Exam. 12/11/12.

Math 241, Final Exam. 12/11/12. Math, Final Exam. //. No notes, calculator, or text. There are points total. Partial credit may be given. ircle or otherwise clearly identify your final answer. Name:. (5 points): Equation of a line. Find

More information

Edge and local feature detection - 2. Importance of edge detection in computer vision

Edge and local feature detection - 2. Importance of edge detection in computer vision Edge and local feature detection Gradient based edge detection Edge detection by function fitting Second derivative edge detectors Edge linking and the construction of the chain graph Edge and local feature

More information

MATH. 2153, Spring 16, MWF 12:40 p.m. QUIZ 1 January 25, 2016 PRINT NAME A. Derdzinski Show all work. No calculators. The problem is worth 10 points.

MATH. 2153, Spring 16, MWF 12:40 p.m. QUIZ 1 January 25, 2016 PRINT NAME A. Derdzinski Show all work. No calculators. The problem is worth 10 points. MATH. 2153, Spring 16, MWF 12:40 p.m. QUIZ 1 January 25, 2016 PRINT NAME A. Derdzinski Show all work. No calculators. The problem is worth 10 points. 1. Evaluate the area A of the triangle with the vertices

More information

LINEAR ALGEBRA AND VECTOR ANALYSIS MATH 22A

LINEAR ALGEBRA AND VECTOR ANALYSIS MATH 22A 1 2 3 4 Name: 5 6 7 LINEAR ALGEBRA AND VECTOR ANALYSIS 8 9 1 MATH 22A Total : Unit 28: Second Hourly Welcome to the second hourly. Please don t get started yet. We start all together at 9: AM. You can

More information

COM Optimization for Communications Summary: Convex Sets and Convex Functions

COM Optimization for Communications Summary: Convex Sets and Convex Functions 1 Convex Sets Affine Sets COM524500 Optimization for Communications Summary: Convex Sets and Convex Functions A set C R n is said to be affine if A point x 1, x 2 C = θx 1 + (1 θ)x 2 C, θ R (1) y = k θ

More information

Topic 6: Calculus Integration Volume of Revolution Paper 2

Topic 6: Calculus Integration Volume of Revolution Paper 2 Topic 6: Calculus Integration Standard Level 6.1 Volume of Revolution Paper 1. Let f(x) = x ln(4 x ), for < x

More information

What you will learn today

What you will learn today What you will learn today Tangent Planes and Linear Approximation and the Gradient Vector Vector Functions 1/21 Recall in one-variable calculus, as we zoom in toward a point on a curve, the graph becomes

More information

Scale Space and PDE methods in image analysis and processing. Arjan Kuijper

Scale Space and PDE methods in image analysis and processing. Arjan Kuijper Scale Space and PDE methods in image analysis and processing Arjan Kuijper Fraunhofer Institute for Computer Graphics Research Interactive Graphics Systems Group, TU Darmstadt Fraunhoferstrasse 5, 64283

More information

Week 5: Geometry and Applications

Week 5: Geometry and Applications Week 5: Geometry and Applications Introduction Now that we have some tools from differentiation, we can study geometry, motion, and few other issues associated with functions of several variables. Much

More information

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Calculus III-Final review Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find the corresponding position vector. 1) Define the points P = (-,

More information

Hw 4 Due Feb 22. D(fg) x y z (

Hw 4 Due Feb 22. D(fg) x y z ( Hw 4 Due Feb 22 2.2 Exercise 7,8,10,12,15,18,28,35,36,46 2.3 Exercise 3,11,39,40,47(b) 2.4 Exercise 6,7 Use both the direct method and product rule to calculate where f(x, y, z) = 3x, g(x, y, z) = ( 1

More information

Scott Smith Advanced Image Processing March 15, Speeded-Up Robust Features SURF

Scott Smith Advanced Image Processing March 15, Speeded-Up Robust Features SURF Scott Smith Advanced Image Processing March 15, 2011 Speeded-Up Robust Features SURF Overview Why SURF? How SURF works Feature detection Scale Space Rotational invariance Feature vectors SURF vs Sift Assumptions

More information

Section 4.2 selected answers Math 131 Multivariate Calculus D Joyce, Spring 2014

Section 4.2 selected answers Math 131 Multivariate Calculus D Joyce, Spring 2014 4. Determine the nature of the critical points of Section 4. selected answers Math 11 Multivariate Calculus D Joyce, Spring 014 Exercises from section 4.: 6, 1 16.. Determine the nature of the critical

More information

Second Midterm Exam Math 212 Fall 2010

Second Midterm Exam Math 212 Fall 2010 Second Midterm Exam Math 22 Fall 2 Instructions: This is a 9 minute exam. You should work alone, without access to any book or notes. No calculators are allowed. Do not discuss this exam with anyone other

More information

21-256: Lagrange multipliers

21-256: Lagrange multipliers 21-256: Lagrange multipliers Clive Newstead, Thursday 12th June 2014 Lagrange multipliers give us a means of optimizing multivariate functions subject to a number of constraints on their variables. Problems

More information

Convex Optimization - Chapter 1-2. Xiangru Lian August 28, 2015

Convex Optimization - Chapter 1-2. Xiangru Lian August 28, 2015 Convex Optimization - Chapter 1-2 Xiangru Lian August 28, 2015 1 Mathematical optimization minimize f 0 (x) s.t. f j (x) 0, j=1,,m, (1) x S x. (x 1,,x n ). optimization variable. f 0. R n R. objective

More information

Convex Sets (cont.) Convex Functions

Convex Sets (cont.) Convex Functions Convex Sets (cont.) Convex Functions Optimization - 10725 Carlos Guestrin Carnegie Mellon University February 27 th, 2008 1 Definitions of convex sets Convex v. Non-convex sets Line segment definition:

More information

Convex Optimization. 2. Convex Sets. Prof. Ying Cui. Department of Electrical Engineering Shanghai Jiao Tong University. SJTU Ying Cui 1 / 33

Convex Optimization. 2. Convex Sets. Prof. Ying Cui. Department of Electrical Engineering Shanghai Jiao Tong University. SJTU Ying Cui 1 / 33 Convex Optimization 2. Convex Sets Prof. Ying Cui Department of Electrical Engineering Shanghai Jiao Tong University 2018 SJTU Ying Cui 1 / 33 Outline Affine and convex sets Some important examples Operations

More information

Lecture 25 Nonlinear Programming. November 9, 2009

Lecture 25 Nonlinear Programming. November 9, 2009 Nonlinear Programming November 9, 2009 Outline Nonlinear Programming Another example of NLP problem What makes these problems complex Scalar Function Unconstrained Problem Local and global optima: definition,

More information

UNIT 3 EXPRESSIONS AND EQUATIONS Lesson 3: Creating Quadratic Equations in Two or More Variables

UNIT 3 EXPRESSIONS AND EQUATIONS Lesson 3: Creating Quadratic Equations in Two or More Variables Guided Practice Example 1 Find the y-intercept and vertex of the function f(x) = 2x 2 + x + 3. Determine whether the vertex is a minimum or maximum point on the graph. 1. Determine the y-intercept. The

More information

Bob Brown Math 251 Calculus 1 Chapter 4, Section 4 Completed 1 CCBC Dundalk

Bob Brown Math 251 Calculus 1 Chapter 4, Section 4 Completed 1 CCBC Dundalk Bob Brown Math 251 Calculus 1 Chapter 4, Section 4 Completed 1 A Function and its Second Derivative Recall page 4 of Handout 3.1 where we encountered the third degree polynomial f(x) x 3 5x 2 4x + 20.

More information

Catholic Central High School

Catholic Central High School Catholic Central High School Algebra II Practice Examination I Instructions: 1. Show all work on the test copy itself for every problem where work is required. Points may be deducted if insufficient or

More information

CMU-Q Lecture 9: Optimization II: Constrained,Unconstrained Optimization Convex optimization. Teacher: Gianni A. Di Caro

CMU-Q Lecture 9: Optimization II: Constrained,Unconstrained Optimization Convex optimization. Teacher: Gianni A. Di Caro CMU-Q 15-381 Lecture 9: Optimization II: Constrained,Unconstrained Optimization Convex optimization Teacher: Gianni A. Di Caro GLOBAL FUNCTION OPTIMIZATION Find the global maximum of the function f x (and

More information

Lecture 5: Properties of convex sets

Lecture 5: Properties of convex sets Lecture 5: Properties of convex sets Rajat Mittal IIT Kanpur This week we will see properties of convex sets. These properties make convex sets special and are the reason why convex optimization problems

More information

A small review, Second Midterm, Calculus 3, Prof. Montero 3450: , Fall 2008

A small review, Second Midterm, Calculus 3, Prof. Montero 3450: , Fall 2008 A small review, Second Midterm, Calculus, Prof. Montero 45:-4, Fall 8 Maxima and minima Let us recall first, that for a function f(x, y), the gradient is the vector ( f)(x, y) = ( ) f f (x, y); (x, y).

More information

Finding local maxima and minima for functions z=f(x,y) [the cookbook]

Finding local maxima and minima for functions z=f(x,y) [the cookbook] 22M:28 Spring 7 J. Simon Finding local maxima and minima for functions z=f(x,y) [the cookbook] with(plots): I want very much for you to understand all the math that goes in to the process of finding points

More information

Mathematical Programming and Research Methods (Part II)

Mathematical Programming and Research Methods (Part II) Mathematical Programming and Research Methods (Part II) 4. Convexity and Optimization Massimiliano Pontil (based on previous lecture by Andreas Argyriou) 1 Today s Plan Convex sets and functions Types

More information

Lecture 2: August 29, 2018

Lecture 2: August 29, 2018 10-725/36-725: Convex Optimization Fall 2018 Lecturer: Ryan Tibshirani Lecture 2: August 29, 2018 Scribes: Adam Harley Note: LaTeX template courtesy of UC Berkeley EECS dept. Disclaimer: These notes have

More information

MEI Desmos Tasks for AS Pure

MEI Desmos Tasks for AS Pure Task 1: Coordinate Geometry Intersection of a line and a curve 1. Add a quadratic curve, e.g. y = x² 4x + 1 2. Add a line, e.g. y = x 3 3. Select the points of intersection of the line and the curve. What

More information

Linear Transformations

Linear Transformations Linear Transformations The two basic vector operations are addition and scaling From this perspective, the nicest functions are those which preserve these operations: Def: A linear transformation is a

More information

1. No calculators or other electronic devices are allowed during this exam.

1. No calculators or other electronic devices are allowed during this exam. Version A Math 2E Spring 24 Midterm Exam Instructions. No calculators or other electronic devices are allowed during this exam. 2. You may use one page of notes, but no books or other assistance during

More information

EXTRA-CREDIT PROBLEMS ON SURFACES, MULTIVARIABLE FUNCTIONS AND PARTIAL DERIVATIVES

EXTRA-CREDIT PROBLEMS ON SURFACES, MULTIVARIABLE FUNCTIONS AND PARTIAL DERIVATIVES EXTRA-CREDIT PROBLEMS ON SURFACES, MULTIVARIABLE FUNCTIONS AND PARTIAL DERIVATIVES A. HAVENS These problems are for extra-credit, which is counted against lost points on quizzes or WebAssign. You do not

More information

x 6 + λ 2 x 6 = for the curve y = 1 2 x3 gives f(1, 1 2 ) = λ actually has another solution besides λ = 1 2 = However, the equation λ

x 6 + λ 2 x 6 = for the curve y = 1 2 x3 gives f(1, 1 2 ) = λ actually has another solution besides λ = 1 2 = However, the equation λ Math 0 Prelim I Solutions Spring 010 1. Let f(x, y) = x3 y for (x, y) (0, 0). x 6 + y (4 pts) (a) Show that the cubic curves y = x 3 are level curves of the function f. Solution. Substituting y = x 3 in

More information

11/6/2012 SECOND HOURLY Math 21a, Fall Name:

11/6/2012 SECOND HOURLY Math 21a, Fall Name: 11/6/2012 SECOND HOURLY Math 21a, Fall 2012 Name: MWF 9 Oliver Knill MWF 10 Hansheng Diao MWF 10 Joe Rabinoff MWF 11 John Hall MWF 11 Meredith Hegg MWF 12 Charmaine Sia TTH 10 Bence Béky TTH 10 Gijs Heuts

More information

Quadratic Equations. Learning Objectives. Quadratic Function 2. where a, b, and c are real numbers and a 0

Quadratic Equations. Learning Objectives. Quadratic Function 2. where a, b, and c are real numbers and a 0 Quadratic Equations Learning Objectives 1. Graph a quadratic function using transformations. Identify the vertex and axis of symmetry of a quadratic function 3. Graph a quadratic function using its vertex,

More information

Characterizing Improving Directions Unconstrained Optimization

Characterizing Improving Directions Unconstrained Optimization Final Review IE417 In the Beginning... In the beginning, Weierstrass's theorem said that a continuous function achieves a minimum on a compact set. Using this, we showed that for a convex set S and y not

More information

Introduction to Modern Control Systems

Introduction to Modern Control Systems Introduction to Modern Control Systems Convex Optimization, Duality and Linear Matrix Inequalities Kostas Margellos University of Oxford AIMS CDT 2016-17 Introduction to Modern Control Systems November

More information

7/28/2011 SECOND HOURLY PRACTICE V Maths 21a, O.Knill, Summer 2011

7/28/2011 SECOND HOURLY PRACTICE V Maths 21a, O.Knill, Summer 2011 7/28/2011 SECOND HOURLY PRACTICE V Maths 21a, O.Knill, Summer 2011 Name: Start by printing your name in the above box. Try to answer each question on the same page as the question is asked. If needed,

More information

Lecture 4: Convexity

Lecture 4: Convexity 10-725: Convex Optimization Fall 2013 Lecture 4: Convexity Lecturer: Barnabás Póczos Scribes: Jessica Chemali, David Fouhey, Yuxiong Wang Note: LaTeX template courtesy of UC Berkeley EECS dept. Disclaimer:

More information

for Approximating the Analytic Center of a Polytope Abstract. The analytic center of a polytope P + = fx 0 : Ax = b e T x =1g log x j

for Approximating the Analytic Center of a Polytope Abstract. The analytic center of a polytope P + = fx 0 : Ax = b e T x =1g log x j A Lagrangian Relaxation Method for Approximating the Analytic Center of a Polytope Masakazu Kojima y Nimrod Megiddo z Shinji Mizuno x September 1992 Abstract. The analytic center of a polytope P + = fx

More information

AH Matrices.notebook November 28, 2016

AH Matrices.notebook November 28, 2016 Matrices Numbers are put into arrays to help with multiplication, division etc. A Matrix (matrices pl.) is a rectangular array of numbers arranged in rows and columns. Matrices If there are m rows and

More information

Numerical Methods Lecture 1

Numerical Methods Lecture 1 Numerical Methods Lecture 1 Basics of MATLAB by Pavel Ludvík The recommended textbook: Numerical Methods Lecture 1 by Pavel Ludvík 2 / 30 The recommended textbook: Title: Numerical methods with worked

More information

Inverse and Implicit functions

Inverse and Implicit functions CHAPTER 3 Inverse and Implicit functions. Inverse Functions and Coordinate Changes Let U R d be a domain. Theorem. (Inverse function theorem). If ϕ : U R d is differentiable at a and Dϕ a is invertible,

More information