Coordinate geometry

Slope and the Equation of a Line

Interpret rise over run, distinguish vertical and horizontal lines, and connect points with slope-intercept and point-slope equations.

Direct answer

Slope is vertical change divided by horizontal change between two distinct points; together with one point it determines a nonvertical line, while a vertical line has equation x=constant and undefined slope.

What this calculation tells you

Slope records how y changes for each unit change in x and carries units when the axes do.

The equation y=mx+b exposes slope and vertical intercept, but vertical lines require a different form.

Where it is used

Data and graphs

Interpret constant trends and compare linear rates.

Design and engineering

Represent idealised grades and linear relationships with explicit units.

Business

Model a fixed component plus a constant per-unit change.

Education

Connect tables, points, rates, and equations.

Common situations

  • Finding slope from two points.
  • Writing a line through two points.
  • Recognising a vertical line.
  • Interpreting the units of a graph's slope.

Calculate coordinated change

Subtract coordinates in the same order so rise and run refer to one movement. Reversing both differences preserves the ratio.

Handle special lines

A zero rise gives a horizontal line with slope zero. A zero run gives a vertical line whose slope is undefined.

Choose an equation form

Point-slope form preserves a known point and rate; slope-intercept form highlights the y-intercept; standard form can avoid fractions.

Common mistakes

Frequent errors include mixing subtraction order and treating a vertical line as slope zero.

  • Label axes and units.
  • Check both points in the equation.
  • Keep vertical lines separate.

Choose the right tool

Practical questions

Frequently asked questions

Why is vertical slope undefined?

Its run is zero, so the rise-over-run quotient divides by zero.

Can two points define a line?

Two distinct points define one line; coincident points do not provide direction.

What does the y-intercept mean?

It is the modelled y-value at x=0, which may or may not be meaningful in the real domain.