Solveeit Logo

Question

Question: How do you find an equation of the line that contains the following pair of points \[\left( { - 4, -...

How do you find an equation of the line that contains the following pair of points (4,5)\left( { - 4, - 5} \right) and (8,10)\left( { - 8, - 10} \right) ?

Explanation

Solution

In this problem we have to find the equation of a line with two points. The equation of a line passing through two points (x1, y1)\left( {{x_1},{\text{ }}{y_1}} \right) and (x2, y2)\left( {{x_2},{\text{ }}{y_2}} \right) is given by yy1y2y1=xx1x2x1\dfrac{{y - {y_1}}}{{{y_2} - {y_1}}} = \dfrac{{x - {x_1}}}{{{x_2} - {x_1}}} . Hence, we will use this two-point form of the equation to get the required equation of the line. After that we will rearrange the equation in the standard form i.e., ax+by+c=0ax + by + c = 0 . and hence we will get the required equation of the line.

Complete step by step answer:
We have given two points on the line.
Let (4,5)\left( { - 4, - 5} \right) be (x1, y1)\left( {{x_1},{\text{ }}{y_1}} \right) and (8,10)\left( { - 8, - 10} \right) be (x2, y2)\left( {{x_2},{\text{ }}{y_2}} \right)
We have to find the equation of the line passing through these two points.
Now we know that according to the two-point form, the equation of a line passing through two points (x1, y1)\left( {{x_1},{\text{ }}{y_1}} \right) and (x2, y2)\left( {{x_2},{\text{ }}{y_2}} \right) is given by
yy1y2y1=xx1x2x1\dfrac{{y - {y_1}}}{{{y_2} - {y_1}}} = \dfrac{{x - {x_1}}}{{{x_2} - {x_1}}}
Here, x1=4, x2=8, y1=5, y2=10{x_1} = - 4,{\text{ }}{x_2} = - 8,{\text{ }}{y_1} = - 5,{\text{ }}{y_2} = - 10
So, on substituting the values, we get
y(5)(10)(5)=x(4)(8)(4)\Rightarrow \dfrac{{y - \left( { - 5} \right)}}{{\left( { - 10} \right) - \left( { - 5} \right)}} = \dfrac{{x - \left( { - 4} \right)}}{{\left( { - 8} \right) - \left( { - 4} \right)}}
On simplification, we get
y+55=x+44\Rightarrow \dfrac{{y + 5}}{{ - 5}} = \dfrac{{x + 4}}{{ - 4}}
Now cross multiplying the equation, we get
4(y+5)=5(x+4)\Rightarrow - 4\left( {y + 5} \right) = - 5\left( {x + 4} \right)
On multiplying, we get
4y20=5x20\Rightarrow - 4y - 20 = - 5x - 20
4y=5x\Rightarrow - 4y = - 5x
Now rearranging the equation in the standard form i.e., ax+by+c=0ax + by + c = 0 we get
5x+4y+0=0- 5x + 4y + 0 = 0
Taking 1 - 1 common, we get
5x4y=05x - 4y = 0
Hence the required equation passing through (4,5)\left( { - 4, - 5} \right) and (8,10)\left( { - 8, - 10} \right) is 5x4y=05x - 4y = 0
We can see the same information in the below graph:

Note:
This question can also be solved using slope intercept form.
We know that the slope intercept form of the line is given by
y=mx+c (i)y = mx + c{\text{ }} - - - \left( i \right)
where m=y2y1x2x1m = \dfrac{{{y_2} - {y_1}}}{{{x_2} - {x_1}}} is the slope and cc is the y-intercept.
Now we have two points,
Let (x1, y1)=(4,5)\left( {{x_1},{\text{ }}{y_1}} \right) = \left( { - 4, - 5} \right) and (x2, y2)=(8,10)\left( {{x_2},{\text{ }}{y_2}} \right) = \left( { - 8, - 10} \right)
Therefore, on substituting the values
Slope, m=(10)(5)(8)(4)m = \dfrac{{\left( { - 10} \right) - \left( { - 5} \right)}}{{\left( { - 8} \right) - \left( { - 4} \right)}}
m=10+58+4\Rightarrow m = \dfrac{{ - 10 + 5}}{{ - 8 + 4}}
m=54\Rightarrow m = \dfrac{5}{4}
On substituting in equation (i)\left( i \right) we get
y=54x+cy = \dfrac{5}{4}x + c
Now substitute the value of xx and yy from any of the two points to get the y-intercept.
Let’s take the point (4,5)\left( { - 4, - 5} \right)
Therefore, we have
5=54(4)+c- 5 = \dfrac{5}{4}\left( { - 4} \right) + c
c=0\Rightarrow c = 0
Thus, the y-intercept is 00 and the slope is 54\dfrac{5}{4}
Therefore, slope intercept form of the line will be
y=54xy = \dfrac{5}{4}x
On rearranging in the standard form, we get
5x4y=05x - 4y = 0
Hence, we get the required equation of the line passing through (4,5)\left( { - 4, - 5} \right) and (8,10)\left( { - 8, - 10} \right)