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

2 Answers
Feb 9, 2017

y=5

Explanation:

The equation of a line can be written as

yy0=m(xx0)

where (x0,y0) is any point that lies on the line.

The gradient, m, of the line can be found using any two non-identical points that lie on the line.

m=y2y1x2x1

=5530

=0

A gradient of zero indicates that the line is horizontal.

The equation of the line can thus be simplified to

y=y0

In this case, both points have a y coordinate of 5. The equation of this line is therefore

y=5.

Feb 9, 2017

y=5

Explanation:

For this particular example, we could note that the value of the y coordinate is a constant: 5, so the equation is:
XXXy=5

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

For the general case:
XXXGiven two points (x1,y1) and (x2,y2)
XXXA two-point equation can be written as:
XXXXXXyy1xx1=y1y2x1x2

Substituting
XXX(0,5) for (x1,y1) and
XXX(3,5) for (x2,y2)
we have:
XXXy5x0=550(3)
Simplifying:
XXXy5x=0

XXXy=5