# What is the equation of a line with a slope of 0 that passes through points (1,7)?

Jul 7, 2016

$y = 7$

#### Explanation:

If the slope of a line is zero, then it is a horizontal line. This means that the line will have a constant y value for all x, hence the equation of the line is

$y = 7$

You can also see this using the general form of a straight line

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

$y - 7 = 0 \left(x - 1\right) \implies y = 7$