What is a lagrange multiplier?

Jenn, Founder Calcworkshop®, 15+ Years Experience (Licensed & Certified Teacher)
Great question, and it’s one we’re going to cover in detail today.
Let’s go!
Lagrange Multiplier Method
What’s the most challenging part about identifying absolute extrema for functions of several variables?
Identifying the boundary points, of course.
So, what if I told you that there’s an easier way to solve extrema problems with constraints?
Well, the method of Lagrange Multipliers is the key.
How?
By adding a variable!
What? Wouldn’t that make it even more complicated?
Nope. Because this new variable (dimension) will link and connect our function to the constraint in a more tangible way.
Lagrange Theorem
Let’s learn how!
Lagrange’s Theorem says that if
Why Does This Work?
Well, we know that two curves have a common perpendicular line if they are tangent at the same point.
Furthermore, we know that the gradient vector,
So, when optimizing
subject to constraint all we are really being asked to find is the level curve of with the greatest or smallest k-value that intersects the constraint curve.
In other words, it will be the place where the two curves are tangent. Which means we are looking for are the points where
How Does This Work?
Alright, now it’s time to learn how this works in a more applicable sense.
Thankfully there are only a few simple steps.
Supposing
- Simultaneously solve the system of equations
and . - Evaluate
at each solution point obtained in step 1. The largest value yields the maximum of subject to the constraint , and the smallest value yields the minimum of subject to the constraint .
Note that each critical point obtained in step 1 is a potential candidate for the constrained extremum problem, and the corresponding
Lagrange Multiplier Example
Let’s walk through an example to see this ingenious technique in action.
Find the absolute maximum and absolute minimum of
First, we will find the first partial derivatives for both
and .
Next, we will set up our system of equations and solve.
Now let’s substitute our second equation into our first and solve.
Now we need to find the points that correspond to the values we have just found.
But this yields an undefined solution. Therefore,
and are not a critical point. Now let’s find any critical points that correspond to:
Thus, if
, then we can substitute these values into and to find our critical points.
Now we must find any critical points that correspond to:
Thus, if
, then we can substitute these values into and to find our critical points.
Alright, now we have all of our critical points, and the last thing we have to do is identify the largest z-value (global maximum) and our smallest z-value (global minimum).
Thus, our absolute maximum is at
and , and our absolute minimum is at and .
While it still took some effort to arrive at our answer, the process was more straightforward and methodical, making it easier to achieve our solution.
So, together we will learn how the clever technique of using the method of Lagrange Multipliers provides us with an easier way for solving constrained optimization problems for absolute extrema.
We will work through various examples in detail for when a function is subject to
- One Constraint.
- Two Constraints.
- Or Even An Unbounded Constraint.
It’s going to be great, so let’s get to it!
Video Tutorial w/ Full Lesson & Detailed Examples (Video)
- Overview of how and why we use Lagrange Multipliers to find Absolute Extrema
- Steps for how to optimize a function using Lagrange multipliers
- Example #1 of using Lagrange multipliers given one constraint
- Example #2 of using Lagrange multipliers given two constraints
- Example #3 of using Lagrange multipliers given an inequality
Get access to all the courses and over 450 HD videos with your subscription
Monthly and Yearly Plans Available
Still wondering if CalcWorkshop is right for you?
Take a Tour and find out how a membership can take the struggle out of learning math.