notesonly.in

One notebook for every subject — open it anywhere.

Log in

Distance Between Parallel Lines: Explained with Examples

The distance between two parallel lines is the perpendicular gap separating them — the same everywhere along the lines, since parallels never get closer or farther apart. For lines ax + by + c1 = 0 and ax + by + c2 = 0, that gap is |c1 − c2|/√(a² + b²).

It matters wherever uniform spacing is required: the width of a road between its two edge lines, the gap between railway tracks, the thickness of a wall drawn as two parallel lines on a plan, or the margin width around printed text. One formula turns two equations into a single clearance number.

Key Concepts

  • Constant gap: parallel lines are everywhere equidistant, so measuring the perpendicular at any single point gives the distance for the whole pair.
  • Same (a, b) required: the formula needs both lines written with identical a and b coefficients — scale one equation first if they differ.
  • Numerator |c1 − c2|: the difference of the constant terms captures how far apart the lines are shifted.
  • Denominator √(a² + b²): the same normalising factor as the point-to-line formula.
  • Units: the answer is a length in coordinate units.

Formulas

  • d = |c1 − c2|/√(a² + b²) for parallel lines ax + by + c1 = 0 and ax + by + c2 = 0.
  • Via a point: pick any point on the first line and apply the point-to-line distance formula to the second line.
  • Horizontal/vertical shortcut: for y = k1 and y = k2 the distance is |k1 − k2|; same for x = k1, x = k2.

Assumptions: the lines are genuinely parallel (check a1/a2 = b1/b2 first) and written with matching a, b. Limits: if the lines are not parallel, the "distance" between them is zero at their intersection point — the formula does not apply.

Worked Example

Find the distance between the parallel lines 6x + 8y − 15 = 0 and 3x + 4y + 9 = 0.

  1. Check parallelism: 6/3 = 2 and 8/4 = 2 — the a and b ratios match, so the lines are parallel.
  2. Match the coefficients: multiply the second equation by 2 to get 6x + 8y + 18 = 0, so c1 = −15, c2 = 18, a = 6, b = 8.
  3. Numerator: |c1 − c2| = |−15 − 18| = 33. Denominator: √(36 + 64) = 10.
  4. Distance d = 33/10 = 3.3 units.
  5. Cross-check: (0, 15/8) lies on the first line, and its distance from 3x + 4y + 9 = 0 is |0 + 7.5 + 9|/5 = 16.5/5 = 3.3. Confirmed.

Common Misconceptions

  • "I can use |c1 − c2| directly without matching a and b." If one line is written as 3x + 4y + 9 = 0 and the other as 6x + 8y − 15 = 0, the raw constant difference is meaningless until the coefficients match.
  • "The distance changes along the lines." For parallel lines the perpendicular gap is identical everywhere — that is the definition of parallel.
  • "Intersecting lines also have a distance." Two crossing lines meet, so their minimum distance is zero; this formula is only for parallels.

Real-World Applications

  • Road engineers verify lane widths from the equations of painted edge lines.
  • Architects check wall thicknesses drawn as parallel lines on floor plans.
  • Printing and typography use it to set uniform margins between parallel guides.
  • CNC machines confirm the gap between parallel cutting paths stays within tolerance.

The distance between parallel lines is |c1 − c2|/√(a² + b²) — but only after writing both lines with identical a and b. Scale first, subtract the constants, normalise, and the uniform gap between the parallels is yours.