Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-4rdrl Total loading time: 0 Render date: 2024-07-07T16:51:44.295Z Has data issue: false hasContentIssue false

D - Optimization and Lagrange Multipliers

Published online by Cambridge University Press:  04 June 2024

Kevin M. Lynch
Affiliation:
Northwestern University, Illinois
Frank C. Park
Affiliation:
Seoul National University
Get access

Summary

Suppose that x* ϵ R is a local minimum of a twice-differentiable objective function f(x), f : R → R, in the sense that for all x near x*, we have f(x) ≥ f(x*). We can then expect that the slope of f(x) at x* is zero, i.e.,

and also that

If f is multi-dimensional, i.e., f : Rn → R, and all partial derivatives of f exist up to second-order, then a necessary condition for x* ϵ Rn to be a local minimum is that its gradient be zero:

For example, consider the linear equation Ax = b, where A ϵ Rm×n and b ϵ Rm (m > n) are given. Because there are more constraints (m) than variables (n), in general a solution to Ax = b will not exist. Suppose we seek the x that best approximates a solution, in the sense of satisfying

The first-order necessary condition is given by

If rankA = n then ATA ϵ Rn×n is invertible, and the solution to (D.1) is

Now suppose that we wish to find, among all x ϵ Rn that satisfy g(x) = 0 for some differentiable g : Rn → Rm (typically m ≤ n to ensure that there exists an infinity of solutions to g(x) = 0), the x* that minimizes the objective function f(x). Suppose that x* is a local minimum of f that is also a regular point of the surface parametrized implicitly by g(x) = 0, i.e., x* satisfies g(x*) = 0 and

Then, from the fundamental theorem of linear algebra, it can be shown that there exists some ƛ∗ ϵ Rm (called the Lagrange multiplier) that satisfies

Equation (D.2) together with g(x*) = 0 constitute the first-order necessary conditions for x* to be a feasible local mininum of f(x). Note that these two equations represent n + m equations in the n + m unknowns x and ƛ.

As an example, consider the quadratic objective function f(x) such that

Type
Chapter
Information
Modern Robotics
Mechanics, Planning, and Control
, pp. 516 - 518
Publisher: Cambridge University Press
Print publication year: 2017

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×