SlideShare a Scribd company logo
Lesson 25 (Chapter 17)
            Unconstrained Optimization I

                          Math 20


                     November 19, 2007


Announcements
   Problem Set 9 on the website. Due November 21.
   There will be class November 21 and homework due
   November 28.
   next OH: Monday 1-2pm, Tuesday 3-4pm
   Midterm II: Thursday, 12/6, 7-8:30pm in Hall A.
Outline


   Single-variable recollections


   From one to two dimensions
      Critical points
      The Hessian


   The second derivative test


   More examples
     The discriminating monopolist
Maximum and Minimum Value in single-variable calculus



   Theorem (Fermat’s Theorem)
   Let f be a function of one variable. If f has a local maximum or
   minimum at a, then f (a) = 0.
Maximum and Minimum Value in single-variable calculus



   Theorem (Fermat’s Theorem)
   Let f be a function of one variable. If f has a local maximum or
   minimum at a, then f (a) = 0.

   Theorem (Theorem 9.2, a/k/a The Second Derivative Test)
   Let f be a function of one variable, and suppose f (a) = 0.
       If f (a) > 0, then f has a local minimum at a.
       If f (a) < 0, then f has a local maximum at a.
       (If f (a) = 0, this theorem has nothing to say).
Justification of 2DT




   Using Taylor’s Theorem
                                       1
         f (x) = f (a) + f (a)(x − a) + f (a)(x − a)2 + R(x),
                                       2
            R(x)
   where (x−a)2 → 0 as x → a. (See Sections 5.5 and 7.4) So near a,
   f (x) “looks like” a parabola with vertex at (a, f (a)). f (a) is what
   determines whether this parabola opens up or down.
Outline


   Single-variable recollections


   From one to two dimensions
      Critical points
      The Hessian


   The second derivative test


   More examples
     The discriminating monopolist
How do we generalize this to functions of two variables?

   The first derivative f (x) is replaced by the gradient
                                                     ∂f
                       ∂f   ∂f                       ∂x
               Df =                           f=     ∂f
                       ∂x   ∂y
                                                     ∂y
How do we generalize this to functions of two variables?

   The first derivative f (x) is replaced by the gradient
                                                         ∂f
                         ∂f   ∂f                         ∂x
                Df =                             f=      ∂f
                         ∂x   ∂y
                                                         ∂y



   Theorem (Fermat’s Theorem)
   Let f (x, y ) be a function of two variables. If f has a local
   maximum or minimum at (a, b), and is differentiable at (a,b), then

                       ∂f                ∂f
                          (a, b) = 0        (a, b) = 0
                       ∂x                ∂y

   As in one variable, we’ll call these points critical points.
Example
  Example
  Let f (x, y ) = 8x 3 − 24xy + y 3 . Find the critical points of f .
Example
  Example
  Let f (x, y ) = 8x 3 − 24xy + y 3 . Find the critical points of f .
  Solution
  We have
                     ∂f
                        = 24x 2 − 24y = 24(x 2 − y )
                     ∂x
                     ∂f
                        = 24x − 3y 2 = 3(8x − y 2 )
                     ∂y

  Both of these are zero if x 2 − y = 0 and 8x − y 2 = 0. Substituting
  the first into the second gives

   0 = (x 2 )2 − 8x = x 4 − 8x = x(x 3 − 8) = x(x − 2)(x 2 + 2x + 4)

  and the solutions are x = 0 and x = 2 (the third factor has no real
  roots). If x = 0 then y = 0, and If x = 2 then y = 4. So the
  critical points are (0, 0) and (2, 4).
How do we generalize this to functions of two variables?




   The second derivative f (x) is replaced by . . .
How do we generalize this to functions of two variables?




   The second derivative f (x) is replaced by . . . a matrix, the
   Hessian of f :            2
                                          ∂2f
                                               
                                 ∂f
                                    2
                        Hf =  ∂x        ∂x∂y 
                             
                                               
                              ∂2f        ∂2f 
                                          ∂y 2
                                ∂y ∂x
Compare and contrast the Hessians at (0, 0) for these functions:
 (i) f (x, y ) = x 2 + y 2
 (ii) f (x, y ) = 1 − x 2 − y 2
(iii) f (x, y ) = x 2 − y 2
(iv) f (x, y ) = xy
How are they alike and how are they different?
Compare and contrast the Hessians at (0, 0) for these functions:
 (i) f (x, y ) = x 2 + y 2
 (ii) f (x, y ) = 1 − x 2 − y 2
(iii) f (x, y ) = x 2 − y 2
(iv) f (x, y ) = xy
How are they alike and how are they different?

               20                               20
 (i) Hf =                          (iii) Hf =
                                                0 −2
               02
               −2 0                             01
 (ii) Hf =                         (iv) Hf =
                0 −2                            10
Outline


   Single-variable recollections


   From one to two dimensions
      Critical points
      The Hessian


   The second derivative test


   More examples
     The discriminating monopolist
Second order Taylor polynomials in two dimensions

   The two-variable analog of

                                               1
                 f (x) ≈ f (a) + f (a)(x − a) + f (a)(x − a)2
                                               2
   is

        f (x, y ) ≈ f (a, b) + fx (a, b)(x − a) + fy (a, b)(y − b)
                 + 2 fxx (a, b)(x − a)2 + fxy (a, b)(x − a)(y − b)
                   1

                                                       + 1 fyy (a, b)(y − a)2
                                                         2

   or
                                                1
           f (x) ≈ f (a) +    f (a) · (x − a) + 2 (x − a) · H(a)(x − a)
