Question
Question: How do you find the slope of a line given the points \(\left( 2,2 \right)\) and \(\left( 5,8 \right)...
How do you find the slope of a line given the points (2,2) and (5,8) on the line?
Solution
Here in this question we have to find the slope of the line passing through the given points. To find the slope of a line passing through points (x1,y1) and (x2,y2)we will use the formula x2−x1y2−y1. By substituting the values in the formula and simplifying the obtained equation we get the desired answer.
Complete step-by-step solution:
We have been given the points (2,2) and (5,8) on the line.
We have to find the slope of the line passing through the given points.
Now, we know that the slope of a line passing through the points (x1,y1) and (x2,y2) is given by the formula x2−x1y2−y1.
Now, we have x1=2,y1=2,x2=5,y2=8
Now, substituting the values in the formula we will get
⇒5−28−2
Now, simplifying the above obtained equation we will get
⇒36⇒2
Hence we get the slope of the line passing through the points (2,2) and (5,8) as 2.
Note: Alternatively we can first find the equation of the line passing through the given points by using the formula (y−y2)=(x2−x1y2−y1)(x−x2). Now, we know that the equation of slope-intercept form of the line is given as y=mx+c, where m is the slope of the line and c is the y-intercept of the line. So by comparing the values we get the slope of the line.