# What is the equation of a line that has a slope of 3 and goes through (2,5)?

Mar 3, 2018

$y = 3 x - 1$

#### Explanation:

$\text{equation of a line when the slope is m and it passes through (a, b):}$

$y - b = m \left(x - a\right)$

$\text{in your case m = 3 and (a, b) is (2, 5):}$

$y - 5 = 3 \left(x - 2\right)$
$y = 3 x - 1$