SlideShare une entreprise Scribd logo
1  sur  41
Télécharger pour lire hors ligne
Section 11.8
                              Lagrange Multipliers

                                         Math 21a


                                      March 14, 2008


        Announcements
             ◮   Midterm is graded
             ◮   Office hours Tuesday, Wednesday 2–4pm SC 323
             ◮   Problem Sessions: Mon, 8:30; Thur, 7:30; SC 103b

.       .
Image: Flickr user Tashland
                                                         .   .      .   .   .   .
Announcements




    ◮   Midterm is graded
    ◮   Office hours Tuesday, Wednesday 2–4pm SC 323
    ◮   Problem Sessions: Mon, 8:30; Thur, 7:30; SC 103b




                                                .   .      .   .   .   .
Happy Pi Day!


3:14 PM Digit recitation contest! Recite all the digits you know of π (in
        order, please). Please let us know in advance if you’ll recite π in
        a base other than 10 (the usual choice), 2, or 16. Only positive
        integer bases allowed – no fair to memorize π in base
        π /(π − 2)...
      4 PM — Pi(e) eating contest! Cornbread are square; pie are round.
           You have 3 minutes and 14 seconds to stuff yourself with as
           much pie as you can. The leftovers will be weighed to calculate
           how much pie you have eaten.
        Contests take place in the fourth floor lounge of the Math
        Department. .



.
Image: Flickr user Paul Adam Smith
                                                     .    .    .    .   .     .
Outline



   Introduction


   The Method of Lagrange Multipliers


   Examples


   For those who really must know all




                                        .   .   .   .   .   .
The problem


  Last time we learned how to find the critical points of a function of
  two variables: look for where ∇f = 0. That is,
                               ∂f   ∂f
                                  =    =0
                               ∂x   ∂y

  Then the Hessian tells us what kind of critical point it is.




                                                   .     .       .   .   .   .
The problem


  Last time we learned how to find the critical points of a function of
  two variables: look for where ∇f = 0. That is,
                               ∂f   ∂f
                                  =    =0
                               ∂x   ∂y

  Then the Hessian tells us what kind of critical point it is. Sometimes,
  however, we have a constraint which restricts us from choosing
  variables freely:
    ◮   Maximize volume subject to limited material costs
    ◮   Minimize surface area subject to fixed volume
    ◮   Maximize utility subject to limited income



                                                     .   .   .   .    .     .
Example
Maximize the function
                                           √
                            f( x , y ) =       xy
subject to the constraint

                     g(x, y) = 20x + 10y = 200.




                                                    .   .   .   .   .   .
√
Maximize the function f(x, y) =       xy subject to the constraint
20x + 10y = 200.




                                                      .    .    .    .   .   .
√
Maximize the function f(x, y) =       xy subject to the constraint
20x + 10y = 200.
Solution
Solve the constraint for y and make f a single-variable function:
2x + y = 20, so y = 20 − 2x. Thus
                      √               √
             f(x) = x(20 − 2x) = 20x − 2x2
                            1                        10 − 2x
            f ′ (x ) = √           (20 − 4x) = √                .
                      2 20x − 2x 2                   20x − 2x2

Then f′ (x) = 0 when 10 − 2x = 0, or x = 5. Since y = 20 − 2x, y = 10.
            √
f(5, 10) = 50.




                                                      .    .    .    .   .   .
Checking maximality: Closed Interval Method
Cf. Section 4.2




     Once the function is restricted to the line 20x + 10y = 200, we can’t
     plug in negative numbers for f(x). Since
                                     √
                             f(x) = x(20 − 2x)

     we have a restricted domain of 0 ≤ x ≤ 10. We only need to check f
     on these two endpoints and its critical√
                                            point to find the maximum
     value. But f(0) = f(10) = 0 so f(5) = 50 is the maximum value.




                                                   .    .    .    .   .      .
Checking maximality: First Derivative Test
Cf. Section 4.3




     We have
                                             10 − 2x
                              f ′ (x ) = √
                                       20x − 2x2
     The denominator is always positive, so the fraction is positive exactly
     when the numerator is positive. So f′ (x) < 0 if x < 5 and f′ (x) > 0 if
     x > 5. This means f changes from increasing to decreasing at 5. So 5
     is the global maximum point.




                                                       .   .   .    .    .      .
Checking maximality: Second Derivative Test
Cf. Section 4.3




     We have
                                              100
                           f′′ (x) = −
                                         (20x − 2x2 )3/2
     So f′′ (5) < 0, which means f has a local maximum at 5. Since there
     are no other critical points, this is the global maximum.




                                                       .   .   .   .   .   .
Example
Find the maximum and minimum values of

                  f (x, y) = x2 + y2 − 2x − 2y + 14.

subject to the constraint

                     g (x, y) = x2 + y2 − 16 ≡ 0.




                                               .       .   .   .   .   .
Example
Find the maximum and minimum values of

                  f (x, y) = x2 + y2 − 2x − 2y + 14.

subject to the constraint

                     g (x, y) = x2 + y2 − 16 ≡ 0.

This one’s harder. Solving for y in terms of x involves the square root,
of which there’s two choices.




                                                .      .   .   .    .      .
Example
Find the maximum and minimum values of

                  f (x, y) = x2 + y2 − 2x − 2y + 14.

subject to the constraint

                     g (x, y) = x2 + y2 − 16 ≡ 0.

