Solveeit Logo

Question

Question: How do you find the equation of the straight line joining: \[\left( {3, - 1} \right)\], \[\left( {5,...

How do you find the equation of the straight line joining: (3,1)\left( {3, - 1} \right), (5,4)\left( {5,4} \right) ?

Explanation

Solution

Here in this question, we have to find the equation of the straight line passing through the two points (x1,y1)\left( {{x_1},{y_1}} \right) and (x2,y2)\left( {{x_2},{y_2}} \right). Find the equation by using the Point-Slope formula yy1=m(xx1)y - {y_1} = m\left( {x - {x_1}} \right) before finding the equation first we have to find the slope using the formula m=y2y1x2x1m = \dfrac{{{y_2} - {y_1}}}{{{x_2} - {x_1}}}. On simplification to the point-slope formula we get the required solution.

Complete step by step solution:
The general equation of a straight line is y=mx+cy = mx + c, where mm is the gradient or slope and (0,c)\left( {0,c} \right) the coordinates of the y-intercept. Consider, the point-slope formula,
yy1=m(xx1)y - {y_1} = m\left( {x - {x_1}} \right)-------(1)
The point-slope formula uses the slope and the coordinates of a point along the line to find the y-intercept.
Find the slope mm in point-slope formula by using the formula m=y2y1x2x1m = \dfrac{{{y_2} - {y_1}}}{{{x_2} - {x_1}}}
Where x1=3{x_1} = 3, x2=5{x_2} = 5, y1=1{y_1} = - 1 and y2=4{y_2} = 4 on substituting this in formula, then
m=4(1)53m = \dfrac{{4 - \left( { - 1} \right)}}{{5 - 3}}
m=4+153\Rightarrow \,\,\,m = \dfrac{{4 + 1}}{{5 - 3}}
On simplification, we get
m=52m = \dfrac{5}{2}
Now we get the gradient or slope of the line which passes through the points (3,1)\left( {3, - 1} \right) and (5,4)\left( {5,4} \right).
Substitute the slope m and the point (x1,y1)=(3,1)\left( {{x_1},{y_1}} \right) = \left( {3, - 1} \right) in the point slope formula.
Consider the equation (1)
yy1=m(xx1)y - {y_1} = m\left( {x - {x_1}} \right)
Where m=52m = \dfrac{5}{2}, x1=3{x_1} = 3 and y1=1{y_1} = - 1 on substitution, we get
y(1)=52(x3)y - \left( { - 1} \right) = \dfrac{5}{2}\left( {x - 3} \right)
y+1=52x52(3)\Rightarrow \,\,y + 1 = \dfrac{5}{2}x - \dfrac{5}{2}\left( 3 \right)
y+1=52x152\Rightarrow \,\,y + 1 = \dfrac{5}{2}x - \dfrac{{15}}{2}
Subtract 1 on both side, then
y+11=52x1521y + 1 - 1 = \dfrac{5}{2}x - \dfrac{{15}}{2} - 1
On simplification, we get
y=52x(15+22)y = \dfrac{5}{2}x - \left( {\dfrac{{15 + 2}}{2}} \right)
y=52x172\Rightarrow \,\,y = \dfrac{5}{2}x - \dfrac{{17}}{2}
Or it can be written as
y=5x172\therefore\,\,y = \dfrac{{5x - 17}}{2}

Hence, the equation of the line passing through points (3,1)\left( {3, - 1} \right) and (5,4)\left( {5,4} \right) is y=5x172y = \dfrac{{5x - 17}}{2}.

Note: The slope of a line is a ratio of the change in the y value and the change in the x value. We have to know the equation of a line and then we have to substitute the values to the equation, hence we can determine the value. While simplifying the equation we must take care of signs of terms.