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) and (−8,−10) ?
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) and (x2, y2) is given by y2−y1y−y1=x2−x1x−x1 . 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=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) be (x1, y1) and (−8,−10) be (x2, y2)
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) and (x2, y2) is given by
y2−y1y−y1=x2−x1x−x1
Here, x1=−4, x2=−8, y1=−5, y2=−10
So, on substituting the values, we get
⇒(−10)−(−5)y−(−5)=(−8)−(−4)x−(−4)
On simplification, we get
⇒−5y+5=−4x+4
Now cross multiplying the equation, we get
⇒−4(y+5)=−5(x+4)
On multiplying, we get
⇒−4y−20=−5x−20
⇒−4y=−5x
Now rearranging the equation in the standard form i.e., ax+by+c=0 we get
−5x+4y+0=0
Taking −1 common, we get
5x−4y=0
Hence the required equation passing through (−4,−5) and (−8,−10) is 5x−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)
where m=x2−x1y2−y1 is the slope and c is the y-intercept.
Now we have two points,
Let (x1, y1)=(−4,−5) and (x2, y2)=(−8,−10)
Therefore, on substituting the values
Slope, m=(−8)−(−4)(−10)−(−5)
⇒m=−8+4−10+5
⇒m=45
On substituting in equation (i) we get
y=45x+c
Now substitute the value of x and y from any of the two points to get the y-intercept.
Let’s take the point (−4,−5)
Therefore, we have
−5=45(−4)+c
⇒c=0
Thus, the y-intercept is 0 and the slope is 45
Therefore, slope intercept form of the line will be
y=45x
On rearranging in the standard form, we get
5x−4y=0
Hence, we get the required equation of the line passing through (−4,−5) and (−8,−10)