Graphing Linear Equations in Two Variables: Learner's Module in Mathematics 8 Quarter 1 Module 6
Graphing Linear Equations in Two Variables: Learner's Module in Mathematics 8 Quarter 1 Module 6
8
Graphing Linear Equations
in Two Variables
Learner’s Module in Mathematics 8
Quarter 1 Module 6
Note
This module will serve as your personal copy. You will write your FINAL
ANSWERS on the ANSWER SHEET attached with this module. You will only
submit the answer sheet. However, I suggest that you still write your answers on
the spaces provided for your answers, so you can check your answers once you
receive the answer key. You may also use the margins for your solutions /
computations.
Pre-assessment
This test will just determine how much you already know about the lessons. I
suggest that you just answer what you know and don’t worry about your score. It
is very important that you answer the test before you proceed to the next part of this
module. DO NOT attempt to answer any unanswered items nor change your answers
in this test after you have learned about the lessons in this module. Please be honest.
DIRECTION: Read and understand each item, then choose the letter of the correct
answer and write it on your answer sheet.
x
x x x
A. B. C. D.
1
1
4. Why is 𝑥 − 𝑦 = 6 NOT a linear equation in two variables?
A. There is a variable in the denominator.
B. There are more than two variables.
C. One term involves the product of 𝑥 and 𝑦.
D. The equation is in the form 𝐴𝑥 + 𝐵𝑦 = 𝐶.
5. Which of the following ordered pairs satisfies the equation 5𝑥 + 4𝑦 = 20?
A. (2, 6) B. (4, 1) C. (0, 5) D. (−2, 10)
6. If a linear equation follows the pattern 𝑦 = 𝑚𝑥 + 𝑏, then it is written in the ____ form.
A. standard B. general C. slope-intercept D. intercept
7. What does 𝑏 denote in the equation 𝑦 = 𝑚𝑥 + 𝑏?
A. 𝑥-intercept B. slope C. numerical coefficient D. 𝑦-intercept
8. It is a point on a line that lies on the 𝑦-axis.
A. 𝑥-intercept B. 𝑦-intercept C. 𝑥-coordinate D. 𝑦-coordinate
9. What is the slope-intercept form of the linear equation 2𝑥 + 5𝑦 = 10?
2 2
A. 𝑦 = − 5 𝑥 + 2 C. 𝑦 = 5 𝑥 + 2
2 2
B. 𝑦 = − 5 𝑥 + 10 D. 𝑦 = 5 𝑥 + 10
12. According to the 𝑥-intercept, after how many years will the computer become
valueless in the market?
A. 2 B. 4 C. 6 D. 8
13. Which point on the graph shows the market value of the computer a year after its
launching?
A. I B. A C. R D. C
14. What point on the graph tells the cost of the computer after three years?
A. R B. C C. A D. E
15. What is the rate of change of the cost of the computer per year?
A. ₱5,000 B. ₱10,000 C. ₱15,000 D. ₱20,000
2
Introduction
In the previous lesson, you were presented with what a linear equation in two
variables is and have written linear equations in the form 𝐴𝑥 + 𝐵𝑦 = 𝐶. In the next set
of lessons, we are going to write linear equations in the form 𝑦 = 𝑚𝑥 + 𝑏 and find out
how to sketch their graphs in the Cartesian Plane.
Let’s find out if you can still remember what linear equations in two variables
are through the activity that follows.
Direction: In each situation, encircle the given equation if it is a linear equation in two
variables and underline the equation if it is not. After which, answer the question that
follows.
1. The salary (𝑠) received by a salesperson this pandemic is ₱900 for reporting
three times per week plus a 5% commission on all sales (𝑥) is modeled by the
equation 𝑠 = 900 + 0.05𝑥.
2. A person who jogs slowly can expect to expend 300 calories per hour. The
number of calories (𝐶) expended after (𝑡) hours is given by the model 𝐶 = 300𝑡.
3. The product of the ages of Alberto (𝑥) and Fidel (𝑦) is 35 and can be expressed
as 𝑥𝑦 = 35.
4. The square of a number 𝑥 added to four times the number 𝑦 is equal to 8 can be
expressed as 𝑥 2 + 4𝑦 = 8.
5. The weekly savings (𝑠) of Rodrigo as a student this pandemic depends on his
allowance (𝑎). If he saves 5% of his allowance every week, then it can be
expressed as 𝑠 = 0.05 𝑎.
5. 𝑠 = .05 𝑎
4. 𝑥 2 + 4𝑦 = 8
The equations 𝑠 = 900 + 0.05𝑥, 𝐶 = 300𝑡, and 𝑠 = .05 𝑎 involve two unknown
quantities, hence use two different variables. Also, the degree of these equations is 1.
The following equations have two variables but are NOT linear equations.
3
Lesson Writing Linear Equations in Two
1 Variables in the Form 𝒚 = 𝒎𝒙 + 𝒃
Aside from the form 𝐴𝑥 + 𝐵𝑦 = 𝐶, a linear equation in two variables can also
be written in slope-intercept form also known as the 𝑦-form.
Example 2. 3𝑥 − 2𝑦 = 10
3𝑥 − 2𝑦 = 10 Given
3𝑥 − 2𝑦 + (−3𝑥) = 10 + (−3𝑥) (APE) Add −3𝑥 to both sides to retain the
−2𝑦 = −3𝑥 + 10 term with the variable 𝑦 on one side.
1 1 1
− 2 (−2𝑦) = − 2 (−3𝑥 + 10) Multiply − 2 or simply divide both sides by −2
−2𝑦 −3𝑥+10
or = to make the coefficient of 𝑦 equal to 1.
−2 −2
𝟑
𝒚 = 𝟐𝒙 − 𝟓 Simplify.
3
𝑚 = and 𝑏 = −5
2
Example 3. 3(𝑥 − 5) = 4𝑦 + 2𝑥
3(𝑥 − 5) = 4𝑦 + 2𝑥 Given
3𝑥 − 15 = 4𝑦 + 2𝑥 Multiply first to remove the parenthesis.
3𝑥 + (−2𝑥) − 15 = 4𝑦 + 2𝑥 + (−2𝑥) (APE) Add −2𝑥 to both sides to retain the
𝑥 − 15 = 4𝑦 term with the variable 𝑦 on one side.
𝑥 15 4𝑦
− 4 = 4 Divide both sides by 4 to make the
4
coefficient of 𝑦 equal to 1.
1 15
𝑥− =𝑦 Simplify.
4 4
𝟏 𝟏𝟓
𝒚= 𝒙− Rearrange so that the equation will be in the
𝟒 𝟒
form 𝑦 = 𝑚𝑥 + 𝑏.
1 15
𝑚 = and 𝑏 =
4 4
4
Example 4. 12𝑥 − 6𝑦 + 4 = 0
12𝑥 − 6𝑦 + 4 = 0 Given
12𝑥 − 6𝑦 + 4 + (−12𝑥) + (−4) = 0 + (−12𝑥) + (−4) Add −12𝑥 and −4 to both sides of
the equation to retain the term
−6𝑦 = −12𝑥 − 4 with the variable 𝑦 on one side.
−6𝑦 −12𝑥 −4
= + −6 Divide both sides by −6.
−6 −6
𝟐
𝒚 = 𝟐𝒙 + 𝟑 Simplify.
2
𝑚 = −2 and 𝑏 =
3
Other Examples: 𝑨𝒙 + 𝑩𝒚 = 𝑪 𝒚 = 𝒎𝒙 + 𝒃
1. 𝑥 + 2𝑦 + 4 = 0 𝑥 + 2𝑦 = −4 1
𝑦=− 𝑥−2
2
2. 𝑦 + 3 = −2𝑥 2𝑥 + 𝑦 = −3 𝑦 = −2𝑥 − 3
5
𝑦 = 𝑥+3
3. 15 + 5𝑥 = 3𝑦 5𝑥 − 3𝑦 = −15 3
5
Lesson Graphing Linear Equations in
2 Two Variables
Activity 2: Plotting Points
An N95 mask (𝑥) costs ₱16.00 and a regular surgical mask (𝑦) costs ₱4.00.
Determine how many of each kind of masks Jose can buy for ₱60.00. We can use
the equation 16𝑥 + 4𝑦 = 60. This equation can be written as 𝑦 = −4𝑥 + 15.
1. Complete the table below to find how many of each kind of mask Jose can buy for
₱60.00. The first two rows are done for you.
2. On a coordinate plane, graph the ordered pairs (𝑥, 𝑦), then connect the points.
What can you conclude about the figure formed?
The graph of 𝑦 = −4𝑥 + 15 is a line that falls from left to right. The points (0, 15),
(1, 11), and all the other points contained on that line make up the solution set of
𝑦 = −4𝑥 + 15. Since we are talking about the number of pieces of masks in the problem,
we are only going to consider the positive integers as a solution for this problem.
Lesson 2.a
The solution of a linear equation in two variables is an ordered pair
(𝑥, 𝑦) that makes a true mathematical statement of the equation.
6
b. (1, 2)
Solution:
𝑥 + 2𝑦 = 5 Given
1 + 2(2) = 5 Substitute 1 to 𝑥 and 2 to 𝑦.
1+4=5 Perform the operation.
5=5 Simplify.
True
Since 5 = 5, the ordered pair (1, 2) is a solution.
c. (−2, −1)
Solution:
𝑥 + 2𝑦 = 5 Given
−2 + 2(−1) = 5 Substitute −2 to 𝑥 and −1 to 𝑦.
−2 − 2 = 5 Perform the operation.
−4 = 5 Simplify.
False Since −4 ≠ 5, the ordered pair (−2, − 1) is NOT
a solution.
Lesson 2.b
7
Step 2. Plot the points.
Table of Values
𝑥 −2 0 1
𝑦 0 −4 −6
(−2,0)
(1, −6)
Steps: Note:
1. Solve for the 𝑥- and 𝑦-intercepts of the equation. The 𝑥-intercept of the
2. Plot the points. line is the value of 𝑥
when 𝑦 = 0.
3. Draw a straight line through the points.
The 𝑦-intercept of the
line is the value of 𝑦
Example 2. Graph 3𝑥 − 4𝑦 = 12 when 𝑥 = 0.
8
Step 2. Plot the points.
Note:
Locate the 𝑥-intercept along the
𝑥-axis and the 𝑦-intercept along
𝑥-intercept
the 𝑦-axis. (4,0)
𝑦-intercept
(0, −3)
Step 2. Solve for one point by assigning values for either 𝑥 or 𝑦 and plot it.
Let 𝑥 = 3
1
𝑦 = −3𝑥 + 2
1
𝑦 = − 3 (𝟑) + 2
𝑦 = −1 + 2
𝑦=1
The point is located at (3, 1).
9
Step 3. Starting from the point, use the rise and run in locating a second point.
1 𝑟𝑖𝑠𝑒
𝑚 = −3 𝑟𝑢𝑛
Example 4. Graph 𝑦 = 2𝑥 + 3.
Step 3. From the 𝑦-intercept, use the rise and run to locate a second point.
Note:
Count to the right when the run is
positive and count to the left if
negative.
2 2 units up
𝑚= =
1 1 unit to the 𝐫𝐢𝐠𝐡𝐭
10
Step 4. Draw a line through the two points.
(1,5)
(0,3)
The slope of the
line is positive so the
graph of the line rises
from left to right.
Lesson 2.c
Graphing Horizontal and Vertical Lines
Example 5. Graph 𝑥 = 5.
The equation 𝑥 = 5 is equivalent to 𝑥 + 0𝑦 = 5. Thus, for any value of 𝑦,
𝑥 is always equal to 5.
If 𝑦 = 1, 𝑥 + 0(𝟏) = 5
𝑥=5
If 𝑦 = 3, 𝑥 + 0(𝟑) = 5
𝑥=5
Note:
The graph of x = 5 is a vertical line
passing through the point (5, 0). Its
slope is undefined.
Example 6. Graph 𝑦 = −3.
The equation 𝑦 = −3 is equivalent to 0𝑥 + 𝑦 = −3. Thus, for any value
of 𝑥, 𝑦 is always equal to −3.
If 𝑥 = 1, 0(𝟏) + 𝑦 = −3
𝑦 = −3
If 𝑥 = −2, 0(−𝟐) + 𝑦 = −3
𝑦 = −3
Note:
The graph of y = −3 is a horizontal
line passing through the point
(0, −3). Its slope is 0.
11
Exercise 2: Think of Me
A. Write TRUE if the statement is correct. If the statement is incorrect, change the
underlined term / phrase to make the statement true. The first two numbers are done
for you.
TRUE 1. Assigning values for either 𝑥 or 𝑦 is the first step in graphing a line using
table of values.
𝑦-intercept 2. The 𝑥-intercept of a line is the point (0, 𝑏) where the line intersects the
𝑦-axis.
_______ 3. Lines parallel to the 𝑦-axis are horizontal lines.
_______ 4. To find the 𝑦-intercept, replace 𝑦 with 0 in the given equation and solve
for 𝑦.
_______ 5. A vertical line has an undefined slope.
_______ 6. Lines with negative slopes rise from left to right.
_______ 7. The ordered pair (3, 11) is a solution to the equation 𝑦 = 3𝑥 + 2.
_______ 8. The slope-intercept form of 𝑥 + 𝑦 = 5 is 𝑦 = 𝑥 + 5.
_______ 9. If 𝐴, 𝐵, and 𝐶 are real numbers, where 𝐴 is positive and 𝐵 is nonzero, then
𝐴𝑥 + 𝐵𝑦 = 𝐶 is the form of the equation of a line.
_______ 10. A horizontal line has a zero slope.
B. Fill in the blanks with the term that correctly completes the statement. Write the letter of the
correct answer that corresponds to the number below to reveal the word.
a. solution i. b n. horizontal
f. vertical s. x-intercept
t. (0, 4) h. 4
q. (6, 3) z. 2 o. 3 p. (3, 6) r. 5
d. line c. 𝒚-intercept e. curve
11. The slope of the equation 𝑦 = 4𝑥 + 2 is _________.
12. An ordered pair is a _________ of a linear equation in two variables if the numbers
in the ordered pair satisfy the equation.
13. Lines parallel to the 𝑥-axis are _________ lines.
14. The graph of any linear equation in two variables is a _________.
15. The _________ of a line is the point (𝑎, 0) where the line intersects the 𝑥-axis.
16. If an equation is of the form 𝑦 = 𝑚𝑥 + 𝑏, where 𝑚 and 𝑏 are real numbers, then
its 𝑦-intercept is _________.
2
For 17 to 20. To graph 𝑦 = 𝑥 + 4 using the slope-intercept method:
3
firstly, plot _________ on the 𝑦-axis,
secondly, rise _________ units up and run _________ units to the right
- this is the point _________,
and lastly, draw a line passing through the two points.
People nowadays enjoy doing this wherever they go. What is it?
11 12 13 14 15 12 13 16 17 16 18 12 17 16 19 13
12
Generalization
Lesson 1.
A linear equation in two variables can be written in two forms:
• 𝐴𝑥 + 𝐵𝑦 = 𝐶, where 𝐴, 𝐵 and 𝐶 are real numbers, 𝐴 is positive and 𝐵 ≠ 0; and
• 𝑦 = 𝑚𝑥 + 𝑏, where 𝑚 is the slope and 𝑏 is the 𝑦-intercept, 𝑚 and 𝑏 are real
numbers. This is called as slope-intercept form also known as the 𝑦-form.
Lesson 2.a.
The solution of a linear equation in two variables is an ordered pair (𝑥, 𝑦) that
makes a true mathematical statement of the equation.
Lesson 2.b.
The graph of a linear equation in two variables is a line.
Ways of Graphing Linear Equations in Two Variables:
Lesson 2.c.
Graphing Horizontal and Vertical Lines
The equation 𝑥 = 𝑎 represents the vertical line that intersects the 𝑥-axis at (𝑎, 0).
The equation 𝑦 = 𝑏 represents the horizontal line that intersects the 𝑦-axis at (0, 𝑏).
Clues on Graphing:
1. A line with a positive slope rises from left to right. The greater the slope the steeper
the line rises.
2. A line with a negative slope falls from left to right.
3. A line with 0 slope shows a horizontal line while a line with an undefined slope shows
a vertical line.
13
Applications
Activity 3: Wise Spending
Direction: Read and understand the given word problem then answer the questions
that follow.
Problem: George’s mother gave him ₱1080 as his allowance for this pandemic. She
said that he should be thriftier this time because her salary is not full. George is
contemplating that if he spends ₱120 a day, there will soon come a time that the ₱1080
given by his mother will become zero. To help him come up with a wise decision, he
made this table:
Day Start (0) 1 2 3 4 5
Amount
₱1080
Left
a. Let 𝑥 = day
𝑦 = amount left
Write a mathematical model. _______________________
b. Complete the table.
c. Graph the data shown in the table.
14
Post-assessment
DIRECTION: Let us determine how much you have learned from this module. Read
and understand each item, then choose the letter of your answer and write it on your
answer sheet.
15
11. What does a linear equation with a positive slope look like on a plane?
A. a vertical line C. a line that rises from left to right
B. a horizontal line D. a line that falls from left to right
For items 12 to 15: Identify the graph of each linear equation. Refer from the
choices provided below.
y y y y
y
2 2 2 2
x x x x
-2 0 2 -2 0 2 -2 0 2 -2 0 2
-2 -2 -2 -2
A B C D
12. 𝑥+𝑦 =1
13. 𝑥=2
14. 𝑦=2
15. 𝑦 = 𝑥−1
Performance Task
Activity 4: Graphing Lines
Direction: Answer the following exercises as required.
1 to 5. Graph 𝑦 = 𝑥 − 5.
Complete the table of values by solving for
the values of 𝑦 given the values of 𝑥 then
graph the equation.
𝑥 1 0 -1
𝑦
6 to 9. Graph 𝑥 − 2𝑦 = 2.
Solve for the 𝑥-intercept and the
𝑦 -intercept then graph the equation.
𝑥-intercept 𝑦-intercept
16
3
10 to 13. Graph 𝑦 = − 4 𝑥 + 1.
17
ANSWER SHEET
Student’s Name
Grade 8
Date Completed
Section
Name of Mathematics
Teacher
School Year 2020-2021 Name and Signature of
MATHEMATICS 8 Parent/Guardian
QUARTER 1 • MODULE 6
GRAPHING LINEAR EQUATIONS IN TWO VARIABLES
Only the FINAL ANSWERS must be written on this answer sheet. Detach it from the learning
package/module and submit.
Pre-assessment
1. 6. 11.
2. 7. 12.
3. 8. 13.
4. 9. 14.
5. 10. 15.
Activity 1
Equation (Yes or No) 𝒚 = 𝒎𝒙 + 𝒃 𝒎 and 𝒃
2
1. 𝑥 − 4𝑦 = 12
2. 9𝑥 + 3𝑦 + 6 = 0
3. 2𝑥𝑦 = 10
4. 𝑦 + 3𝑥 = 5𝑥 − 5
2
5. 𝑦 = 𝑥 + 5𝑥 − 12
Exercise 1
Equations 𝑨𝒙 + 𝑩𝒚 = 𝑪 𝒚 = 𝒎𝒙 + 𝒃
1. 𝑥 − 4 + 𝑦 = 0 𝑦 = −𝑥 + 4
2. 2𝑦 = 2𝑥 + 4 2𝑥 − 2𝑦 = −4
3. 𝑦 = −8𝑥 + 16 𝑦 = −8𝑥 + 16
4. 2(3𝑥 + 𝑦) = 8 6𝑥 + 2𝑦 = 8
5. 𝑦 − 2𝑥 + 1 = 0 2𝑥 − 𝑦 = 1
6. 2𝑥 − 3𝑦 = 𝑥 + 6 1
𝑦= 𝑥−2
3
1
7. −𝑦 = 2 𝑥 − 5 𝑥 + 2𝑦 = 10
8. −𝑥 + 𝑦 + 4 = 0 𝑦 = 𝑥−4
9. 3𝑥 + 5𝑦 = −15 3𝑥 + 5𝑦 = −15
10. 𝑦 = −5𝑥 − 10 + 5 5𝑥 + 𝑦 = −5
18
Activity 2
𝒙 Substitute Evaluate Simplify 𝒚 (𝒙, 𝒚)
Exercise 2
1. 6. 11. 16
2. 7. 12. 17.
3. 8. 13. 18.
4. 9. 14. 19.
11 12 13 14 15 12 13 16 17 16 18 12 17 16 19 13
Application
a. Write a mathematical model. _______________________
b. Complete the table.
Day Start 1 2 3 4 5
Amount Left ₱1080
c. Graph the data shown in the table.
d. What is the trend of the line?
________________________
________________________
____________________________
19
Post-assessment
1. 6. 11.
2. 7. 12.
3. 8. 13.
4. 9. 14.
5. 10. 15.
Performance Task
1-5. Graph 𝑦 = 𝑥 − 5.
Complete the table of values by solving for
the values of 𝑦 given the values of 𝑥. Then
graph the equation.
𝑥 1 0 -1
𝑦
6-9. Graph 𝑥 − 2𝑦 = 2.
Solve for the 𝑥 -intercept and the 𝑦-intercept
and then graph the equation.
𝑥-intercept 𝑦-intercept
3
10-13. Graph 𝑦 = − 4 𝑥 + 1.
20
14. Graph 𝑥 = −2. 15. Graph 𝑦 = 5.
21