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), (5,4) ?
Solution
Here in this question, we have to find the equation of the straight line passing through the two points (x1,y1) and (x2,y2). Find the equation by using the Point-Slope formula y−y1=m(x−x1) before finding the equation first we have to find the slope using the formula m=x2−x1y2−y1. 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+c, where m is the gradient or slope and (0,c) the coordinates of the y-intercept. Consider, the point-slope formula,
y−y1=m(x−x1)-------(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 m in point-slope formula by using the formula m=x2−x1y2−y1
Where x1=3, x2=5, y1=−1 and y2=4 on substituting this in formula, then
m=5−34−(−1)
⇒m=5−34+1
On simplification, we get
m=25
Now we get the gradient or slope of the line which passes through the points (3,−1) and (5,4).
Substitute the slope m and the point (x1,y1)=(3,−1) in the point slope formula.
Consider the equation (1)
y−y1=m(x−x1)
Where m=25, x1=3 and y1=−1 on substitution, we get
y−(−1)=25(x−3)
⇒y+1=25x−25(3)
⇒y+1=25x−215
Subtract 1 on both side, then
y+1−1=25x−215−1
On simplification, we get
y=25x−(215+2)
⇒y=25x−217
Or it can be written as
∴y=25x−17
Hence, the equation of the line passing through points (3,−1) and (5,4) is y=25x−17.
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.