140
Theorem Example Distances Constrained Multivariable Optimization: Lagrange Multipliers Bernd Schr ¨ oder Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Constrained Multivariable Optimization: Lagrange Multipliers

Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

  • Upload
    others

  • View
    17

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Constrained Multivariable Optimization:Lagrange Multipliers

Bernd Schroder

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 2: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Introduction

1. Finding extrema of functions of several variables onsurfaces by direct computation would be hard.

2. Lagrange multipliers reduce this task to a set of equations.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 3: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Introduction1. Finding extrema of functions of several variables on

surfaces by direct computation would be hard.

2. Lagrange multipliers reduce this task to a set of equations.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 4: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Introduction1. Finding extrema of functions of several variables on

surfaces by direct computation would be hard.2. Lagrange multipliers reduce this task to a set of equations.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 5: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem.

Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 6: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number.

If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 7: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k

, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 8: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 9: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 10: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 11: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 12: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f

10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 13: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f

10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 14: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10

20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 15: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10

20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 16: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20

30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 17: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20

30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 18: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30

40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 19: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30

40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 20: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40

50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 21: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40

50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 22: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 23: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

b

minimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 24: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 25: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

b

maximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 26: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 27: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .

The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 28: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k.

As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 29: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 30: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Theorem. Let f and g be two functions of equally manyvariables and let k be a number. If ~m is a local extremum of f onthe level (hyper)surface g(~r) = k, then there is a number λ suchthat ~∇f (~m) = λ~∇g(~m).

Explanation.

g = k

contours of f 10 20 30 40 50

bminimum

bmaximum

The gradient of f is perpendic-ular to the level surfaces of f .The gradient of g is perpen-dicular to the constraint sur-face g = k. As long as thesetwo gradients are not parallel,we can move inside the con-straint surface and increase ordecrease the function.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 31: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example.

Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

f (x,y) = 2x+3yg(x,y) = 5x2 +2y2 = 1

~∇f (x,y) = λ~∇g(x,y)[23

]= λ

[10x

4y

]

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 32: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

f (x,y) = 2x+3yg(x,y) = 5x2 +2y2 = 1

~∇f (x,y) = λ~∇g(x,y)[23

]= λ

[10x

4y

]

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 33: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

f (x,y) = 2x+3y

g(x,y) = 5x2 +2y2 = 1~∇f (x,y) = λ~∇g(x,y)[

23

]= λ

[10x

4y

]

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 34: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

f (x,y) = 2x+3yg(x,y) = 5x2 +2y2

= 1~∇f (x,y) = λ~∇g(x,y)[

23

]= λ

[10x

4y

]

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 35: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

f (x,y) = 2x+3yg(x,y) = 5x2 +2y2 = 1

~∇f (x,y) = λ~∇g(x,y)[23

]= λ

[10x

4y

]

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 36: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

f (x,y) = 2x+3yg(x,y) = 5x2 +2y2 = 1

~∇f (x,y) = λ~∇g(x,y)

[23

]= λ

[10x

4y

]

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 37: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

f (x,y) = 2x+3yg(x,y) = 5x2 +2y2 = 1

~∇f (x,y) = λ~∇g(x,y)[23

]

= λ

[10x

4y

]

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 38: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

f (x,y) = 2x+3yg(x,y) = 5x2 +2y2 = 1

~∇f (x,y) = λ~∇g(x,y)[23

]= λ

[10x

4y

]

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 39: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

f (x,y) = 2x+3yg(x,y) = 5x2 +2y2 = 1

~∇f (x,y) = λ~∇g(x,y)[23

]= λ

[10x

4y

]

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 40: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ10x = 2λ4y = 3 (???)

5x2 +2y2 = 1 !!!

Always remember the constraint.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 41: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ10x = 2

λ4y = 3 (???)5x2 +2y2 = 1 !!!

Always remember the constraint.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 42: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ10x = 2λ4y = 3

(???)5x2 +2y2 = 1 !!!

Always remember the constraint.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 43: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ10x = 2λ4y = 3 (???)

5x2 +2y2 = 1 !!!

Always remember the constraint.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 44: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ10x = 2λ4y = 3 (???)

5x2 +2y2 = 1

!!!

Always remember the constraint.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 45: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ10x = 2λ4y = 3 (???)

5x2 +2y2 = 1 !!!

Always remember the constraint.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 46: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ10x = 2λ4y = 3 (???)