This one’s harder. Solving for y in terms of x involves the square root,
of which there’s two choices.
There’s a better way!




                                                .      .   .   .    .      .
Outline



   Introduction


   The Method of Lagrange Multipliers


   Examples


   For those who really must know all




                                        .   .   .   .   .   .
Consider a path that moves across a hilly terrain. Where are the
critical points of elevation along your path?




 ..
                                              .   .    .    .      .   .
Simplified map

                     l
                     .evel curves of f   .evel curve g = 0
                                         l




   - .9. . . . - - -
   . 10 876 5 4. 3. 2 . 1
      -. - - - -
       -                     .




                                                       .     .   .   .   .   .
Simplified map

                     l
                     .evel curves of f   .evel curve g = 0
                                         l




   - .9. . . . - - -
   . 10 876 5 4. 3. 2 . 1
      -. - - - -
       -                     .




                                                       .     .   .   .   .   .
Simplified map

                     l
                     .evel curves of f   .evel curve g = 0
                                         l




                                                     .
                                                     At the constrained
                                                     critical point, the
                             .                       tangents to the
   - .9. . . . - - -
   . 10 876 5 4. 3. 2 . 1
      -. - - - -
       -
                                                     level curves of f
                                                     and g are in the
                                                     same direction!




                                                       .     .   .   .     .   .
The slopes of the tangent lines to these level curves are
                 ( )                  ( )
                    dy        f         dy         g
                         = − x and            =− x
                    dx f      fy        dx g       gy

So they are equal when

                       fx  g     f   fy
                          = x ⇐⇒ x =
                       fy  gy    gx  gy

If λ is the common ratio on the right, we have

                             fx  g
                                = x =λ
                             fy  gy

So

                               f x = λg x
                               f y = λg y

This principle works with any number of variables.
                                                 .   .      .   .   .   .
Theorem (The Method of Lagrange Multipliers)
Let f(x1 , x2 , . . . , xn ) and g(x1 , x2 , . . . , xn ) be functions of several
variables. The critical points of the function f restricted to the set g = 0
are solutions to the equations:

   ∂f                                    ∂g
        (x1 , x2 , . . . , xn ) = λ (x1 , x2 , . . . , xn )   for each i = 1, . . . , n
   ∂ xi                                 ∂ xi
      g (x 1 , x 2 , . . . , x n ) = 0 .

Note that this is n + 1 equations in the n + 1 variables x1 , . . . , xn , λ.




                                                              .     .     .     .     .   .
Outline



   Introduction


   The Method of Lagrange Multipliers


   Examples


   For those who really must know all




                                        .   .   .   .   .   .
Example
                                  √
Maximize the function f(x, y) =       xy subject to the constraint
20x + 10y = 200.




                                                   .    .    .   .   .   .
Let’s set g(x, y) = 20x + 10y − 200. We have
                          √
                   ∂f    1 y                   ∂g
                      =                           = 20
                   ∂x    2 x                   ∂x
                          √
                   ∂f    1 x                   ∂g
                      =                           = 10
                   ∂y    2 y                   ∂y


So the equations we need to solve are
                     √                 √
                    1 y               1 x
                          = 20λ           = 10λ
                    2 x               2 y
                          20x + 10y = 200.




                                                .   .    .   .   .   .
Solution (Continued)
Dividing the first by the second gives us
                                  y
                                    = 2,
                                  x
which means y = 2x. We plug this into the equation of constraint to get

            20x + 10(2x) = 200 =⇒ x = 5 =⇒ y = 10.




                                                 .    .    .    .    .    .
Caution



  When dividing equations, one must take care that the equation we
  divide by is not equal to zero. So we should verify that there is no
  solution where               √
                             1 x
                                    = 10λ = 0
                             2 y
  If this were true, then λ = 0. Since y = 800λ2 x, we get y = 0. Since
  x = 200λ2 y, we get x = 0. But then the equation of constraint is not
  satisfied. So we’re safe.
  Make sure you account for these because you can lose solutions!




                                                 .    .    .    .    .    .
Example
Find the maximum and minimum values of

                  f (x, y) = x2 + y2 − 2x − 6y + 14.

subject to the constraint

                     g (x, y) = x2 + y2 − 16 ≡ 0.




                                               .       .   .   .   .   .
Example
Find the maximum and minimum values of

                       f (x, y) = x2 + y2 − 2x − 6y + 14.

subject to the constraint

                         g (x, y) = x2 + y2 − 16 ≡ 0.


Solution
We have the two equations

                               2x − 2 = λ(2x)
                               2y − 6 = λ(2y).

as well as the third
                                 x2 + y2 = 16.

                                                    .       .   .   .   .   .
Solution (Continued)
Solving both of these for λ and equating them gives

                              x−1   y−3
                                  =     .
                               x     y

Cross multiplying,

                      xy − y = xy − 3x =⇒ y = 3x.

Plugging this in the equation of constraint gives

                         x2 + (3x)2 = 16,
                 √                √
which gives x = ± 8/5, and y = ±3 8/5.



                                                    .   .   .   .   .   .
Solution (Continued)
Looking at the function

                    f (x, y) = x2 + y2 − 2x − 2y + 14

We see that
                  (                               )            √
                          √             √               94 + 10 5
                 f −2         2/5, −6       2/5       =
                                                            5
