Question
Question: How do you find the equation of the line passing through the points \[\left( {1,4} \right)\] and \[\...
How do you find the equation of the line passing through the points (1,4) and (−2,6)?
Solution
Here we will find the slope of the line of the two points using the gradient formula. Then by using any one of the points we will find the value of the y-intercept by substituting the points in the slope-intercept form. Finally, we will substitute the value we found in the slope-intercept form to get the desired answer.
Formula Used:
We will use the following formulas:
Slope-intercept form:y=mx+b, where m= Slope, b= y-intercept and x= Independent variable of the function y=f(x)
Gradient Formula: m=x2−x1y2−y1, where (x1,y1) and (x2,y2) are the two points given.
Complete step by step solution:
Points given to us are (1,4) and(−2,6)
So, (x1,y1)=(1,4) and (x2,y2)=(−2,6)
Substituting the above value in the formula m=x2−x1y2−y1, we get,
m=−2−16−4
Adding and subtracting the terms, we get
⇒m=−32
Now substituting the value of m in the slope intercept formula y=mx+b, we get
y=−32x+b…..(1)
Now we have to find the value of b. So, we will substitute any one point in the equation (1).
Let us substitute (1,4) in equation (1), we get
4=−32×1+b
Simplifying the expression, we get
⇒4+32=b
Taking LCM in the LHS and simplifying, we get
⇒b=34×3+2=314
So we get b=314.
Substituting the value of b in equation (1), we get
y=−32x+314
Therefore, y=−32x+314 is the equation of the line joining points (1,4) and (−2,6).
Note:
A Line is a one-dimensional figure that extends endlessly in both directions. It is also described as the shortest distance between any two points. There are many ways to find the equation of a line such as Point-slope Form, Intercept Form, Determinant Form, and many others. The Form we are using depends on the data we have. We know that in a plane there are an infinite number of points and a number of lines can pass through it.