NDA Maths · Lines

Equations, Slope & Family of Lines

The slope of a line and the standard forms of its equation, the intercept form, the family of lines through a point or an intersection, and reflections in a line.

Why this matters

Every other tool in the chapter starts from a line's equation. Knowing which form to reach for — slope-intercept, point-slope, intercept, or the family L₁+λL₂ — turns most questions into one substitution.

Concept 1 of 4

Slope and the forms of a line

Intuition

A line is fixed by a point and a direction (its slope). The slope is the tangent of the angle it makes with the x-axis. Pick the form that matches what you're given — a point and slope, two points, or intercepts.

Definition

Slope m=tanθ=y2y1x2x1m=\tan\theta=\dfrac{y_2-y_1}{x_2-x_1}. Forms:

  • Slope-intercept: y=mx+cy=mx+c. Point-slope: yy1=m(xx1)y-y_1=m(x-x_1).
  • Two-point: yy1xx1=y2y1x2x1\dfrac{y-y_1}{x-x_1}=\dfrac{y_2-y_1}{x_2-x_1}.
  • General: ax+by+c=0ax+by+c=0 has slope a/b-a/b. Normal form: xcosθ+ysinθ=px\cos\theta+y\sin\theta=p (pp = distance from origin).

Worked example

Find the equation of the line through (2,3)(2,3) with slope 44.
  1. Point-slope: y3=4(x2)y-3=4(x-2).
  2. Simplify: y=4x5y=4x-5.
Answer:4xy5=04x-y-5=0.
Practice this conceptself-check · 4 quick reps

Try it yourself

What is the slope of 3x4y+7=03x-4y+7=0?

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Slope of ax+by+c=0ax+by+c=0?
  2. 2.
    Slope in terms of the angle θ\theta with x-axis?
  3. 3.
    Point-slope form?
  4. 4.
    Normal form of a line?

Concept 2 of 4

Intercept form and intercepts

Intuition

When a line's x- and y-intercepts matter, the intercept form xa+yb=1\tfrac{x}{a}+\tfrac{y}{b}=1 reads them off directly. Many questions give a relation between the intercepts (their sum, or a midpoint) and ask for the line.

Definition

Intercept form: xa+yb=1\dfrac{x}{a}+\dfrac{y}{b}=1, where aa is the x-intercept and bb the y-intercept. From ax+by+c=0ax+by+c=0: x-intercept =c/a=-c/a, y-intercept =c/b=-c/b. If (h,k)(h,k) is the midpoint of the intercept segment, then a=2ha=2h, b=2kb=2k.

Worked example

A line has x-intercept 44 and y-intercept 22. Find its equation and the sum of intercepts.
  1. Intercept form: x4+y2=1x+2y=4\dfrac{x}{4}+\dfrac{y}{2}=1\Rightarrow x+2y=4.
  2. Sum of intercepts =4+2=6=4+2=6.
Answer:x+2y=4x+2y=4; sum =6=6.
Practice this conceptself-check · 4 quick reps

Try it yourself

If (3,4)(3,4) is the midpoint of the segment a line cuts between the axes, find the line.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Intercept form of a line?
  2. 2.
    x-intercept of ax+by+c=0ax+by+c=0?
  3. 3.
    Midpoint of intercepts is (h,k)(h,k): intercepts?
  4. 4.
    Sum of intercepts of x4+y2=1\tfrac{x}{4}+\tfrac{y}{2}=1?

From the bank · past-year question

Example 2LinesMODERATE
What is the sum of the intercepts of the line xa2+yb2=2a2+b2\dfrac{x}{a^2}+\dfrac{y}{b^2}=\dfrac{2}{a^2+b^2} on the coordinate axes?

[Q60 · Sep · 2025]

Concept 3 of 4

Family of lines and concurrency

Intuition

Any line through the intersection of L1=0L_1=0 and L2=0L_2=0 can be written L1+λL2=0L_1+\lambda L_2=0 — without ever finding the intersection point. Choose λ\lambda from one extra condition. Three lines are concurrent when their intersection is shared.

Definition

Family (pencil): through L1L2L_1\cap L_2, every line is L1+λL2=0L_1+\lambda L_2=0; fix λ\lambda from a point or a slope condition. Parallel/perpendicular through a point: keep the same (or negative-reciprocal) slope. Concurrency: three lines are concurrent iff a1b1c1a2b2c2a3b3c3=0\begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix}=0. If coefficients A,B,CA,B,C are in AP, Ax+2By+C=0Ax+2By+C=0 passes through the fixed point (1,2)(1,-2).

