Skip to content

Parallel lines, perpendicular lines and meeting points

Parallel lines, perpendicular lines and meeting points

Parallel lines

Two lines that have slopes are parallel exactly when their slopes are equal:

m1\displaystyle m_1 =\displaystyle = m2\displaystyle m_2
  • The same slope and a different point on the y\displaystyle y-axis – two parallel lines: y=2x+1\displaystyle {y}={2x+1} and y=2x−3\displaystyle {y}={2x-3}.
  • The same slope and the same point on the y\displaystyle y-axis – one line, written twice: y=2x+1\displaystyle {y}={2x+1} and 4x−2y+2=0\displaystyle {4x-2y+2}={0}.
  • Different slopes – the lines meet at one point.
Perpendicular lines

Two lines that have slopes are perpendicular exactly when the product of their slopes is −1\displaystyle -1:

m1⋅m2\displaystyle m_1\cdot m_2 =\displaystyle = −1\displaystyle -1
y=2x\displaystyle y=2x
y=−12x\displaystyle y=-\frac{1}{2}x
A=(1,2)\displaystyle A=(1,2)
B=(−2,1)\displaystyle B=(-2,1)

Why, for the lines through the origin y=2x\displaystyle {y}={2x} and y=−12x\displaystyle {y}={-\frac{1}{2}x}:

  • A(1,2)\displaystyle A(1,2) is on the first line: from O\displaystyle O, 1\displaystyle 1 to the right and 2\displaystyle 2 up.
  • Turn the triangle of that step a quarter turn about O\displaystyle O: 1\displaystyle 1 to the right becomes 1\displaystyle 1 up, and 2\displaystyle 2 up becomes 2\displaystyle 2 to the left – the point B(−2,1)\displaystyle B(-2,1), and OB⊥OA\displaystyle OB\perp OA.
  • The slope of OB\displaystyle OB: 1−2=−12\displaystyle {\frac{1}{-2}}={-\frac{1}{2}}, and 2⋅(−12)=−1\displaystyle {2\cdot\left(-\frac{1}{2}\right)}={-1}.

For any slope m\displaystyle m the step (1,m)\displaystyle (1,m) turns into (−m,1)\displaystyle (-m,1), of slope −1m\displaystyle -\frac{1}{m}. Lines that do not pass through the origin are moved there without changing their slopes. A line parallel to the x\displaystyle x-axis is perpendicular to a line parallel to the y\displaystyle y-axis, which has no slope.

Exercise 1

How do the two lines lie: the same line, parallel, perpendicular, or meeting without being perpendicular?

  1. y=−3x+2\displaystyle {y}={-3x+2} and 6x+2y−4=0\displaystyle {6x+2y-4}={0}
  2. y=25x−1\displaystyle {y}={\frac{2}{5}x-1} and 5x+2y=7\displaystyle {5x+2y}={7}
  3. y=4x+1\displaystyle {y}={4x+1} and y=4x−1\displaystyle {y}={4x-1}
  4. x−2y=0\displaystyle {x-2y}={0} and y=x\displaystyle {y}={x}
Exercise 2

Write the equation of the line through the point P(1,1)\displaystyle P(1,1) parallel to the line 2x−y+5=0\displaystyle {2x-y+5}={0}.

2x−y+5=0\displaystyle 2x-y+5=0
P=(1,1)\displaystyle P=(1,1)

Exercise 3

Write the equation of the line through the point P(2,5)\displaystyle P(2,5) perpendicular to the line 3x+4y=0\displaystyle {3x+4y}={0}.

3x+4y=0\displaystyle 3x+4y=0
P=(2,5)\displaystyle P=(2,5)

The meeting point of two lines

The meeting point is on both lines, so its coordinates satisfy both equations: it is the solution of their system of equations.

  • One solution – the lines meet at one point.
  • No solution – the lines are parallel: the system leads to something false, like 0=4\displaystyle {0}={4}.
  • Infinitely many solutions – it is one line: the system leads to something always true, like 0=0\displaystyle {0}={0}.

Example: y=2x−1\displaystyle {y}={2x-1} and x+y=8\displaystyle {x+y}={8}.

  • x+(2x−1)=8\displaystyle {x+(2x-1)}={8}, so 3x=9\displaystyle {3x}={9} and x=3\displaystyle {x}={3};
  • y=2⋅3−1=5\displaystyle {y}={2\cdot3-1}={5};
  • the lines meet at (3,5)\displaystyle (3,5).
Exercise 4

Find the meeting point of the lines y=3x−5\displaystyle {y}={3x-5} and 2x+y=10\displaystyle {2x+y}={10}.

    The distance from a point to a line

    The distance from a point to a line is the length of the perpendicular from the point to the line. Three steps find it:

    1. the line through the point perpendicular to the given line;
    2. the foot of the perpendicular – where the two lines meet;
    3. the distance between the point and the foot.

    Any other segment from the point to the line is longer: it is the hypotenuse of a right-angled triangle whose leg is the perpendicular.

    Exercise 5

    The line ℓ\displaystyle \ell: y=x+1\displaystyle {y}={x+1}, and the point P(5,0)\displaystyle P(5,0).

    a

    Write the equation of the line through P\displaystyle P perpendicular to ℓ\displaystyle \ell.

    y=x+1\displaystyle y=x+1
    P=(5,0)\displaystyle P=(5,0)

    b

    Find the foot of the perpendicular.

      c
      Find the distance from P\displaystyle P to ℓ\displaystyle \ell, in its simplest form.

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        Exercise 6

        The lines: kx+2y=6\displaystyle {kx+2y}={6} and 3x−y=4\displaystyle {3x-y}={4}.

        a
        For which k\displaystyle k are the lines parallel? (A hint: the slope of the first is −k2\displaystyle -\frac{k}{2}.)
          b
          For which k\displaystyle k are the lines perpendicular?
            c

            How many solutions has the system of the two equations for the k\displaystyle k of part 1?
            And for every other k\displaystyle k?
            Explain.