Recall




   This was the big fact about quadratic forms in two variables:
   Fact
   Let f (x, y ) = ax 2 + 2bxy + cy 2 be a quadratic form.
          If a > 0 and ac − b 2 > 0, then f is positive definite
          If a < 0 and ac − b 2 > 0, then f is negative definite
          If ac − b 2 < 0, then f is indefinite
Theorem (The Second Derivative Test)
Let f (x, y ) be a function of two variables, and let (a, b) be a
critical point of f . Then
                                 2
           2    2          2                   ∂2f
     If ∂xf2 ∂yf2 − ∂x∂y
        ∂∂           ∂f
                                     > 0 and          > 0, the critical point is a
                                               ∂x 2
     local minimum.
                                 2
           2    2          2                   ∂2f
     If ∂xf2 ∂yf2 − ∂x∂y
        ∂∂           ∂f
                                     > 0 and          < 0, the critical point is a
                                               ∂x 2
     local maximum.
                                 2
          ∂2f ∂2f          ∂2f
                      −
     If                              < 0, the critical point is a saddle point.
          ∂x 2 ∂y 2       ∂x∂y
All derivatives are evaluated at the critical point (a, b).
Return to the example
   Let f (x, y ) = 8x 3 − 24xy + y 3 . Classify the critical points.

                          ∂2f              ∂2f
                                               = −24
                               = 48x
                          ∂x 2            ∂x∂y
                         ∂2f              ∂2f
                               = −24            = 6y
                                          ∂y 2
                        ∂y ∂x
Return to the example
   Let f (x, y ) = 8x 3 − 24xy + y 3 . Classify the critical points.

                          ∂2f              ∂2f
                                               = −24
                               = 48x
                          ∂x 2            ∂x∂y
                         ∂2f              ∂2f
                               = −24            = 6y
                                          ∂y 2
                        ∂y ∂x



                            −24
                       0
        Hf (0, 0) =                , which has negative determinant.
                     −24      0
        Hence (0, 0) is a saddle point.
                          4 −1
        Hf (2, 4) = 24               which, since the determinant is
                         −1 1
        positive and the top left entry is positive, indicates a local
        minimum.
Plotting the function




   10

    5

        0
                                 5
        5
        10

             2
                 0           0

                     2

                         4
Plotting the function


                                     5



                                      4



                                     3



                                      2
   10

    5
                                     1
        0
                                 5
        5
        10
                                     0
             2
                 0           0

                     2
                                     -1
                                          -1       1
                                               0       2   3
                         4
Online Demo


  Try this site (thanks to Tony Pino):
   http://www.slu.edu/classes/maymk/banchoff/LevelCurve.html

  Launch the applet and enter:
      f (x, y ) = x^3 - 3 * x * y + y^3/8 (1/3 of f from the
      example)
      x from −1 to 10 in 50 steps
      y from −1 to 10 in 50 steps
      z from −10 to 10 in 50 steps
Remarks



     The Hessian matrix will always be symmetric in our cases.
     If the Hessian has determinant zero, nothing can be said from
     this theorem:
          f (x, y ) = x 4 + y 4 has a local min at (0, 0)
          f (x, y ) = −x 4 − y 4 has a local max at (0, 0)
          f (x, y ) = x 4 − y 4 has a saddle point at (0, 0)
                                   ±12x 2   0
     In each case Hf (x, y ) =                   , so Hf (0, 0) is the
                                          ±12y 2
                                     0
     zero matrix.
Outline


   Single-variable recollections


   From one to two dimensions
      Critical points
      The Hessian


   The second derivative test


   More examples
     The discriminating monopolist
Example
A firm sells a product in two separate areas with distinct linear
demand curves, and has monopoly power to decide how much to
sell in each area. How does its maximal profit depend on the
demand in each area?
Example
A firm sells a product in two separate areas with distinct linear
demand curves, and has monopoly power to decide how much to
sell in each area. How does its maximal profit depend on the
demand in each area?
Let the demand curves be given by

            P1 = a1 − b1 Q1            P2 = a2 − b2 Q2

And the cost function by C = α(Q1 + Q2 ). The profit is therefore

       π = P1 Q1 + P2 Q2 − α(Q1 + Q2 )
          = (a1 − b1 Q1 )Q1 + (a2 − b2 Q2 )Q2 − α(Q1 + Q2 )
                             2                    2
          = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2
2                    2
     π(Q1 , Q2 ) = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2

Solution
2                    2
     π(Q1 , Q2 ) = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2

Solution
We have
      ∂π                          ∂π
          = a1 − α − 2b1 Q1           = a2 − α − 2b2 Q2
      ∂Q1                         ∂Q2
2                    2
      π(Q1 , Q2 ) = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2

Solution
We have
       ∂π                          ∂π
           = a1 − α − 2b1 Q1           = a2 − α − 2b2 Q2
       ∂Q1                         ∂Q2
So
                         a1 − α               a2 − α
                ∗                       ∗
               Q1 =                    Q2 =
                          2b1                  2b2
is the critical point.
2                    2
      π(Q1 , Q2 ) = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2

Solution
We have
       ∂π                          ∂π
           = a1 − α − 2b1 Q1           = a2 − α − 2b2 Q2
       ∂Q1                         ∂Q2
So
                     a1 − α                   a2 − α
               ∗                        ∗
              Q1 =                     Q2 =
                      2b1                      2b2
