Straight lines

NUST NET Maths · Maths · Analytic geometry. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll NUST NET Maths topics

The idea

Coordinate geometry turns geometry into algebra. Two points give you a distance, a midpoint and a gradient. The gradient m measures the steepness of a line and equals tan θ, where θ is the angle the line makes with the positive x-axis.

A line is fixed by one point and a gradient, so most questions come down to finding m and then using y − y1 = m(x − x1). For a line written as ax + by + c = 0, read the gradient straight off as −a/b.

Parallel lines have equal gradients. Perpendicular lines have gradients that multiply to −1. Three points are collinear when the gradients between them are equal.

Rules to remember

Common mistake

Using the parallel-lines distance formula before the two equations have the same x and y coefficients. Multiply or divide one equation first so that a and b match, then compare the constants.

Worked example

Find the equation of the line through (1, 2) perpendicular to 2x − 3y + 5 = 0.

  1. Gradient of the given line = −a/b = −2/(−3) = 2/3, so the perpendicular gradient is −3/2.
  2. y − 2 = (−3/2)(x − 1), so 2y − 4 = −3x + 3.
  3. Rearrange: 3x + 2y − 7 = 0. Check with (1, 2): 3 + 4 − 7 = 0.

Answer: 3x + 2y − 7 = 0

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Definite integrals and areasCircles and conic sections →Take a NUST NET Maths test