Solveeit Logo

Question

Question: Find the slope of the line which passes through the points [i] (0,0) and (4,-2) [ii] (0,-3) and (...

Find the slope of the line which passes through the points
[i] (0,0) and (4,-2) [ii] (0,-3) and (2,1)

Explanation

Solution

Hint: Use the fact that the slope of the line joining the points A(x1,y1)A\left( {{x}_{1}},{{y}_{1}} \right) and B(x2,y2)B\left( {{x}_{2}},{{y}_{2}} \right) is given by m=y2y1x2x1m=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}. Substitute the value of x1,x2,y1,y2{{x}_{1}},{{x}_{2}},{{y}_{1}},{{y}_{2}} in each case and hence find the slopes of the lines.

Complete step-by-step answer:
Alternatively, assume that the equation of the line is y=mx+cy=mx+c. Since the line passes through the points, the points satisfy the equation of the line. Hence form two linear equations in two variables m and c. Solve for m and c. The value of m gives the slope of the line.
[i] We have A(0,0)A\equiv \left( 0,0 \right) and B(4,2)B\equiv \left( 4,-2 \right)
We know that the slope of the line joining the points A(x1,y1)A\left( {{x}_{1}},{{y}_{1}} \right) and B(x2,y2)B\left( {{x}_{2}},{{y}_{2}} \right) is given by m=y2y1x2x1m=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}.
Here x1=0,x2=4,y1=0{{x}_{1}}=0,{{x}_{2}}=4,{{y}_{1}}=0 and y2=2{{y}_{2}}=-2
Hence, we have
m=2040=24=12m=\dfrac{-2-0}{4-0}=\dfrac{-2}{4}=\dfrac{-1}{2}
Hence the slope of the line is 12\dfrac{-1}{2}
[ii] We have A(0,3)A\equiv \left( 0,-3 \right) and B(2,1)B\equiv \left( 2,1 \right)
We know that the slope of the line joining the points A(x1,y1)A\left( {{x}_{1}},{{y}_{1}} \right) and B(x2,y2)B\left( {{x}_{2}},{{y}_{2}} \right) is given by m=y2y1x2x1m=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}.
Here x1=0,x2=2,y1=3{{x}_{1}}=0,{{x}_{2}}=2,{{y}_{1}}=-3 and y2=1{{y}_{2}}=1
Hence, we have
m=1(3)20=42=2m=\dfrac{1-\left( -3 \right)}{2-0}=\dfrac{4}{2}=2
Hence the slope of the line is 2.
Note: Alternative solution:
[i] Let the equation of the line passing through the given points be y = mx+c
Since (0,0) lies on the line, we have 0 = 0x+c, i.e. c = 0
Also since (4,-2) lies on the line, we have
-2 = 4m+c
Hence, we have 4m=2m=124m=-2\Rightarrow m=\dfrac{-1}{2}
[ii] Let the equation of the line passing through the given points be y = mx+c
Since (0,-3) lies on the line, we have
-3 = m(0) +c, i.e. c = -3
Also since (2,1) lies on the line, we have
1 = m(2) + -3
Hence, we have 2m=4m=22m=4\Rightarrow m=2.