is the maximum and
                    ( √                 √
                             √ ) 94 − 10 5
                   f 2 2/5, 6 2/5 =
                                     5
is the minimum value of the constrained function.



                                                            .   .   .   .   .   .
Contour Plot


 4




 2


                               The green curve is the
 0                             constraint, and the two
                               green points are the
                               constrained max and min.
 2




 4



     4     2   0   2   4




                           .       .   .   .    .   .
Compare and Contrast


 Elimination                       Lagrange Multipliers
   ◮   solve, then differentiate    ◮   differentiate, then solve
   ◮   messier (usually)            ◮   nicer (usually) equations
       equations                    ◮   more equations
   ◮   fewer equations              ◮   adaptable to more than
   ◮   more complex with more           one constraint
       constraints                  ◮   second derivative test
   ◮   second derivative test is        (won’t do) is harder
       easier                       ◮   multipliers have
                                        contextual meaning




                                          .    .    .    .    .     .
Example
A rectangular box is to be constructed of materials such that the
base of the box costs twice as much per unit area as does the sides
and top. If there are D dollars allocated to spend on the box, how
should these be allocated so that the box contains the maximum
possible value?




                                              .    .    .   .    .    .
Example
A rectangular box is to be constructed of materials such that the
base of the box costs twice as much per unit area as does the sides
and top. If there are D dollars allocated to spend on the box, how
should these be allocated so that the box contains the maximum
possible value?

Answer
                              √                √
                             1 D             1 D
                   x=y=                 z=
                             3 c             2 c
where c is the cost per unit area of the sides and top.




                                                .    .    .   .   .   .
Solution



   Let the sides of the box be x, y, and z. Let the cost per unit area of
   the sides and top be c; so the cost per unit area of the bottom is 2c.
   If x and y are the dimensions of the bottom of the box, then we want
   to maximize V = xyz subject to the constraint that
   2cyz + 2cxz + 3cxy − D = 0. Thus

                             yz = λc(2z + 3y)
                             xz = λc(3x + 2z)
                             xy = λc(2x + 2y)




                                                  .    .    .   .    .      .
Before dividing, check that none of x, y, z, or λ can be zero. Each of
those possibilities eventually leads to a contradiction to the
constraint equation.
Dividing the first two gives

    y   2z + 3y
      =         =⇒ y(3x + 2z) = x(2z + 3y) =⇒ 2yz = 2xz
    x   3x + 2z
Since z ̸= 0, we have x = y.




                                                .    .    .    .    .    .
The last equation now becomes x2 = 4λcx. Dividing the second
equation by this gives

                        z   3x + 2z
                          =         =⇒ z = 3 x.
                                           2
                        x      4x
Putting these into the equation of constraint we have

        D = 3cxy + 2cyz + 2xz = 3cx2 + 3cx2 + 3cx2 = 9cx2 .

So                              √                √
                            1       D      1         D
                       x=y=             z=
                            3       c      2         c
It also follows that                    √
                              x     1       D
                           λ=    =
                              4c   12       c3


                                                 .       .   .   .   .   .
Interpretation of λ


   Let V∗ be the maximum volume found by solving the Lagrange
   multiplier equations. Then
                   ( √ )( √ )( √ )                    √
                     1 D      1 D      1 D          1 D3
              V∗ =                              =
                     3 c      3 c      2 c         18 c3

   Now                             √            √
                      dV∗      3 1    D       1    D
                            =           3
                                          =           =λ
                       dD      2 18 c        12 c3
   This is true in general; the multiplier is the derivative of the extreme
   value with respect to the constraint.




                                                    .    .    .    .    .     .
Outline



   Introduction


   The Method of Lagrange Multipliers


   Examples


   For those who really must know all




                                        .   .   .   .   .   .
The second derivative test for constrained optimization


   Constrained extrema of f subject to g = 0 are unconstrained critical
   points of the Lagrangian function

                        L(x, y, λ) = f(x, y) − λg(x, y)

   The hessian at a critical point is
                                            
                                  0 gx g y
                            HL = gx fxx fxy 
                                  gy fxy fyy

   For (x, y, λ) to be minimal, we need det(HL) < 0, and for (x, y, λ) to
   be maximal, we need det(HL) > 0.



                                                    .     .   .   .   .     .

Contenu connexe

Tendances

Application of derivatives 2 maxima and minima
Application of derivatives 2  maxima and minimaApplication of derivatives 2  maxima and minima
Application of derivatives 2 maxima and minimasudersana viswanathan
 
Limits and continuity powerpoint
Limits and continuity powerpointLimits and continuity powerpoint
Limits and continuity powerpointcanalculus
 
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 CalculusMatthew Leingang
 
Applied Calculus Chapter 3 partial derivatives
Applied Calculus Chapter  3 partial derivativesApplied Calculus Chapter  3 partial derivatives
Applied Calculus Chapter 3 partial derivativesJ C
 
Discrete probability distribution (complete)
Discrete probability distribution (complete)Discrete probability distribution (complete)
Discrete probability distribution (complete)ISYousafzai
 
Solving linear programming model by simplex method
Solving linear programming model by simplex methodSolving linear programming model by simplex method
Solving linear programming model by simplex methodRoshan Kumar Patel
 
Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)Osama Zahid
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationSunny Chauhan
 
5.2 first and second derivative test
5.2 first and second derivative test5.2 first and second derivative test
5.2 first and second derivative testdicosmo178
 
