- Practice
- About 16 min
- 5 practice questions
Lines parallel to the axes: equations y = b and x = a
Recognise that points with the same y co-ordinate lie on a line parallel to the X-axis with equation y = b, and points with the same x co-ordinate lie on a line parallel to the Y-axis with equation x = a, including the equations of the axes.
If something looks wrong, please tell us.
By the end of this lesson you can
- Explain why points with equal y co-ordinates lie on a line parallel to the X-axis.
- Write the equation y = b or x = a of a line parallel to an axis.
- Write the equations of the X-axis and the Y-axis.
- Draw such lines and find where two of them meet.
Plot the points (−3, 2), (0, 2), (1.5, 2) and (4, 2). They all lie on one horizontal line. What do they have in common? Their y co-ordinate is the same, 2. This lesson turns that observation into an equation for the line.
Lines parallel to the X-axis
Every point on the line through (0, b) parallel to the X-axis is at the same distance from the X-axis, so every point has y co-ordinate b. Conversely, every point with y co-ordinate b lies on that line. So the line is described by the equation y = b. If b > 0 the line is above the X-axis; if b < 0 it is below.
Lines parallel to the Y-axis
In the same way, the line through (a, 0) parallel to the Y-axis contains exactly the points whose x co-ordinate is a. Its equation is x = a. If a > 0 the line is to the right of the Y-axis; if a < 0 it is to the left.
Equations of the axes
Every point on the X-axis has y co-ordinate 0, and every point with y = 0 is on the X-axis, so the equation of the X-axis is y = 0. Likewise the equation of the Y-axis is x = 0.
Lines parallel to the axes
-
Parallel to the X-axis
- Equation y = b
- All points have the same y
- Passes through (0, b)
- X-axis itself: y = 0
-
Parallel to the Y-axis
- Equation x = a
- All points have the same x
- Passes through (a, 0)
- Y-axis itself: x = 0
Worked example 1: writing equations
(i) The line parallel to the X-axis and 6 units below it: every point has y = −6, so the equation is y = −6. (ii) The line parallel to the Y-axis and 3.5 units to its right: x = 3.5. (iii) The line parallel to the Y-axis through the point (−5, 8): every point has x = −5, so x = −5.
Worked example 2: drawing two lines and their meeting point
Draw the graphs of x = −1 and y = 4.
- Draw the axes and number them.
- x = −1: draw the line parallel to the Y-axis, 1 unit to its left, through (−1, 0).
- y = 4: draw the line parallel to the X-axis, 4 units above it, through (0, 4).
- The lines meet at the point whose x is −1 and whose y is 4: (−1, 4).
Graph of x = a or y = b
- Read the constant a or b.
- Mark the point on the axis (a, 0) on the X-axis or (0, b) on the Y-axis.
- Draw the parallel line Parallel to the Y-axis for x = a; to the X-axis for y = b.
Worked example 3: equations in other forms
Which lines are parallel to which axis: x + 4 = 0, 2y − 5 = 0, 3x = 12, y + 1 = 0? Working: x + 4 = 0 means x = −4 (parallel to the Y-axis); 2y − 5 = 0 means y = 2.5 (parallel to the X-axis); 3x = 12 means x = 4 (parallel to the Y-axis); y + 1 = 0 means y = −1 (parallel to the X-axis). The lines x = −4 and x = 4 are 8 units apart.
Worked example 4: distance between lines
The distance between the Y-axis (x = 0) and the line x = −6 is 6 units. In general the distance between the Y-axis and the line x = a is the size of a without its sign. There are exactly two lines parallel to the X-axis at a distance of 3 units from it: y = 3 and y = −3.
Parallel to the X-axis: y = b. Parallel to the Y-axis: x = a. X-axis: y = 0. Y-axis: x = 0. The lines x = a and y = b meet at (a, b).
Key takeaways: a horizontal line has every y co-ordinate equal, so its equation is y = b; a vertical line has every x co-ordinate equal, so its equation is x = a. The X-axis is y = 0 and the Y-axis is x = 0. Rewrite equations like 2y − 5 = 0 as y = 2.5 to see which axis a line is parallel to. The lines x = a and y = b cross at (a, b).
Check your understanding
-
1. What is the equation of the line parallel to the X-axis and 5 units below it?
- x = −5
- y = 5
- y = −5
- x = 5
Show answer
Answer: C. Lines parallel to the X-axis have equations y = b. Below the X-axis means b is negative, so the equation is y = −5.
-
2. What is the equation of the Y-axis?
- x = 0
- y = 0
- x = y
- x + y = 0
Show answer
Answer: A. Every point on the Y-axis has x co-ordinate 0, and every point with x = 0 is on it, so its equation is x = 0.
-
3. The point (−3, −2) lies on a line parallel to the Y-axis. What is the equation of this line?
- y = −2
- x = −2
- y = −3
- x = −3
Show answer
Answer: D. A line parallel to the Y-axis has every x co-ordinate equal. The point has x = −3, so the line is x = −3.
-
4. Which equation has a graph parallel to the X-axis?
- x + 6 = 0
- y − 2 = 0
- 2x = 7
- x = y
Show answer
Answer: B. y − 2 = 0 means y = 2, a line parallel to the X-axis. The first and third give x = constant (parallel to the Y-axis); x = y passes through the origin at 45°.
-
5. Where do the lines x = 4 and y = −1.5 meet?
- (−1.5, 4)
- (4, −1.5)
- (4, 1.5)
- They do not meet
Show answer
Answer: B. On x = 4 every point has x = 4; on y = −1.5 every point has y = −1.5. The common point is (4, −1.5).
Sign in to keep track of the lessons you finish.