Parallel and perpendicular lines

Parallel and perpendicular lines

IB MYP Maths Standard: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Parallel lines have the same gradient: m1=m2m_1=m_2.
  • Perpendicular lines have gradients that multiply to −1-1.
  • The perpendicular gradient is the negative reciprocal: flip the fraction and change the sign.
  • Rearrange to y=mx+cy=mx+c before reading off the gradient.
  • The perpendicular from a point to a line is the shortest distance.

Parallel lines

Parallel lines slope at the same rate, so they have the same gradient and differ only in their yy-intercept.

Parallel lines never meet. The lines y=3x−2y=3x-2, y=3x+5y=3x+5 and y=3xy=3x are all parallel because each has gradient 33.

−4−3−2−11234−10−551015xyy = 3x − 2y = 3x + 5y = 3x
Three parallel lines with gradient 3
  • Parallelm1=m2m_1=m_2

Which line is parallel to y=4x−1y=4x-1?

Perpendicular lines

Perpendicular lines meet at 90∘90^\circ and their gradients multiply to −1-1.

To find a perpendicular gradient, take the negative reciprocal: flip the fraction and change the sign. For example y=2x+7y=2x+7 and y=−12x+1y=-\frac12x+1 are perpendicular because 2×(−12)=−12\times\left(-\frac12\right)=-1.

  • m1×m2m_1\times m_2−1-1
gradient 2gradient −1/2bcd
Perpendicular lines with gradients 2 and −1/2

Gradient

  • 3
  • −1/2
  • 2/3

Perpendicular gradient

  • −1/3
  • 2
  • −3/2

What is the gradient of a line perpendicular to y=4x+1y=4x+1?

Gradient from an equation

Rearrange the equation into y=mx+cy=mx+c first; the gradient is then the coefficient of xx.

You must rearrange to y=mx+cy=mx+c before reading off the gradient, and divide every term when you do.

−5−4−3−2−112345−6−4−2246810xy(0, 3)y = mx + c
After rearranging to y = mx + c, m is the gradient and c is where the line crosses the y-axis. Shown: 2y = 4x + 6, which is y = 2x + 3
  • Rearrange toy=mx+cy=mx+c

Worked example

Find the gradient of 2x+4y=82x+4y=8.

What is the gradient of 3x+6y=123x+6y=12?

Parallel line through a point

Use the same gradient, then substitute the point to find cc.

Find the gradient of the given line, use it in y=mx+cy=mx+c, and substitute the point to find cc.

−2−112345−8−6−4−2246810xy(2, 1)y = 3x − 2y = 3x − 5
Parallel to y = 3x − 2 through (2, 1)

Worked example

Find the line parallel to y=3x−2y=3x-2 through (2,1)(2,1).

A line parallel to y=3x−2y=3x-2 passes through (0,4)(0,4). What is its equation?

Perpendicular line through a point

Use the negative reciprocal gradient and substitute the point; the perpendicular gives the shortest distance.

Find the gradient of the given line, take the negative reciprocal, and substitute the point to find cc. The perpendicular from a point to a line gives the shortest distance: find where the lines meet, then use Pythagoras.

shortest distanceABCDPM
Perpendicular to y = ½x + 1 through P(4, 5)

Worked example

Find the line perpendicular to y=12x+1y=\frac12x+1 through P(4,5)P(4,5), and the shortest distance from PP to the first line.

How can you check a perpendicular gradient?

Try an exam question

Line LL has equation y=2x+3y=2x+3. Find the equation of the line perpendicular to LL that passes through (4,1)(4,1).

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

What is the gradient of any line parallel to LL?

1 mark, marked against the mark scheme

Revision notes