Algebra 1 · Study guide

Linear Programming

Algebra 1 · Chapter 6 · Guide 8Decision permit
Vertex Market

Linear Programming

Constraints mark what is possible. An objective measures what matters. The best allowed choice waits at a corner of the feasible region.

01

Three pieces make one decision

Names, limits, and a score—keep their jobs separate.

Decision anatomy

Linear programming is a system of inequalities with a goal

Decision variables

State both meaning and units: “Let \(x\) be shirts and \(y\) be hats.”

Objective function

A linear expression such as \(P=8x+5y\) measures profit, cost, time, or another quantity to maximize or minimize.

Do not mix the jobs. A constraint decides whether a point is allowed. The objective gives that allowed point a score.
02

Constraints carve out the feasible region

Every inequality removes choices. The overlap keeps only points satisfying all limits.

Graph each boundary, choose the correct half-plane, and keep the common overlap. Include nonnegative constraints when the variables count objects:

\[x\ge0,\qquad y\ge0\]
Boundary style still matters. A solid line belongs to \(\le\) or \(\ge\); a dashed line belongs to \(<\) or \(>\). Most production-count constraints use inclusive boundaries.
03

The full route

Build the region before searching for the best point.

Set up

Translate the situation

  1. Define \(x\) and \(y\) with units.
  2. Write every constraint, including nonnegativity.
  3. Name the objective and whether to maximize or minimize it.
Solve

Inspect the corners

  1. Graph all constraints and identify the overlap.
  2. Find every vertex exactly.
  3. Evaluate the objective at every vertex.
  4. Interpret the winning point in context.
04

Why corners matter

A linear objective has parallel level lines. Slide one toward better values.

For a bounded polygonal feasible region, a maximum or minimum linear objective occurs at a vertex. If an entire edge ties, both endpoints of that edge are also optimal.

Vertex method: once the feasible region is correct, you do not need to test every one of its infinitely many points. Compare the finite list of corners.
05

Worked market: shirts and hats

Move from a story to constraints, corners, and a decision.

Maximize profit

A club earns \$8 per shirt and \$5 per hat. It can make at most 40 items and must make at least 10 shirts.

Variables + constraints

\[x=\text{shirts},\quad y=\text{hats}\]
\[x+y\le40,\quad x\ge10,\quad x,y\ge0\]

Objective

\[P=8x+5y\]

The task is to maximize \(P\) over the feasible region—not over every point in the plane.

06

Evaluate every vertex

The graph supplies candidates. The objective chooses among them.

VertexProfit calculationProfit
\((10,0)\)\(8(10)+5(0)\)\$80
\((10,30)\)\(8(10)+5(30)\)\$230
\((40,0)\)\(8(40)+5(0)\)\$320
Interpret, do not stop at a coordinate. The club should make 40 shirts and 0 hats for a maximum profit of \$320 under these constraints.
07

Context can restrict the grid

A mathematical region may contain decimals even when the story requires whole objects.

If \(x\) and \(y\) count shirts, buses, or people, feasible solutions usually need whole-number coordinates. A fractional vertex may require comparing nearby feasible lattice points.

Do not round blindly. Rounding a vertex can cross a constraint boundary. Substitute any proposed integer point back into every inequality.
08

Bounded or unbounded?

A region that continues forever may still have one optimum, both, or neither.

Bounded region

There are finitely many vertices and both a maximum and minimum exist for a linear objective.

Unbounded region

Check the objective's improving direction. If values can keep improving forever, that optimum does not exist.

“Unbounded” does not automatically mean “no answer.” An upward-opening feasible region may have a minimum at its lowest corner even though it has no maximum for the same objective.
09

Market inspection

Four mistakes can invalidate an otherwise tidy calculation.

Check A

Outside point

Never evaluate a tempting point until it passes every constraint.

Check B

Missing vertex

List all corners, including intersections between two non-axis boundaries.

Check C

Wrong objective

Profit, cost, and constraints are separate equations with separate meanings.

Check D

Uninterpreted coordinate

State the quantities, units, best value, and whether the choice makes sense.

10

Final permit: school-store launch

Build the plan, compare the corners, and issue the decision.

The school store sells sticker packs for a \$3 profit and enamel pins for a \$5 profit. It can prepare at most 60 items. Sticker packs take 2 minutes each, pins take 4 minutes each, and 180 minutes are available.

\[x+y\le60,\qquad 2x+4y\le180,\qquad x,y\ge0\]
\[P=3x+5y\quad\text{(maximize)}\]
Open the vertex ledger

The vertices are \((0,0)\), \((60,0)\), \((30,30)\), and \((0,45)\). Their objective values are \$0, \$180, \$240, and \$225.

Issue the final decision

The store should make \(\boxed{30}\) sticker packs and \(\boxed{30}\) pins. This uses all 60 item slots and all 180 minutes, producing the maximum profit \(\boxed{\$240}\).