Linear Equations in Two Variables Final
Linear Equations in Two Variables Final
Linear Equations in Two Variables Final
7
Background Information
Last quarter, you have learned about linear equations in one variable. By
recalling it, it can be expressed as ax = b, where x is the only variable, a is the
coefficient, and b is the constant. Linear equations in two variables take the form of ax +
by = c. As you can see, it involves two variables x and y which makes it different to one
variable linear equations.
As the name itself, the two variables imply two unknown quantities which can be
found out by certain computations and estimations. In this quarter, you will learn about
the basics of linear equations in two variables as well as some of its primary
applications is real life.
At the end of this module-based session, the students must be able to:
1. Describe the Cartesian Coordinate Plane (x-axis, y-axis, quadrant, origin)
2. Describe points plotted on the Cartesian Coordinate Plane: plot points on the Cartesian
Coordinate Plane
2.1. Given a point on the coordinate plane. Give as coordinates
2.2. Given a pair of coordinates, plot the point
2.3. Given the coordinates of a point, determine the quadrant where it is located
In this lesson, you will learn about the one of the most common mathematical diagrams
used in the study of numbers, the Cartesian plane. Its primary use as well as its parts will be
discussed here.
-1-
SDO - Isabela
For example:
The figure on the left shows a
specific point A. This point is known as
(3,4) since the point lies at the positive 3 of
x-axis and at the positive 4 of y-axis.
-2-
SDO - Isabela
Note that the x-coordinate is always called as abscissa while the y-coordinate is called
ordinate.
For example: If you were asked to find the location of a point with positive abscissa but
negative ordinate, the answer is Quadrant 4 or Q4.
Activity 1
Act 1.1. Enumerate the 10 parts of a Cartesian plane. Number it from 1 to 10 in any
order. Note that the answers can be found in the previous discussion.
Act. 1.2. Given the points on the coordinate plane. Give the coordinates of the ordered
pair as well as the region where it belongs. Always indicate the abscissa first before the
ordinate. Point A is done for you. 1 points each.
Example: A (2,6), Quadrant I
1. B (__, __)
2. C (__, __)
3. D (__, __)
4. E (__, __)
5. F (__, __)
6. G (__, __)
7. H (__, __)
8. I (__, __)
9. J (__, __)
10. K (__, __)
-3-
SDO - Isabela
Act. 1.3. Given the following ordered pairs, MAKE YOUR OWN CARTESIAN PLANE
then PLOT THE FOLLOWING POINT WITH THE CORRESPONDING LETTER. Plot
the following points in only one plane.
1. A (1, 3) 6. F (5, 0)
2. B (5, -6) 7. G (0, 0)
3. C (-4, 5) 8. H (0, -7)
4. D (-8, -8) 9. I (-2, 0)
5. E (0, 9) 10. J (6, 6)
Act. 1.4. Determine the exact location/locations of the given conditions of a point. Two
or more answers is possible. Choices are given below. An example is done for you
Choices: Q1, Q2, Q3, Q4, +x-axis, -x-axis, +y-axis, -y-axis, origin
Example: Negative abscissa, positive ordinate – Answer: Q2
1. Negative abscissa, negative ordinate 7. Non-negative abscissa, non-zero
2. Positive abscissa, negative ordinate ordinate
3. Positive abscissa, Positive ordinate 8. Non-zero abscissa, non-zero ordinate
4. Non-negative abscissa, zero ordinate 9. Non-negative abscissa, non-negative
5. zero abscissa, zero ordinate ordinate
6. Non-positive abscissa, zero ordinate 10. Non-positive abscissa, on-Positive
ordinate
3.1. construct a table of values for x and y given a linear equation in two variables Ax +
By = C
3.2. Draw the graph of Ax + By = C based on a table of values for x and y
In this lesson, you will be introduced to the upgraded version of the linear equation in one
variable which is the linear equation in two variables.
-4-
SDO - Isabela
Step 1. Since abscissa is the independent variable, we can set any value to it. The
easiest values in terms of being small amounts are -1, 0, and 1.
Make a table for the values based from these.
x -1 0 1
y
Note: the values of y are unknown because this will depend on to the evaluation of the
values of x to the equation.
-5-
SDO - Isabela
Step 2. Compute the values of y using the values set for x and the equation
Given: 3x + 2y = 7 Given: 3x + 2y = 7
x = -1 x=0
Substitute -1 to x: 3(0) + 2y = 7
3(-1) + 2y = 7 0 + 2y = 7
Multiply 3 and -1: 2y = 7
-3 + 2y = 7 2y/2 = 7/2
Add the additive inverse of -3 to both sides of the equation: y = 7/2 or 3.5
-3 + 3 + 2y = 7 + 3
Ordered pair: (0, 3.5)
Simplify:
0 + 2y = 10 Given: 3x + 2y = 7
Simplify further: x=1
2y = 10
3(1) + 2y = 7
Divide both sides by 2: 3 + 2y = 7
2y/2 = 10/2 3 + (-3) + 2y = 7 + (-3)
0 + 2y = 4
Simplify:
2y = 4
y=5
2y/2 = 4/2
therefore, the value of y is 5 if x is -1
y=2
ordered pair: (-1, 5)
Ordered pair: (1, 2)
-6-
SDO - Isabela
Step 4. Plot and connect the points. Don’t forget to label the points and name the line
with the equation.
Step 1. Set the values of x to -1, 0, and 1, then form the table.
x -1 0 1
y
Step 2. Compute the values of y using the values set for x and the equation
-7-
SDO - Isabela
Step 4. Plot and connect the points. Don’t forget to label the points and name the line
with the equation.
The red dots are the ordered pairs obtained by
calculations namely (-1,0.5), (0,1.75), (1,3).
Activity 2
Act. 2.1. Fill in the table with the correct information based on the given equations. An Example
is done for you.
Equation Coefficient/s Variable/s Constant/s In two Variables
of not? (Yes or
No)
Ex. 2x – y = 8 2 and -1 x and y 8 Yes
1. 8x + 3y = -9
2. 4y – 7x = -6
3. 2x = 4y
4. y = 2
5. y = -5x - 2
Act. 2.2. Construct a table of values for x and y given the following linear equations in two
variables. Draw the graph of the equations based on the table. Also describe the graph if it is
upwards to the left or upwards to the right.
Base your answers from examples 1 to 3 in the previous discussion.
1. x + y = 6
2. 8x - 5y = -7
3. 3x + 2y = 9
.
=========================end of quarter 3 week 2=============================
-8-
SDO - Isabela
In this lesson, we will extend the discussion of linear equations in two variables with its
basic properties. Primarily, when talking about linear equations in two variables, the terms
intercepts, domain, and range are always associated.
X and Y intercepts.
Intercepts are the ordered pairs obtained when one variable is set to zero.
X-intercept is the ordered pair obtained when y is zero. It is the point where the graph of the
equation intersects the x-axis.
Y-intercept is the ordered pair obtained when x is set to zero. It is the point where the graph of
the equation intersects the y-axis.
To find the x-intercept. To find the x-intercept.
Step 1. Set the value of y to zero. Step 1. Set the value of x to zero.
x x 0
y 0 y
Step 2. Solve for x using y = 0. Step 2. Solve for y using x = 0.
Step 3. Obtained the ordered pair. This is Step 3. Obtained the ordered pair. This is
now the x intercept. now the x intercept.
Step 3. Obtained the ordered pair. This is Step 3. Obtained the ordered pair. This is
now the x intercept. now the x intercept.
Ordered pair/x-intercept: (4,0) Ordered pair/y-intercept: (0,2)
-9-
SDO - Isabela
Example 2. Find the x and y intercepts of 5x - 2y = 15, then show the graph
To find the x-intercept. To find the x-intercept.
Step 1. Set the value of y to zero. Step 1. Set the value of x to zero.
x x 0
y 0 y
Step 2. Solve for x using y = 0. Step 2. Solve for y using x = 0.
5x - 2y = 15 5x - 2y = 15
5x - 2(0) = 15 5(0) – 2y = 15
5x - 0 = 15 0 - 2y = 15
5x = 15 -2y = 15
5x/5 = 15/5 -2y/-2 = 15/-2
x=3 x = -15/2 or -7.5
Step 3. Obtained the ordered pair. This is Step 3. Obtained the ordered pair. This is
now the x intercept. now the x intercept.
Ordered pair/x-intercept: (3,0) Ordered pair/y-intercept: (0,-7.5)
- 10 -
SDO - Isabela
Example 1: Given the graph of x – y = 4, find its slope and describe the trend of
the graph.
Example 2: Given the graph of 2x + 4y = 8, find its slope and describe the trend
of the graph.
The rise or vertical distance of the graph from the lower
point to the next point is 2. Its run or horizontal distance is
-4. The run is negative since it proceeds from right to left.
To solve the slope we have:
𝒓𝒊𝒔𝒆 2 2÷2 1 −1
𝒎= = = = 𝑜𝑟
𝒓𝒖𝒏 −4 −4÷2 −2 2
Therefore, the slope is -1/2.
Note that the slope must be simplified and negative signs
must be in the numerator
The trend is decreasing since the slope is negative and
the direction of the graph is upwards to the left.
- 11 -
SDO - Isabela
Case 1. Slopes can also be obtained by just merely inspecting the equations.
If the equation is in the form of Ax + By = C or standard form, simply divide the
two coefficients A and b then change the sign of the final answer.
−𝑨
𝒎=
𝑩
Case 2. If the equation is in the form of By = Ax + C, simply divide the two
coefficients A and B then change the sign of the final answer.
𝑨
𝒎=
𝑩
Case 3. If the equation is in the form of y = mx + b, just simply obtain m or the
numerical coefficient of x.
𝒎=m
Examples. Find the slope of the following equations using the different cases above.
1. 2x + 5y = 6
Use case 1 to find the slope since it is in the form of Ax + By = C.
A = 2, B = 5
−𝑨 −(𝟐) −𝟐
𝒎= = =
𝑩 𝟓 𝟓
−𝟐
m= Trend: Decreasing
𝟓
2. 3y = 9x – 4
Use case 2 to find the slope since it is in the form of By = Ax + C.
A = 9, B = 3
𝑨 𝟗
𝒎= = =𝟑
𝑩 𝟑
m=3 Trend: Increasing
3. y = 7x – 6
Use case 3 to find the slope since it is in the form of y = mx + b.
m=7 Trend: Increasing
4. 4x – 8y = 2
Use case 1 to find the slope since it is in the form of Ax + By = C.
−𝑨 −(𝟒) −𝟒 ÷ 𝟒 −𝟏 𝟏
𝒎= = = = =
𝑩 −𝟖 −𝟖 ÷ 𝟒 −𝟐 𝟐
𝟏
m= Trend: Increasing
𝟐
- 12 -
SDO - Isabela
5. 9y = -6x + 5
Use case 2 to find the slope since it is in the form of By = Ax + C.
𝑨 (−𝟔) −𝟔 ÷ 𝟑 −𝟐
𝒎= = = =
𝑩 𝟗 𝟗÷𝟑 𝟑
−𝟐
m= Trend: Decreasing
𝟑
Note: the trend depends on the sign of the slope. It is decreasing if the sign is negative.
It is increasing if it is positive.
In the case of linear equations in two variables, recall that in the table of values
any values for x are allowed provided that these are elements of real numbers.
Consequently, any values of y can also be obtained using the different values set for x.
Hence, for any given linear equations in two variables the following are always
observed:
Domain : D = {x|x ∈ R}
Read as: Domain is equal to x such that x is an element of real numbers.
Range: R = {y|y ∈ R }
Read as: Range is equal to y such that y is an element of real numbers.
Activity 3
Act. 3.1. Find the x and y intercepts of the following equation then graph. show your
solution.
1. x + y = 7
2. 2x + 3y = 12
3. 5y = 4x – 40
Act. 3.2. Give the slope of the following graphs and equations then indicate the trend.
1. x + y = 7 4. 3x – 7y = 8
2. 2x + 3y = 12 5. y = 4x + 5
3. 5y = 4x – 40
- 13 -
SDO - Isabela
6. 7.
8. 9.
Act. 3.3. Give the Domain and Range of the following Equations.
1. x+y=7
2. 2x + 3y = 12
3. 5y = 4x – 40
4. 3x – 7y = 8
5. y = 4x + 5
- 14 -
SDO - Isabela
You might be wondering why sometimes you encounter different form of linear equations
from a previous equation you have just dealt with. In this lesson, you will learn about the two
common forms of Linear equations in two variables.
Example 1: Write the following in the form y = mx + b. Give the value of m and b.
a. 3y = -2x – 6 b. 2x – 5y = 10
Since the given is almost in the form of slope- Take note that your goal here is to isolate y
intercept, just simplify it; on the left side. So, you need to eliminate x
on the left side.
3y = -2x – 6 Divide both sides by 3
3 3 3 2x – 5y = 10
2x – 2x – 5y = – 2x + 10 Eliminate 2x by
y = -2x/3 – 2 This is now the answer. subtracting itself to
make it zero. Do this
m = -2/3 m is the slope which is on both sides
the coefficient of x in
the slope-intercept form 0 – 5y = –2x + 10 Simplify
b = -2 b is the y-intercept. -5y = –2x + 10 Divide both sides
by -5.
-5y = -2x + 10 Simplify
-5 -5 -5
- 15 -
SDO - Isabela
As you can see, the given is in the form of As you can see, the given is in the form of
slope-intercept. slope-intercept, but there is a fraction, so
eliminate the denominator first
y = 5x + 2
y = -2x/4 – 3
y - 5x = 5x - 5x + 2 Eliminate 5x by 4(y = -2x/4 – 3) multiply 4 to all sides
subtracting itself to to eliminate the
make it zero. Do this denominator 4.
on both sides
4(y) = 4(-2x/4) – 4(3) Simplify
y - 5x = 0 + 2 Simplify 4y = –2x - 12
Activity 4
5. y = 2x +
- 16 -
SDO - Isabela
The graph of a linear function is a non-vertical straight line. In Geometry, you learned how
to graph by connecting points. In this section you will learn how to graph linear functions
and determine its slope using the following conditions:
Two points determine a straight line. This is a statement in geometry where you can
apply to graph linear functions.
Example:
Draw the graph of a linear function passing through points (1, 2) and (2, 4).
a. First locate the two points
b. Then connect the two points.
The graph of the linear function will look like the figure below.
• (2,4)
• (1,2)
Another way of graphing a linear function is through the points where the graph crosses
the x and y axes. This condition also uses two points.
The point at which a line crosses the y-axis has an x coordinate of 0 and y coordinate
called y-intercept. While, the point at which the line crosses the x-axis has y-coordinate of 0
and x coordinate called x-intercept.
Example:
x - intercept = -3
y - intercept = 6
The x – intercept is the x value at point (-
3,0). Here the x intercept is -3.
- 17 -
SDO - Isabela
Example: Graph the linear equation with slope of 5/2 and passes through (-2, -2)
In the graph below, the point is (-2, -2) and the slope is 5/2.
To graph, start with the point (-2, -2), and then rise 5 and run 2. These would connect the
points (-2,-2) and (0, 3)
Run = 2
• (0,3)
Rise = 5
(-2,-2) •
(0.-6)
=2
- 18 -
SDO - Isabela
Example 2: Graph the linear function whose y-intercept = -2 and slope (m)=
From the y – intercept, at (0, -2) rise 3 and run 2 units to the left. This would connect
points (0, -2) and (-2, 1). This time the direction of the graph goes down to the right because
the slope is negative.
(-2, 1) 2
Slope-Intercept Form:
If the equations are in the form of y = mx + b, the trend is INCREASING because the
slope is positive.
If the equations are in the form of y = -mx + b, the trend is DECREASING because the
slope is negative.
Graph:
If the graph is pointing to the right, the trend is INCREASING because the slope is
positive.
If the graph is pointing to the left, the trend is DECREASING because the slope is
negative.
Activity 5
Act. 5.1. Draw the graph of the linear function that passes through the given points. Use separate
Cartesian Plane for each.
- 19 -
SDO - Isabela
1. x- intercept = 1; y – intercept = 4
2. x-intercept = -3; y-intercept = -2
3. x-intercept = 2; y-intercept = -2
Act. 5.3. Draw the graph given the slope and passing through the given point.
1. m = 4/3; P(-2, -3)
2. m = 3/5; P(0, 2)
3. m = -3; P(-1, 1)
Act. 5.4. Draw the graph with the indicated slope and passing through the given y-intercept.
1. m = -5/3; y-intercept = -3
2. m = -1/2; y-intercept = 3
3. m = 3/4; y-intercept = 1
Act. 5.5. Identify the trend of the following equations. Indicate if it is INCREASING or
DECREASING.
1. 2x + 6y = 10
2. 3x + 7y = 6
3. 2x – 3y = 6
4. y = 2x + 3
5. y = -7x – 8
6. 2x = y + 7
- 20 -
SDO - Isabela
An important lesson before finding the equations of certain lines is the illustration of different
formulas which you might encounter in finding the equation of a line. Here are the most
common forms of linear equations in two variables.
General Form
Slope Intercept Form
Point Form
Intercept Form
Two-Point form
- 21 -
SDO - Isabela
where y and x are the point in x-y plane, m is the slope of the line (also called gradient) and b is the
y-intercept (a constant value).
For example, y = 3x + 7:
slope, m = 3 and intercept = 7
Intercept Form
A line which is neither parallel to x-axis or y-axis nor it pass through the origin but intersects the axes
in two different points, represents the intercept form. The intercept values x 0 and y0, sometimes a and
b respectively, of these two points are nonzero and forms an equation of the line as:
𝑥 𝑦 𝑥 𝑦
+ = 1 or + =1
𝑥0 𝑦0 𝑎 𝑏
Two-Point Form
If there are two points say, (x1, y1) and (x2, y2) and only one line passes through them, then the
equation of the line is given by:
𝑦2 − 𝑦1
𝑦 − 𝑦1 = (𝑥 − 𝑥1 )
𝑥2 − 𝑥1
𝑦2 −𝑦1
where is the slope of the line and x1 ≠ x2
𝑥2 −𝑥1
This lesson will teach you how to find the equation of a line when x and y intercepts are
given.
x-intercept: It is the point where a line crosses the x-axis. The x coordinate or abscissa is
obtained here whenever y is zero.
Example: (2, 0) or x = 2, (-5, 0) or x = -5, (7, 0) or x = 7, and so on.
y-intercept: It is the point where a line crosses the y-axis. The y coordinate or ordinate is
obtained here whenever y is zero.
Example: (0, 2) or y = 2, (0, -5) or y = -5, (0, 7) or y = 7, and so on.
- 22 -
SDO - Isabela
Example 1:
Find the equation of the straight line whose x and y-intercepts on the axes are given by
(i) 2 and 3 (ii) -1/3 and 3/2 (iii) 2/5 and -3/4
(i) Solution:
Here, x –intercept is (a) = 2 and y -intercept is (b) = 3
𝑥 𝑦
+ =1 Substitute
𝑎 𝑏
𝑥 𝑦
+ =1 Multiply by the LCD of the denominator. The LCD of 2 and 3 is 6.
2 3
𝑥 𝑦
6( + = 1) Simplify. Multiply 6 to all terms.
2 3
6𝑥 6𝑦
+ =6 Simplify. Divide the first and second term.
2 3
(ii) Solution:
Here, x-intercept is (a) = -1/3 and y-intercept is (b) = 3/2.
x/(-1/3)+y/(3/2) = 1
-3x+(2y)/3 = 1
(-9x+2y)/3 = 1
-9x+2y = 3
9x-2y+3 = 0
So, the required equation of the line is 9x-2y+3 = 0.
(iii) Answer :
2/5 and -3/4
(x/a) + (y/b) = 1
Here,
x-intercept (a) = 2/5 and
y -intercept (b) = -3/4
x/(2/5)+y/(-3/4) = 1
(5x/2)-(4y/3) = 1
(15x-8y)/6 = 1
15x-8y = 6
15x-8y-6 = 0
So, the required equation of the line is 15x-8y-6 = 0.
Example 2 :
Find the equation of the straight line whose x and y-intercepts on the axes are given by.
(i)
- 23 -
SDO - Isabela
Solution :
x-intercept = 4 and y-intercept = -3
Equation of the line :
(x/a) + (y/b) = 1
(x/4)+(y/(-3)) = 1
(x/4)-(y/3) = 1
(3x-4y)/12 = 1
3x-4y = 12
3x-4y-12 = 0
So, the required equation is 3x-4y-12 = 0.
(ii)
Solution :
x-intercept = 5 and y-intercept = -5
- 18 -
SDO - Isabela
References
Python Turtle And The Cartesian Plane | ILLUMINATION (medium.com)
Find the Equation of the Line with x and y Intercepts (onlinemath4all.com)
- 19 -