Linear Programming - Explore 1
Linear Programming - Explore 1
A cti v ity
Simple Linear
Programming Problem
A bakery makes two types of cookies:
chocolate chip and oatmeal. Each
chocolate chip cookie requires 2 units of
flour and 1 unit of sugar, while each
oatmeal cookie requires 1 unit of flour and
2 units of sugar. The bakery has 10 units of
flour and 8 units of sugar available each
day. The profit for a chocolate chip cookie
is $3, and for an oatmeal cookie, it’s $4.
Objective: Maximize the bakery's profit.
Constraints:
1. 2x + y ≤ 10 (Flour constraint)
2. x + 2y ≤ 8 (Sugar constraint)
3. x ≥ 0, y ≥ 0 (Non-negative quantities)
Where:
x = number of chocolate chip cookies
y = number of oatmeal cookies
Tasks:
a. Flour: 2x + y ≤ 10
b. Sugar: x + 2y ≤ 8
c. Non-negativity: x ≥ 0, y ≥ 0 (You can’t
make a negative number of cookies).
Step 4: Graph the Constraints
1. Plot each constraint as a line:
For 2x + y = 10, find the intercepts (x = 0,
y = 10) and (x = 5, y = 0).
For x + 2y = 8, find the intercepts (x = 0, y
= 4) and (x = 8, y = 0).
Graph these lines on a coordinate plane.
2. Shade the feasible region: The area where the
inequalities overlap represents the set of
possible solutions.
Step 5: Find the Corner Points