# How do you write an equation of a line given m = 3, point (5,2)?

Jul 15, 2016

$y = 3 x - 13$

#### Explanation:

There is a nifty formula for the equation of a line which applies in just such a case where we are given the slope and one point.

$y - {y}_{1} = m \left(x - {x}_{1}\right) \text{ m = slope and "(x_1,y_1)" is a point}$

$\left(y - 2\right) = 3 \left(x - 5\right) \text{ simplify into } y = m x + c$

$y \text{ } = 3 x - 15 + 2$

$y = 3 x - 13$