Solveeit Logo

Question

Question: The equation of the line passing through the points \[\left( {2,3} \right)\] and \[\left( {4,5} \rig...

The equation of the line passing through the points (2,3)\left( {2,3} \right) and (4,5)\left( {4,5} \right) is
A. xy1=0x - y - 1 = 0
B. x+y+1=0x + y + 1 = 0
C. x+y1=0x + y - 1 = 0
D. xy+1=0x - y + 1 = 0

Explanation

Solution

Here, we are required to find the equation of a line passing through two given points. We will use the formula of the equation of a line which passes through the points (x1,y1)\left( {{x_1},{y_1}} \right) and (x2,y2)\left( {{x_2},{y_2}} \right). We will then substitute the given points to find the required equation.

Formula Used:
Equation of a line which passes through 2 points is given by (yy1)(xx1)=y2y1x2x1\dfrac{{\left( {y - {y_1}} \right)}}{{\left( {x - {x_1}} \right)}} = \dfrac{{{y_2} - {y_1}}}{{{x_2} - {x_1}}}.

Complete step-by-step answer:
When we have to find the equation of a line using a given point and slope, we use the formula (yy1)=m(xx1)\left( {y - {y_1}} \right) = m\left( {x - {x_1}} \right).
Or we can write this as:
m=(yy1)(xx1)m = \dfrac{{\left( {y - {y_1}} \right)}}{{\left( {x - {x_1}} \right)}}………………………………(1)
Also, slope of a given line which passes through the points (x1,y1)\left( {{x_1},{y_1}} \right) and (x2,y2)\left( {{x_2},{y_2}} \right) is:
m=y2y1x2x1m = \dfrac{{{y_2} - {y_1}}}{{{x_2} - {x_1}}}
Putting m=y2y1x2x1m = \dfrac{{{y_2} - {y_1}}}{{{x_2} - {x_1}}} value in equation (1), we get,
(yy1)(xx1)=y2y1x2x1\Rightarrow \dfrac{{\left( {y - {y_1}} \right)}}{{\left( {x - {x_1}} \right)}} = \dfrac{{{y_2} - {y_1}}}{{{x_2} - {x_1}}}
Hence, this is the formula for the equation of a line which passes through the points (x1,y1)\left( {{x_1},{y_1}} \right) and (x2,y2)\left( {{x_2},{y_2}} \right).
Now, according to the question, we have to find the equation of the line passing through the points (2,3)\left( {2,3} \right) and (4,5)\left( {4,5} \right).
Hence, substituting x1=2{x_1} = 2, y1=3{y_1} = 3 and x2=4{x_2} = 4,y2=5{y_2} = 5 in the formula (yy1)(xx1)=y2y1x2x1\dfrac{{\left( {y - {y_1}} \right)}}{{\left( {x - {x_1}} \right)}} = \dfrac{{{y_2} - {y_1}}}{{{x_2} - {x_1}}}, we get

(y3)(x2)=5342\dfrac{{\left( {y - 3} \right)}}{{\left( {x - 2} \right)}} = \dfrac{{5 - 3}}{{4 - 2}}
Subtracting the terms, we get
(y3)(x2)=22=11\Rightarrow \dfrac{{\left( {y - 3} \right)}}{{\left( {x - 2} \right)}} = \dfrac{2}{2} = \dfrac{1}{1}
Now, by cross multiplying the terms, we get
(y3)=(x2)\Rightarrow \left( {y - 3} \right) = \left( {x - 2} \right)
Now, subtracting (y3)\left( {y - 3} \right) from both sides, we get
0=x2y+3\Rightarrow 0 = x - 2 - y + 3
0=xy+1\Rightarrow 0 = x - y + 1
Or
xy+1=0\Rightarrow x - y + 1 = 0
Hence, the equation of the line passing through the points (2,3)\left( {2,3} \right) and (4,5)\left( {4,5} \right) is xy+1=0x - y + 1 = 0

Therefore, option D is the correct answer.

Note:
In the standard form, an equation of a straight line is written as y=mx+cy = mx + c. Here mm is the slope. A slope of a line states how steep a line is and in which direction the line is going.
When we are required to find an equation of a given line then, we use the relation between xx and yy coordinates of any point present on that specific line to find its equation.