Distance between two parallel lines

Two parallel lines never touch, yet a fixed gap separates them everywhere along their length — like the two rails of a railway track. Measuring that gap sounds like it needs a brand-new formula, but it does not: since the distance is the same at every point, you can measure it at just one convenient point using a tool you already own, the perpendicular distance of a point from a line. This section shows how that single idea collapses into a one-line shortcut, why the shortcut only works once both equations are written with identical xx- and yy-coefficients, and how to check the shortcut's answer directly by the point method. It builds straight on the point-to-line distance formula from the previous topic in Straight Lines, and it stays firmly inside what CBSE Class 11 actually tests — no new theorem, just one clean application.

The core insight

The distance between two parallel lines Ax+By+C1=0Ax+By+C_1=0 and Ax+By+C2=0Ax+By+C_2=0 is d=∣C1−C2∣A2+B2d=\dfrac{|C_1-C_2|}{\sqrt{A^2+B^2}}, found by applying the point-to-line distance formula at any single point on one line.

The core idea

Two lines in general form are parallel exactly when their xx- and yy-coefficients match, so only the constant term can differ:

L1:Ax+By+C1=0,L2:Ax+By+C2=0.L_1: Ax + By + C_1 = 0, \qquad L_2: Ax + By + C_2 = 0.

where: AA and BB are the (identical) coefficients of xx and yy in both lines, and C1C_1, C2C_2 are the two constant terms that make the lines distinct and parallel. Because the lines never meet, the perpendicular gap between them is the same everywhere. So instead of inventing new machinery, pick any point on L1L_1 and measure its perpendicular distance from L2L_2 with the ordinary point-to-line distance formula. Carrying this out for a general point on L1L_1 collapses to a clean shortcut:

d=∣C1−C2∣A2+B2.d = \frac{|C_1 - C_2|}{\sqrt{A^2 + B^2}}.

where: dd is the constant perpendicular distance between the two parallel lines, and ∣C1−C2∣|C_1-C_2| is the absolute difference of the two constant terms once AA and BB are literally identical in both equations. Before applying the shortcut, always rescale so the coefficients of xx and yy are literally the same number in both equations — not merely proportional. For instance, 2x+3y−6=02x+3y-6=0 and 4x+6y+10=04x+6y+10=0 are parallel, but C1=−6C_1=-6 and the second equation's constant, 1010, cannot be subtracted as they stand; halving the second equation to 2x+3y+5=02x+3y+5=0 first makes A=2, B=3A=2,\,B=3 match exactly, after which the shortcut applies directly. It helps to keep the two natural viewpoints side by side. The shortcut view says: once AA and BB match, the whole geometric problem has been pre-solved, and reading off C1C_1 and C2C_2 is enough. The point view says: forget the shortcut entirely, plant a point anywhere on L1L_1, and measure straight across to L2L_2 using the point-to-line formula — this always works, even if you have forgotten the shortcut, and it is the view that explains why the shortcut is true rather than just stating it. A useful habit is to solve every problem once with the shortcut for speed, and, whenever time allows, verify it once with the point method — the two answers must agree exactly, because the derivation below shows they are the same calculation written two different ways. Also note what the formula does not need: it never asks for the angle between the lines (they are parallel, so there is no angle to speak of), and it never involves finding where the lines cross the axes unless you are choosing a convenient point for the point-method check. The entire calculation lives in the coefficients AA, BB, C1C_1, C2C_2 alone.

Figure
Two parallel lines with a perpendicular segment marked d connecting a point on the upper line to the lower line
Same perpendicular gap everywhere between two parallel lines L1 L2 point on L1 d d Wherever the point is chosen on L1, the perpendicular distance to L2 is the same value d

Distance between two parallel lines

The goal is to derive the shortcut d=∣C1−C2∣A2+B2d=\dfrac{|C_1-C_2|}{\sqrt{A^2+B^2}} from nothing more than the already-known point-to-line distance formula, applied once at a convenient point on one of the two lines, so that a student can trust the shortcut rather than memorising it blindly.

Step 1. Write the two parallel lines with matching coefficients, L1:Ax+By+C1=0L_1: Ax+By+C_1=0 and L2:Ax+By+C2=0L_2: Ax+By+C_2=0, and pick any point (x1,y1)(x_1,y_1) that lies on L1L_1. Since (x1,y1)(x_1,y_1) is on L1L_1, it satisfies Ax1+By1+C1=0Ax_1+By_1+C_1=0, so Ax1+By1=−C1Ax_1+By_1=-C_1.

Step 2. Apply the point-to-line distance formula to find the distance of (x1,y1)(x_1,y_1) from L2L_2: d=∣Ax1+By1+C2∣A2+B2d=\dfrac{|Ax_1+By_1+C_2|}{\sqrt{A^2+B^2}}. This is the standard formula for the perpendicular distance of a point from a line, used exactly as it was in the previous topic.

Step 3. Substitute Ax1+By1=−C1Ax_1+By_1=-C_1 from Step 1 into the numerator: d=∣−C1+C2∣A2+B2=∣C1−C2∣A2+B2d=\dfrac{|-C_1+C_2|}{\sqrt{A^2+B^2}}=\dfrac{|C_1-C_2|}{\sqrt{A^2+B^2}}, since ∣−C1+C2∣=∣C1−C2∣|-C_1+C_2|=|C_1-C_2|.