Finding the area under a curve using integration
Finding the area under a curve using integrationFinding the area under a curve using integration
Finding the area under a curve using integrationChristopher Chibangu
 

Tendances (20)

Integral Calculus
Integral CalculusIntegral Calculus
Integral Calculus
 
Chapter 17 - Multivariable Calculus
Chapter 17 - Multivariable CalculusChapter 17 - Multivariable Calculus
Chapter 17 - Multivariable Calculus
 
Application of derivatives 2 maxima and minima
Application of derivatives 2  maxima and minimaApplication of derivatives 2  maxima and minima
Application of derivatives 2 maxima and minima
 
Partial derivatives
Partial derivativesPartial derivatives
Partial derivatives
 
Introduction to optimization Problems
Introduction to optimization ProblemsIntroduction to optimization Problems
Introduction to optimization Problems
 
Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
Limits and continuity powerpoint
Limits and continuity powerpointLimits and continuity powerpoint
Limits and continuity powerpoint
 
Introduction to differential equation
Introduction to differential equationIntroduction to differential equation
Introduction to differential equation
 
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
 
Applied Calculus Chapter 3 partial derivatives
Applied Calculus Chapter  3 partial derivativesApplied Calculus Chapter  3 partial derivatives
Applied Calculus Chapter 3 partial derivatives
 
Discrete probability distribution (complete)
Discrete probability distribution (complete)Discrete probability distribution (complete)
Discrete probability distribution (complete)
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
 
Power series
Power seriesPower series
Power series
 
Solving linear programming model by simplex method
Solving linear programming model by simplex methodSolving linear programming model by simplex method
Solving linear programming model by simplex method
 
Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)Math lecture 10 (Introduction to Integration)
Math lecture 10 (Introduction to Integration)
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Riemann sumsdefiniteintegrals
Riemann sumsdefiniteintegralsRiemann sumsdefiniteintegrals
Riemann sumsdefiniteintegrals
 
Limits and continuity
Limits and continuityLimits and continuity
Limits and continuity
 
5.2 first and second derivative test
5.2 first and second derivative test5.2 first and second derivative test
5.2 first and second derivative test
 
Finding the area under a curve using integration
Finding the area under a curve using integrationFinding the area under a curve using integration
Finding the area under a curve using integration
 

En vedette

Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange  Multipliers IILesson 28: Lagrange  Multipliers II
Lesson 28: Lagrange Multipliers IIMatthew Leingang
 
Ap calculus extrema v2
Ap calculus extrema v2Ap calculus extrema v2
Ap calculus extrema v2gregcross22
 
BBMP1103 - Sept 2011 exam workshop - part 8
BBMP1103 - Sept 2011 exam workshop - part 8BBMP1103 - Sept 2011 exam workshop - part 8
BBMP1103 - Sept 2011 exam workshop - part 8Richard Ng
 
Lagrange multipliers
Lagrange multipliersLagrange multipliers
Lagrange multipliersmaster900211
 
Lesson 20: (More) Optimization Problems
Lesson 20: (More) Optimization ProblemsLesson 20: (More) Optimization Problems
Lesson 20: (More) Optimization ProblemsMatthew Leingang
 
Lesson 8: Curves, Arc Length, Acceleration
Lesson 8: Curves, Arc Length, AccelerationLesson 8: Curves, Arc Length, Acceleration
Lesson 8: Curves, Arc Length, AccelerationMatthew Leingang
 
Lesson 17: The Mean Value Theorem and the shape of curves
Lesson 17: The Mean Value Theorem and the shape of curvesLesson 17: The Mean Value Theorem and the shape of curves
Lesson 17: The Mean Value Theorem and the shape of curvesMatthew Leingang
 
Lesson 19: Optimization Problems
Lesson 19: Optimization ProblemsLesson 19: Optimization Problems
Lesson 19: Optimization ProblemsMatthew Leingang
 
Lesson 9: Parametric Surfaces
Lesson 9: Parametric SurfacesLesson 9: Parametric Surfaces
Lesson 9: Parametric SurfacesMatthew Leingang
 
Lesson 9: The Product and Quotient Rule
Lesson 9: The Product and Quotient RuleLesson 9: The Product and Quotient Rule
Lesson 9: The Product and Quotient RuleMatthew Leingang
 
Lesson 10: Functions and Level Sets
Lesson 10: Functions and Level SetsLesson 10: Functions and Level Sets
Lesson 10: Functions and Level SetsMatthew Leingang
 
Lesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General RegionsLesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General RegionsMatthew Leingang
 
Lesson18 Double Integrals Over Rectangles Slides
Lesson18   Double Integrals Over Rectangles SlidesLesson18   Double Integrals Over Rectangles Slides
Lesson18 Double Integrals Over Rectangles SlidesMatthew Leingang
 
Lesson 8: Derivatives of Polynomials and Exponential functions
Lesson 8: Derivatives of Polynomials and Exponential functionsLesson 8: Derivatives of Polynomials and Exponential functions
Lesson 8: Derivatives of Polynomials and Exponential functionsMatthew Leingang
 
Lesson 10: Derivatives of Trigonometric Functions
Lesson 10: Derivatives of Trigonometric FunctionsLesson 10: Derivatives of Trigonometric Functions
Lesson 10: Derivatives of Trigonometric FunctionsMatthew Leingang
 
Lesson 7: Vector-valued functions
Lesson 7: Vector-valued functionsLesson 7: Vector-valued functions
Lesson 7: Vector-valued functionsMatthew 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
 

En vedette (20)

Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange  Multipliers IILesson 28: Lagrange  Multipliers II
Lesson 28: Lagrange Multipliers II
 
Ap calculus extrema v2
Ap calculus extrema v2Ap calculus extrema v2
Ap calculus extrema v2
 
Lagrange Multiplier - Mohd Moor
Lagrange Multiplier - Mohd MoorLagrange Multiplier - Mohd Moor
Lagrange Multiplier - Mohd Moor
 
BBMP1103 - Sept 2011 exam workshop - part 8
BBMP1103 - Sept 2011 exam workshop - part 8BBMP1103 - Sept 2011 exam workshop - part 8
BBMP1103 - Sept 2011 exam workshop - part 8
 
Lagrange multipliers
Lagrange multipliersLagrange multipliers
Lagrange multipliers
 
Lesson 20: (More) Optimization Problems
Lesson 20: (More) Optimization ProblemsLesson 20: (More) Optimization Problems
Lesson 20: (More) Optimization Problems
 
Lesson 8: Curves, Arc Length, Acceleration
Lesson 8: Curves, Arc Length, AccelerationLesson 8: Curves, Arc Length, Acceleration
Lesson 8: Curves, Arc Length, Acceleration
 
Lesson 18: Graphing
Lesson 18: GraphingLesson 18: Graphing
Lesson 18: Graphing
 
Lesson 17: The Mean Value Theorem and the shape of curves
Lesson 17: The Mean Value Theorem and the shape of curvesLesson 17: The Mean Value Theorem and the shape of curves
Lesson 17: The Mean Value Theorem and the shape of curves
 
Lesson 19: Optimization Problems
Lesson 19: Optimization ProblemsLesson 19: Optimization Problems
Lesson 19: Optimization Problems
 
Lesson 9: Parametric Surfaces
Lesson 9: Parametric SurfacesLesson 9: Parametric Surfaces
Lesson 9: Parametric Surfaces
 
Lesson 9: The Product and Quotient Rule
Lesson 9: The Product and Quotient RuleLesson 9: The Product and Quotient Rule
Lesson 9: The Product and Quotient Rule
 
Lesson 10: Functions and Level Sets
Lesson 10: Functions and Level SetsLesson 10: Functions and Level Sets
Lesson 10: Functions and Level Sets
 
Lesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General RegionsLesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General Regions
 
Lesson18 Double Integrals Over Rectangles Slides
Lesson18   Double Integrals Over Rectangles SlidesLesson18   Double Integrals Over Rectangles Slides
Lesson18 Double Integrals Over Rectangles Slides
 
Lesson 8: Derivatives of Polynomials and Exponential functions
Lesson 8: Derivatives of Polynomials and Exponential functionsLesson 8: Derivatives of Polynomials and Exponential functions
Lesson 8: Derivatives of Polynomials and Exponential functions
 
Math 21a Midterm I Review
Math 21a Midterm I ReviewMath 21a Midterm I Review
Math 21a Midterm I Review
 
Lesson 10: Derivatives of Trigonometric Functions
Lesson 10: Derivatives of Trigonometric FunctionsLesson 10: Derivatives of Trigonometric Functions
Lesson 10: Derivatives of Trigonometric Functions
 
Lesson 7: Vector-valued functions
Lesson 7: Vector-valued functionsLesson 7: Vector-valued functions
Lesson 7: Vector-valued functions
 
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?
 

Similaire à Lesson 17: The Method of Lagrange Multipliers

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 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 22: Optimization II (Section 4 version)
Lesson 22: Optimization II (Section 4 version)Lesson 22: Optimization II (Section 4 version)
Lesson 22: Optimization II (Section 4 version)Matthew Leingang
 
Lesson 22: Optimization II (Section 10 version)
Lesson 22: Optimization II (Section 10 version)Lesson 22: Optimization II (Section 10 version)
Lesson 22: Optimization II (Section 10 version)Matthew Leingang
 
Lesson 20: Derivatives and the Shapes of Curves
Lesson 20: Derivatives and the Shapes of CurvesLesson 20: Derivatives and the Shapes of Curves
Lesson 20: Derivatives and the Shapes of CurvesMatthew Leingang
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers IILesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers IIguestf32826
 
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
 
Lesson 21: Curve Sketching II (Section 10 version)
Lesson 21: Curve Sketching II (Section 10 version)Lesson 21: Curve Sketching II (Section 10 version)
Lesson 21: Curve Sketching II (Section 10 version)Matthew Leingang
 
Lesson 9: Basic Differentiation Rules
Lesson 9: Basic Differentiation RulesLesson 9: Basic Differentiation Rules
Lesson 9: Basic Differentiation RulesMatthew Leingang
 
Applications of maxima and minima
Applications of maxima and minimaApplications of maxima and minima
Applications of maxima and minimarouwejan
 
Lesson 25: Unconstrained Optimization I
Lesson 25: Unconstrained Optimization ILesson 25: Unconstrained Optimization I
Lesson 25: Unconstrained Optimization IMatthew Leingang
 
Lesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation RulesLesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation RulesMatthew Leingang
 
Lesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation RulesLesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation RulesMatthew Leingang
 