Worked example

Find the line through the intersection of x+y1=0x+y-1=0 and 2xy2=02x-y-2=0 that passes through (1,2)(1,2).
  1. Family: (x+y1)+λ(2xy2)=0(x+y-1)+\lambda(2x-y-2)=0.
  2. At (1,2)(1,2): (1+21)+λ(222)=022λ=0λ=1(1+2-1)+\lambda(2-2-2)=0\Rightarrow 2-2\lambda=0\Rightarrow\lambda=1.
  3. Sum: 3x3=0x=13x-3=0\Rightarrow x=1.
Answer:x=1x=1.
Practice this conceptself-check · 4 quick reps

Try it yourself

For what kk is (k3)xy+2=0(k-3)x-y+2=0 parallel to x+y=1x+y=1?

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Family of lines through L1L2L_1\cap L_2?
  2. 2.
    Concurrency condition for 3 lines?
  3. 3.
    Parallel lines have slopes that are?
  4. 4.
    Ax+2By+C=0Ax+2By+C=0 with A,B,CA,B,C in AP passes through?

From the bank · past-year question

Example 3LinesMODERATE
If the lines 3y+4x=13y+4x=1, y=x+5y=x+5 and 5y+bx=35y+bx=3 are concurrent, then what is the value of b?

[Q57 · Apr · 2019]

Concept 4 of 4

Image of a point and reflections

Intuition

The image of a point in a line is its mirror reflection: the line is the perpendicular bisector of the segment joining the point and its image. Use 'midpoint lies on the line' plus 'segment ⟂ line' to find the image, or recover the mirror from a point–image pair.

Definition

If PP' is the image of PP in line LL: the midpoint of PPPP' lies on LL, and PPLPP'\perp L. These two conditions pin down PP' (or the mirror line). Foot of perpendicular from PP to LL is the midpoint of PPPP'.

Worked example

Find the image of (1,2)(1,2) in the line y=xy=x.
  1. Reflection in y=xy=x swaps coordinates.
  2. Image =(2,1)=(2,1).
Answer:(2,1)(2,1).
Practice this conceptself-check · 4 quick reps

Try it yourself

The image of (4,2)(-4,2) in a line is (4,2)(4,-2). What line is the mirror?

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    A line is the ___ of a point and its image.
  2. 2.
    Image of (a,b)(a,b) in y=xy=x?
  3. 3.
    Image of (a,b)(a,b) in the x-axis?
  4. 4.
    Foot of perpendicular is the ___ of P and its image.

From the bank · past-year question

Example 4LinesMODERATE
If the image of the point (4,2)(-4, 2) by a line mirror is (4,2)(4, -2), then what is the equation of the line mirror?

[Q60 · Apr · 2021]

Mastery check — 5 interleaved questions

Try each one before clicking. Questions are interleaved across the concepts above, not grouped — interleaving sharpens transfer.

Example 1LinesEASY
Under what condition will the lines m2x+ny1=0m^2 x + ny - 1 = 0 and n2xmy+2=0n^2 x - my + 2 = 0 be perpendicular?

[Q51 · Apr · 2025]

Example 2LinesEASY
The equation of a straight line which cuts off an intercept of 5 units on negative direction of yy-axis and makes an angle 120° with positive direction of xx-axis is

[Q55 · Sep · 2017]

Example 3LinesMODERATE
The equation of the line passing through the point (2,3)(2, 3) and the point of intersection of lines 2x3y+7=02x - 3y + 7 = 0 and 7x+4y+2=07x + 4y + 2 = 0 is

[Q56 · Sep · 2017]

Example 4LinesMODERATE
ABC is an equilateral triangle and AD is the altitude on BC. If the coordinates of A are (1,2)(1, 2) and that of D are (2,6)(-2, 6), then what is the equation of BC?

[Q55 · Apr · 2025]

Example 5LinesEASY
The equation ax+by+c=0ax + by + c = 0 represents a straight line

[Q51 · Sep · 2019]

Drill every past-year question on this subtopic

27 questions from the bank — paginated, with cart and Word-export support.

Related notes