Linear Programming
Linear Programming
- Linear Programming involves minimizing and maximizing quantities using Linear Equations and/or
Inequations (also called Inequalities)
- We can use Linear Programming in daily life e.g in business we always want to maximize profit and
minimize labour.
- A Linear equation is a statement of equality between two quantities e.g x = 9, means the value of x is 9
- A Linear Inequation (or Inequality) is a statement of inequality between two quantities e.g x ˃ −3
means x represents any integer greater than −3
- The set of values representing x is called the Solution Set because x can be any of the numbers
Muyaya 2024
vi) −𝟏 ≤ 𝟐 − 𝒙 < 𝟕
v) −𝟏𝟔 − 𝟓𝒙 < −𝟐𝒙 + 𝟐 ≤ −𝟑𝒙 + 𝟕
- A Linear Equation in two variables (otherwise called Simultaneous Equation) comes in the form of the
function
𝒚 = 𝒂𝒙 + 𝒃, where 𝒂 (the gradient) and 𝒃 (the y-intercept) are constants or integers.
- Two Linear Equations are needed to solve for the two variables 𝑥 and 𝑦 above using Elimination,
Substitution, Matrix, and Graphical methods but here we focus on the Graphical Method.
- The solution is the point where two lines intersect
e.g Given 𝒚 = −𝒙 + 𝟑 and 𝟐 𝒚 − 𝒙 = −𝟐,
plot the two lines on the Cartesian Plane and determine the solution of the two lines above.
Exercise: Illustrate the solution set of the following inequalities on the Cartesian Plane
a) 𝒚 = 𝒙 + 𝟒 and 𝒙 + 𝒚 = 𝟒
b) 𝟐𝒙 + 𝒚 = −𝟐 and 𝒙 + 𝟒𝒚 = 𝟖
c) 𝒙 + 𝒚 = 𝟓 and 𝟑𝒙 + 𝟐𝒚 = 𝟔
Example: Illustrate the solution set of the following inequalities on the Cartesian Plane
Exercise: illustrate the solution set of the inequalities below and clearly label the feasible region;
𝒙 + 𝟓𝒚 ≤ 𝟐𝟎, 𝒙 ≥ 𝟎, 𝟐𝒙 − 𝟑𝒚 ≤ 𝟏𝟐
and find the minimum and maximum points/values.
Muyaya 2024