
Ryan C. answered 07/07/22
Ivy League Professor | 10+ Years Experience | Patient & Kind
Hi Yittel,
Thanks for your question! To get the equation of a line, we first need to get the slope between the points (1,1) and (2,4). Recall that slope is determined by the formula
- m = (y2 - y1)/(x2 - x1) for a pair of points (x1,y1) and (x2,y2).
Therefore, the slope of our line is
- m = (4-1)/(2-1) = 3/1 = 3.
Once we know the slope of our line and at least one point on the line (it can be any point on the line), we can write the equation of the line in point-slope form:
- y - y0 = m*(x - x0), where m is the slope and (x0,y0) is a point on the line.
In our case, m = 3 and (x0,y0) can be either (1,1) or (2,4). (It makes no difference in the final answer.) For simplicity, let's choose (x0,y0) = (1,1). Then, the equation of our line in point-slope form is
- y - 1 = 3*(x - 1).
We can write this in slope-intercept form as
- y = 3x - 2,
which is our final answer.