Algebra

Objective Function

A student compares combinations of craft products next to a small goal flag.

Objective Function definition

An objective function gives the quantity an optimization problem tries to maximize or minimize.

In Spanish
función objetivo
Topic
Optimization and constraints

Objective Function in a picture

Objective Function diagramThe objective 4x + 7y has value $22 at x = 2 and y = 2.Decision variables: x and yChoose the quantity of each itemObjective: 4x + 7yAdd the two profit contributionsAt (2, 2), the value is 22Substitute the chosen quantities
The objective 4x + 7y has value $22 at x = 2 and y = 2.

How it works

Write it in terms of the decision variables. For example, if one item earns $4 profit and another earns $7, the profit objective is 4x + 7y. Constraints limit which inputs may be used. The best allowed input gives the optimal objective value.

Worked examples

Write a cost objective when tickets cost $6 and $9 for the two groups.

If x and y are the numbers of tickets, total cost is 6x + 9y.

Evaluate 2x + 5y at (3, 2).

The value is 2(3) + 5(2) = 16.

What is the difference between the optimal input and the optimal value?

The input gives the chosen decision variables. The value is the objective evaluated at that choice.

Common mistake

Check whether the problem asks to maximize or minimize the objective. A feasible point can have a worse objective value than another feasible point.

Quick check

What does the objective function describe?

Can a constraint and an objective use the same variables?

Show answer

Yes.

Is a profit objective usually maximized or minimized?

Show answer

Maximized, when the stated goal is the greatest profit.

Sources

Flashcard

Objective Function

Reveal the definition

An objective function gives the quantity an optimization problem tries to maximize or minimize.

Effortless Math. “Objective Function.” Math Dictionary.