Distance Between Two Parallel Lines
On this page· 13 sections
Source & scope. Class 11 Mathematics, Chapter 9 Straight Lines, Section 9.4.1. Builds directly on: Distance of a Point From a Line (Ch 9, §9.4) and [Condition for Two Lines to Be Parallel](/study-materials/math11-ch09-parallel-lines-slope-condition) (Slope Form) (Ch 9, §9.2.2).
Source & scope. Class 11 Mathematics, Chapter 9 Straight Lines, Section 9.4.1. Builds directly on: Distance of a Point From a Line (Ch 9, §9.4) and [Condition for Two Lines to Be Parallel](/study-materials/math11-ch09-parallel-lines-slope-condition) (Slope Form) (Ch 9, §9.2.2).
The distance between two parallel lines y = mx + c1 and y = mx + c2 is d = |c1 − c2| / √(1 + m²); in general form, for Ax + By + C1 = 0 and Ax + By + C2 = 0, the distance is d = |C1 − C2| / √(A² + B²). Since parallel lines never meet, this distance is the same no matter where along the lines it is measured.
At a glance
- Slope-intercept form: , for y = mx + c1 and y = mx + c2 (same slope m).
- General form: , for Ax + By + C1 = 0 and Ax + By + C2 = 0 (same A and B).
- Both lines must genuinely be parallel — same slope m, or same A and B — for either formula to apply.
- The formula is derived by measuring the perpendicular distance from one specific point on one line to the other line.
- If c1 = c2 (or C1 = C2), the two "parallel lines" are actually the same line, and the distance is correctly 0.
Learning objectives
- State both forms of the distance-between-parallel-lines formula.
- Derive the formula using the point-to-line distance formula from the previous article.
- Apply the formula to a direct numerical example, as in NCERT's Example 10.
- Convert between the slope-intercept and general-form versions of the formula.
Prerequisite knowledge
The reader should already know the distance-of-a-point-from-a-line formula and the parallel-lines slope condition (m1 = m2), since this result combines both directly.
Core explanation
Setting up. Since two parallel lines have equal slopes, they can always be written as
y = mx + c1 … (1) y = mx + c2 … (2)
for the same m but (generally) different y-intercepts c1 and c2.
Choosing a convenient point. Line (1) crosses the x-axis at the point A(−c1/m, 0) — setting y = 0 in (1) gives 0 = mx + c1, i.e., x = −c1/m. The distance between the two parallel lines (1) and (2) is, by definition, the length of the perpendicular dropped from any point on one line to the other line; using A as that convenient point, the distance between the two lines equals the perpendicular distance from A to line (2).
Applying the point-to-line distance formula. Line (2) can be rewritten in general form as mx − y + c2 = 0. Applying the distance formula from the previous article, with point A(−c1/m, 0):
Conclusion (slope-intercept form): the distance d between two parallel lines y = mx + c1 and y = mx + c2 is
Conclusion (general form). If the two parallel lines are instead given in general form as Ax + By + C1 = 0 and Ax + By + C2 = 0 (note: A and B must be identical in both equations for the lines to be parallel in this representation), the same derivation, carried out directly in general form, gives
NCERT notes this general-form version can be derived by students themselves using the same method — it is the natural restatement of the slope-intercept version once A = m, B = −1 are substituted (up to an overall scaling factor between the two representations).
Why the distance is the same everywhere. Because the two lines never converge or diverge (they are parallel), the perpendicular distance measured from any point on one line to the other line is always the same constant value — this is precisely why "the distance between two parallel lines" is a single well-defined number, unlike the (varying) distance between two intersecting lines.
Key terms
- Distance between parallel lines — the constant perpendicular distance separating two parallel lines, measurable from any point on either line.
- Slope-intercept distance formula — d = |c1 − c2| / √(1 + m²).
- General-form distance formula — d = |C1 − C2| / √(A² + B²), requiring identical A and B in both equations.
- Convenient point method — the derivation technique of picking one easily-described point on the first line and finding its distance to the second line.
Diagram / figure guidance
Draw two clearly parallel lines on a coordinate grid, with a perpendicular segment connecting them drawn at two different locations along their length, both segments labelled with the same length d, visually reinforcing that the distance is constant everywhere between them.
Worked example
Find the distance between the parallel lines 3x − 4y + 7 = 0 and 3x − 4y + 5 = 0.
Here A = 3, B = −4, C1 = 7, C2 = 5 (both lines share the same A and B, confirming they are parallel).
d = |C1 − C2| / √(A² + B²) d = |7 − 5| / √(3² + (−4)²) d = 2 / √(9 + 16) d = 2/√25 d = 2/5.
So the required distance is 2/5 units.
Common misconceptions
- "Any two lines with the same-looking coefficients of x and y are automatically parallel." The formula requires the lines to genuinely have identical A and B (same ratio, after any necessary scaling) — if one equation needs to be multiplied by a constant to match the other's A and B exactly, do that first, since the formula as stated assumes A and B are literally equal in both.
- "The distance between two parallel lines depends on which point is chosen to measure from." It does not — since the lines never converge, the perpendicular distance is identical no matter where along the lines it is measured; this is exactly why the formula gives one single number.
- "If c1 and c2 (or C1 and C2) are equal, the formula fails." It does not fail — it correctly returns a distance of 0, reflecting the fact that the two "parallel lines" are actually identical.
- "The slope-intercept and general-form versions of the formula give different answers for the same pair of lines." Both versions, correctly applied to the same pair of lines (after rewriting in each respective form), give the identical numerical distance.
Exam application (JEE)
This formula is tested directly and is also a key step in locus problems — for example, finding the equation of a line midway between two parallel lines, or finding a line parallel to a given line at a specified distance from it (which requires solving for an unknown c or C using this formula, then substituting back). JEE Main problems sometimes give two lines in a form that is only parallel after scaling one equation by a constant — always verify genuine parallelism (equal A:B ratio) before applying either distance formula.
Frequently asked questions
- What is the formula for the distance between two parallel lines? In slope-intercept form, d = |c1 − c2| / √(1 + m²); in general form (with identical A, B), d = |C1 − C2| / √(A² + B²).
- Why is the distance between two parallel lines a single fixed number? Because parallel lines never converge or diverge, so the perpendicular distance between them is the same regardless of where along the lines it is measured.
- How is the distance-between-parallel-lines formula derived? By picking a convenient point on one line (such as its x-intercept) and applying the point-to-line distance formula to find its distance from the other line.
- What happens if the two "parallel lines" actually have equal intercepts? The formula correctly gives a distance of 0, since the two equations then represent the same line.
- Can this formula be used for two lines that are not parallel? No — the formula is valid only when the two lines have the same slope (or, in general form, identical A and B); it does not apply to intersecting lines.
Practice questions (original practice questions)
- The distance between the parallel lines y = 2x + 3 and y = 2x − 7 is:
- (a) 10/√5
- (b) 2√5
- (c) 10
- (d) √5
- Answer: (b) — d = |3−(−7)|/√(1+4) = 10/√5 = 2√5.
- The distance between the parallel lines 5x + 12y − 10 = 0 and 5x + 12y + 16 = 0 is:
- (a) 1
- (b) 2
- (c) 13
- (d) 26/13
- Answer: (b) — d = |−10−16|/√(25+144) = 26/13 = 2.
- The distance between the lines x + y − 1 = 0 and x + y − 5 = 0 is:
- (a) 4
- (b) 4/√2 = 2√2
- (c) both (b) and the value 2√2
- (d) 2
- Answer: (c) — d = |−1−(−5)|/√2 = 4/√2 = 2√2.
- The distance between y = 3x + 1 and y = 3x + 1 (the same equation written twice) is:
- (a) 0
- (b) undefined
- (c) 1
- (d) √10
- Answer: (a) — c1 = c2 = 1, so d = 0; the two equations represent the same line.
- If the distance between the parallel lines 4x + 3y + k = 0 and 4x + 3y − 10 = 0 is 2, a possible value of k is:
- (a) 0
- (b) 20
- (c) −10
- (d) 5
- Answer: (a) — d = |k−(−10)|/5 = 2 ⟹ |k+10| = 10 ⟹ k = 0 or k = −20; k = 0 matches the options.
Quick revision
- Slope-intercept form: d = |c1 − c2| / √(1 + m²).
- General form: d = |C1 − C2| / √(A² + B²), requiring identical A, B in both equations.
- Derived using the point-to-line distance formula, applied from one line's x-intercept to the other line.
- Distance is constant everywhere between two parallel lines.
- Equal intercepts (c1 = c2 or C1 = C2) correctly give distance 0 — the lines coincide.
Related articles
- Builds on: Distance of a Point From a Line (Ch 9, §9.4); Condition for Two Lines to Be Parallel (Slope Form) (Ch 9, §9.2.2)
- Related topics: Angle Between Two Lines (Slope Formula), Area of the Triangle Formed by Two Lines and the Y-Axis, Collinearity of Three Points Using Slope, Concurrent Lines — Condition for Three Lines to Meet at One Point, Condition for Two Lines to Be Perpendicular (Slope Form), Distance of a Point From a Line Measured Along Another Line