Horizontal and vertical lines
Quick review (2 minutes)
Picture a shelf and a flagpole.
Rule: A horizontal line has equation y = c and slope 0. A vertical line has equation x = c, undefined slope, and is not a function of x.
1. Compare the coordinates of two distinct points.
2. If their y-values match, keep that output fixed: y = c.
3. If their x-values match, keep that input fixed: x = c.
4. Check both given points in the equation.
5. Do not force a vertical line into y = mx + b.
You need the line through (−3, −4) and (5, −4).
y = −4.
Slope: 0.
Read the coordinates of at least two distinct points.
Keep the repeated coordinate letter and value in the equation.
Compute rise and run if a slope is requested.
Use the function requirement to decide whether it can be y = f(x).
Writing y = 7 for the vertical line. Say what stays fixed before choosing the letter. Fixed across position means x; fixed height means y.
graph
A picture of number pairs. Each plotted point places its first number horizontally and its second number vertically. A function's graph shows its inputs and corresponding outputs.
input
The number you put into a function's rule. It appears inside the function's parentheses and is usually the horizontal coordinate x on its graph.
output
The number a function gives after using its input. It is written f(x), and it is the vertical coordinate y when the function is graphed.
x-axis
The horizontal number line on a coordinate graph. Every point on it has y = 0. Positive x goes right and negative x goes left.
y-axis
The vertical number line on a coordinate graph. Every point on it has x = 0. Positive y goes up and negative y goes down.
y-intercept
Where a graph meets the y-axis. Its input is x = 0. For y = mx + b, the intercept value is b and the intercept point is (0, b).
slope
A line's signed vertical change divided by its signed horizontal change. It tells the output change per input unit. A vertical line has no defined slope because its horizontal change is 0.
rise
The signed vertical change between two points, − . An upward move has positive rise, and a downward move has negative rise.
run
The signed horizontal change between two points, − . A rightward move has positive run, and a leftward move has negative run.
x-intercept
Where a graph meets the x-axis. The output there is 0. The intercept value is the input x, and its full point is (x, 0).
horizontal line
A line with the same vertical coordinate at every point. Its equation is y = c for a fixed number c, and its slope is 0.
vertical line
A line with the same horizontal coordinate at every point. Its equation is x = c. Its slope is undefined, and it is not a function of x.
constant function
A function that gives the same output for every input in its domain. Its graph is horizontal, and its rate of change is 0.
undefined slope
The situation on a vertical line: its run is 0, so rise divided by run requires division by 0. No numerical slope exists. Undefined slope is different from slope 0.
vertical line test
A graph represents y as a function of x exactly when every vertical line meets it at most once. Two meetings would give one input two different outputs.
function
A rule assigning exactly one output to each allowed input. Different inputs may share an output, but one input cannot receive two different outputs.
numerator
The top number of a fraction. It counts how many of the denominator's equal-sized parts you have, or names the amount being divided.
denominator
The bottom number of a fraction. It specifies the equal parts in a whole, or the divisor. A denominator cannot be zero in a defined fraction.
fraction
One number divided by another nonzero number, written with a top and bottom. It can describe part of a whole, a quotient or a comparison.
equation
A statement that two expressions have equal values. A solution makes the equality true. Adding the same amount to both sides preserves their equality.
constant
A fixed number. A constant term has no changing variable attached.
1 In plain words
Picture a shelf and a flagpole. Every place on the shelf has the same height, even when you move across it. A horizontal line does that: y stays fixed while x can vary. Every place on the flagpole has the same across position, even when you move up it. A vertical line does that: x stays fixed while y can vary. These descriptions tell you which letter belongs in each equation. A horizontal line is a function because each input gives one height. A vertical line gives several heights at the same input, so it is a line but not a function of x.
2 Picture it
HOY: Horizontal, 0 slope, Y equation
VUX: Vertical, Undefined slope, X equation
Reminder
Reminder: Coordinate order, Subtracting a negative, Zero in a fraction, Function requirement, Slope formula
- Coordinate order. In (7, 5), x = 7 and y = 5.
- Subtracting a negative. 5 − (−3) = 8 is the horizontal distance between those inputs.
- Zero in a fraction. = 0, while is undefined.
- Function requirement. One input may give one output: input 7 cannot give both 0 and 5 in a function.
- Slope formula. Slope = ; a rise of 0 over a run of 8 gives 0.
3 Why
For a horizontal line through two distinct points, the height change is 0 and the across change is nonzero, so slope = 0 divided by a nonzero number = 0. For a vertical line, the across change is 0 while the height changes. Its slope would divide by 0, which has no value. It also breaks the function requirement of one output per input. The vertical line test records that failure: a vertical probe meets more than one point.
4 The rule
A horizontal line has equation and slope 0.
A vertical line has equation , undefined slope, and is not a function of x.
The same idea, five ways
horizontal keeps height; vertical keeps across position.
A constant coordinate identifies a horizontal or vertical line.
- horizontal: y = c
- vertical: x = c
- horizontal: m = 0
- vertical: slope undefined
A shelf holds one height; a flagpole holds one across position.
Horizontal: y = −4, points (−3, −4) and (5, −4)
Vertical: x = 7, points (7, 0) and (7, 5)
The same idea, other ways
Walking horizontally changes only x. Walking vertically changes only y. The other coordinate must stay fixed.
The equation y = −4 assigns height −4 to every input. The equation x = 7 permits many heights at one input, so no single output rule can describe it as y = f(x).
| Line | Equation | Slope |
|---|---|---|
| Horizontal through (−3, 2) and (5, 2) | y = 2 | 0 |
| Horizontal through (−3, −4) and (5, −4) | 0 | |
| Vertical through (7, 0) and (7, 5) | x = 7 | undefined |
Part 1: Horizontal line
A horizontal line is like a level shelf. Its height is unchanged no matter how far you move left or right. A constant function gives that same output for every input. You can write it as f(x) = c or y = c.
- Rule: y = c = 0x + c has slope 0.
- Rule: Its y-intercept is (0, c). If c ≠ 0, it has no x-intercept.
- Rule: y = 0 is the x-axis itself, so every point on it has output 0.
Reminder
Reminder: Zero multiplication
- Zero multiplication. 0 × 7 − 4 = −4, which is why a constant function ignores the input.
The same idea, five ways
every input gets the same height.
A horizontal line is the graph of a constant function.
- y = c
- f(x) = c
- m = 0
Every spot on a level shelf is the same height.
Worked example
A level line through two points
You need the line through (−3, −4) and (5, −4).
Show the steps and the answer
- Both heights are , so write .The output stays constant while the input changes.
- Compute .There is no vertical change over the nonzero horizontal change.
- Check each point: its second coordinate is .The equation describes both original addresses.
- Slope: 0.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device HOY: Horizontal, slope 0, equation uses Y. A shelf's fixed height explains the Y.
Part 2: Vertical line
A vertical line is like a flagpole planted at one across position. Heights change but the across position never does. Its equation fixes x. Calling its slope undefined means there is no slope number, not a very large number and not zero.
- Rule: x = c has undefined slope because the run is 0.
- Rule: A vertical line fails the vertical line test and is not a function of x.
- Rule: x = c meets the x-axis at (c, 0). If c ≠ 0, it never meets the y-axis; x = 0 is the y-axis itself.
Vertical line: x = 7
Run between any two points: 0
Reminder
Reminder: Function requirement, Division by zero
- Function requirement. A rule assigning both 0 and 5 to input 7 is not a function.
- Division by zero. has no value because no number multiplied by 0 makes 5.
The same idea, five ways
every height uses the same across position.
A vertical line fixes the input and permits many outputs.
- x = c
- run = 0
- is undefined
Different places up a flagpole are all above its same base.
x = 7
(7, 0), (7, 5)
rise = 5, run = 0
slope: undefined
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device VUX: Vertical, Undefined slope, equation uses X. The flagpole fixes the across position.
5 How
- Compare the coordinates of two distinct points.
- If their y-values match, keep that output fixed: y = c.
- If their x-values match, keep that input fixed: x = c.
- Check both given points in the equation.
- Do not force a vertical line into y = mx + b.
Identify the fixed coordinate
- Read the coordinates of at least two distinct points.
- Keep the repeated coordinate letter and value in the equation.
- Compute rise and run if a slope is requested.
- Use the function requirement to decide whether it can be y = f(x).
6 Worked example
Worked example
Keep the correct coordinate fixed
You need equations for the horizontal line through (−3, −4) and (5, −4), and the vertical line through (7, 0) and (7, 5).
Show the steps and the answer
Horizontal: y = −4
Vertical: x = 7
- For the horizontal pair, both outputs are −4: .The second coordinate stays fixed, as on a shelf.
- Its slope is .Zero rise over a nonzero run is zero.
- For the vertical pair, both inputs are 7: .The first coordinate stays fixed, as on a flagpole.
- Its slope would be , so it is undefined.A zero denominator has no division value.
- Check the pairs in their equations: the first pair has , and the second pair has .Each equation must include both given points.
- Horizontal equation: y = −4.
- Horizontal slope: 0.
- Vertical equation: x = 7.
- Vertical slope: undefined.
- The vertical line is not a function of x.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use HOY and VUX, then check a supplied point to make sure the remembered letter fits.
- The y-axis x = 0 does not have one special crossing with itself. Every point on it is already on the y-axis.
7 The trap
Writing y = 7 for the vertical line. Say what stays fixed before choosing the letter. Fixed across position means x; fixed height means y.