Extrema of Functions of Two Variables using MATLAB

Slides:



Advertisements
Similar presentations
12.5: Absolute Maxima and Minima. Finding the absolute maximum or minimum value of a function is one of the most important uses of the derivative. For.
Advertisements

Maximum and Minimum Values
Relative Extrema.
MTH374: Optimization For Master of Mathematics By Dr. M. Fazeel Anwar Assistant Professor Department of Mathematics, CIIT Islamabad 1.
4.1 Maximum and Minimum Values. Maximum Values Local Maximum Absolute Maximum |c2|c2 |c1|c1 I.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Absolute Extrema OBJECTIVES  Find absolute extrema using Maximum- Minimum.
Chapter 5 Graphing and Optimization Section 5 Absolute Maxima and Minima.
Maximum and Minimum Values
Section 4.1 Maximum and Minimum Values Applications of Differentiation.
MAT 213 Brief Calculus Section 4.2 Relative and Absolute Extreme Points.
EXTREMA ON AN INTERVAL Section 3.1. When you are done with your homework, you should be able to… Understand the definition of extrema of a function on.
Applications of Differentiation Calculus Chapter 3.
Calculus and Analytical Geometry Lecture # 13 MTH 104.
Extreme Values Let f (x,y) be defined on a region R containing P(x 0,y 0 ): P is a relative max of f if f (x,y) ≤ f (x 0,y 0 ) for all (x,y) on an open.
Functions of Several Variables Copyright © Cengage Learning. All rights reserved.
Functions of Several Variables 13 Copyright © Cengage Learning. All rights reserved.
Sketching Functions We are now going to use the concepts in the previous sections to sketch a function, find all max and min ( relative and absolute ),
3-1:Extrema On An Interval Objectives : Find extreme values (maximums and minimums) of a function Find and use critical numbers ©2002 Roy L. Gover (
OBJECTIVE Find relative extrema of a function of two variables.
3.1 Extrema On An Interval.
Extrema of Functions of Two Variables
MTH1170 Function Extrema.
Relative Extrema and More Analysis of Functions
Calculus-Based Solutions Procedures MT 235.
3.1 Extrema on an Interval Define extrema of a function on an interval. Define relative extrema of a function on an open interval. Find extrema on a closed.
Using Derivatives to Find Absolute Maximum and Minimum Values
MAXIMUM AND MINIMUM VALUES
Chapter 3 Applications of Differentiation Maximum Extreme Values
Extrema of Functions of Two Variables
Functions of Several Variables
Relative and Absolute Extrema
Using Derivatives to Find Absolute Maximum and Minimum Values
AP Calculus BC September 22, 2016.
Unconstrained and Constrained Optimization
Objectives for Section 12.5 Absolute Maxima and Minima
MIN AND MAX TIMING PATHS
Absolute or Global Maximum Absolute or Global Minimum
4.1. EXTREMA OF functions Rita Korsunsky.
3.1 Extreme Values Absolute or Global Maximum
Section 3.1 Day 1 Extrema on an Interval
3.2: Extrema and the First Derivative Test
II. differentiable at x = 0 III. absolute minimum at x = 0
Section 4.3 Optimization.
AP Calculus AB Chapter 3, Section 1
AP Calculus Honors Ms. Olifer
Extreme Values of Functions
Extreme Values of Functions
Extreme Values of Functions
Lesson 24 Maxima and Minima of Functions of Several Variables
3.1 – Increasing and Decreasing Functions; Relative Extrema
13 Functions of Several Variables
Critical Points and Extrema
Outline Unconstrained Optimization Functions of One Variable
Packet #17 Absolute Extrema and the Extreme Value Theorem
EXTREMA ON AN INTERVAL Section 3.1.
Applications of Differentiation 3.
1 Extreme Values.
Extrema on an Interval 3.1 On the agenda: Defining Extrema
Extreme Values of Functions
Maximum and Minimum Values
Using Derivatives to Find Absolute Maximum and Minimum Values
Tutorial 3 Applications of the Derivative
Chapter 12 Graphing and Optimization
Unit 4 Lesson 1: Extreme Values of Functions AP Calculus Mrs. Mongold.
Applications of differentiation
Chapter 3 Applications of Differentiation Maximum Extreme Values
Unit 4: Applications of Derivatives
Maximum and Minimum Values
Extreme values of functions
Chapter 4 Graphing and Optimization
Presentation transcript:

Extrema of Functions of Two Variables using MATLAB Isaac Bryan, Taryn Roten, Kimberly Kiser, and Kaylee Kemper

Applications Rigid Body Dynamic Engineering Economics

More Applications World Trade Operational Research

Optimization Optimization is most commonly defined as finding the largest or smallest possible values of a function. One way to find a maximum/minimum value, is to take a derivative of the function, find all critical points, evaluate the value(s) at those points, and discover which is a maximum/minimum value by using the Fundamental Theorem of Calculus.

Using more than 2 variables In using 2 or more variables, the concept of optimization does not change. The derivative is taken with respect to each variable brought into the function. The critical points are then found within the function from the derivatives. For two variables, a critical point of a function f defined on an open set D is a point (x,y) in D where either At least one of fx(x,y) or fy(x,y) doesn’t exist at (x,y) fx(x,y) = fy(x,y) = 0

Using more than 2 variables (cont.) The discriminant of f is the expression D(x,y) = fxx(x,y) fyy(x,y) - fxy²(x,y) D(x,y) f xx(x,y) Type + - Rel. Max. + + Rel. Min. - NA Saddle Point 0 NA Inconclusive

Examples Relative Max. Relative Min. Saddle Point z=1-x²-y² z=x²+y² z=y²-x²

How our Program Works The program generates a specified number of random values to start the program The random values are placed in a loop to approach the extrema by “walking up the gradient” The path the program took to reach the “absolute” extremum is plotted along with the function

Testing Our Program One Extremum Relative Max. & Min. Multiple Maxima z=1-x²-y² Relative Max. & Min. z=9x/(x2+y2+1) Multiple Maxima z=cos(x)cos(y) Saddle Points z=y²-x²

Example of Testing Process ⇒ critical points are (-1,0) & (1,0)

Example of Testing Process (cont) ⇒ D(1,0)=20.25 ; fxx(1,0)=-4.5 And D(-1,0)=20.25 ; fxx(-1,0)=4.5 Therefore (1,0,4.5) is a Relative Maximum And (-1,0,-4.5) is a Relative Minimum

Issues with the Technique Existence of a maximum Multiple maxima Global Maximum vs. Relative Maximum

Goals for Next Semester Multiple Variables Fewer Test Points Faster Process

Cool Functions