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).

Slope and forms of a line

m=y2y1x2x1max+by+c=0=abyy1=m(xx1)y=mx+cm=\dfrac{y_2-y_1}{x_2-x_1}\qquad m_{ax+by+c=0}=-\dfrac{a}{b}\qquad y-y_1=m(x-x_1)\qquad y=mx+c

Worked example

Find the equation of the line through (2,3)(2,3) with slope 44.
Practice this conceptself-check · 4 quick reps

Slope is Δy/Δx\Delta y/\Delta x, not Δx/Δy\Delta x/\Delta y — and a vertical line has undefined slope

Two slips. First, slope is rise over run: m=y2y1x2x1m=\dfrac{y_2-y_1}{x_2-x_1}, not x2x1y2y1\dfrac{x_2-x_1}{y_2-y_1} — keep the yy-difference on top. Second, a vertical line x=kx=k has *undefined* slope (the run is 00), not slope 00 — that's a *horizontal* line y=ky=k. Likewise, the slope of ax+by+c=0ax+by+c=0 is a/b-a/b, with the minus sign — dropping it flips the 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.

Intercept form and intercepts

xa+yb=1x-intercept=cay-intercept=cb\dfrac{x}{a}+\dfrac{y}{b}=1\qquad x\text{-intercept}=-\dfrac{c}{a}\qquad y\text{-intercept}=-\dfrac{c}{b}

Worked example

A line has x-intercept 44 and y-intercept 22. Find its equation and the sum of intercepts.
Practice this conceptself-check · 4 quick reps

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]

Intercept form needs the constant on the **RHS as 11** — a,ba,b are the intercepts only then

You can read the intercepts straight off xa+yb=1\dfrac{x}{a}+\dfrac{y}{b}=1 **only when the right side is exactly 11**. From ax+by=cax+by=c the x-intercept is c/ac/a, not aa: divide through by cc first to reach xc/a+yc/b=1\dfrac{x}{c/a}+\dfrac{y}{c/b}=1. Grabbing the coefficients before normalising to 11 is the classic error.

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,1)(1,-1) (since C=2BAC=2B-A gives A(x1)+2B(y+1)=0A(x-1)+2B(y+1)=0).

Family of lines and concurrency

L1+λL2=0a1b1c1a2b2c2a3b3c3=0L_1+\lambda L_2=0\qquad \begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix}=0

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).
Practice this conceptself-check · 4 quick reps

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]

The pencil is L1+λL2=0L_1+\lambda L_2=0 — keep each LiL_i in the form =0=0 first

The family through L1L2L_1\cap L_2 is L1+λL2=0L_1+\lambda L_2=0, where **each LiL_i is the whole expression aix+biy+cia_ix+b_iy+c_i** moved to one side so the line reads Li=0L_i=0. Combining 2x+3y=52x+3y=5 and xy=1x-y=1 means using L1=2x+3y5L_1=2x+3y-5 and L2=xy1L_2=x-y-1 — forgetting to move the constants over (using 2x+3y2x+3y and xyx-y) silently shifts the pencil off the intersection.

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.
Practice this conceptself-check · 4 quick reps

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]

The foot of the perpendicular is the *midpoint* of PPPP', not the image itself

The foot of the perpendicular FF from PP to the line is halfway to the image: FF is the *midpoint* of PP and PP'. So the image is P=2FPP'=2F-P — you must double the displacement from PP to FF. Reporting the foot FF as the reflected image gives a point only half as far across the line.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

  • Slope and the forms of a line

    Slope and forms of a line

    m=y2y1x2x1max+by+c=0=abyy1=m(xx1)y=mx+cm=\dfrac{y_2-y_1}{x_2-x_1}\qquad m_{ax+by+c=0}=-\dfrac{a}{b}\qquad y-y_1=m(x-x_1)\qquad y=mx+c
  • Intercept form and intercepts

    Intercept form and intercepts

    xa+yb=1x-intercept=cay-intercept=cb\dfrac{x}{a}+\dfrac{y}{b}=1\qquad x\text{-intercept}=-\dfrac{c}{a}\qquad y\text{-intercept}=-\dfrac{c}{b}
  • Family of lines and concurrency

    Family of lines and concurrency

    L1+λL2=0a1b1c1a2b2c2a3b3c3=0L_1+\lambda L_2=0\qquad \begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix}=0

Watch out for (4)

Drill every past-year question on this subtopic

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

Related notes