is the critical point. Also,

                               −2b1  0
                        Hπ =
                                    −2b2
                                0
2                    2
      π(Q1 , Q2 ) = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2

Solution
We have
       ∂π                             ∂π
           = a1 − α − 2b1 Q1              = a2 − α − 2b2 Q2
       ∂Q1                            ∂Q2
So
                     a1 − α                     a2 − α
               ∗                          ∗
              Q1 =                       Q2 =
                      2b1                        2b2
is the critical point. Also,

                               −2b1  0
                        Hπ =
                                    −2b2
                                0
                        ∗    ∗
So the critical point (Q1 , Q2 ) is a local maximum.
Example
                                               x
Find the critical points of f (x, y ) =                 and classify them.
                                          x 2 +y 2 +1
Example
                                               x
Find the critical points of f (x, y ) =                 and classify them.
                                          x 2 +y 2 +1

Solution
The derivatives are
                 1 − x2 + y2                             2xy
                                          fy = −
         fx =
                (1 + x 2 + y 2 )2                   (1 + x 2 + y 2 )2
Example
                                               x
Find the critical points of f (x, y ) =                 and classify them.
                                          x 2 +y 2 +1

Solution
The derivatives are
                 1 − x2 + y2                             2xy
                                          fy = −
         fx =
                (1 + x 2 + y 2 )2                   (1 + x 2 + y 2 )2

The only way these can both be zero is if y = 0 and x = ±1.
Example
                                               x
Find the critical points of f (x, y ) =                  and classify them.
                                          x 2 +y 2 +1

Solution
The derivatives are
                 1 − x2 + y2                             2xy
                                          fy = −
         fx =
                (1 + x 2 + y 2 )2                   (1 + x 2 + y 2 )2

The only way these can both be zero is if y = 0 and x = ±1. The
second derivatives are
            2x x 2 − 3 y 2 + 1                    2y −3x 2 + y 2 + 1
    fxx =                                 fxy =
                (x 2 + y 2 + 1)3                         (x 2 + y 2 + 1)3
                                                        2 x 3 − 3y 2 x + x
                                          fyy = −
                                                         (x 2 + y 2 + 1)3
So
                   −1                       1
                        0                       0
                    2                       2
     Hf (1, 0) =             Hf (−1, 0) =
                        −1                      1
                   0                        0
                         2                      2
So
                    −1                             1
                         0                             0
                     2                             2
      Hf (1, 0) =                   Hf (−1, 0) =
                         −1                            1
                    0                              0
                          2                            2

So we have a local max and a local min.
Plotting the function




   0.5

                                               2
    0.0
                                           1
     0.5
                                       0
           2
               1
                                   1
                   0

                       1
                               2
                           2
Plotting the function


                                                    2




                                                   1




                                                   0
   0.5

                                               2
    0.0
                                           1
                                                   -1
     0.5
                                       0
           2
               1
                                   1
                   0

                       1
                                                   -2
                               2                             -1       1
                                                        -2        0       2
                           2

More Related Content

What's hot

Integration in the complex plane
Integration in the complex planeIntegration in the complex plane
Integration in the complex plane
Amit Amola
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1
irsa javed
 
Two phase method lpp
Two phase method lppTwo phase method lpp
Two phase method lpp
Anurag Srivastava
 
Partial Differentiation & Application
Partial Differentiation & Application Partial Differentiation & Application
Partial Differentiation & Application
Yana Qlah
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
Pulchowk Campus
 
Numerical analysis kuhn tucker eqn
Numerical analysis  kuhn tucker eqnNumerical analysis  kuhn tucker eqn
Numerical analysis kuhn tucker eqn
SHAMJITH KM
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
Manas Lad
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
DnyaneshwarPardeshi1
 
Chapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsChapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic Equations
Maria Fernanda
 
Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)
Kamel Attar
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
Rifat Rahamatullah
 
Classification of optimization Techniques
Classification of optimization TechniquesClassification of optimization Techniques
Classification of optimization Techniques
shelememosisa
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
Dr. Nirav Vyas
 
Big m method
Big m methodBig m method
Big m method
Luckshay Batra
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
Sachin MK
 
Optmization techniques
Optmization techniquesOptmization techniques
Optmization techniques
Deepshika Reddy
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent method
Sanghyuk Chun
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
Nofal Umair
 
Interpolation
InterpolationInterpolation
Interpolation
Bhavik A Shah
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidel
arunsmm
 

What's hot (20)

Integration in the complex plane
Integration in the complex planeIntegration in the complex plane
Integration in the complex plane
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1
 
Two phase method lpp
Two phase method lppTwo phase method lpp
Two phase method lpp
 
Partial Differentiation & Application
Partial Differentiation & Application Partial Differentiation & Application
Partial Differentiation & Application
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Numerical analysis kuhn tucker eqn
Numerical analysis  kuhn tucker eqnNumerical analysis  kuhn tucker eqn
Numerical analysis kuhn tucker eqn
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
 
Chapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsChapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic Equations
 
Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
Classification of optimization Techniques
Classification of optimization TechniquesClassification of optimization Techniques
Classification of optimization Techniques
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
 
Big m method
Big m methodBig m method
Big m method
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
 
Optmization techniques
Optmization techniquesOptmization techniques
Optmization techniques
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent method
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
 
Interpolation
InterpolationInterpolation
Interpolation
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidel
 

Viewers also liked

Lesson 22: Quadratic Forms
Lesson 22: Quadratic FormsLesson 22: Quadratic Forms
Lesson 22: Quadratic Forms
Matthew Leingang
 
Lesson20 Tangent Planes Slides+Notes
Lesson20   Tangent Planes Slides+NotesLesson20   Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+Notes
Matthew Leingang
 
Lesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingLesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data Fitting
Matthew Leingang
 
Lesson 29: Areas
Lesson 29: AreasLesson 29: Areas
Lesson 29: Areas
Matthew Leingang
 
Midterm II Review
Midterm II ReviewMidterm II Review
Midterm II Review
Matthew Leingang
 
Lesson24 Implicit Differentiation Slides
Lesson24    Implicit  Differentiation SlidesLesson24    Implicit  Differentiation Slides
Lesson24 Implicit Differentiation Slides
Matthew Leingang
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange  Multipliers IILesson 28: Lagrange  Multipliers II
Lesson 28: Lagrange Multipliers II
Matthew Leingang
 
Lesson 25: Indeterminate Forms and L'Hôpital's Rule
Lesson 25: Indeterminate Forms and L'Hôpital's RuleLesson 25: Indeterminate Forms and L'Hôpital's Rule
Lesson 25: Indeterminate Forms and L'Hôpital's Rule
Matthew Leingang
 
Lesson 32: The Fundamental Theorem Of Calculus
Lesson 32: The Fundamental Theorem Of CalculusLesson 32: The Fundamental Theorem Of Calculus
Lesson 32: The Fundamental Theorem Of Calculus
Matthew Leingang
 
Lesson 31: Evaluating Definite Integrals
Lesson 31: Evaluating Definite IntegralsLesson 31: Evaluating Definite Integrals
Lesson 31: Evaluating Definite Integrals
Matthew Leingang
 
Lesson 23: The Chain Rule
Lesson 23: The Chain RuleLesson 23: The Chain Rule
Lesson 23: The Chain Rule
Matthew Leingang
 
Lesson 27: Lagrange Multipliers I
Lesson 27: Lagrange Multipliers ILesson 27: Lagrange Multipliers I
Lesson 27: Lagrange Multipliers I
Matthew Leingang
 
Lesson 24: Implicit Differentiation
Lesson 24: Implicit DifferentiationLesson 24: Implicit Differentiation
Lesson 24: Implicit Differentiation
Matthew Leingang
 
Midterm II Review Session Slides
Midterm II Review Session SlidesMidterm II Review Session Slides
Midterm II Review Session Slides
Matthew Leingang
 
Lesson 30: The Definite Integral
Lesson 30: The  Definite  IntegralLesson 30: The  Definite  Integral
Lesson 30: The Definite Integral
Matthew Leingang
 
Lesson 34: Introduction To Game Theory
Lesson 34: Introduction To Game TheoryLesson 34: Introduction To Game Theory
Lesson 34: Introduction To Game Theory
Matthew Leingang
 
Lesson 19: Related Rates
Lesson 19: Related RatesLesson 19: Related Rates
Lesson 19: Related Rates
Matthew Leingang
 
Lesson 16: Implicit Differentiation
Lesson 16: Implicit DifferentiationLesson 16: Implicit Differentiation
Lesson 16: Implicit Differentiation
Matthew Leingang
 
Lesson 21: Partial Derivatives in Economics
Lesson 21: Partial Derivatives in EconomicsLesson 21: Partial Derivatives in Economics
Lesson 21: Partial Derivatives in Economics
Matthew Leingang
 
Lesson 30: Duality In Linear Programming
Lesson 30: Duality In Linear ProgrammingLesson 30: Duality In Linear Programming
Lesson 30: Duality In Linear Programming
Matthew Leingang
 

Viewers also liked (20)

Lesson 22: Quadratic Forms
Lesson 22: Quadratic FormsLesson 22: Quadratic Forms
Lesson 22: Quadratic Forms
 
Lesson20 Tangent Planes Slides+Notes
Lesson20   Tangent Planes Slides+NotesLesson20   Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+Notes
 
Lesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingLesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data Fitting
 
Lesson 29: Areas
Lesson 29: AreasLesson 29: Areas
Lesson 29: Areas
 
Midterm II Review
Midterm II ReviewMidterm II Review
Midterm II Review
 
Lesson24 Implicit Differentiation Slides
Lesson24    Implicit  Differentiation SlidesLesson24    Implicit  Differentiation Slides
Lesson24 Implicit Differentiation Slides
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange  Multipliers IILesson 28: Lagrange  Multipliers II
Lesson 28: Lagrange Multipliers II
 
Lesson 25: Indeterminate Forms and L'Hôpital's Rule
Lesson 25: Indeterminate Forms and L'Hôpital's RuleLesson 25: Indeterminate Forms and L'Hôpital's Rule
Lesson 25: Indeterminate Forms and L'Hôpital's Rule
 
Lesson 32: The Fundamental Theorem Of Calculus
Lesson 32: The Fundamental Theorem Of CalculusLesson 32: The Fundamental Theorem Of Calculus
Lesson 32: The Fundamental Theorem Of Calculus
 
Lesson 31: Evaluating Definite Integrals
Lesson 31: Evaluating Definite IntegralsLesson 31: Evaluating Definite Integrals
Lesson 31: Evaluating Definite Integrals
 
Lesson 23: The Chain Rule
Lesson 23: The Chain RuleLesson 23: The Chain Rule
Lesson 23: The Chain Rule
 
Lesson 27: Lagrange Multipliers I
Lesson 27: Lagrange Multipliers ILesson 27: Lagrange Multipliers I
Lesson 27: Lagrange Multipliers I
 
