Class 12 Maths, Worked in Full Past papersGet updates
Chapter 1 · Relations and Functions

Exercise 1.1 · Q14: Parallel lines and the class of y=2x+4y=2x+4

Exercise 1.1Equivalence relations · Exercise 1.1
The question

Let LL be the set of all lines in XY plane and RR be the relation in LL defined as R={(L1,L2):L1 is parallel to L2}R = \{(L_1, L_2) : L_1 \text{ is parallel to } L_2\}⁠. Show that RR is an equivalence relation. Find the set of all lines related to the line y=2x+4y = 2x + 4⁠.

Exam answer

A line is taken to be parallel to itself. Two lines are parallel exactly when they have the same slope, or are both vertical. Write d(L)d(L) for the slope of LL (or "vertical"). Then (L1,L2)∈R(L_1, L_2) \in R   ⟺  d(L1)=d(L2)\iff d(L_1) = d(L_2)⁠.

Reflexive: Let L1∈LL_1 \in L⁠. Then d(L1)=d(L1)d(L_1) = d(L_1)⁠, so (L1,L1)∈R(L_1, L_1) \in R⁠. Thus RR is reflexive.

Symmetric: Let (L1,L2)∈R(L_1, L_2) \in R⁠. Then d(L1)=d(L2)d(L_1) = d(L_2)⁠, so d(L2)=d(L1)d(L_2) = d(L_1) and (L2,L1)∈R(L_2, L_1) \in R⁠. Thus RR is symmetric.

Transitive: Let (L1,L2),(L2,L3)∈R(L_1, L_2), (L_2, L_3) \in R⁠. Then d(L1)=d(L2)d(L_1) = d(L_2) and d(L2)=d(L3)d(L_2) = d(L_3)⁠, so d(L1)=d(L3)d(L_1) = d(L_3) and (L1,L3)∈R(L_1, L_3) \in R⁠. Thus RR is transitive.

Hence RR is an equivalence relation.

The line y=2x+4y = 2x + 4 has slope 2. A line is related to it exactly when its slope is 2, that is, when it is y=2x+cy = 2x + c for some c∈Rc \in \R⁠.

Hence the set of all lines related to y=2x+4y = 2x + 4 is the set of lines y=2x+cy = 2x + c⁠, c∈Rc \in \R⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Every line has a direction: either it is vertical, or it has a slope mm⁠. Two lines are parallel exactly when they have the same direction, so "L1L_1 is parallel to L2L_2" is again an equality, and equality is reflexive, symmetric and transitive. One convention is essential: a line counts as parallel to itself. Without it, RR would not even be reflexive. The lines related to y=2x+4y = 2x + 4 are then all the lines of slope 2, namely y=2x+cy = 2x + c for every real number cc⁠.

Given, to show and find, and the plan
Given
LL is the set of all lines in the XY plane; (L1,L2)∈R(L_1,L_2)\in R exactly when L1L_1 is parallel to L2L_2⁠.
To show
RR is reflexive, symmetric and transitive.
To find
The set {M∈L:(M,ℓ)∈R}\{M \in L : (M, \ell)\in R\}⁠, where ℓ\ell is the line y=2x+4y = 2x + 4⁠.
Plan
(1) Fix exactly what "parallel" means, including the convention for a line and itself, and express it through slopes. (2) to (4) Prove the three properties for arbitrary lines. (5) Conclude, and note what goes wrong without the convention. (6) Find the class of y=2x+4y = 2x + 4⁠, proving both inclusions.

Basics you need

1Equations of lines

Every line in the XY plane is either vertical, with equation x=kx = k⁠, or non-vertical, with equation y=mx+cy = mx + c⁠. Here mm is the slope and cc is the yy-intercept (the line crosses the yy-axis at (0,c)(0, c)⁠). A non-vertical line has exactly one slope; a vertical line has no slope.

2Parallel lines and slopes

Two non-vertical lines are parallel exactly when they have the same slope; any two vertical lines are parallel; a vertical line is never parallel to a non-vertical one (Class XI, straight lines). In this question a line is also regarded as parallel to itself (Step 1).

3The three properties

