GE7-Linear-Programming
GE7-Linear-Programming
𝟓
𝒙 − 𝒊𝒏𝒕𝒆𝒓𝒄𝒆𝒑𝒕: ( , 𝟎)
𝟐
Solution:
Find the y-intercept, let x = 0 and solve for y.
𝑦 = 2𝑥 − 5
𝒚 = 2(𝟎) − 5
𝒚 = −𝟓
𝒚 − 𝒊𝒏𝒕𝒆𝒓𝒄𝒆𝒑𝒕: (𝟎 , −𝟓)
x-intercept,
𝟓
( , 𝟎)
𝟐
y-intercept,
(0, -5)
SLOPE-INTERCEPT FORM of the Equation of a Line
The graph of the equation
𝒚 = 𝒎𝒙 + 𝒃 is a line whose slope is 𝒎 and whose 𝒚 − 𝒊𝒏𝒕𝒆𝒓𝒄𝒆𝒑𝒕 is
(𝟎, 𝒃)
Use the slope and 𝒚 − 𝒊𝒏𝒕𝒆𝒓𝒄𝒆𝒑𝒕 to sketch the graph of
𝒙 − 𝟑𝒚 = −𝟔
Use the slope and 𝒚 − 𝒊𝒏𝒕𝒆𝒓𝒄𝒆𝒑𝒕 to sketch the graph of
𝒙 − 𝟑𝒚 = −𝟔
Solution:
𝒚 = 𝒎𝒙 + 𝒃 slope-intercept formula
𝒙 − 𝟑𝒚 = −𝟔
−3𝑦 = −𝑥 − 6
−𝑥−6
𝑦=
−3
𝑥+6
𝑦=
3
𝒙
𝒚 = +𝟐
𝟑
𝟏
𝒚= 𝒙 +𝟐
𝟑
𝟏
𝒎= 𝒚 − 𝒊𝒏𝒕𝒆𝒓𝒄𝒆𝒑𝒕, (𝟎, 𝟐)
𝟑
Sketch the graph of the equation. Plot the y-intercept (0, 2). Then use a slope of
𝟏 𝒄𝒉𝒂𝒏𝒈𝒆 𝒊𝒏 𝒚
𝒎= =
𝟑 𝒄𝒉𝒂𝒏𝒈𝒆 𝒊𝒏 𝒙
𝟓𝒙 + 𝟑𝒚 = 𝟏𝟖 Equation 1
2𝒙 − 𝟕𝒚 = −𝟏 Equation 2
SOLUTION
1. Solve one of the equations for a single variable in terms of another.
𝟓𝒙 + 𝟑𝒚 = 𝟏𝟖 Equation 1
𝟓𝒙 = −𝟑𝒚 + 𝟏𝟖
𝟓𝒙 −𝟑𝒚+𝟏𝟖
=
𝟓 𝟓
−𝟑𝒚 𝟏𝟖
𝒙= +
𝟓 𝟓
−𝟑 𝟏𝟖
𝒙= 𝒚 +
𝟓 𝟓
2. To obtain an equation with one variable, substitute the expression
obtained in Step 1 into the other equation.
−𝟑 𝟏𝟖
𝒙= 𝒚 + from Step 1
𝟓 𝟓
2𝒙 − 𝟕𝒚 = −𝟏 Equation 2
−𝟑 𝟏𝟖
2( 𝒚 + ) − 𝟕𝒚 = −𝟏
𝟓 𝟓
−𝟔 𝟑𝟔
( 𝒚 + − 𝟕𝒚 = −𝟏) 5
𝟓 𝟓
−𝟔𝒚 + 𝟑𝟔 − 𝟑𝟓𝒚 = −𝟓
−𝟔𝒚 − 𝟑𝟓𝒚 = −𝟓 − 𝟑𝟔
−𝟒𝟏𝒚 = −𝟒𝟏
𝒚=𝟏 3. Solve the equation from Step 2.
4. To calculate the value of the other variable, back-substitute the solution
from Step 3 into the expression from Step 1.
−𝟑 𝟏𝟖
𝒙= 𝒚 + 𝒇𝒓𝒐𝒎 𝑺𝒕𝒆𝒑 𝟏
𝟓 𝟓
𝒙=𝟑
5. Check the answer to make sure it satisfies both of the original equations.
𝒙=𝟑 𝒚=𝟏
𝟓𝒙 + 𝟑𝒚 = 𝟏𝟖 Equation 1
𝟓(𝟑) + 𝟑(𝟏) = 𝟏𝟖
𝟏𝟓 + 𝟑 = 𝟏𝟖
𝟏𝟖 = 𝟏𝟖
2𝒙 − 𝟕𝒚 = −𝟏 Equation 2
2(3) −𝟕(𝟏) = −𝟏
6 −𝟕 = −𝟏
−𝟏 = −𝟏
Systems of Linear Equations in Two Variables
Elimination Method
1. Multiply all terms of one or both equations by suitable constants to get
the opposite coefficients of x (or y).
2. Combine the equations to eliminate one variable, and calculate the
resulting equation.
3. Back-substitute the value from Step 2 into one of the original equations
and solve for the other variable.
4. Check the answer to make sure it satisfies both of the original
equations.
Use the method of elimination to solve the system of Linear Equations
𝟓𝒙 + 𝟑𝒚 = 𝟏𝟖 Equation 1
2𝒙 − 𝟕𝒚 = −𝟏 Equation 2
SOLUTION
𝟓𝒙 + 𝟑𝒚 = 𝟏𝟖 Equation 1 2𝒙 − 𝟕𝒚 = −𝟏 Equation 2
𝟓(𝟑) + 𝟑𝒚 = 𝟏𝟖 2 𝟑 − 𝟕𝒚 = −𝟏
𝟏𝟓 + 𝟑𝒚 = 𝟏𝟖 6 −𝟕𝒚 = −𝟏
𝟑𝒚 = 𝟏𝟖 − 𝟏𝟓 −𝟕𝒚 = −𝟏 − 𝟔
𝟑𝒚 = 𝟑 -7𝒚 = −𝟕
𝒚=𝟏 𝒚=𝟏
4. Check the answer to make sure it satisfies both of the original equations.
𝒙=𝟑 𝒚=𝟏
𝟓𝒙 + 𝟑𝒚 = 𝟏𝟖 Equation 1
𝟓(𝟑) + 𝟑(𝟏) = 𝟏𝟖
𝟏𝟓 + 𝟑 = 𝟏𝟖
18 = 𝟏𝟖
2𝒙 − 𝟕𝒚 = −𝟏 Equation 2
2 𝟑 − 𝟕(𝟏) = −𝟏
6 −𝟕 = −𝟏
−𝟏 = −𝟏
Systems of Linear Equations in Two Variables
CRAMER’s RULE
Given a pair of simultaneous equations:
𝑎1 𝑥 + 𝑏1 𝑦 = 𝑑1
𝑎2 𝑥 + 𝑏2 𝑦 = 𝑑2
Then, 𝑥 and 𝑦 can be:
𝑑1 𝑏1 𝑎1 𝑑1
𝑑2 𝑏2 𝑎2 𝑑2
𝒙= 𝒚=
𝑎1 𝑏1 𝑎1 𝑏1
𝑎2 𝑏2 𝑎2 𝑏2
Use Cramer’s method to solve the system of Linear Equations
𝟓𝒙 + 𝟑𝒚 = 𝟏𝟖 Equation 1
2𝒙 − 𝟕𝒚 = −𝟏 Equation 2
SOLUTION
𝟓𝒙 + 𝟑𝒚 = 𝟏𝟖 Equation 1
2𝒙 − 𝟕𝒚 = −𝟏 Equation 2
𝑑1 𝑏1 18 3 𝒙 = (−1) (3) − 𝟏𝟖 −𝟕
𝑑2 𝑏2 −1 −7 𝟐 𝟑 - (5) (-7)
𝒙= 𝒙=
5 3 𝒙 = −𝟑 + 𝟏𝟐𝟔
𝑎1 𝑏1
𝟔 + 35
𝑎2 𝑏2 2 −7
𝒙 = 𝟏𝟐3
𝟒𝟏
𝒙=𝟑
SOLUTION
𝟓𝒙 + 𝟑𝒚 = 𝟏𝟖 Equation 1
2𝒙 − 𝟕𝒚 = −𝟏 Equation 2
𝒚 = (2) (18) − 𝟓 −𝟏
𝑎1 𝑑1 5 18 𝟐 𝟑 - (5) (-7)
𝑎2 𝑑2 2 −1 𝒚 = 𝟑𝟔 + 𝟓
𝒚= 𝒚=
𝟔 + 35
𝑎1 𝑏1 5 3
𝑎2 𝑏2 2 −7 𝒚 = 𝟒𝟏
𝟒𝟏
𝒚=𝟏
𝒙=𝟑 𝒚=𝟏
𝟓𝒙 + 𝟑𝒚 = 𝟏𝟖 Equation 1 2𝒙 − 𝟕𝒚 = −𝟏 Equation 2
𝒙=𝟑 𝒚=𝟏