\( \newcommand{\abs}[1]{\left| \, {#1} \, \right| } \) \( \newcommand{\cm}{\mathrm{cm} } \) \( \newcommand{\sec}{ \, \mathrm{sec} \, } \) \( \newcommand{\vhat}[1]{\,\hat{#1}} \) \( \newcommand{\vhati}{\,\hat{i}} \) \( \newcommand{\vhatj}{\,\hat{j}} \) \( \newcommand{\vhatk}{\,\hat{k}} \) \( \newcommand{\vect}[1]{\boldsymbol{\vec{#1}}} \) \( \newcommand{\norm}[1]{\|{#1}\|} \) \( \newcommand{\arccot}{ \, \mathrm{arccot} \, } \) \( \newcommand{\arcsec}{ \, \mathrm{arcsec} \, } \) \( \newcommand{\arccsc}{ \, \mathrm{arccsc} \, } \) \( \newcommand{\sech}{ \, \mathrm{sech} \, } \) \( \newcommand{\csch}{ \, \mathrm{csch} \, } \) \( \newcommand{\arcsinh}{ \, \mathrm{arcsinh} \, } \) \( \newcommand{\arccosh}{ \, \mathrm{arccosh} \, } \) \( \newcommand{\arctanh}{ \, \mathrm{arctanh} \, } \) \( \newcommand{\arccoth}{ \, \mathrm{arccoth} \, } \) \( \newcommand{\arcsech}{ \, \mathrm{arcsech} \, } \) \( \newcommand{\arccsch}{ \, \mathrm{arccsch} \, } \)

17Calculus - Lagrange Multipliers

Coordinate Systems

Vectors

Using Vectors

Applications

Vector Functions

Partial Derivatives

Partial Integrals

Double Integrals - 2Int

Triple Integrals - 3Int

Practice

Vector Fields

Practice

Calculus 1 Practice

Calculus 2 Practice

Practice Exams

Tools

Calculus Tools

Additional Tools

Articles

Coordinate Systems

Vectors

Using Vectors

Applications

Vector Functions

Partial Derivatives

Partial Integrals

Double Integrals - 2Int

Triple Integrals - 3Int

Practice

Vector Fields

SV Calculus

MV Calculus

Practice

Calculus 1 Practice

Calculus 2 Practice

Practice Exams

Tools

Calculus Tools

Additional Tools

Articles

The Method of Lagrange Multipliers is used to find maximums and minimums of a function subject to one or more constraints. We could also say that we want to optimize the function or find the extreme values of the function.
We highly recommend that you download the notes for this topic from Dr Chris Tisdell. Look for the pdf link entitled Extreme values + Lagrange multipliers.

In basic calculus, we learned that finding the critical points gives us information about maximums, minimums (and saddlepoints). We use the same idea here, i.e. locations where the derivative is zero gives us possible locations of maxs/mins. We use this method to integrate the constraints into the equation.

Basic Technique

If we are given a function \(f(x,y,z)\) that we want to optimize (find maximums, minimums or both) subject to a constraint \(g(x,y,z) = 0\), we set up the gradient equation \( \nabla f = \lambda \nabla g \). [ For a version of the equations that do not use the gradient, see below. ]

The variable \( \lambda \) is just a number (independent of \(x\), \(y\) and \(z\)) called a Lagrange multiplier. We introduce \( \lambda \) during the course of solving this problem but it will not appear in our answer.

Remember that the gradient is a vector. So, the above equation gives us three equations ( one for each variable ) and four unknowns ( \(x\), \(y\), \(z\) and \( \lambda \) ). Using also the constraint equation \(g(x,y,z) = 0\), we can now (theoretically) solve for all four unknowns.

This next video clip explains this technique in more detail.

Dr Chris Tisdell - Lagrange Multipliers (clip 1) [6mins-23secs]

video by Dr Chris Tisdell

So, why does this work? It seems kind of strange that introducing another variable would enable us to optimize a function. Here is a great video clip that explains this. His use of graphs is very good to visualize what is going on.

Dr Chris Tisdell - Lagrange Multipliers (clip 1) [8mins-17secs]

video by Dr Chris Tisdell

Two Constraints

Okay, so now you know how to handle one constraint, if you are given two constraints, you just add another lagrange multiplier. We usually use the Greek letter mu, \( \mu \). The equation then looks like \( \nabla f = \lambda \nabla g + \mu \nabla h \) where the function we want to optimize is \(f(x,y,z)\) and the constraint equations are \(g(x,y,z) = 0\) and \(h(x,y,z) = 0\). Here is a video explaining this in more detail, including an example.

Dr Chris Tisdell - Lagrange Multipliers: 2 Constraints [14mins-23secs]

video by Dr Chris Tisdell

Equations That Do Not Use The Gradient

An alternate version of the equations using the Lagrange Method that do not use the gradient is given below. We present equations with three variables and two constraints. As you would expect, you can use the same ideas with two variables (drop \(z\)) and one constraint (drop \( h(x,y,z) \)).

Equations And Set Up

Optimize \(f(x,y,z)\)

Constraints \(g(x,y,z)=0\) and \(h(x,y,z) = 0\)

\( L(x,y,z,\lambda, \mu) = f(x,y,z) - \lambda g(x,y,z) - \mu h(x,y,z) \)

 

Equations To Solve

\( \partial L / \partial x = 0 ~~~ \to ~~~ \partial f / \partial x - \lambda ~ \partial g / \partial x - \mu ~ \partial h / \partial x = 0 \)

\( \partial L / \partial y = 0 ~~~ \to ~~~ \partial f / \partial y - \lambda ~ \partial g / \partial y - \mu ~ \partial h / \partial y = 0 \)

\( \partial L / \partial z = 0 ~~~ \to ~~~ \partial f / \partial z - \lambda ~ \partial g / \partial z - \mu ~ \partial h / \partial z = 0 \)

\( g(x,y,z) = 0 \)

\( h(x,y,z) = 0 \)

5 equations and 5 unknowns

Practice

Unless otherwise instructed, follow these guidelines.
1. Optimize the functions subject to the given constraints.
2. Show whether they are maximums or minimums.
3. If you are not told whether to find maximums or minimums, find all of them.
4. Give all answers in exact form.

Basic

optimize: \( f(x,y) = x^2+y^2 \)

constraint: \( 2x+6y=2000 \)

Problem Statement

1. Optimize the function \( f(x,y) = x^2+y^2 \) subject to the constraint \( 2x+6y=2000 \).
2. Find all of the maximums and minimums and show whether they are maximums or minimums.
3. Give all answers in exact form.

Solution

This solution is in two consecutive videos.

812 video

video by Krista King Math

812 video

video by Krista King Math

close solution

Log in to rate this practice problem and to see it's current rating.

optimize: \( f(x,y) = x^2+y^2 \)

constraint: \( xy=1 \)

Problem Statement

1. Optimize the function \( f(x,y) = x^2+y^2 \) subject to the constraint \( xy=1 \).
2. Find all of the maximums and minimums and show whether they are maximums or minimums.
3. Give your answers in exact form.

Solution

This solution is in two consecutive videos.

813 video

video by Krista King Math

813 video

video by Krista King Math

close solution

Log in to rate this practice problem and to see it's current rating.

Minimize \( C(x,y) = 6x^2 + 12y^2 \) subject to the constraint \( x + y = 90 \).

Problem Statement

Minimize \( C(x,y) = 6x^2 + 12y^2 \) subject to the constraint \( x + y = 90 \).

Solution

816 video

video by PatrickJMT

close solution

Log in to rate this practice problem and to see it's current rating.

optimize: \( f(x,y) = xy \)

constraint: \( x^2 + 2y^2 = 1 \)

Problem Statement

1. Optimize the function \( f(x,y) = xy \) subject to the constraint \( x^2 + 2y^2 = 1 \).
2. Find all of the maximums and minimums and show whether they are maximums or minimums.
3. Give all answers in exact form.

Solution

818 video

video by Dr Chris Tisdell

close solution

Log in to rate this practice problem and to see it's current rating.

Minimize \( f(x,y,z) = x^2 + y^2 + z^2 \) subject to the constraint \( 2x + y - z = 1 \).

Problem Statement

Minimize \( f(x,y,z) = x^2 + y^2 + z^2 \) subject to the constraint \( 2x + y - z = 1 \).

Solution

819 video

video by Dr Chris Tisdell

close solution

Log in to rate this practice problem and to see it's current rating.

Maximize \( f(x,y,z) = x^2+2y-z^2 \) subject to the constraints \( 2x=y \) and \( y+z=0 \).

Problem Statement

Maximize \( f(x,y,z) = x^2+2y-z^2 \) subject to the constraints \( 2x=y \) and \( y+z=0 \).

Solution

820 video

video by Dr Chris Tisdell

close solution

Log in to rate this practice problem and to see it's current rating.

optimize: \( f(x,y) = 3x+4y \)

constraint: \( x^2+y^2 = 1 \)

Problem Statement

1. Optimize the function \( f(x,y) = 3x+4y \) subject to the constraint \( x^2+y^2 = 1 \).
2. Find all of the maximums and minimums and show whether they are maximums or minimums.
3. Give all answers in exact form.

Solution

821 video

video by Dr Chris Tisdell

close solution

Log in to rate this practice problem and to see it's current rating.

Determine the point on the surface of \( xyz = 1 \) that is closest to the origin and satifies \( x > 0 \), \( y > 0 \) and \( z > 0 \).

Problem Statement

Determine the point on the surface of \( xyz = 1 \) that is closest to the origin and satifies \( x > 0 \), \( y > 0 \) and \( z > 0 \).

Solution

822 video

video by Dr Chris Tisdell

close solution

Log in to rate this practice problem and to see it's current rating.

Maximize \( T(x,y) = 6xy \) subject to the constraint \( x^2 + y^2 = 8 \).

Problem Statement

Maximize \( T(x,y) = 6xy \) subject to the constraint \( x^2 + y^2 = 8 \).

Solution

823 video

video by Dr Chris Tisdell

close solution

Log in to rate this practice problem and to see it's current rating.

We have a thin metal plate that occupies the region in the xy-plane \( x^2 + y^2 \leq 25 \). If \( f(x,y) = 4x^2 - 4xy + y^2 \) denotes the temperature (in degrees C) at any point on the plate, determine the highest and lowest temperatures on the edge of the plate.

Problem Statement

We have a thin metal plate that occupies the region in the xy-plane \( x^2 + y^2 \leq 25 \). If \( f(x,y) = 4x^2 - 4xy + y^2 \) denotes the temperature (in degrees C) at any point on the plate, determine the highest and lowest temperatures on the edge of the plate.

Solution

824 video

video by Dr Chris Tisdell

close solution

Log in to rate this practice problem and to see it's current rating.

optimize: \( f(x,y,z) = xyz \)

constraint: \( x^2 + y^2 + z^2 = 3 \)

Problem Statement

1. Optimize the function \( f(x,y,z) = xyz \) subject to the constraint \( x^2 + y^2 + z^2 = 3 \).
2. Find all of the maximums and minimums and show whether they are maximums or minimums.
3. Give all answers in exact form.

Solution

1825 video

video by Krista King Math

close solution

Log in to rate this practice problem and to see it's current rating.

Find the maximum and minimum values of the function \( f(x,y) = e^{xy} \) subject to \( x^3 + y^3 = 16 \).

Problem Statement

Find the maximum and minimum values of the function \( f(x,y) = e^{xy} \) subject to \( x^3 + y^3 = 16 \).

Solution

1924 video

video by MIP4U

close solution

Log in to rate this practice problem and to see it's current rating.

Find the rectangle with maximum perimeter that can inscribed in the ellipse \( x^2 + 4y^2 = 4 \).

Problem Statement

Find the rectangle with maximum perimeter that can inscribed in the ellipse \( x^2 + 4y^2 = 4 \).

Solution

825 video

video by MIT OCW

close solution

Log in to rate this practice problem and to see it's current rating.

Intermediate

optimize: \( f(x,y) = (x-1)^2 + (y-2)^2 - 4 \)

constraint: \( 3x + 5y = 47 \)

Problem Statement

1. Optimize the function \( f(x,y) = (x-1)^2 + (y-2)^2 - 4 \) subject to the constraint \( 3x + 5y = 47 \).
2. Find all of the maximums and minimums and show whether they are maximums or minimums.
3. Give all answers in exact form.

Solution

This solution is in three consecutive videos.

814 video

video by Krista King Math

814 video

video by Krista King Math

814 video

video by Krista King Math

close solution

Log in to rate this practice problem and to see it's current rating.

optimize: \( f(x,y,z) = x^2+y^2+z^2 \)

constraints: \( x+y+z = 1 \) and \( x+2y+3z = 6 \)

Problem Statement

1. Optimize the function \( f(x,y,z) = x^2+y^2+z^2 \) subject to the constraints \( x+y+z = 1 \) and \( x+2y+3z = 6 \).
2. Find all of the maximums and minimums and show whether they are maximums or minimums.
3. Give all answers in exact form.

Solution

815 video

video by Krista King Math

close solution

Log in to rate this practice problem and to see it's current rating.

optimize: \( f(x,y,z) = 3x-y-3z \)

constraints: \( x+y-z=0 \) and \( x^2+2z^2 = 1 \)

Problem Statement

1. Optimize the function \( f(x,y,z) = 3x-y-3z \) subject to the constraints \( x+y-z=0 \) and \( x^2+2z^2 = 1 \).
2. Find all of the maximums and minimums and show whether they are maximums or minimums.
3. Give all answers in exact form.

Solution

This solution is presented in two consecutive videos.

817 video

video by PatrickJMT

817 video

video by PatrickJMT

close solution

Log in to rate this practice problem and to see it's current rating.

optimize: \( f(x,y,z) = x^2+x+2y^2+3z^2 \)

constraint: \( x^2+y^2+z^2 = 1 \)

Problem Statement

1. Optimize the function \( f(x,y,z) = x^2+x+2y^2+3z^2 \) subject to the constraint \( x^2+y^2+z^2 = 1 \).
2. Find all of the maximums and minimums and show whether they are maximums or minimums.
3. Give all answers in exact form.

Solution

826 video

video by MIT OCW

close solution

Log in to rate this practice problem and to see it's current rating.

lagrange multipliers 17calculus youtube playlist

Here is a playlist of the videos on this page.

You CAN Ace Calculus

Topics You Need To Understand For This Page

Trig Formulas

The Unit Circle

The Unit Circle [wikipedia]

Basic Trig Identities

Set 1 - basic identities

\(\displaystyle{ \tan(t) = \frac{\sin(t)}{\cos(t)} }\)

\(\displaystyle{ \cot(t) = \frac{\cos(t)}{\sin(t)} }\)

\(\displaystyle{ \sec(t) = \frac{1}{\cos(t)} }\)

\(\displaystyle{ \csc(t) = \frac{1}{\sin(t)} }\)

Set 2 - squared identities

\( \sin^2t + \cos^2t = 1\)

\( 1 + \tan^2t = \sec^2t\)

\( 1 + \cot^2t = \csc^2t\)

Set 3 - double-angle formulas

\( \sin(2t) = 2\sin(t)\cos(t)\)

\(\displaystyle{ \cos(2t) = \cos^2(t) - \sin^2(t) }\)

Set 4 - half-angle formulas

\(\displaystyle{ \sin^2(t) = \frac{1-\cos(2t)}{2} }\)

\(\displaystyle{ \cos^2(t) = \frac{1+\cos(2t)}{2} }\)

Trig Derivatives

\(\displaystyle{ \frac{d[\sin(t)]}{dt} = \cos(t) }\)

 

\(\displaystyle{ \frac{d[\cos(t)]}{dt} = -\sin(t) }\)

\(\displaystyle{ \frac{d[\tan(t)]}{dt} = \sec^2(t) }\)

 

\(\displaystyle{ \frac{d[\cot(t)]}{dt} = -\csc^2(t) }\)

\(\displaystyle{ \frac{d[\sec(t)]}{dt} = \sec(t)\tan(t) }\)

 

\(\displaystyle{ \frac{d[\csc(t)]}{dt} = -\csc(t)\cot(t) }\)

Inverse Trig Derivatives

\(\displaystyle{ \frac{d[\arcsin(t)]}{dt} = \frac{1}{\sqrt{1-t^2}} }\)

 

\(\displaystyle{ \frac{d[\arccos(t)]}{dt} = -\frac{1}{\sqrt{1-t^2}} }\)

\(\displaystyle{ \frac{d[\arctan(t)]}{dt} = \frac{1}{1+t^2} }\)

 

\(\displaystyle{ \frac{d[\arccot(t)]}{dt} = -\frac{1}{1+t^2} }\)

\(\displaystyle{ \frac{d[\arcsec(t)]}{dt} = \frac{1}{\abs{t}\sqrt{t^2 -1}} }\)

 

\(\displaystyle{ \frac{d[\arccsc(t)]}{dt} = -\frac{1}{\abs{t}\sqrt{t^2 -1}} }\)

Trig Integrals

\(\int{\sin(x)~dx} = -\cos(x)+C\)

 

\(\int{\cos(x)~dx} = \sin(x)+C\)

\(\int{\tan(x)~dx} = -\ln\abs{\cos(x)}+C\)

 

\(\int{\cot(x)~dx} = \ln\abs{\sin(x)}+C\)

\(\int{\sec(x)~dx} = \) \( \ln\abs{\sec(x)+\tan(x)}+C\)

 

\(\int{\csc(x)~dx} = \) \( -\ln\abs{\csc(x)+\cot(x)}+C\)

To bookmark this page and practice problems, log in to your account or set up a free account.

Topics Listed Alphabetically

Single Variable Calculus

Multi-Variable Calculus

Differential Equations

Precalculus

Engineering

Circuits

Semiconductors

Search Practice Problems

Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem.

free ideas to save on bags & supplies

The 17Calculus and 17Precalculus iOS and Android apps are no longer available for download. If you are still using a previously downloaded app, your app will be available until the end of 2020, after which the information may no longer be available. However, do not despair. All the information (and more) is now available on 17calculus.com for free.

Basic Technique

Two Constraints

Equations That Do Not Use The Gradient

Practice

Shop eBags.com, the leading online retailer of luggage, handbags, backpacks, accessories, and more!

Prime Student 6-month Trial

Math Word Problems Demystified

Shop eBags.com, the leading online retailer of luggage, handbags, backpacks, accessories, and more!

Shop Amazon - Rent Textbooks - Save up to 80%

Practice Instructions

Unless otherwise instructed, follow these guidelines.
1. Optimize the functions subject to the given constraints.
2. Show whether they are maximums or minimums.
3. If you are not told whether to find maximums or minimums, find all of them.
4. Give all answers in exact form.

Do NOT follow this link or you will be banned from the site!

When using the material on this site, check with your instructor to see what they require. Their requirements come first, so make sure your notation and work follow their specifications.

DISCLAIMER - 17Calculus owners and contributors are not responsible for how the material, videos, practice problems, exams, links or anything on this site are used or how they affect the grades or projects of any individual or organization. We have worked, to the best of our ability, to ensure accurate and correct information on each page and solutions to practice problems and exams. However, we do not guarantee 100% accuracy. It is each individual's responsibility to verify correctness and to determine what different instructors and organizations expect. How each person chooses to use the material on this site is up to that person as well as the responsibility for how it impacts grades, projects and understanding of calculus, math or any other subject. In short, use this site wisely by questioning and verifying everything. If you see something that is incorrect, contact us right away so that we can correct it.

Links and banners on this page are affiliate links. We carefully choose only the affiliates that we think will help you learn. Clicking on them and making purchases help you support 17Calculus at no extra charge to you. However, only you can decide what will actually help you learn. So think carefully about what you need and purchase only what you think will help you.

We use cookies on this site to enhance your learning experience.

17calculus

Copyright © 2010-2020 17Calculus, All Rights Reserved     [Privacy Policy]     [Support]     [About]

mathjax.org
Real Time Web Analytics
17Calculus
We use cookies to ensure that we give you the best experience on our website. By using this site, you agree to our Website Privacy Policy.