What is the equation of the line that passes through the points (−2, 1) and (1, 10)?
Hello
let : A(-2;1) B(1:10) and the equation is: y = ax+b
a = (yb -ya)/(xb -xa)
a = (10-1)/(1+2)
a = 3........ y = 3x+b
A passes by this line : 1 = 3(-2)+b
b = 7
the equation is : y= 3x+7
Answer:
Equation of the line will be y = 3x + 7
Step-by-step explanation:
We have to find the equation of a line that passes through two points having coordinates as (-2, 1) and (1, 10) respectively.
Equation of the line in intercept form is represented by y = mx + c
Where m = slope of the line
c = y-intercept
Now we know slope of the line is represented by m = \(\frac{(y-y')}{(x-x')}\)
m = \(\frac{(10-1)}{(1+2)}\)
m = \(\frac{9}{3}\)
m = 3
Now the equation of the line will be y = 3x + c
Since point (1, 10) lies on the given line
So 10 = 3×1 + c
c = 10 - 3
c = 7
Finally the equation of the line will be y = 3x + 7