Reflexive: (L1,L1)∈R(L_1,L_1)\in R for every line. Symmetric: (L1,L2)∈R⇒(L2,L1)∈R(L_1,L_2)\in R \Rightarrow (L_2,L_1)\in R⁠. Transitive: (L1,L2),(L2,L3)∈R⇒(L1,L3)∈R(L_1,L_2), (L_2,L_3)\in R \Rightarrow (L_1,L_3)\in R⁠. Basics: reflexive, symmetric, transitive

4Counterexamples

A property that must hold "for all" elements is disproved by one element (or one pair, or one chain) where it fails. Basics: proving and disproving

5Equivalence classes

The set of all elements related to a given one is its equivalence class; the classes do not overlap and they cover the whole set. Basics: equivalence classes

Solution

  1. Fix the meaning of "parallel", including the convention

    Convention. In this question, as is standard when parallelism is treated as a relation, a line is regarded as parallel to itself (coincident lines count as parallel). So "L1L_1 is parallel to L2L_2" means: L1L_1 and L2L_2 are the same line, or they never meet.

    Now express this through slopes. Give each line MM a direction d(M)d(M)⁠: its slope mm if MM is y=mx+cy = mx + c⁠, or the word "vertical" if MM is x=kx = k⁠. Then

    (L1,L2)∈R  ⟺  d(L1)=d(L2).(L_1, L_2)\in R \iff d(L_1) = d(L_2).

    To see why, check each case.

    • Both non-vertical, same slope: y=mx+c1y = mx + c_1 and y=mx+c2y = mx + c_2⁠. A common point would need mx+c1=mx+c2mx + c_1 = mx + c_2⁠, that is c1=c2c_1 = c_2⁠. So either c1=c2c_1 = c_2 and they are the same line, or c1≠c2c_1 \ne c_2 and they never meet. Parallel in both cases.
    • Both non-vertical, different slopes m1≠m2m_1 \ne m_2⁠: solving m1x+c1=m2x+c2m_1x + c_1 = m_2x + c_2 gives x=c2−c1m1−m2x = \frac{c_2 - c_1}{m_1 - m_2}⁠, so they meet in exactly one point. They are different lines that meet: not parallel.
    • Both vertical: x=k1x = k_1 and x=k2x = k_2 are the same line if k1=k2k_1 = k_2 and never meet otherwise. Parallel.
    • One vertical, one not: x=kx = k meets y=mx+cy = mx + c at the single point (k,mk+c)(k, mk + c)⁠. Not parallel.
    "Parallel" is a geometric word, and the textbook does not spell out what happens when the two lines are the same. That case decides reflexivity, so it must be settled first. The answer key confirms the convention: it lists all lines y=2x+cy = 2x + c⁠, c∈Rc\in\R⁠, and c=4c = 4 is the line y=2x+4y = 2x + 4 itself. Turning "parallel" into "same direction" then makes the three properties properties of equality.
    Each line has exactly one direction: a vertical line has no slope, and a non-vertical line has exactly one slope. So d(M)d(M) is well defined for every line MM⁠.
  2. Reflexive: is every line parallel to itself?

    Take any line L1L_1⁠. Then d(L1)=d(L1)d(L_1) = d(L_1)⁠, so by Step 1, (L1,L1)∈R(L_1,L_1)\in R⁠. (Directly: L1L_1 is the same line as itself, which the convention counts as parallel.) Since L1L_1 was arbitrary, RR is reflexive.

    Reflexivity is about every line, so we take an arbitrary one. This is the one step that depends on the convention: under the stricter reading "parallel means distinct lines that never meet", no line would be parallel to itself.
    Equality is reflexive: every slope (or "vertical") equals itself.
  3. Symmetric: if L1L_1 is parallel to L2L_2⁠, is L2L_2 parallel to L1L_1⁠?

    Suppose (L1,L2)∈R(L_1,L_2)\in R⁠. Then d(L1)=d(L2)d(L_1) = d(L_2)⁠, hence d(L2)=d(L1)d(L_2) = d(L_1)⁠, so (L2,L1)∈R(L_2,L_1)\in R⁠. Hence RR is symmetric.

    We start from the "if" part and use it. Geometrically, "the two lines never meet, or are the same line" does not depend on which line is named first.
    Equality is symmetric: a=b⇒b=aa = b \Rightarrow b = a⁠.
  4. Transitive: does L1∥L2L_1 \parallel L_2 and L2∥L3L_2 \parallel L_3 give L1∥L3L_1 \parallel L_3⁠?

    Suppose (L1,L2)∈R(L_1,L_2)\in R and (L2,L3)∈R(L_2,L_3)\in R⁠. Then

    d(L1)=d(L2)andd(L2)=d(L3),sod(L1)=d(L3).\begin{gathered} d(L_1) = d(L_2) \qquad\text{and}\qquad d(L_2) = d(L_3),\\ \text{so}\qquad d(L_1) = d(L_3). \end{gathered}

    By Step 1, (L1,L3)∈R(L_1,L_3)\in R⁠. Hence RR is transitive.

    Spelled out in the two possible cases: if L2L_2 is vertical, then L1L_1 and L3L_3 are both vertical, so they are parallel. If L2L_2 has slope mm⁠, then L1L_1 and L3L_3 both have slope mm⁠, so they are parallel.

    The conclusion does not mention L2L_2⁠, so we remove it: d(L1)d(L_1) and d(L3)d(L_3) are both equal to d(L2)d(L_2)⁠. Notice that L1L_1 and L3L_3 may turn out to be the same line (for example L3=L1L_3 = L_1⁠); the convention makes that case harmless.
    Equality is transitive: a=ba = b and b=cb = c give a=ca = c⁠.
  5. Conclude, and see why the convention is needed

    RR is reflexive, symmetric and transitive, so RR is an equivalence relation in LL.

    Without the convention the result would be false. Suppose "parallel" meant "distinct and never meeting". Take L1:y=2x+4L_1 : y = 2x + 4 and L2:y=2xL_2 : y = 2x⁠. They are distinct and never meet, so (L1,L2)(L_1,L_2) and (L2,L1)(L_2,L_1) would both be in RR⁠. Transitivity (with L3=L1L_3 = L_1⁠) would then demand (L1,L1)∈R(L_1,L_1)\in R⁠, but a line is not distinct from itself. So under that reading RR is neither reflexive nor transitive (it is still symmetric).

    This explicit counterexample shows the convention is not a technicality: it is exactly what makes the question's claim true. Compare Example 3, where the textbook shows perpendicularity is symmetric but neither reflexive nor transitive.
    One explicit chain where transitivity fails is enough to show a relation is not transitive (Basic 4). Basics: proving and disproving
  6. The set of all lines related to y=2x+4y = 2x + 4

    Call the line ℓ:y=2x+4\ell : y = 2x + 4⁠. It is non-vertical with slope d(ℓ)=2d(\ell) = 2⁠. Let

    [ℓ]={M∈L:(M,ℓ)∈R}={M∈L:d(M)=2}.[\ell] = \{M \in L : (M,\ell)\in R\} = \{M \in L : d(M) = 2\}.

    We show [ℓ]={lines y=2x+c:c∈R}[\ell] = \{\text{lines } y = 2x + c : c\in\R\}⁠, proving both inclusions.

    • Every line related to ℓ\ell has the form y=2x+cy = 2x + c⁠. If (M,ℓ)∈R(M,\ell)\in R⁠, then d(M)=2d(M) = 2⁠. In particular MM is not vertical (a vertical line has no slope), so MM has an equation y=mx+cy = mx + c⁠, and its slope is m=2m = 2⁠. So MM is y=2x+cy = 2x + c⁠, where cc is its yy-intercept.
    • Every line y=2x+cy = 2x + c is related to ℓ\ell⁠. For any real cc⁠, the line y=2x+cy = 2x + c has slope 2, which equals d(ℓ)d(\ell)⁠. So it is parallel to ℓ\ell⁠.

    Hence the set of all lines related to y=2x+4y = 2x + 4 is {y=2x+c:c∈R}\{y = 2x + c : c \in \R\}. Different values of cc give different lines (they cross the yy-axis at different points (0,c)(0,c)⁠), and c=4c = 4 gives ℓ\ell itself.

    (0, 4) (−2, 0) c = 8 c = 4 c = 0 c = −4 c = −8 x y gold: y = 2x + 4 blue: y = 2x + c all have slope 2, so all are related to the gold line rose dashed: y = −x/2 + 1 slope −1/2: not related grid squares: 2 units
    Equal scales on both axes (each grid square is 2 by 2), so the slopes are drawn truly. Every line of slope 2 runs in the same direction as y=2x+4y = 2x + 4⁠, and the family y=2x+cy = 2x + c fills the plane: through every point there is exactly one of them. The rose line has a different slope, so it crosses each of them once and is in a different class.
    The class must contain all lines parallel to ℓ\ell and nothing else, so both inclusions are needed. The first inclusion relies on vertical lines being excluded: a vertical line has no slope, so it is not parallel to ℓ\ell⁠. The second uses only that the slope of y=2x+cy = 2x + c can be read off as the coefficient of xx⁠.
    For a line written as y=mx+cy = mx + c⁠, the coefficient of xx is the slope and the constant is the yy-intercept. Basics: equivalence classes
