# How do you write an equation of a line that passes through points (0,5), (-3,5)?

##### 2 Answers

#### Explanation:

The equation of a line can be written as

#y - y_0 = m * (x - x_0)#

where

The gradient,

# m = frac{y_2 - y_1}{x_2 - x_1}#

#= frac{5 - 5}{-3 - 0}#

#= 0#

A gradient of zero indicates that the line is horizontal.

The equation of the line can thus be simplified to

# y = y_0#

In this case, both points have a

#y = 5# .

#### Explanation:

For this particular example, we could note that the value of the

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For the general case:

Substituting

we have:

Simplifying: