VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

The Equation y = mx + c: Understanding Gradient and Intercept

Three learners review open books together at a classroom table, with stacks of textbooks, stationery and a whiteboard in the bright room.

Consider the straight-line equation:

y=3x+5.

What does the 3 mean?

What does the 5 mean?

Why does changing either number change the graph in a different way?

In y=mx+c, m controls how fast y changes as x changes, while c tells us where the line crosses the y-axis.

That separation is the heart of straight-line graph interpretation.

The quick answer

  • m is the gradient.
  • c is the y-intercept.
  • When x increases by 1, y changes by m.
  • When x=0, y=c.
  • If c=0, the line passes through the origin.

Reading y=3x+5

Let x=0.

y=3(0)+5=5.

So the graph crosses the y-axis at:

(0,5).

Now increase x from 0 to 1.

y changes from 5 to 8.

Change in y=3.

That is the gradient.

A table reveals both parameters

For y=3x+5:

  • x=0 → y=5;
  • x=1 → y=8;
  • x=2 → y=11;
  • x=3 → y=14.

The output rises by 3 each time x rises by 1.

The starting output at x=0 is 5.

The gradient describes repeated change. The intercept describes the value before that repeated change begins.

Positive gradient

In y=2x−4, m=2.

As x increases, y increases.

The line rises from left to right.

Negative gradient

In y=−3x+7, m=−3.

As x increases by 1, y decreases by 3.

The line falls from left to right.

Zero gradient

In y=4:

we can think of the equation as y=0x+4.

Gradient=0.

The line is horizontal.

Why vertical lines do not fit y=mx+c

A vertical line such as x=3 has undefined gradient.

It cannot be written as y=mx+c with a finite m because one x-value corresponds to many y-values.

The y-intercept

The y-intercept occurs where x=0.

For y=−2x+6:

when x=0, y=6.

So c=6 and the graph crosses the y-axis at (0,6).

The intercept is a coordinate position, not merely a spare constant at the end of the equation.

The x-intercept is different

The x-intercept occurs where y=0.

For y=3x−12:

0=3x−12.

x=4.

So the x-intercept is (4,0).

Do not confuse the y-intercept c with the x-intercept.

Direct proportion is the special case c=0

For y=5x:

m=5 and c=0.

The graph passes through the origin.

Also:

y/x=5

for non-zero x.

The gradient and constant of proportionality are the same number.

A fixed fee creates a non-zero intercept

A service charges $8 fixed plus $3 per item.

If x is the number of items and y is total cost:

y=3x+8.

Gradient 3 means:

$3 additional cost per extra item.

Intercept 8 means:

cost is already $8 when x=0.

In context, m often carries a “per unit” meaning while c represents a starting amount, fixed charge or initial condition.

Compare two lines with the same gradient

y=2x+1

and:

y=2x−5.

Both have gradient 2.

They rise at the same rate.

Their y-intercepts differ, so they remain parallel and never meet.

Compare two lines with the same intercept

y=2x+4

and:

y=−x+4.

Both pass through (0,4).

But their gradients differ, so they separate immediately away from the shared intercept.

Changing m rotates the line around the intercept

If c is fixed and m changes, every line passes through the same y-intercept but has a different rate of change.

For example:

  • y=x+2;
  • y=3x+2;
  • y=−2x+2.

All cross the y-axis at 2.

The different gradients control their directions.

Changing c shifts the line vertically

If m is fixed and c changes:

  • y=2x;
  • y=2x+5;
  • y=2x−4.

all have the same gradient 2.

They are parallel vertical shifts of one another.

Finding points from the equation

For y=−2x+5:

  • x=0 → y=5;
  • x=1 → y=3;
  • x=2 → y=1;
  • x=3 → y=−1.

Any two distinct points are enough to determine the straight line.

Drawing efficiently from m and c

For y=(3/2)x−1:

Start at y-intercept:

(0,−1).

Gradient 3/2 means:

  • move 2 units right;
  • move 3 units up.

That reaches (2,2).

Draw the straight line through those points.

Read an equation from a graph

Suppose a line crosses the y-axis at −2 and rises 4 units when x rises 2 units.

Gradient:

4/2=2.

Intercept:

−2.

Equation:

y=2x−2.

Rearrange into y=mx+c form

Equation:

2x+y=7.

Make y the subject:

y=−2x+7.

Now gradient and intercept are visible immediately:

  • m=−2;
  • c=7.

Units of m and c can differ

Suppose y is cost in dollars and x is distance in kilometres.

In y=2.5x+4:

  • m=2.5 dollars per kilometre;
  • c=4 dollars.

Gradient carries y-units per x-unit.

Intercept carries y-units only.

Context can restrict the domain

The line y=2.5x+4 exists mathematically for all real x.

If x represents journey distance, negative x is not physically meaningful.

The model may therefore use only x≥0.

The algebraic line and the contextual model are related but not identical objects.

Common misconception 1: c is the x-intercept

c is the y-intercept because it is the value of y when x=0.

Common misconception 2: m is y/x

m is Δy/Δx. y/x equals m only when the line passes through the origin.

Common misconception 3: a larger c means a steeper line

c changes vertical position. m controls steepness and direction relative to the coordinate scales.

Common misconception 4: every straight line is direct proportion

Direct proportion requires c=0 and therefore a line through the origin.

Common misconception 5: visual angle gives the gradient

Axis scales can distort appearance. Use coordinate differences.

A straight-line diagnostic ladder

  1. Can the learner identify m and c?
  2. Can the learner interpret m as rate of change?
  3. Can the learner locate the y-intercept?
  4. Can the learner distinguish x- and y-intercepts?
  5. Can the learner draw a line from m and c?
  6. Can the learner read m and c from a graph?
  7. Can the learner rearrange an equation into y=mx+c form?
  8. Can the learner connect c=0 to direct proportion?
  9. Can the learner attach correct units to m and c?
  10. Can the learner interpret m and c in context?

How this fits Secondary Mathematics

The form y=mx+c connects gradient, coordinates, graphs, simultaneous equations, direct proportion and real-world linear models. It is one of the most useful coordinate representations because it separates change from starting position.

The deeper lesson: one line carries two kinds of information

The gradient says how the relationship evolves.

The intercept says where it begins when x=0.

y=mx+c is powerful because it compresses a whole straight line into two structural numbers: m tells us how the output changes, and c anchors that changing relationship to a definite starting position.

Sources and further reading