Step 4. Notice that (x1,y1)(x_1,y_1) never actually appeared in the final answer — it cancelled out completely. That is the algebraic proof that the distance is genuinely the same no matter which point on L1L_1 is chosen, and it is exactly why the shortcut d=∣C1−C2∣A2+B2d=\dfrac{|C_1-C_2|}{\sqrt{A^2+B^2}} can be used directly, skipping the point-picking step, once AA and BB are confirmed identical in both equations.

Step 5. As a sanity check on the formula's shape, notice what happens in two extreme cases. If C1=C2C_1=C_2, the two equations describe the same line, and the formula correctly gives d=0d=0 — there is no gap because the "two" lines coincide. If instead A=1,B=0A=1,B=0 (two vertical lines x=−C1x=-C_1 and x=−C2x=-C_2), the formula reduces to d=∣C1−C2∣d=|C_1-C_2|, exactly the ordinary horizontal gap between two vertical lines, which is easy to verify by inspection. Both limiting cases match geometric common sense, which is a quick way to trust the formula under exam pressure.

Worked example

Problem. Find the distance between the parallel lines 3x+4y−6=03x+4y-6=0 and 3x+4y+14=03x+4y+14=0.

Step 1. Check that both lines share the same A=3A=3 and B=4B=4, so they are indeed parallel, with C1=−6C_1=-6 and C2=14C_2=14.

Step 2. Apply the shortcut:

d=∣C1−C2∣A2+B2=∣−6−14∣32+42=2025=205=4.d = \frac{|C_1-C_2|}{\sqrt{A^2+B^2}} = \frac{|-6-14|}{\sqrt{3^2+4^2}} = \frac{20}{\sqrt{25}} = \frac{20}{5} = 4.

Answer: d=4d = 4 units.

Competitive stretch

Step 3. Cross-check by the point method: setting y=0y=0 in 3x+4y−6=03x+4y-6=0 gives x=2x=2, so (2,0)(2,0) lies on the first line. Its distance from 3x+4y+14=03x+4y+14=0 is ∣3(2)+4(0)+14∣32+42=205=4\dfrac{|3(2)+4(0)+14|}{\sqrt{3^2+4^2}}=\dfrac{20}{5}=4, matching the shortcut exactly — confirming that any point on L1L_1, measured against L2L_2, must give the same answer.

Step 4. As a second check, pick a different point on L1L_1 instead — setting x=0x=0 in 3x+4y−6=03x+4y-6=0 gives y=32y=\tfrac{3}{2}, so (0,32)\left(0,\tfrac{3}{2}\right) also lies on the line. Its distance from 3x+4y+14=03x+4y+14=0 is ∣3(0)+4(32)+14∣32+42=∣6+14∣5=205=4\dfrac{\left|3(0)+4\left(\tfrac{3}{2}\right)+14\right|}{\sqrt{3^2+4^2}}=\dfrac{|6+14|}{5}=\dfrac{20}{5}=4, the identical result. This is the derivation's Step 4 made concrete: the choice of point genuinely does not matter.

Common traps

Most errors here come from arithmetic haste rather than a genuine gap in understanding — the underlying geometry (a constant gap, measured once) is simple, so the marks are usually lost on the mechanics of setting the two equations up correctly before applying the formula.

  • Using the shortcut on two lines that are not actually parallel — always check that the AA and BB coefficients match first, after clearing any scaling factor.
  • Forgetting to rescale one equation so its A,BA,B coefficients are literally identical to the other's before subtracting C1−C2C_1-C_2 (for example, 6x+8y−12=06x+8y-12=0 is really 3x+4y−6=03x+4y-6=0 scaled by 2).
  • Dropping the absolute value sign and reporting a negative distance.
  • Treating this as a new formula to memorise from scratch, rather than seeing it as one direct application of the point-to-line distance formula.

Ask the tutor: want to try this shortcut on a pair of lines that need rescaling first, or see the point-method fallback worked out step by step?

Why does it not matter which point I choose on the first line?

Because the algebra shows the chosen point's coordinates cancel out completely once you substitute Ax1+By1=−C1Ax_1+By_1=-C_1 into the point-to-line distance formula, leaving only C1C_1, C2C_2, AA and BB. Geometrically this makes sense too: parallel lines stay the same perpendicular distance apart everywhere, so measuring from any point on one line to the other must give the identical value. Pick whichever point makes the arithmetic easiest, usually where the line crosses an axis.

What if the two given equations have different coefficients of x and y, like 2x+3y-6=0 and 4x+6y+10=0?

Check first whether they are truly parallel by seeing if one equation is a scalar multiple of the other's xx and yy terms — here 4x+6y4x+6y is exactly 2×(2x+3y)2\times(2x+3y), so they are parallel. Divide the second equation by 2 to get 2x+3y+5=02x+3y+5=0, which now has A=2,B=3A=2,B=3 matching the first equation exactly. Only then subtract the constants: C1=−6C_1=-6, C2=5C_2=5, and apply the shortcut normally.

Is this a separate formula I need to memorise, or can I always fall back on the point method?

You never strictly need to memorise the shortcut — you can always pick any convenient point on one line (often where it crosses the x-axis or y-axis) and apply the point-to-line distance formula you already know. The shortcut is simply that calculation done once in general, so if you forget it under exam pressure, reconstructing it by the point method takes only a couple of extra lines and gets full marks.

Before this

Where this leads