5x2 +2y2 = 1 !!!

Always remember the constraint.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 47: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

x =1

y =3

5x2 +2y2 = 1

5(

15λ

)2

+2(

34λ

)2

= 1

15λ 2 +

98λ 2 = 1

5340λ 2 = 1 λ =±

√5340

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 48: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

x =1

y =3

5x2 +2y2 = 1

5(

15λ

)2

+2(

34λ

)2

= 1

15λ 2 +

98λ 2 = 1

5340λ 2 = 1 λ =±

√5340

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 49: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

x =1

y =3

5x2 +2y2 = 1

5(

15λ

)2

+2(

34λ

)2

= 1

15λ 2 +

98λ 2 = 1

5340λ 2 = 1 λ =±

√5340

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 50: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

x =1

y =3

5x2 +2y2 = 1

5(

15λ

)2

+2(

34λ

)2

= 1

15λ 2 +

98λ 2 = 1

5340λ 2 = 1 λ =±

√5340

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 51: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

x =1

y =3

5x2 +2y2 = 1

5(

15λ

)2

+2(

34λ

)2

= 1

15λ 2 +

98λ 2 = 1

5340λ 2 = 1 λ =±

√5340

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 52: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

x =1

y =3

5x2 +2y2 = 1

5(

15λ

)2

+2(

34λ

)2

= 1

15λ 2 +

98λ 2 = 1

5340λ 2 = 1 λ =±

√5340

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 53: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

x =1

y =3

5x2 +2y2 = 1

5(

15λ

)2

+2(

34λ

)2

= 1

15λ 2 +

98λ 2 = 1

5340λ 2 = 1

λ =±√

5340

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 54: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

x =1

y =3

5x2 +2y2 = 1

5(

15λ

)2

+2(

34λ

)2

= 1

15λ 2 +

98λ 2 = 1

5340λ 2 = 1 λ =±

√5340

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 55: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ =

√5340

x =1

5λ=

15

√4053

=

√8

265

y =3

4λ=

34

√4053

=

√45

106

f

(√8

265,

√45

106

)≈ 2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 56: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ =

√5340

x =1

5λ=

15

√4053

=

√8

265

y =3

4λ=

34

√4053

=

√45

106

f

(√8

265,

√45

106

)≈ 2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 57: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ =

√5340

x =1

=15

√4053

=

√8

265

y =3

4λ=

34

√4053

=

√45

106

f

(√8

265,

√45

106

)≈ 2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 58: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ =

√5340

x =1

5λ=

15

√4053

=

√8

265

y =3

4λ=

34

√4053

=

√45

106

f

(√8

265,

√45

106

)≈ 2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 59: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ =

√5340

x =1

5λ=

15

√4053

=

√8

265

y =3

4λ=

34

√4053

=

√45

106

f

(√8

265,

√45

106

)≈ 2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 60: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ =

√5340

x =1

5λ=

15

√4053

=

√8

265

y =3

=34

√4053

=

√45

106

f

(√8

265,

√45

106

)≈ 2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 61: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ =

√5340

x =1

5λ=

15

√4053

=

√8

265

y =3

4λ=

34

√4053

=

√45

106

f

(√8

265,

√45

106

)≈ 2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 62: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ =

√5340

x =1

5λ=

15

√4053

=

√8

265

y =3

4λ=

34

√4053

=

√45

106

f

(√8

265,

√45

106

)≈ 2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 63: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ =

√5340

x =1

5λ=

15

√4053

=

√8

265

y =3

4λ=

34

√4053

=

√45

106

f

(√8

265,

√45

106

)≈ 2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 64: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ = −√

5340

x =1

5λ=−1

5

√4053

=−√

8265

y =3

4λ=−3

4

√4053

=−√

45106

f

(−√

8265

,−√

45106

)≈ −2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 65: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ = −√

5340

x =1

5λ=−1

5

√4053

=−√

8265

y =3

4λ=−3

4

√4053

=−√

45106

f

(−√

8265

,−√

45106

)≈ −2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 66: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ = −√

5340

x =1

=−15

√4053

=−√

8265

y =3

4λ=−3

4

√4053

=−√

45106

f

(−√

8265

,−√

45106

)≈ −2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 67: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ = −√

5340

x =1

5λ=−1

5

√4053

=−√

8265

y =3

4λ=−3

4

√4053

=−√

45106

f

(−√

8265

,−√

45106

)≈ −2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 68: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ = −√

5340

x =1

5λ=−1

5

√4053

=−√

8265

y =3

4λ=−3

4

√4053

=−√

45106

f

(−√

8265

,−√

45106

)≈ −2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 69: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ = −√

5340

x =1

5λ=−1

5

√4053

=−√

8265

y =3

=−34

√4053

=−√

45106

f

(−√

8265

,−√

45106

)≈ −2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 70: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ = −√

5340

x =1

5λ=−1

5

√4053

=−√

8265

y =3

4λ=−3

4

√4053

=−√

45106

f

(−√

8265

,−√

45106

)≈ −2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 71: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ = −√

5340

x =1

5λ=−1

5

√4053

=−√

8265

y =3

4λ=−3

4

√4053

=−√

45106

f

(−√

8265

,−√

45106

)≈ −2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 72: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ = −√

5340

x =1

5λ=−1

5

√4053

=−√

8265

y =3

4λ=−3

4

√4053

=−√

45106

f

(−√

8265

,−√

45106

)≈ −2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 73: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the extreme values of the functionf (x,y) = 2x+3y on the ellipse 5x2 +2y2 = 1.

λ = −√

5340

x =1

5λ=−1

5

√4053

=−√

8265

y =3

4λ=−3

4

√4053

=−√

45106

f

(−√

8265

,−√

45106

)≈ −2.3022

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 74: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example.

Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2)) =√(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance, which is just as well.The constraint is

g(x,y,z) := x2 + y2− z = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 75: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2)) =√(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance, which is just as well.The constraint is

g(x,y,z) := x2 + y2− z = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 76: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2))

=√(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance, which is just as well.The constraint is

g(x,y,z) := x2 + y2− z = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 77: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2)) =√

(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance, which is just as well.The constraint is

g(x,y,z) := x2 + y2− z = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 78: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2)) =√

(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance, which is just as well.The constraint is

g(x,y,z) := x2 + y2− z = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 79: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2)) =√

(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance

, which is just as well.The constraint is

g(x,y,z) := x2 + y2− z = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 80: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2)) =√

(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance, which is just as well.

The constraint is

g(x,y,z) := x2 + y2− z = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 81: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2)) =√

(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance, which is just as well.The constraint is

g(x,y,z) := x2 + y2− z = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 82: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2)) =√

(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance, which is just as well.The constraint is

g(x,y,z) :=

x2 + y2− z = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 83: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2)) =√

