Sub topic 7
Points That Lie on an Axis
Assume you can read positive and negative numbers on a number line and use ordered pairs. In this chapter, you will identify points that lie on the coordinate axes and explain why their coordinates have a zero.
The two axes
A coordinate plane has two perpendicular number lines:
- The horizontal line is the x-axis.
- The vertical line is the y-axis.
- Their intersection is the origin, written as \((0, 0)\).
The x-axis contains every point whose y-coordinate is zero. The y-axis contains every point whose x-coordinate is zero.
An ordered pair is written \((x, y)\). The first number gives horizontal position. The second number gives vertical position.
Why zero identifies an axis
Consider the point \((5, 0)\). Start at the origin and move 5 units right. Then move 0 units up or down. You remain on the x-axis.
Now consider \((0, -3)\). Move 0 units horizontally, then move 3 units down. You remain on the y-axis.
The zero tells you that there is no movement in one direction:
| Point | Horizontal movement | Vertical movement | Location |
|---|---|---|---|
| \((5, 0)\) | 5 right | 0 | x-axis |
| \((0, -3)\) | 0 | 3 down | y-axis |
| \((0, 0)\) | 0 | 0 | origin |
Classifying a point
Use the coordinate that is zero:
- If \(y=0\) and \(x\neq 0\), the point is on the x-axis.
- If \(x=0\) and \(y\neq 0\), the point is on the y-axis.
- If \(x=0\) and \(y=0\), the point is the origin.
- If neither coordinate is zero, the point is not on an axis. It lies in one of the four quadrants.
For example:
- \((-7, 0)\) is on the x-axis, 7 units left of the origin.
- \((0, 4)\) is on the y-axis, 4 units above the origin.
- \((0, 0)\) is the origin.
- \((-7, 4)\) is not on an axis because neither coordinate is zero.
A common error is to decide the axis from the first coordinate alone. The first coordinate describes horizontal position, but the second coordinate determines whether the point is on the x-axis. A point is on the x-axis when its vertical coordinate is zero.
Checking points with Python
The following function checks the coordinates in the necessary order. It tests the origin first because the origin belongs to both axes.
def location(x, y):
if x == 0 and y == 0:
return "origin"
if y == 0:
return "x-axis"
if x == 0:
return "y-axis"
return "not on an axis"
points = [(5, 0), (0, -3), (0, 0), (-2, 4)]
for point in points:
print(point, "is on the", location(*point))The expression *point passes the two values in a pair as the function's x and y arguments.
Distances from the axes
For any point \((x, y)\):
- Its distance from the y-axis is \(|x|\).
- Its distance from the x-axis is \(|y|\).
For \((-6, 2)\), the distance from the y-axis is \(|-6|=6\), and the distance from the x-axis is \(|2|=2\). The point is not on either axis because both distances are greater than zero.
For a point on the x-axis, the distance from the x-axis is zero. For a point on the y-axis, the distance from the y-axis is zero.
Exercise
Classify the point \((0, -8)\), and state its distance from each axis.
Show answer
It lies on the y-axis. Its distance from the y-axis is 0 units, and its distance from the x-axis is 8 units.