Result

With the convention that a line is parallel to itself, "L1L_1 is parallel to L2L_2" means L1L_1 and L2L_2 have the same direction (same slope, or both vertical). So RR is reflexive, symmetric and transitive, and it is an equivalence relation. The set of all lines related to y=2x+4y = 2x + 4 is { y=2x+c:c∈R },\{\,y = 2x + c : c \in \R\,\}, all lines of slope 2, including y=2x+4y = 2x + 4 itself (c=4c = 4⁠). (Textbook answer: "The set of all lines y=2x+cy = 2x + c⁠, c∈Rc \in \R".)

Check it with numbers

The line through (−1,1)(-1, 1) and (3,9)(3, 9) has slope 9−13−(−1)=84=2\frac{9 - 1}{3 - (-1)} = \frac84 = 2⁠, and 1=2(−1)+c1 = 2(-1) + c gives c=3c = 3⁠: it is y=2x+3y = 2x + 3⁠, a member of the class. ✓ The line y=−12x+1y = -\frac12 x + 1 has slope −12≠2-\frac12 \ne 2⁠, so it is not related (in fact 2×(−12)=−12 \times (-\frac12) = -1⁠, so it is perpendicular to every line of the class). A computer check over 72 sample lines ax+by=cax + by = c⁠, including vertical ones, confirms that "same direction" is reflexive, symmetric and transitive, and that under the strict "distinct lines" reading reflexivity and transitivity both fail.

Common mistakes
  1. Skipping the convention. If parallel lines must be distinct, RR is not reflexive (and not transitive). State that a line is taken to be parallel to itself.
  2. Answering with only lines different from y=2x+4y = 2x + 4⁠. By reflexivity, y=2x+4y = 2x + 4 is related to itself, so c=4c = 4 belongs in the answer.
  3. Restricting cc to integers or to positive numbers. Every real cc gives a line of slope 2, so cc ranges over all of R\R⁠.
  4. Forgetting vertical lines in the proof. They have no slope, so "same slope" alone does not cover them; they form their own class, all lines x=kx = k⁠.
What to take away
  1. Parallelism is "same direction", and a "same value" relation is always an equivalence relation, provided each element is related to itself.
  2. Always check the reflexive case against the exact wording; conventions such as "a line is parallel to itself" decide it.
  3. The equivalence classes here are the directions: one class {y=mx+c:c∈R}\{y = mx + c : c\in\R\} for each slope mm⁠, plus the class of vertical lines {x=k:k∈R}\{x = k : k\in\R\}⁠.

Every fact used, and where it comes from

FactUsed inSource
Every line is x=kx = k or y=mx+cy = mx + c⁠; slope and yy-interceptSteps 1, 6Class XI, Straight lines
Non-vertical lines are parallel iff they have equal slopesStep 1Class XI, Straight lines (and the case check in Step 1)
A line is parallel to itselfSteps 1, 2, 5Convention required by the question; confirmed by the answer key (c=4c = 4 included)
Equality is reflexive, symmetric, transitiveSteps 2–4Basic properties of equality
Reflexive, symmetric, transitive, equivalenceSteps 2–5Definitions 3 and 4, Section 1.2 (Lesson: types of relations)
Perpendicularity is symmetric onlyStep 5 remarkExample 3, Section 1.2
Slopes, intercepts and the sample checkStep 6; CheckRecomputed in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →