We will have the following:
First, we find the slope:
So, the equation that represents the line is:
So:
***Explanation***
We are given the points (-2, 1) & (2. 1).
From this we cans see that the line passes both times through y = 1.
We also know that the slope (m) is given by:
So the slope for this line will be:
Now, we also know that the equation of the line in general form is given by:
So, the equation of the line will be given by:
So the function is a constant value, thus a horizontal line.
***Explanation for the general form of a line***
The general form of a line is given by:
Here "x" & "y" are two variables; "x1" & "y1" are the component of a point that belongs to that lline and "m" is the slope of that line. We remember that (x1, y1) can be any point that belongs to the line.
So, we simply replace the values, in our case I willl solve for (-2, 1), but we could also use (2, 1), the solution at the end will be the same.
So: