Math Lab
Home/Class IX/Ch 4/Lines Parallel to the Axes

Lines Parallel to the Axes

Most linear equations involve both xx and yy. But two simple special cases , x=cx = c and y=cy = c , show up everywhere and confuse students unnecessarily. Each is still a linear equation in two variables, with one of a,ba, b equal to zero. Their graphs are not slanted; they are perfectly horizontal or vertical lines.

Definitions

The equation x=cx = c (for some real constant cc) is shorthand for the linear equation xc=0,i.e.1x+0y+(c)=0,x - c = 0, \quad \text{i.e.} \quad 1 \cdot x + 0 \cdot y + (-c) = 0, in the standard form ax+by+d=0ax + by + d = 0 with a=1,b=0,d=ca = 1, b = 0, d = -c.

Similarly, y=cy = c is shorthand for 0x+1y+(c)=00 \cdot x + 1 \cdot y + (-c) = 0.

Concept and shapes

The graph of x=cx = c is a vertical line. Why? Every solution of x=cx = c has the form (c,q)(c, q) for any qq. All such points share the same abscissa cc, so they lie on a single vertical line. The line is parallel to the yy-axis. If c>0c > 0, it sits to the right of the yy-axis; if c<0c < 0, to the left; and if c=0c = 0, the line is the yy-axis.

The graph of y=cy = c is a horizontal line. Symmetric argument. Every solution of y=cy = c has the form (p,c)(p, c) for any pp, so all such points share the ordinate cc and lie on a horizontal line, parallel to the xx-axis. If c>0c > 0, the line sits above the xx-axis; if c<0c < 0, below; and if c=0c = 0, the line is the xx-axis.

Why no slope? Slanted lines have a slope (a rate of change of yy with xx). Horizontal lines have slope 00 (no change in yy). Vertical lines have undefined slope (an infinite rate, sort of). We do not develop slope formally in this chapter; this hint is just orientation for next year.

Recognising these equations. The shortest description of a vertical line is just "the first coordinate is constant at cc". The shortest description of a horizontal line is "the second coordinate is constant at cc". On a graph, vertical lines look like the letter I; horizontal lines look like a flat dash.

Building these equations from descriptions.

  • "A line passes through (3,5)(3, 5) parallel to the yy-axis." Parallel to yy-axis means vertical, equation x=3x = 3 (the abscissa of the given point).
  • "A line passes through (3,5)(3, 5) parallel to the xx-axis." Parallel to xx-axis means horizontal, equation y=5y = 5 (the ordinate of the given point).

Special positions.

  • x=0x = 0 is the yy-axis itself.
  • y=0y = 0 is the xx-axis itself.

So the two axes are themselves graphs of linear equations.

Distance between two parallel lines.

  • Two vertical lines x=c1x = c_1 and x=c2x = c_2 are at distance c1c2|c_1 - c_2| apart (horizontal distance).
  • Two horizontal lines y=c1y = c_1 and y=c2y = c_2 are at distance c1c2|c_1 - c_2| apart (vertical distance).

This trivial fact is occasionally useful in geometry problems where two parallel lines bound a strip.

Crossing pattern. A vertical line x=cx = c and a horizontal line y=dy = d intersect at exactly one point: (c,d)(c, d). Two distinct vertical lines do not intersect (they are parallel). Two distinct horizontal lines do not intersect.

Worked examples

Example 1. Draw the graph of x=2x = -2.

A vertical line 22 units to the left of the yy-axis. Passes through (2,0),(2,1),(2,1)(-2, 0), (-2, 1), (-2, -1), etc.

Example 2. Draw the graph of y=4y = 4.

A horizontal line 44 units above the xx-axis. Passes through (0,4),(1,4),(3,4)(0, 4), (1, 4), (-3, 4), etc.

Example 3. Find the equation of a line parallel to the xx-axis passing through (5,7)(-5, 7).

Parallel to xx-axis \Rightarrow horizontal \Rightarrow equation y=(ordinate of the point)=7y = (\text{ordinate of the point}) = 7.

Example 4. Find the point where x=3x = 3 and y=2y = -2 intersect.

(3,2)(3, -2).

Example 5. Find the distance between the lines x=5x = 5 and x=1x = -1.

Both vertical. Distance 5(1)=6|5 - (-1)| = 6.

Try it yourself

  1. Draw the graph of x=4x = 4.
  2. Draw the graph of y=3y = -3.
  3. Find the equation of a horizontal line through (2,5)(2, 5).
  4. Find the equation of a vertical line through (2,5)(2, 5).
  5. Where does x=1x = -1 meet y=6y = 6?
  6. State the equation of the yy-axis.
  7. State the equation of the xx-axis.
  8. Distance between the lines y=3y = 3 and y=2y = -2.
  9. Is x=7x = -7 parallel to the xx- or yy-axis?
  10. The graph of y=ky = k passes through (3,4)(3, 4). Find kk.

Pitfalls / Insight

  • x=cx = c is vertical, y=cy = c is horizontal. This trips up most students once. The lone variable in the equation is constant, so the other variable can vary, giving the line along the other variable's axis.
  • Treat axis equations as special cases. x=0x = 0 and y=0y = 0 are the axes themselves.
  • Lines parallel to the same axis are parallel to each other and never meet. No intersection point exists.

Insight. These two cases are the only "extreme" graphs in the chapter. Everything else slopes. Recognising them on sight saves time on exam questions like "where does the line x=2x = 2 meet the curve y=x+5y = x + 5?" , answer: at (2,7)(2, 7), no computation beyond substitution.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Lines parallel to the axes
6 questions · pick the best answer
Q1

The graph of y=7y = 7 is:

Q2

The graph of x=3x = -3 is parallel to:

Q3

Equation of the xx-axis is:

Q4

Equation of the yy-axis is:

Q5

Distance between y=5y = 5 and y=3y = -3 is:

Q6

The lines x=4x = 4 and y=2y = -2 intersect at: