We substitute into the linear equation y=mx+b The given slope m and the values of the given point. This is how we will find b and can determine the linear equation.
Example
Given a point through which the line passes: (2,4) and the slope: ā2 Find the linear equation.
Solution:
We substitute the slope and the given point into the linear equation: 4=ā2Ć2+b
We obtain: 4=ā4+b To find b Ā b=8
Now, we have both the slope given in the question and b. We can determine that the linear equation is: y=ā2x+8
Join Over 30,000 Students Excelling in Math!
Endless Practice, Expert Guidance - Elevate Your Math Skills Today
Test your knowledge
Question 1
Find the equation of the line passing through the two points \( (9,10),(99,100) \)
In this way, we'll first find the slope using 2 points according to the formula. After that, we'll find the linear equation using the first form (by the slope and a point) The formula to find the slope using 2 points is:
m=(X2āX1)(Y2āY1)ā
Example
Given the following two points through which the line passes: (3,7),(6,1) Find the linear equation.
Solution: First, find the slope using the formula. Replace the given points and you will get:
m=6ā31ā7ā
m=3ā6ā
m=ā2
Now that we have found the slope, we can use the point-slope form. We will choose a point from the given ones and place the slope and the chosen point into the linear equation template.
We obtain:
7=ā2Ć3+b
7=ā6+b
b=13
Now, we have both the slope we found and b, and we can determine that the linear equation is: y=ā2x+13
Do you know what the answer is?
Question 1
Find the equation of the line passing through the two points \( (15,36),(5,16) \)
When you are given a parallel line to another line you are looking for, you should know that the slope of the parallel line is the same as the slope of the line you are looking for. Therefore, you can take the slope of the parallel line and assume it is the slope of the line you are seeking. Pay attention: you can identify the slope only in an explicit equation where Y is isolated, stands alone on one side of the equation, and its coefficient is 1.
Usually, you will be given a point and then you can find the linear equation using a point and a slope (the point-slope form).
Example
Find the linear equation that passes through the point: (6,5) and is parallel to the line y=3xā7
Solution:
We are given that the line is parallel to the line y=3xā7. This information tells us that the slope of our line is the same as the slope of the corresponding line, and therefore the slope of the equation of the line we are looking for is 3. Now, we have the slope 3 and the point 5,6. By substituting into the linear equation formula, we will find b and thus we will find the linear equation (the first form).
Pay attention! We easily found the slope since the equation of the parallel line is given explicitly with Y on one side of the equation and its coefficient is 1. If we are given an equation that is not in the explicit form, like this one for example: 5=3y+6 We need to get to an explicit equation: to isolate Y completely and only then identify the slope.
Check your understanding
Question 1
Find the equation of the line passing through the two points \( (5,-11),(1,9) \)
The product of the slopes of perpendicular lines isā1. Therefore, when we are given a line perpendicular to the line we are looking for, we know that the product of the two slopes is ā1 and this is how we will find the slope.
Example
The requested line is perpendicular to the line y=2xā6 What is the slope of the required line?
Solution: Define the slope of the requested line as m. Since both lines are perpendicular, we can derive the slope of the perpendicular line ā2 and write the equation where the product of the two slopes is equal to ā1:
We obtain:
2Ćm=ā1
Find m: m=ā0.5
The slope of the required line is ā0.5 . Now, we will find the equation of the line based on the slope and the given point.
Note:
Here too, it is important to first see what the equation of the perpendicular line expresses.
Do you think you will be able to solve it?
Question 1
Straight line passes through the point \( (6,14) \) and parallel to the line \( x+3y=4x+9 \)
When you're given the graph of a function, you can find the linear equation. First, choose 2 points on the graph. This way, you'll find the slope of the function (according to the second method). Then, find the linear equation based on any point you choose, which the straight line passes through, and of course, the slope you found (the first method).
Example of Finding a Linear Equation
Given two pairs of lines:
Y=3X+2
Y=3Xā5
Y=2Xā6
Y=ā0.5X+9
The first pair is a pair of parallel lines because the slopes m1=m2=3 are equal.
The second pair is a pair of perpendicular lines because their slopes satisfy 2Ćā0.5=ā1. That is, m1Ćm2=ā1
Examples and Exercises with Solutions for Linear Equations
Exercise #1
Find the equation of the line passing through the two points (ā2,ā6),(4,12)
Video Solution
Step-by-Step Solution
In the first step, we'll find the slope using the formula:
m=x2āāx1āy2āāy1āā
We'll substitute according to the given points:
m=4ā(ā2)12ā(ā6)ā
m=618ā=3
Now we'll choose the point (4,12) and use the formula:
y=mx+b
12=3Ć4+b
12=12+b
b=0
We'll substitute the data into the formula to find the equation of the line:
y=3x
Answer
y=3x
Exercise #2
Find the equation of the line passing through the two points (31ā,1),(ā31ā,2)
Video Solution
Step-by-Step Solution
In the first step, we'll find the slope using the formula:
m=x2āāx1āy2āāy1āā
We'll substitute according to the given points:
m=31āā(ā31ā)1ā2ā
m=32āā1ā=ā23ā
Now we'll choose point (31ā,1) and use the formula:
y=mx+b
1=ā23āĆ31ā+b
1=ā21ā+b
b=121ā
We'll substitute the given data into the formula to find the equation of the line:
y=ā23āx+121ā
Answer
y=ā23āx+121ā
Exercise #3
Find the equation of the line passing through the two points (5,0),(21ā,421ā)
Video Solution
Step-by-Step Solution
First, we will use the formula to find the slope of the straight line:
We replace the data and solve:
(5ā0.5)(0ā4.5)ā=4.5ā4.5ā=ā1
Now, we know that the slope is ā1
Ā
We replace one of the points in the formula of the line equation:
y=mx+b
(5,0)
0=ā1Ć5+b
Ā 0=ā5+b
b=5
Now we have the data to complete the equation:
y=ā1Ćx+5
y=āx+5
Answer
y+x=5
Exercise #4
Choose the function for a straight line that passes through the point (ā2,ā13) and is parallel to the line ā4+y=5xā6.
Video Solution
Step-by-Step Solution
First, write out the line equations:
ā4+y=5xā6
y=5x+4ā6
y=5xā2
From here we can determine the slope:
m=5
We'll use the formula:
y=mx+b
We'll use the point (ā2,ā13):
ā13=5Ćā2+b
ā13=ā10+b
ā3=b
Finally, substitute our data back into the formula:
y=5x+(ā3)
y=5xā3
Answer
y=5xā3
Exercise #5
Two lines have slopes of ā6 and 21ā.
Which of the lines forms a smaller angle with the x-axis?
Video Solution
Step-by-Step Solution
We will use the formula:
m=tanĪ±
Let's check the slope of minus 6:
ā6=tanĪ±
tanā1(ā6)=Ī±
ā80.53=Ī±
180ā80.53=
99.47=Ī±1ā
Let's check the slope of one-half:
21ā=tanĪ±
tanā1(21ā)=Ī±
26.56=Ī±2ā
\alpha_1 > \alpha_2
Answer
The line with a slope of 21ā
Test your knowledge
Question 1
Two lines haves slopes of -3 and -6.
Which of the lines forms a greater angle with the x axis?