PYQ Vault

SSC CGL Maths · Coordinate Geometry

Slope and Equation of a Line

Read a line's slope and intercepts from its equation, test whether a point lies on it, and write its equation from one point and the slope.

Why this matters

Sixteen questions in the bank, every one EASY and every one from the 2025 shifts: more than half the chapter. Each is a single substitution or a single rearrangement, so these are the marks to take in well under 36 seconds. The options are built from the slips: the wrong sign of a slope, the reciprocal, the other intercept.

Concept 1 of 4: Slope of a line

Slope is how much the line climbs for each step to the right. A line going up to the right has a positive slope, one going down has a negative slope, a flat line has slope 0, and a vertical line has no slope at all.

Definition

  • Through two points: slope == rise over run, the change in yy divided by the change in xx. Subtract in the same order on top and bottom.
  • From y=mx+cy = mx + c: the slope is mm, the number in front of xx, and cc is where the line cuts the y-axis.
  • From ax+by+c=0ax + by + c = 0: rearrange to y=−abx−cby = -\frac{a}{b}x - \frac{c}{b}, so the slope is −ab-\frac{a}{b}.
  • Fast route: with x and y on the same side, slope =−coefficient of xcoefficient of y= -\frac{\text{coefficient of } x}{\text{coefficient of } y}. Safe only in that form: if the equation reads ax=by+cax = by + c, move the terms across first.
  • A horizontal line y=ky = k has slope 0. A vertical line x=kx = k has no slope (the run is 0).

Slope from two points and from an equation

m=y2−y1x2−x1y=mx+cax+by+c=0⇒m=−abm = \frac{y_2 - y_1}{x_2 - x_1} \qquad y = mx + c \qquad ax + by + c = 0 \Rightarrow m = -\frac{a}{b}
  • mthe slope
  • cin y = mx + c, the y-intercept

Worked example

Find the slope of the line through (−2,11)(-2, 11) and (3,−4)(3, -4), and check that both points lie on 3x+y=53x + y = 5, whose slope should match.
Practice this conceptself-check · 5 quick reps

The same idea in a real exam question:

SSC CGL · 2025 · Tier I, 18 Sep 2025, Shift 3 · Q66Easy

Example 1 · Coordinate Geometry · Slope and Equation of a Line

Find slope of line 7x+4y=87x + 4y = 8.

Dropping the minus sign in minus a over b

For ax+by+c=0ax + by + c = 0 the slope is −ab-\frac{a}{b}. The positive fraction ab\frac{a}{b} and the upside-down ba\frac{b}{a} are always among the options.

Subtracting in a different order on top and bottom

Rise over run needs the same point first in both differences: y2−y1x2−x1\frac{y_2 - y_1}{x_2 - x_1}. Mixing the order flips the sign of the slope.

Concept 2 of 4: Where a line cuts the axes

Every point on the x-axis has y=0y = 0 and every point on the y-axis has x=0x = 0. So to find where a line crosses an axis, put the other coordinate to zero.

Definition

  • x-intercept: put y=0y = 0 and solve for xx. The line meets the x-axis at (x,0)(x, 0).
  • y-intercept: put x=0x = 0 and solve for yy. The line meets the y-axis at (0,y)(0, y).
  • Intercept form: a line with intercepts pp on the x-axis and qq on the y-axis is xp+yq=1\frac{x}{p} + \frac{y}{q} = 1. Divide ax+by=kax + by = k through by kk to read both intercepts at once.
  • The intercepts and the origin make a right triangle of area 12∣pq∣\frac{1}{2}|pq|.

Intercept form of a line

xp+yq=1\frac{x}{p} + \frac{y}{q} = 1
  • pthe x-intercept
  • qthe y-intercept

Worked example

Find both intercepts of the line 3x−7y=213x - 7y = 21.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

SSC CGL · 2025 · Tier I, 14 Sep 2025, Shift 1 · Q73Easy

Example 2 · Coordinate Geometry · Slope and Equation of a Line

Find y-intercept of 4x+5y=204x + 5y = 20.

Putting the wrong coordinate to zero

The x-intercept comes from y=0y = 0, not x=0x = 0. Putting x=0x = 0 gives the y-intercept, which the options usually print beside the right answer.

Concept 3 of 4: Testing a point on a line, and finding an unknown

A point lies on a line exactly when its coordinates make the equation true. So a point on the line is an equation waiting to be used: put it in, and any unknown in the line drops out.

Definition

  • Test a point: put its x into the equation and see whether you get its y. Both sides must match exactly.
  • Find an unknown: if a line with an unknown slope or intercept passes through a given point, put the point in and solve the one equation.
  • Fast route for 'which point lies on it': test each option in turn. When one of the options is 'all of the above', test every point before answering, not just the first that works.

Worked example

The line y=mx−4y = mx - 4 passes through (3,17)(3, 17). Find mm, and then decide whether (−1,−11)(-1, -11) lies on the line.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

SSC CGL · 2025 · Tier I, 21 Sep 2025, Shift 1 · Q70Easy

Example 3 · Coordinate Geometry · Slope and Equation of a Line

If y=mx+1y = mx + 1 passes through (2,5)(2,5), find m.

Stopping at the first option that fits

When 'all of the above' is an option, a point that fits does not end the question. Test every listed point; if they all fit, the answer is the 'all' option.

Swapping the coordinates when substituting

In (3,17)(3, 17) the 3 is x and the 17 is y. Putting 17 in for x gives a different, wrong value of the unknown.

Concept 4 of 4: Equation of a line from a point and its slope

A slope and one point pin a line down completely: start at the point and walk with that slope. The point-slope form writes exactly that walk as an equation.

Definition

  • Point-slope form: the line through (x1,y1)(x_1, y_1) with slope mm is y−y1=m(x−x1)y - y_1 = m(x - x_1). Open the bracket to get y=mx+cy = mx + c.
  • If the given point is on the y-axis, (0,c)(0, c), the line is y=mx+cy = mx + c straight away.
  • Through two points: find the slope first by rise over run, then use either point in the point-slope form.
  • Fast route with options: when all four options have the right slope, only the intercept differs. Put the given point into each and keep the one it satisfies.

Point-slope form

y−y1=m(x−x1)y - y_1 = m(x - x_1)

Worked example

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

The same idea in a real exam question:

SSC CGL · 2025 · Tier I, 19 Sep 2025, Shift 2 · Q66Easy

Example 4 · Coordinate Geometry · Slope and Equation of a Line

What is the quation of line through (-1,-2) with slope -3.

Keeping the wrong sign inside the bracket

For the point (−4,−6)(-4, -6) the form is y+6=m(x+4)y + 6 = m(x + 4): subtracting a negative coordinate turns into adding. Writing y−6y - 6 or x−4x - 4 gives a line through a different point.

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 of a line

    Slope from two points and from an equation

    m=y2−y1x2−x1y=mx+cax+by+c=0⇒m=−abm = \frac{y_2 - y_1}{x_2 - x_1} \qquad y = mx + c \qquad ax + by + c = 0 \Rightarrow m = -\frac{a}{b}
  • Where a line cuts the axes

    Intercept form of a line

    xp+yq=1\frac{x}{p} + \frac{y}{q} = 1
  • Equation of a line from a point and its slope

    Point-slope form

    y−y1=m(x−x1)y - y_1 = m(x - x_1)

Watch out for (6)

Test yourself on Coordinate Geometry

10 past SSC CGL questions from this chapter, timed at 6 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.