Lesson 24: Implicit Differentiation
Lesson 24: Implicit DifferentiationLesson 24: Implicit Differentiation
Lesson 24: Implicit Differentiation
 
Midterm II Review Session Slides
Midterm II Review Session SlidesMidterm II Review Session Slides
Midterm II Review Session Slides
 
Lesson 30: The Definite Integral
Lesson 30: The  Definite  IntegralLesson 30: The  Definite  Integral
Lesson 30: The Definite Integral
 
Lesson 34: Introduction To Game Theory
Lesson 34: Introduction To Game TheoryLesson 34: Introduction To Game Theory
Lesson 34: Introduction To Game Theory
 
Lesson 19: Related Rates
Lesson 19: Related RatesLesson 19: Related Rates
Lesson 19: Related Rates
 
Lesson 16: Implicit Differentiation
Lesson 16: Implicit DifferentiationLesson 16: Implicit Differentiation
Lesson 16: Implicit Differentiation
 
Lesson 21: Partial Derivatives in Economics
Lesson 21: Partial Derivatives in EconomicsLesson 21: Partial Derivatives in Economics
Lesson 21: Partial Derivatives in Economics
 
Lesson 30: Duality In Linear Programming
Lesson 30: Duality In Linear ProgrammingLesson 30: Duality In Linear Programming
Lesson 30: Duality In Linear Programming
 

Similar to Lesson 25: Unconstrained Optimization I

Lesson 19: Partial Derivatives
Lesson 19: Partial DerivativesLesson 19: Partial Derivatives
Lesson 19: Partial Derivatives
Matthew Leingang
 
Lesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityLesson 11: Limits and Continuity
Lesson 11: Limits and Continuity
Matthew Leingang
 
Lesson 9: Basic Differentiation Rules
Lesson 9: Basic Differentiation RulesLesson 9: Basic Differentiation Rules
Lesson 9: Basic Differentiation Rules
Matthew Leingang
 
Lesson 21: Curve Sketching (Section 4 version)
Lesson 21: Curve Sketching (Section 4 version)Lesson 21: Curve Sketching (Section 4 version)
Lesson 21: Curve Sketching (Section 4 version)
Matthew Leingang
 
Lesson 5: Continuity
Lesson 5: ContinuityLesson 5: Continuity
Lesson 5: Continuity
Matthew Leingang
 
Lesson 21: Curve Sketching (Section 10 version)
Lesson 21: Curve Sketching (Section 10 version)Lesson 21: Curve Sketching (Section 10 version)
Lesson 21: Curve Sketching (Section 10 version)
Matthew Leingang
 
Lesson 17: The Method of Lagrange Multipliers
Lesson 17: The Method of Lagrange MultipliersLesson 17: The Method of Lagrange Multipliers
Lesson 17: The Method of Lagrange Multipliers
Matthew Leingang
 
Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?
Matthew Leingang
 
Partial Derivatives.pdf
Partial Derivatives.pdfPartial Derivatives.pdf
Partial Derivatives.pdf
NanavathAkkashChandr
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers IILesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers II
guestf32826
 
Chapter 5(partial differentiation)
Chapter 5(partial differentiation)Chapter 5(partial differentiation)
Chapter 5(partial differentiation)
Eko Wijayanto
 
Lesson 6: The derivative as a function
Lesson 6: The derivative as a functionLesson 6: The derivative as a function
Lesson 6: The derivative as a function
Matthew Leingang
 
Taylor Polynomials and Series
Taylor Polynomials and SeriesTaylor Polynomials and Series
Taylor Polynomials and Series
Matthew Leingang
 
Lesson18 Double Integrals Over Rectangles Slides
Lesson18   Double Integrals Over Rectangles SlidesLesson18   Double Integrals Over Rectangles Slides
Lesson18 Double Integrals Over Rectangles Slides
Matthew Leingang
 
Lesson 3: Continuity
Lesson 3: ContinuityLesson 3: Continuity
Lesson 3: Continuity
Matthew Leingang
 
Varian, microeconomic analysis, solution book
Varian, microeconomic analysis, solution bookVarian, microeconomic analysis, solution book
Varian, microeconomic analysis, solution book
José Antonio PAYANO YALE
 
2.2 Polynomial Function Notes
2.2 Polynomial Function Notes2.2 Polynomial Function Notes
2.2 Polynomial Function Notes
lgemgnani
 
3.2 Derivative as a Function
3.2 Derivative as a Function3.2 Derivative as a Function
3.2 Derivative as a Function
gregcross22
 
3.2 Derivative as a Function
3.2 Derivative as a Function3.2 Derivative as a Function
3.2 Derivative as a Function
gregcross22
 
Lesson 21: Curve Sketching II (Section 4 version)
Lesson 21: Curve Sketching  II (Section 4 version)Lesson 21: Curve Sketching  II (Section 4 version)
Lesson 21: Curve Sketching II (Section 4 version)
Matthew Leingang
 

Similar to Lesson 25: Unconstrained Optimization I (20)

Lesson 19: Partial Derivatives
Lesson 19: Partial DerivativesLesson 19: Partial Derivatives
Lesson 19: Partial Derivatives
 
Lesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityLesson 11: Limits and Continuity
Lesson 11: Limits and Continuity
 
Lesson 9: Basic Differentiation Rules
Lesson 9: Basic Differentiation RulesLesson 9: Basic Differentiation Rules
Lesson 9: Basic Differentiation Rules
 
Lesson 21: Curve Sketching (Section 4 version)
Lesson 21: Curve Sketching (Section 4 version)Lesson 21: Curve Sketching (Section 4 version)
Lesson 21: Curve Sketching (Section 4 version)
 
Lesson 5: Continuity
Lesson 5: ContinuityLesson 5: Continuity
Lesson 5: Continuity
 
Lesson 21: Curve Sketching (Section 10 version)
Lesson 21: Curve Sketching (Section 10 version)Lesson 21: Curve Sketching (Section 10 version)
Lesson 21: Curve Sketching (Section 10 version)
 
Lesson 17: The Method of Lagrange Multipliers
Lesson 17: The Method of Lagrange MultipliersLesson 17: The Method of Lagrange Multipliers
Lesson 17: The Method of Lagrange Multipliers
 
Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?
 
Partial Derivatives.pdf
Partial Derivatives.pdfPartial Derivatives.pdf
Partial Derivatives.pdf
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers IILesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers II
 
Chapter 5(partial differentiation)
Chapter 5(partial differentiation)Chapter 5(partial differentiation)
Chapter 5(partial differentiation)
 
Lesson 6: The derivative as a function
Lesson 6: The derivative as a functionLesson 6: The derivative as a function
Lesson 6: The derivative as a function
 
Taylor Polynomials and Series
Taylor Polynomials and SeriesTaylor Polynomials and Series
Taylor Polynomials and Series
 
Lesson18 Double Integrals Over Rectangles Slides
Lesson18   Double Integrals Over Rectangles SlidesLesson18   Double Integrals Over Rectangles Slides
Lesson18 Double Integrals Over Rectangles Slides
 
Lesson 3: Continuity
Lesson 3: ContinuityLesson 3: Continuity
Lesson 3: Continuity
 
Varian, microeconomic analysis, solution book
Varian, microeconomic analysis, solution bookVarian, microeconomic analysis, solution book
Varian, microeconomic analysis, solution book
 
2.2 Polynomial Function Notes
2.2 Polynomial Function Notes2.2 Polynomial Function Notes
2.2 Polynomial Function Notes
 
3.2 Derivative as a Function
3.2 Derivative as a Function3.2 Derivative as a Function
3.2 Derivative as a Function
 
3.2 Derivative as a Function
3.2 Derivative as a Function3.2 Derivative as a Function
3.2 Derivative as a Function
 
Lesson 21: Curve Sketching II (Section 4 version)
Lesson 21: Curve Sketching  II (Section 4 version)Lesson 21: Curve Sketching  II (Section 4 version)
Lesson 21: Curve Sketching II (Section 4 version)
 

More from Matthew Leingang

Making Lesson Plans
Making Lesson PlansMaking Lesson Plans
Making Lesson Plans
Matthew Leingang
 
Streamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choiceStreamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choice
Matthew Leingang
 
Electronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsElectronic Grading of Paper Assessments
Electronic Grading of Paper Assessments
Matthew Leingang
 
Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)
Matthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
Matthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
Matthew Leingang
 
Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)
Matthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)
Matthew Leingang
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)
Matthew Leingang
 
Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)
Matthew Leingang
 
Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)
Matthew Leingang
 
Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)
Matthew Leingang
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
Matthew Leingang
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
Matthew Leingang
 
Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)
Matthew Leingang
 
Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)
Matthew Leingang
 
Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)
Matthew Leingang
 
Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)
Matthew Leingang
 
Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)
Matthew Leingang
 
Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)
Matthew Leingang
 

More from Matthew Leingang (20)

Making Lesson Plans
Making Lesson PlansMaking Lesson Plans
Making Lesson Plans
 
Streamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choiceStreamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choice
 
Electronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsElectronic Grading of Paper Assessments
Electronic Grading of Paper Assessments
 
Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)
 
Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)
 
Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)
 
Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)
 
Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
 
Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)
 
Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)
 
Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)
 
Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)
 
Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)
 
Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)
 

Recently uploaded

Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
saastr
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
Edge AI and Vision Alliance
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 

Recently uploaded (20)

Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
Artificial Intelligence and Electronic Warfare
Artificial Intelligence and Electronic WarfareArtificial Intelligence and Electronic Warfare
Artificial Intelligence and Electronic Warfare
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 

Lesson 25: Unconstrained Optimization I

  • 1. Lesson 25 (Chapter 17) Unconstrained Optimization I Math 20 November 19, 2007 Announcements Problem Set 9 on the website. Due November 21. There will be class November 21 and homework due November 28. next OH: Monday 1-2pm, Tuesday 3-4pm Midterm II: Thursday, 12/6, 7-8:30pm in Hall A.
  • 2. Outline Single-variable recollections From one to two dimensions Critical points The Hessian The second derivative test More examples The discriminating monopolist
  • 3. Maximum and Minimum Value in single-variable calculus Theorem (Fermat’s Theorem) Let f be a function of one variable. If f has a local maximum or minimum at a, then f (a) = 0.
  • 4. Maximum and Minimum Value in single-variable calculus Theorem (Fermat’s Theorem) Let f be a function of one variable. If f has a local maximum or minimum at a, then f (a) = 0. Theorem (Theorem 9.2, a/k/a The Second Derivative Test) Let f be a function of one variable, and suppose f (a) = 0. If f (a) > 0, then f has a local minimum at a. If f (a) < 0, then f has a local maximum at a. (If f (a) = 0, this theorem has nothing to say).
  • 5. Justification of 2DT Using Taylor’s Theorem 1 f (x) = f (a) + f (a)(x − a) + f (a)(x − a)2 + R(x), 2 R(x) where (x−a)2 → 0 as x → a. (See Sections 5.5 and 7.4) So near a, f (x) “looks like” a parabola with vertex at (a, f (a)). f (a) is what determines whether this parabola opens up or down.
  • 6. Outline Single-variable recollections From one to two dimensions Critical points The Hessian The second derivative test More examples The discriminating monopolist
  • 7. How do we generalize this to functions of two variables? The first derivative f (x) is replaced by the gradient ∂f ∂f ∂f ∂x Df = f= ∂f ∂x ∂y ∂y
  • 8. How do we generalize this to functions of two variables? The first derivative f (x) is replaced by the gradient ∂f ∂f ∂f ∂x Df = f= ∂f ∂x ∂y ∂y Theorem (Fermat’s Theorem) Let f (x, y ) be a function of two variables. If f has a local maximum or minimum at (a, b), and is differentiable at (a,b), then ∂f ∂f (a, b) = 0 (a, b) = 0 ∂x ∂y As in one variable, we’ll call these points critical points.
  • 9. Example Example Let f (x, y ) = 8x 3 − 24xy + y 3 . Find the critical points of f .
  • 10. Example Example Let f (x, y ) = 8x 3 − 24xy + y 3 . Find the critical points of f . Solution We have ∂f = 24x 2 − 24y = 24(x 2 − y ) ∂x ∂f = 24x − 3y 2 = 3(8x − y 2 ) ∂y Both of these are zero if x 2 − y = 0 and 8x − y 2 = 0. Substituting the first into the second gives 0 = (x 2 )2 − 8x = x 4 − 8x = x(x 3 − 8) = x(x − 2)(x 2 + 2x + 4) and the solutions are x = 0 and x = 2 (the third factor has no real roots). If x = 0 then y = 0, and If x = 2 then y = 4. So the critical points are (0, 0) and (2, 4).
  • 11. How do we generalize this to functions of two variables? The second derivative f (x) is replaced by . . .
  • 12. How do we generalize this to functions of two variables? The second derivative f (x) is replaced by . . . a matrix, the Hessian of f : 2 ∂2f  ∂f 2 Hf =  ∂x ∂x∂y     ∂2f ∂2f  ∂y 2 ∂y ∂x
  • 13. Compare and contrast the Hessians at (0, 0) for these functions: (i) f (x, y ) = x 2 + y 2 (ii) f (x, y ) = 1 − x 2 − y 2 (iii) f (x, y ) = x 2 − y 2 (iv) f (x, y ) = xy How are they alike and how are they different?
  • 14. Compare and contrast the Hessians at (0, 0) for these functions: (i) f (x, y ) = x 2 + y 2 (ii) f (x, y ) = 1 − x 2 − y 2 (iii) f (x, y ) = x 2 − y 2 (iv) f (x, y ) = xy How are they alike and how are they different? 20 20 (i) Hf = (iii) Hf = 0 −2 02 −2 0 01 (ii) Hf = (iv) Hf = 0 −2 10
  • 15. Outline Single-variable recollections From one to two dimensions Critical points The Hessian The second derivative test More examples The discriminating monopolist
  • 16. Second order Taylor polynomials in two dimensions The two-variable analog of 1 f (x) ≈ f (a) + f (a)(x − a) + f (a)(x − a)2 2 is f (x, y ) ≈ f (a, b) + fx (a, b)(x − a) + fy (a, b)(y − b) + 2 fxx (a, b)(x − a)2 + fxy (a, b)(x − a)(y − b) 1 + 1 fyy (a, b)(y − a)2 2 or 1 f (x) ≈ f (a) + f (a) · (x − a) + 2 (x − a) · H(a)(x − a)
  • 17. Recall This was the big fact about quadratic forms in two variables: Fact Let f (x, y ) = ax 2 + 2bxy + cy 2 be a quadratic form. If a > 0 and ac − b 2 > 0, then f is positive definite If a < 0 and ac − b 2 > 0, then f is negative definite If ac − b 2 < 0, then f is indefinite
  • 18. Theorem (The Second Derivative Test) Let f (x, y ) be a function of two variables, and let (a, b) be a critical point of f . Then 2 2 2 2 ∂2f If ∂xf2 ∂yf2 − ∂x∂y ∂∂ ∂f > 0 and > 0, the critical point is a ∂x 2 local minimum. 2 2 2 2 ∂2f If ∂xf2 ∂yf2 − ∂x∂y ∂∂ ∂f > 0 and < 0, the critical point is a ∂x 2 local maximum. 2 ∂2f ∂2f ∂2f − If < 0, the critical point is a saddle point. ∂x 2 ∂y 2 ∂x∂y All derivatives are evaluated at the critical point (a, b).
  • 19. Return to the example Let f (x, y ) = 8x 3 − 24xy + y 3 . Classify the critical points. ∂2f ∂2f = −24 = 48x ∂x 2 ∂x∂y ∂2f ∂2f = −24 = 6y ∂y 2 ∂y ∂x
  • 20. Return to the example Let f (x, y ) = 8x 3 − 24xy + y 3 . Classify the critical points. ∂2f ∂2f = −24 = 48x ∂x 2 ∂x∂y ∂2f ∂2f = −24 = 6y ∂y 2 ∂y ∂x −24 0 Hf (0, 0) = , which has negative determinant. −24 0 Hence (0, 0) is a saddle point. 4 −1 Hf (2, 4) = 24 which, since the determinant is −1 1 positive and the top left entry is positive, indicates a local minimum.
  • 21. Plotting the function 10 5 0 5 5 10 2 0 0 2 4
  • 22. Plotting the function 5 4 3 2 10 5 1 0 5 5 10 0 2 0 0 2 -1 -1 1 0 2 3 4
  • 23. Online Demo Try this site (thanks to Tony Pino): http://www.slu.edu/classes/maymk/banchoff/LevelCurve.html Launch the applet and enter: f (x, y ) = x^3 - 3 * x * y + y^3/8 (1/3 of f from the example) x from −1 to 10 in 50 steps y from −1 to 10 in 50 steps z from −10 to 10 in 50 steps
  • 24. Remarks The Hessian matrix will always be symmetric in our cases. If the Hessian has determinant zero, nothing can be said from this theorem: f (x, y ) = x 4 + y 4 has a local min at (0, 0) f (x, y ) = −x 4 − y 4 has a local max at (0, 0) f (x, y ) = x 4 − y 4 has a saddle point at (0, 0) ±12x 2 0 In each case Hf (x, y ) = , so Hf (0, 0) is the ±12y 2 0 zero matrix.
  • 25. Outline Single-variable recollections From one to two dimensions Critical points The Hessian The second derivative test More examples The discriminating monopolist
  • 26. Example A firm sells a product in two separate areas with distinct linear demand curves, and has monopoly power to decide how much to sell in each area. How does its maximal profit depend on the demand in each area?
  • 27. Example A firm sells a product in two separate areas with distinct linear demand curves, and has monopoly power to decide how much to sell in each area. How does its maximal profit depend on the demand in each area? Let the demand curves be given by P1 = a1 − b1 Q1 P2 = a2 − b2 Q2 And the cost function by C = α(Q1 + Q2 ). The profit is therefore π = P1 Q1 + P2 Q2 − α(Q1 + Q2 ) = (a1 − b1 Q1 )Q1 + (a2 − b2 Q2 )Q2 − α(Q1 + Q2 ) 2 2 = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2
  • 28. 2 2 π(Q1 , Q2 ) = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2 Solution
  • 29. 2 2 π(Q1 , Q2 ) = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2 Solution We have ∂π ∂π = a1 − α − 2b1 Q1 = a2 − α − 2b2 Q2 ∂Q1 ∂Q2
  • 30. 2 2 π(Q1 , Q2 ) = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2 Solution We have ∂π ∂π = a1 − α − 2b1 Q1 = a2 − α − 2b2 Q2 ∂Q1 ∂Q2 So a1 − α a2 − α ∗ ∗ Q1 = Q2 = 2b1 2b2 is the critical point.
  • 31. 2 2 π(Q1 , Q2 ) = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2 Solution We have ∂π ∂π = a1 − α − 2b1 Q1 = a2 − α − 2b2 Q2 ∂Q1 ∂Q2 So a1 − α a2 − α ∗ ∗ Q1 = Q2 = 2b1 2b2 is the critical point. Also, −2b1 0 Hπ = −2b2 0
  • 32. 2 2 π(Q1 , Q2 ) = (a1 − α)Q1 − b1 Q1 + (a2 − α)Q2 − b2 Q2 Solution We have ∂π ∂π = a1 − α − 2b1 Q1 = a2 − α − 2b2 Q2 ∂Q1 ∂Q2 So a1 − α a2 − α ∗ ∗ Q1 = Q2 = 2b1 2b2 is the critical point. Also, −2b1 0 Hπ = −2b2 0 ∗ ∗ So the critical point (Q1 , Q2 ) is a local maximum.
  • 33. Example x Find the critical points of f (x, y ) = and classify them. x 2 +y 2 +1
  • 34. Example x Find the critical points of f (x, y ) = and classify them. x 2 +y 2 +1 Solution The derivatives are 1 − x2 + y2 2xy fy = − fx = (1 + x 2 + y 2 )2 (1 + x 2 + y 2 )2
  • 35. Example x Find the critical points of f (x, y ) = and classify them. x 2 +y 2 +1 Solution The derivatives are 1 − x2 + y2 2xy fy = − fx = (1 + x 2 + y 2 )2 (1 + x 2 + y 2 )2 The only way these can both be zero is if y = 0 and x = ±1.
  • 36. Example x Find the critical points of f (x, y ) = and classify them. x 2 +y 2 +1 Solution The derivatives are 1 − x2 + y2 2xy fy = − fx = (1 + x 2 + y 2 )2 (1 + x 2 + y 2 )2 The only way these can both be zero is if y = 0 and x = ±1. The second derivatives are 2x x 2 − 3 y 2 + 1 2y −3x 2 + y 2 + 1 fxx = fxy = (x 2 + y 2 + 1)3 (x 2 + y 2 + 1)3 2 x 3 − 3y 2 x + x fyy = − (x 2 + y 2 + 1)3
  • 37. So −1 1 0 0 2 2 Hf (1, 0) = Hf (−1, 0) = −1 1 0 0 2 2
  • 38. So −1 1 0 0 2 2 Hf (1, 0) = Hf (−1, 0) = −1 1 0 0 2 2 So we have a local max and a local min.
  • 39. Plotting the function 0.5 2 0.0 1 0.5 0 2 1 1 0 1 2 2
  • 40. Plotting the function 2 1 0 0.5 2 0.0 1 -1 0.5 0 2 1 1 0 1 -2 2 -1 1 -2 0 2 2