|
@supa, yeah the 5's were examples. Y=5 would be a flat line where every point on the line is 5 units high (ie. 5 on the y axis).
The equation of a line is there to describe the relationship between two variables (x and y), so you can say hey if I plug in the value 10 for X, what does y come out to be? (eg. for the line y = 1x + 0, we'd have the equation y = 1*10 + 0 so y is 10 when x is 10 on a line with a slope/gradient(m) of 1).
If we're trying to describe a flat line then the Y value remains the same for all values of x (even if x = 3959823 the line is still gonna be 5 units high on the y axis, I mean it's just a flat line sitting there at 5), so we just stop talking about x and say, in this example, Y = 5, as this is always true. A line going straight up and down just needs to be X = 5 (or X = 0, or X = 17, or X = -45, just changes how far left/right we find this vertical line), for the same reason: the X value stays the same no matter what the Y value is doing, so we don't put it in the equation.
iunno if that makes sense or helps
|