Fiveable

MAC2233 (6) - Calculus for Management Unit 6 Review

QR code for MAC2233 (6) - Calculus for Management practice questions

6.2 Optimization problems

6.2 Optimization problems

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025

Optimization problems are all about finding the best solution within given limits. In this section, we'll learn how to set up and solve these problems using multiple variables, which is super useful in real-world situations like business and economics.

We'll cover techniques like Lagrange multipliers and the second partial derivative test. These tools help us find and classify critical points, which are key to determining the optimal solution in complex scenarios with multiple factors at play.

Optimization with Multiple Variables

Setting Up Optimization Problems

  • Optimization problems involving functions of several variables seek to find the maximum or minimum value of a function subject to certain constraints or conditions
  • The objective function is the function that needs to be maximized or minimized, and it depends on two or more independent variables
  • Constraints are equations or inequalities that limit the values of the independent variables, often representing physical, economic, or other real-world limitations
  • To set up an optimization problem:
    1. Clearly define the objective function
    2. Identify the independent variables
    3. State any relevant constraints

Solving Constrained Optimization Problems

  • The method of Lagrange multipliers is a technique for solving optimization problems with equality constraints
  • Introduce a new variable, called the Lagrange multiplier, for each constraint equation
  • Construct the Lagrangian function by adding the product of each constraint equation and its corresponding Lagrange multiplier to the objective function
  • Set the partial derivatives of the Lagrangian function with respect to each independent variable and each Lagrange multiplier equal to zero
  • Solve the resulting system of equations to find the critical points that satisfy the constraints
  • Evaluate the objective function at the critical points to determine the maximum or minimum value, subject to the given constraints

Finding Critical Points

Setting Up Optimization Problems, Determine a quadratic function’s minimum or maximum value | Precalculus I

Calculating Partial Derivatives

  • Critical points of a function of several variables are points where the function's rate of change is zero in all directions or where at least one of the partial derivatives does not exist
  • To find critical points, calculate the partial derivatives of the function with respect to each independent variable
  • Set each partial derivative equal to zero and solve the resulting system of equations to determine the critical points
  • Check the points where the partial derivatives do not exist, as these may also be critical points

Solving Systems of Equations

  • After setting each partial derivative equal to zero, you will have a system of equations to solve
  • The number of equations in the system will be equal to the number of independent variables in the objective function
  • Solve the system of equations using various methods such as:
    • Substitution
    • Elimination
    • Matrix operations (Cramer's rule, inverse matrix method)
  • The solutions to the system of equations represent the critical points of the objective function

Classifying Critical Points

Setting Up Optimization Problems, Use a graph to locate the absolute maximum and absolute minimum | MATH 1314: College Algebra

Types of Critical Points

  • Local maxima are critical points where the function value is greater than the function values at nearby points in all directions
  • Local minima are critical points where the function value is less than the function values at nearby points in all directions
  • Saddle points are critical points that are neither local maxima nor local minima, and the function value increases in some directions and decreases in others

Second Partial Derivative Test

  • To classify critical points, use the second partial derivative test or analyze the behavior of the function near the critical point
  • The second partial derivative test involves:
    1. Calculating the second partial derivatives (fxx,fxy,fyx,fyyf_{xx}, f_{xy}, f_{yx}, f_{yy}) at the critical point
    2. Evaluating the determinant of the Hessian matrix (D=fxxfyyfxyfyxD = f_{xx}f_{yy} - f_{xy}f_{yx}) at the critical point
  • If D>0D > 0 and fxx<0f_{xx} < 0, the critical point is a local maximum
  • If D>0D > 0 and fxx>0f_{xx} > 0, the critical point is a local minimum
  • If D<0D < 0, the critical point is a saddle point
  • If D=0D = 0, the test is inconclusive, and further analysis is needed

Constrained Optimization with Lagrange Multipliers

Equality Constraints

  • Lagrange multipliers are used to solve optimization problems with equality constraints
  • Each equality constraint is represented by an equation of the form g(x,y)=cg(x, y) = c, where cc is a constant
  • The number of Lagrange multipliers needed is equal to the number of equality constraints

Constructing the Lagrangian Function

  • The Lagrangian function is constructed by adding the product of each constraint equation and its corresponding Lagrange multiplier to the objective function
  • For a problem with objective function f(x,y)f(x, y) and constraint g(x,y)=cg(x, y) = c, the Lagrangian function is:
    • L(x,y,λ)=f(x,y)+λ(g(x,y)c)L(x, y, \lambda) = f(x, y) + \lambda(g(x, y) - c), where λ\lambda is the Lagrange multiplier
  • Set the partial derivatives of the Lagrangian function with respect to xx, yy, and λ\lambda equal to zero:
    • Lx=0\frac{\partial L}{\partial x} = 0
    • Ly=0\frac{\partial L}{\partial y} = 0
    • Lλ=0\frac{\partial L}{\partial \lambda} = 0
  • Solve the resulting system of equations to find the critical points that satisfy the constraints
Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly → and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →