158k views
4 votes
Find the equation of a line passing through the points (2,1) and (4,7).

User Mogronalol
by
5.6k points

1 Answer

3 votes

The point-slope form:


y-y_1=m(x-x_1)

m - slope

(x₁, y₁) - point

The formula of a slope:


m=(y_2-y_1)/(x_2-x_1)

We have the points (2, 1) and (4, 7). Substitute:


m=(7-1)/(4-2)=(6)/(2)=3


\boxed{y-1=3(x-2)} point-slope form


\boxed{y=3x-5} slope-intercept form


\boxed{3x-y=5} standard form

User TomMP
by
5.3k points