Solveeit Logo

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)\left( 2,2 \right) and (5,8)\left( 5,8 \right) on the line?

Explanation

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)\left( {{x}_{1}},{{y}_{1}} \right) and (x2,y2)\left( {{x}_{2}},{{y}_{2}} \right)we will use the formula y2y1x2x1\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}. 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)\left( 2,2 \right) and (5,8)\left( 5,8 \right) 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)\left( {{x}_{1}},{{y}_{1}} \right) and (x2,y2)\left( {{x}_{2}},{{y}_{2}} \right) is given by the formula y2y1x2x1\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}.
Now, we have x1=2,y1=2,x2=5,y2=8{{x}_{1}}=2,{{y}_{1}}=2,{{x}_{2}}=5,{{y}_{2}}=8
Now, substituting the values in the formula we will get
8252\Rightarrow \dfrac{8-2}{5-2}
Now, simplifying the above obtained equation we will get
63 2 \begin{aligned} & \Rightarrow \dfrac{6}{3} \\\ & \Rightarrow 2 \\\ \end{aligned}
Hence we get the slope of the line passing through the points (2,2)\left( 2,2 \right) and (5,8)\left( 5,8 \right) as 2.

Note: Alternatively we can first find the equation of the line passing through the given points by using the formula (yy2)=(y2y1x2x1)(xx2)\left( y-{{y}_{2}} \right)=\left( \dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}} \right)\left( x-{{x}_{2}} \right). Now, we know that the equation of slope-intercept form of the line is given as y=mx+cy=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.