Lesson 7: Limits at Infinity
Lesson 7: Limits at InfinityLesson 7: Limits at Infinity
Lesson 7: Limits at InfinityMatthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (Section 4 version)
Lesson 26: The Fundamental Theorem of Calculus (Section 4 version)Lesson 26: The Fundamental Theorem of Calculus (Section 4 version)
Lesson 26: The Fundamental Theorem of Calculus (Section 4 version)Matthew Leingang
 
Lesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityLesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityMatthew Leingang
 
Lesson 24: Optimization II
Lesson 24: Optimization IILesson 24: Optimization II
Lesson 24: Optimization IIMatthew Leingang
 

Similaire à Lesson 17: The Method of Lagrange Multipliers (20)

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 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 22: Optimization II (Section 4 version)
Lesson 22: Optimization II (Section 4 version)Lesson 22: Optimization II (Section 4 version)
Lesson 22: Optimization II (Section 4 version)
 
Lesson 22: Optimization II (Section 10 version)
Lesson 22: Optimization II (Section 10 version)Lesson 22: Optimization II (Section 10 version)
Lesson 22: Optimization II (Section 10 version)
 
Lesson 20: Derivatives and the Shapes of Curves
Lesson 20: Derivatives and the Shapes of CurvesLesson 20: Derivatives and the Shapes of Curves
Lesson 20: Derivatives and the Shapes of Curves
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers IILesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers II
 
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)
 
Lesson 21: Curve Sketching II (Section 10 version)
Lesson 21: Curve Sketching II (Section 10 version)Lesson 21: Curve Sketching II (Section 10 version)
Lesson 21: Curve Sketching II (Section 10 version)
 
Lesson 9: Basic Differentiation Rules
Lesson 9: Basic Differentiation RulesLesson 9: Basic Differentiation Rules
Lesson 9: Basic Differentiation Rules
 
Applications of maxima and minima
Applications of maxima and minimaApplications of maxima and minima
Applications of maxima and minima
 
Lesson 25: Unconstrained Optimization I
Lesson 25: Unconstrained Optimization ILesson 25: Unconstrained Optimization I
Lesson 25: Unconstrained Optimization I
 
Lesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation RulesLesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation Rules
 
Lesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation RulesLesson 8: Basic Differentiation Rules
Lesson 8: Basic Differentiation Rules
 
Lesson 22: Graphing
Lesson 22: GraphingLesson 22: Graphing
Lesson 22: Graphing
 
Lesson 7: Limits at Infinity
Lesson 7: Limits at InfinityLesson 7: Limits at Infinity
Lesson 7: Limits at Infinity
 
Lesson 22: Graphing
Lesson 22: GraphingLesson 22: Graphing
Lesson 22: Graphing
 
Lesson 26: The Fundamental Theorem of Calculus (Section 4 version)
Lesson 26: The Fundamental Theorem of Calculus (Section 4 version)Lesson 26: The Fundamental Theorem of Calculus (Section 4 version)
Lesson 26: The Fundamental Theorem of Calculus (Section 4 version)
 
Lesson 11: Limits and Continuity
Lesson 11: Limits and ContinuityLesson 11: Limits and Continuity
Lesson 11: Limits and Continuity
 
Derivatives
DerivativesDerivatives
Derivatives
 
Lesson 24: Optimization II
Lesson 24: Optimization IILesson 24: Optimization II
Lesson 24: Optimization II
 

Plus de 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-choiceMatthew Leingang
 
Electronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsElectronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsMatthew 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
 

Plus de 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)
 

Dernier

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Dernier (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

Lesson 17: The Method of Lagrange Multipliers

  • 1. Section 11.8 Lagrange Multipliers Math 21a March 14, 2008 Announcements ◮ Midterm is graded ◮ Office hours Tuesday, Wednesday 2–4pm SC 323 ◮ Problem Sessions: Mon, 8:30; Thur, 7:30; SC 103b . . Image: Flickr user Tashland . . . . . .
  • 2. Announcements ◮ Midterm is graded ◮ Office hours Tuesday, Wednesday 2–4pm SC 323 ◮ Problem Sessions: Mon, 8:30; Thur, 7:30; SC 103b . . . . . .
  • 3. Happy Pi Day! 3:14 PM Digit recitation contest! Recite all the digits you know of π (in order, please). Please let us know in advance if you’ll recite π in a base other than 10 (the usual choice), 2, or 16. Only positive integer bases allowed – no fair to memorize π in base π /(π − 2)... 4 PM — Pi(e) eating contest! Cornbread are square; pie are round. You have 3 minutes and 14 seconds to stuff yourself with as much pie as you can. The leftovers will be weighed to calculate how much pie you have eaten. Contests take place in the fourth floor lounge of the Math Department. . . Image: Flickr user Paul Adam Smith . . . . . .
  • 4. Outline Introduction The Method of Lagrange Multipliers Examples For those who really must know all . . . . . .
  • 5. The problem Last time we learned how to find the critical points of a function of two variables: look for where ∇f = 0. That is, ∂f ∂f = =0 ∂x ∂y Then the Hessian tells us what kind of critical point it is. . . . . . .
  • 6. The problem Last time we learned how to find the critical points of a function of two variables: look for where ∇f = 0. That is, ∂f ∂f = =0 ∂x ∂y Then the Hessian tells us what kind of critical point it is. Sometimes, however, we have a constraint which restricts us from choosing variables freely: ◮ Maximize volume subject to limited material costs ◮ Minimize surface area subject to fixed volume ◮ Maximize utility subject to limited income . . . . . .
  • 7. Example Maximize the function √ f( x , y ) = xy subject to the constraint g(x, y) = 20x + 10y = 200. . . . . . .
  • 8. √ Maximize the function f(x, y) = xy subject to the constraint 20x + 10y = 200. . . . . . .
  • 9. √ Maximize the function f(x, y) = xy subject to the constraint 20x + 10y = 200. Solution Solve the constraint for y and make f a single-variable function: 2x + y = 20, so y = 20 − 2x. Thus √ √ f(x) = x(20 − 2x) = 20x − 2x2 1 10 − 2x f ′ (x ) = √ (20 − 4x) = √ . 2 20x − 2x 2 20x − 2x2 Then f′ (x) = 0 when 10 − 2x = 0, or x = 5. Since y = 20 − 2x, y = 10. √ f(5, 10) = 50. . . . . . .
  • 10. Checking maximality: Closed Interval Method Cf. Section 4.2 Once the function is restricted to the line 20x + 10y = 200, we can’t plug in negative numbers for f(x). Since √ f(x) = x(20 − 2x) we have a restricted domain of 0 ≤ x ≤ 10. We only need to check f on these two endpoints and its critical√ point to find the maximum value. But f(0) = f(10) = 0 so f(5) = 50 is the maximum value. . . . . . .
  • 11. Checking maximality: First Derivative Test Cf. Section 4.3 We have 10 − 2x f ′ (x ) = √ 20x − 2x2 The denominator is always positive, so the fraction is positive exactly when the numerator is positive. So f′ (x) < 0 if x < 5 and f′ (x) > 0 if x > 5. This means f changes from increasing to decreasing at 5. So 5 is the global maximum point. . . . . . .
  • 12. Checking maximality: Second Derivative Test Cf. Section 4.3 We have 100 f′′ (x) = − (20x − 2x2 )3/2 So f′′ (5) < 0, which means f has a local maximum at 5. Since there are no other critical points, this is the global maximum. . . . . . .
  • 13. Example Find the maximum and minimum values of f (x, y) = x2 + y2 − 2x − 2y + 14. subject to the constraint g (x, y) = x2 + y2 − 16 ≡ 0. . . . . . .
  • 14. Example Find the maximum and minimum values of f (x, y) = x2 + y2 − 2x − 2y + 14. subject to the constraint g (x, y) = x2 + y2 − 16 ≡ 0. This one’s harder. Solving for y in terms of x involves the square root, of which there’s two choices. . . . . . .
  • 15. Example Find the maximum and minimum values of f (x, y) = x2 + y2 − 2x − 2y + 14. subject to the constraint g (x, y) = x2 + y2 − 16 ≡ 0. This one’s harder. Solving for y in terms of x involves the square root, of which there’s two choices. There’s a better way! . . . . . .
  • 16. Outline Introduction The Method of Lagrange Multipliers Examples For those who really must know all . . . . . .
  • 17. Consider a path that moves across a hilly terrain. Where are the critical points of elevation along your path? .. . . . . . .
  • 18. Simplified map l .evel curves of f .evel curve g = 0 l - .9. . . . - - - . 10 876 5 4. 3. 2 . 1 -. - - - - - . . . . . . .
  • 19. Simplified map l .evel curves of f .evel curve g = 0 l - .9. . . . - - - . 10 876 5 4. 3. 2 . 1 -. - - - - - . . . . . . .
  • 20. Simplified map l .evel curves of f .evel curve g = 0 l . At the constrained critical point, the . tangents to the - .9. . . . - - - . 10 876 5 4. 3. 2 . 1 -. - - - - - level curves of f and g are in the same direction! . . . . . .
  • 21. The slopes of the tangent lines to these level curves are ( ) ( ) dy f dy g = − x and =− x dx f fy dx g gy So they are equal when fx g f fy = x ⇐⇒ x = fy gy gx gy If λ is the common ratio on the right, we have fx g = x =λ fy gy So f x = λg x f y = λg y This principle works with any number of variables. . . . . . .
  • 22. Theorem (The Method of Lagrange Multipliers) Let f(x1 , x2 , . . . , xn ) and g(x1 , x2 , . . . , xn ) be functions of several variables. The critical points of the function f restricted to the set g = 0 are solutions to the equations: ∂f ∂g (x1 , x2 , . . . , xn ) = λ (x1 , x2 , . . . , xn ) for each i = 1, . . . , n ∂ xi ∂ xi g (x 1 , x 2 , . . . , x n ) = 0 . Note that this is n + 1 equations in the n + 1 variables x1 , . . . , xn , λ. . . . . . .
  • 23. Outline Introduction The Method of Lagrange Multipliers Examples For those who really must know all . . . . . .
  • 24. Example √ Maximize the function f(x, y) = xy subject to the constraint 20x + 10y = 200. . . . . . .
  • 25. Let’s set g(x, y) = 20x + 10y − 200. We have √ ∂f 1 y ∂g = = 20 ∂x 2 x ∂x √ ∂f 1 x ∂g = = 10 ∂y 2 y ∂y So the equations we need to solve are √ √ 1 y 1 x = 20λ = 10λ 2 x 2 y 20x + 10y = 200. . . . . . .
  • 26. Solution (Continued) Dividing the first by the second gives us y = 2, x which means y = 2x. We plug this into the equation of constraint to get 20x + 10(2x) = 200 =⇒ x = 5 =⇒ y = 10. . . . . . .
  • 27. Caution When dividing equations, one must take care that the equation we divide by is not equal to zero. So we should verify that there is no solution where √ 1 x = 10λ = 0 2 y If this were true, then λ = 0. Since y = 800λ2 x, we get y = 0. Since x = 200λ2 y, we get x = 0. But then the equation of constraint is not satisfied. So we’re safe. Make sure you account for these because you can lose solutions! . . . . . .
  • 28. Example Find the maximum and minimum values of f (x, y) = x2 + y2 − 2x − 6y + 14. subject to the constraint g (x, y) = x2 + y2 − 16 ≡ 0. . . . . . .
  • 29. Example Find the maximum and minimum values of f (x, y) = x2 + y2 − 2x − 6y + 14. subject to the constraint g (x, y) = x2 + y2 − 16 ≡ 0. Solution We have the two equations 2x − 2 = λ(2x) 2y − 6 = λ(2y). as well as the third x2 + y2 = 16. . . . . . .
  • 30. Solution (Continued) Solving both of these for λ and equating them gives x−1 y−3 = . x y Cross multiplying, xy − y = xy − 3x =⇒ y = 3x. Plugging this in the equation of constraint gives x2 + (3x)2 = 16, √ √ which gives x = ± 8/5, and y = ±3 8/5. . . . . . .
  • 31. Solution (Continued) Looking at the function f (x, y) = x2 + y2 − 2x − 2y + 14 We see that ( ) √ √ √ 94 + 10 5 f −2 2/5, −6 2/5 = 5 is the maximum and ( √ √ √ ) 94 − 10 5 f 2 2/5, 6 2/5 = 5 is the minimum value of the constrained function. . . . . . .
  • 32. Contour Plot 4 2 The green curve is the 0 constraint, and the two green points are the constrained max and min. 2 4 4 2 0 2 4 . . . . . .
  • 33. Compare and Contrast Elimination Lagrange Multipliers ◮ solve, then differentiate ◮ differentiate, then solve ◮ messier (usually) ◮ nicer (usually) equations equations ◮ more equations ◮ fewer equations ◮ adaptable to more than ◮ more complex with more one constraint constraints ◮ second derivative test ◮ second derivative test is (won’t do) is harder easier ◮ multipliers have contextual meaning . . . . . .
  • 34. Example A rectangular box is to be constructed of materials such that the base of the box costs twice as much per unit area as does the sides and top. If there are D dollars allocated to spend on the box, how should these be allocated so that the box contains the maximum possible value? . . . . . .
  • 35. Example A rectangular box is to be constructed of materials such that the base of the box costs twice as much per unit area as does the sides and top. If there are D dollars allocated to spend on the box, how should these be allocated so that the box contains the maximum possible value? Answer √ √ 1 D 1 D x=y= z= 3 c 2 c where c is the cost per unit area of the sides and top. . . . . . .
  • 36. Solution Let the sides of the box be x, y, and z. Let the cost per unit area of the sides and top be c; so the cost per unit area of the bottom is 2c. If x and y are the dimensions of the bottom of the box, then we want to maximize V = xyz subject to the constraint that 2cyz + 2cxz + 3cxy − D = 0. Thus yz = λc(2z + 3y) xz = λc(3x + 2z) xy = λc(2x + 2y) . . . . . .
  • 37. Before dividing, check that none of x, y, z, or λ can be zero. Each of those possibilities eventually leads to a contradiction to the constraint equation. Dividing the first two gives y 2z + 3y = =⇒ y(3x + 2z) = x(2z + 3y) =⇒ 2yz = 2xz x 3x + 2z Since z ̸= 0, we have x = y. . . . . . .
  • 38. The last equation now becomes x2 = 4λcx. Dividing the second equation by this gives z 3x + 2z = =⇒ z = 3 x. 2 x 4x Putting these into the equation of constraint we have D = 3cxy + 2cyz + 2xz = 3cx2 + 3cx2 + 3cx2 = 9cx2 . So √ √ 1 D 1 D x=y= z= 3 c 2 c It also follows that √ x 1 D λ= = 4c 12 c3 . . . . . .
  • 39. Interpretation of λ Let V∗ be the maximum volume found by solving the Lagrange multiplier equations. Then ( √ )( √ )( √ ) √ 1 D 1 D 1 D 1 D3 V∗ = = 3 c 3 c 2 c 18 c3 Now √ √ dV∗ 3 1 D 1 D = 3 = =λ dD 2 18 c 12 c3 This is true in general; the multiplier is the derivative of the extreme value with respect to the constraint. . . . . . .
  • 40. Outline Introduction The Method of Lagrange Multipliers Examples For those who really must know all . . . . . .
  • 41. The second derivative test for constrained optimization Constrained extrema of f subject to g = 0 are unconstrained critical points of the Lagrangian function L(x, y, λ) = f(x, y) − λg(x, y) The hessian at a critical point is   0 gx g y HL = gx fxx fxy  gy fxy fyy For (x, y, λ) to be minimal, we need det(HL) < 0, and for (x, y, λ) to be maximal, we need det(HL) > 0. . . . . . .