(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance, which is just as well.The constraint is

g(x,y,z) := x2 + y2− z

= 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 84: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

d((x,y,z),(0,1,2)) =√

(x−0)2 +(y−1)2 +(z−2)2

=

√x2 +(y−1)2 +(z−2)2

Minimizing

f (x,y,z) := x2 +(y−1)2 +(z−2)2

gives the square of the minimum distance, which is just as well.The constraint is

g(x,y,z) := x2 + y2− z = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 85: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

f (x,y,z) = x2 +(y−1)2 +(z−2)2

g(x,y,z) = x2 + y2− z = 0~∇f (x,y,z) = λ~∇g(x,y,z) 2x

2(y−1)2(z−2)

= λ

2x2y−1

2x = λ2x

2(y−1) = λ2y2(z−2) = λ (−1)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 86: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

f (x,y,z) = x2 +(y−1)2 +(z−2)2

g(x,y,z) = x2 + y2− z = 0~∇f (x,y,z) = λ~∇g(x,y,z) 2x

2(y−1)2(z−2)

= λ

2x2y−1

2x = λ2x

2(y−1) = λ2y2(z−2) = λ (−1)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 87: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

f (x,y,z) = x2 +(y−1)2 +(z−2)2

g(x,y,z) = x2 + y2− z = 0

~∇f (x,y,z) = λ~∇g(x,y,z) 2x2(y−1)2(z−2)

= λ

2x2y−1

2x = λ2x

2(y−1) = λ2y2(z−2) = λ (−1)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 88: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

f (x,y,z) = x2 +(y−1)2 +(z−2)2

g(x,y,z) = x2 + y2− z = 0~∇f (x,y,z) = λ~∇g(x,y,z)

2x2(y−1)2(z−2)

= λ

2x2y−1

2x = λ2x

2(y−1) = λ2y2(z−2) = λ (−1)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 89: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

f (x,y,z) = x2 +(y−1)2 +(z−2)2

g(x,y,z) = x2 + y2− z = 0~∇f (x,y,z) = λ~∇g(x,y,z) 2x

2(y−1)2(z−2)

= λ

2x2y−1

2x = λ2x

2(y−1) = λ2y2(z−2) = λ (−1)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 90: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

f (x,y,z) = x2 +(y−1)2 +(z−2)2

g(x,y,z) = x2 + y2− z = 0~∇f (x,y,z) = λ~∇g(x,y,z) 2x

2(y−1)2(z−2)

= λ

2x2y−1

2x = λ2x2(y−1) = λ2y2(z−2) = λ (−1)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 91: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

f (x,y,z) = x2 +(y−1)2 +(z−2)2

g(x,y,z) = x2 + y2− z = 0~∇f (x,y,z) = λ~∇g(x,y,z) 2x

2(y−1)2(z−2)

= λ

2x2y−1

2x = λ2x

2(y−1) = λ2y2(z−2) = λ (−1)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 92: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

f (x,y,z) = x2 +(y−1)2 +(z−2)2

g(x,y,z) = x2 + y2− z = 0~∇f (x,y,z) = λ~∇g(x,y,z) 2x

2(y−1)2(z−2)

= λ

2x2y−1

2x = λ2x

2(y−1) = λ2y

2(z−2) = λ (−1)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 93: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

f (x,y,z) = x2 +(y−1)2 +(z−2)2

g(x,y,z) = x2 + y2− z = 0~∇f (x,y,z) = λ~∇g(x,y,z) 2x

2(y−1)2(z−2)

= λ

2x2y−1

2x = λ2x

2(y−1) = λ2y2(z−2) = λ (−1)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 94: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = λxy−1 = λy

2(z−2) = −λ

x2 + y2− z = 0

λ = 1 ⇒ y−1 = y (not possible)

Hence x = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 95: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = λx

y−1 = λy2(z−2) = −λ

x2 + y2− z = 0

λ = 1 ⇒ y−1 = y (not possible)

Hence x = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 96: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = λxy−1 = λy

2(z−2) = −λ

x2 + y2− z = 0

λ = 1 ⇒ y−1 = y (not possible)

Hence x = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 97: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = λxy−1 = λy

2(z−2) = −λ

x2 + y2− z = 0

λ = 1 ⇒ y−1 = y (not possible)

Hence x = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 98: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = λxy−1 = λy

2(z−2) = −λ

x2 + y2− z = 0

λ = 1 ⇒ y−1 = y (not possible)

Hence x = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 99: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = λx ⇒ x = 0 or λ = 1y−1 = λy

2(z−2) = −λ

x2 + y2− z = 0

λ = 1 ⇒ y−1 = y (not possible)

Hence x = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 100: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = λx ⇒ x = 0 or λ = 1y−1 = λy

2(z−2) = −λ

x2 + y2− z = 0

λ = 1

⇒ y−1 = y (not possible)

Hence x = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 101: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = λx ⇒ x = 0 or λ = 1y−1 = λy

2(z−2) = −λ

x2 + y2− z = 0

λ = 1 ⇒ y−1 = y

(not possible)

Hence x = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 102: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = λx ⇒ x = 0 or λ = 1y−1 = λy

2(z−2) = −λ

x2 + y2− z = 0

λ = 1 ⇒ y−1 = y (not possible)

Hence x = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 103: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = λx ⇒ x = 0 or λ = 1y−1 = λy

2(z−2) = −λ

x2 + y2− z = 0

λ = 1 ⇒ y−1 = y (not possible)

Hence x = 0.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 104: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

y−1 = λy2(z−2) = −λ

y2− z = 0z = y2

λ = −2(

y2−2)

y−1 = −2(

y2−2)

y =−2y3 +4y

2y3−3y−1 = 0

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 105: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

y−1 = λy

2(z−2) = −λ

y2− z = 0z = y2

λ = −2(

y2−2)

y−1 = −2(

y2−2)

y =−2y3 +4y

2y3−3y−1 = 0

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 106: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

y−1 = λy2(z−2) = −λ

y2− z = 0z = y2

λ = −2(

y2−2)

y−1 = −2(

y2−2)

y =−2y3 +4y

2y3−3y−1 = 0

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 107: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

y−1 = λy2(z−2) = −λ

y2− z = 0

z = y2

λ = −2(

y2−2)

y−1 = −2(

y2−2)

y =−2y3 +4y

2y3−3y−1 = 0

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 108: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

y−1 = λy2(z−2) = −λ

y2− z = 0z = y2

λ = −2(

y2−2)

y−1 = −2(

y2−2)

y =−2y3 +4y

2y3−3y−1 = 0

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 109: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

y−1 = λy2(z−2) = −λ

y2− z = 0z = y2

λ = −2(

y2−2)

y−1 = −2(

y2−2)

y =−2y3 +4y

2y3−3y−1 = 0

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 110: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

y−1 = λy2(z−2) = −λ

y2− z = 0z = y2

λ = −2(

y2−2)

y−1 = −2(

y2−2)

y

=−2y3 +4y

2y3−3y−1 = 0

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 111: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

y−1 = λy2(z−2) = −λ

y2− z = 0z = y2

λ = −2(

y2−2)

y−1 = −2(

y2−2)

y =−2y3 +4y

2y3−3y−1 = 0

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 112: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

y−1 = λy2(z−2) = −λ

y2− z = 0z = y2

λ = −2(

y2−2)

y−1 = −2(

y2−2)

y =−2y3 +4y

2y3−3y−1 = 0

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 113: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

2y3−3y−1 = 0

(y+1)(

2y2−2y−1)

= 0

y1 =−1 y2,3 =2±√

4+84

=1±√

32

≈ 1.3660, −0.3660

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 114: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

2y3−3y−1 = 0

(y+1)(

2y2−2y−1)

= 0

y1 =−1 y2,3 =2±√

4+84

=1±√

32

≈ 1.3660, −0.3660

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 115: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

2y3−3y−1 = 0

(y+1)(

2y2−2y−1)

= 0

y1 =−1 y2,3 =2±√

4+84

=1±√

32

≈ 1.3660, −0.3660

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 116: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

2y3−3y−1 = 0

(y+1)(

2y2−2y−1)

= 0

y1 =−1

y2,3 =2±√

4+84

=1±√

32

≈ 1.3660, −0.3660

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 117: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

2y3−3y−1 = 0

(y+1)(

2y2−2y−1)

= 0

y1 =−1 y2,3 =2±√

4+84

=1±√

32

≈ 1.3660, −0.3660

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 118: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

2y3−3y−1 = 0

(y+1)(

2y2−2y−1)

= 0

y1 =−1 y2,3 =2±√

4+84

=1±√

32

≈ 1.3660, −0.3660

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 119: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

2y3−3y−1 = 0

(y+1)(

2y2−2y−1)

= 0

y1 =−1 y2,3 =2±√

4+84

=1±√

32

≈ 1.3660

, −0.3660

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 120: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

2y3−3y−1 = 0

(y+1)(

2y2−2y−1)

= 0

y1 =−1 y2,3 =2±√

4+84

=1±√

32

≈ 1.3660, −0.3660

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 121: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 122: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0

, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 123: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2

y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 124: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1

z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 125: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1

d((0,−1,1),(0,1,2)) =√

5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 126: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2))

=√

5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 127: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5

≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 128: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 129: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 130: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 131: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 132: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 133: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 134: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 135: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 136: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

x = 0, z = y2 y1 = −1 z1 = 1d((0,−1,1),(0,1,2)) =

√5≈ 2.2361

y2 =1−√

32

z2 =

(1−√

32

)2

d

0,1−√

32

,

(1−√

32

)2 ,(0,1,2)

≈ 2.3126

y3 =1+√

32

z3 =

(1+√

32

)2

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 137: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

So the shortest distance is

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 138: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

So the shortest distance is

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 139: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

So the shortest distance is

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers

Page 140: Constrained Multivariable Optimization: Lagrange Multipliersfliacob/An1/2015-2016/Resurse auxiliare/a… · Constrained Multivariable Optimization: Lagrange Multipliers. TheoremExampleDistances

Theorem Example Distances

Example. Find the shortest distance between the point (0,1,2)and the paraboloid z = x2 + y2.

So the shortest distance is

d

0,1+√

32

,

(1+√

32

)2 ,(0,1,2)

≈ 0.3897.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Constrained Multivariable Optimization: Lagrange Multipliers