Arithly

← All maths topics

Linear relations: y = mx + c and lines through a point

A linear relation is a straight-line pattern between two quantities, written y = mx + c. The gradient m is the rate of change — how much y grows for each extra 1 of x. The intercept c is the starting value: the value of y when x = 0, where the line crosses the y-axis. A positive gradient climbs, a negative one falls, and a bigger gradient climbs faster.

Given the gradient and one point on the line, the point–gradient form y − y₁ = m(x − x₁) builds the equation in one move: substitute, expand the bracket carefully, then collect the y term on its own, as in the worked example. Parallel lines share the same gradient; perpendicular lines have gradients that multiply to give −1 — each is the negative reciprocal of the other.

Think first

Before reading the solution, try to answer these — they are the hints Arithly itself gives:

Worked example

Find the equation of the line with gradient 2 passing through (3, 7)

  1. The gradient is given: m = 2.
  2. Use y − y₁ = m(x − x₁) with the point (3, 7): y − 7 = 2(x − 3).
  3. Expand the right side: 2 × x = 2x, and 2 × (−3) = −6, so y − 7 = 2x − 6.
  4. Add 7 to both sides: y = 2x − 6 + 7 = 2x + 1.

Answer: y = 2x + 1

Practice

Try these yourself. Each one opens in Arithly with the question already filled in — solve it there and check your working:

More topics: all maths topics · Next topic: Exponential functions: growth, decay and solving exponential equations

© 2026 Arithly. Content: CC BY-NC 4.0 · Code & solver: all rights reserved.