KS3 · Maths

Equation of a line in general form

Every straight line that isn't parallel to an axis has to hit both axes somewhere. Want to know where, without drawing a thing? Put a zero in.

2y + 3x − 6 = 0: slide the point along the line

00.511.5201234xy(1, 1.5)

x: 1. y: 1.5

Slide me to the y-axis (the left edge), then to the x-axis (the bottom edge). Watch which number hits zero.

Two ways to write a straight line

y = mx + c or ay + bx + c = 0

In y = mx + c, m is the gradient (how much y goes up for every 1 across) and c is the y-intercept, because x = 0 gives y = c. In ay + bx + c = 0, everything sits on one side and equals zero: a is the number in front of y, b is the number in front of x, and c is the constant, if there is one.

So why bother with the second form? Put x = 0 or y = 0 into it and the intercepts drop straight out, which makes a quick sketch easy. With y = mx + c you plot from the y-intercept and the gradient instead: for y = 4 − 3x, start at (0, 4), go right 1 and down 3, then draw the line all the way across with a ruler. Read the numbers on the axes, don't just count squares.

Algebra · Straight lines

Same line, different costume

Each equation below is a costume worn by one of these five lines. Which line is it really?

Still to sort

y = 2x − 3 (0)

y = 4x + 5 (0)

y = 3x − 1 (0)

Where the line is: y = 3x − 2 has the same 3x. Only the constant tells them apart.

y = 3x − 2 (0)

Where the line is: y = 3x − 1 has the same 3x. Only the constant tells them apart.

y = 10 − 2x (0)

10 of 10 still to sort.

One straight line can be written in lots of ways. Work out which line each equation really is. Two of the lines look like twins, so watch the constants.

When a and b are not 1

Problem

Find the intercepts of 2y + 3x − 6 = 0, the line from the graph, without drawing it. Then do the same for 2y + 5x − 20 = 0.

Algebra · Straight lines

Where does y + x + 8 = 0 cross the y-axis?

A friend looks at y + x + 8 = 0 and says, "You can just read it off the end."

Which is closest to what you think the y-intercept is, and why?
How sure are you?

Predict, then check

Picture the line first: every point on it has an x value of 3.

The vertical line x = 3 is a straight line. Can it be written as y = mx + c?

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Where does a line meet the axes? Put a zero in and find out.

What you need to know

  • An equation of a line is any equation whose graph is a straight line.
  • One line can wear several equations: y = 2x − 3 and 2x − y − 3 = 0 draw exactly the same line.
  • In y = mx + c, m is the gradient: how much y goes up for every 1 across.
  • And c is the y-intercept, because putting x = 0 into y = mx + c leaves y = c.
  • Have a goBefore you read on: where does y = 4 − 3x cross the y-axis, and does the line go uphill or downhill as you move right?

    (0, 4), and downhill: y drops 3 for every 1 across.

    The number on its own, 4, is c, so x = 0 gives y = 4. The gradient is the number with x, which is −3, not 3: that minus sign is what makes it go down.

  • The general form ay + bx + c = 0 has everything equal to zero: a y-term, an x-term and maybe a constant.
  • Order doesn't matter: 4x − y + 5 = 0 and −y + 4x + 5 = 0 are both y = 4x + 5.
  • For the y-intercept, substitute x = 0. For the x-intercept, substitute y = 0.
  • Have a goSam puts y = 0 into y + x − 5 = 0, gets x = 5, and proudly announces: "The y-intercept is 5!" What has Sam actually found?

    The x-intercept, (5, 0).

    Putting y = 0 lands you on the x-axis, so x − 5 = 0 gives the point (5, 0). For the y-intercept Sam needs x = 0 instead. It happens to give 5 again here, at (0, 5), but on a different axis.

  • Got both intercepts? Plot the two points and draw a ruler line through them. That's your sketch.
  • With a number in front of y or x, divide by it. Intercepts are just −c only when a and b are 1.
  • Have a goQuick one in your head: where does 2y + 4x − 8 = 0 cross the x-axis?

    (2, 0)

    Put y = 0 to get 4x − 8 = 0, so 4x = 8 and x = 2. Answering (8, 0) forgets the 4 stuck to x, which needs a divide.

  • Vertical lines like x = 3 can't be written as y = mx + c.

The big picture

A straight line can wear more than one equation. Besides y = mx + c there's the general form ay + bx + c = 0, where everything sits on one side and equals zero. Put x = 0 in and you get the y-intercept; put y = 0 in and you get the x-intercept. Two points, one ruler, done: that's a sketch. Substitute and calculate rather than guessing from the constant, and remember the one kind of line y = mx + c can't describe: vertical lines like x = 3.

Key points

1An intercept is a point on the line where one coordinate is zero: x = 0 on the y-axis, y = 0 on the x-axis.
2Substitute and calculate: for y + x + 8 = 0, putting x = 0 gives y + 8 = 0, so the y-intercept is (0, −8), not (0, 8).
3For 2y + 3x − 6 = 0 the intercepts are (0, 3) and (2, 0). A number in front of y or x means a divide step.
4Two intercepts are enough to sketch a line: mark them and draw a straight line through them with a ruler.
5y = mx + c can't describe every straight line, because a vertical line has no y-intercept and no gradient you can write as a number.

Worked example

Problem

Sketch the line y + x − 4 = 0 by finding where it crosses the axes.

⚠ Watch out

Mixing up which zero goes where. For the y-intercept you substitute x = 0, not y = 0, because every point on the y-axis has x = 0. For the x-intercept you substitute y = 0. Can't remember? Picture where you're standing: on the y-axis, x is 0.

🧠

Memory hook

Put a zero in and you land on the OTHER axis: x = 0 puts you on the y-axis, and y = 0 puts you on the x-axis.

✓

Check yourself

Try it cold: find where 4y + 3x − 24 = 0 meets both axes, then put each point back in. Left side comes to 0? It's on the line.

Flashcards

(14)
What is an equation of a line?
Any equation whose graph forms a straight line.
In y = mx + c, what does m tell you?
The gradient: how much y goes up for every increase of one in x.
In y = mx + c, what is c, and why?
The y-intercept. When x is zero, y = c.
What does ay + bx + c = 0 look like, in words?
Everything on one side, equal to zero, with a coefficient of y, a coefficient of x and maybe a constant.
Does the order of the x and y terms matter in ay + bx + c = 0?
No. 4x + 5 − y = 0, 4x − y + 5 = 0 and −y + 4x + 5 = 0 all describe the same line, y = 4x + 5.
How do you find the y-intercept from the equation?
Substitute x = 0 and solve for y.
How do you find the x-intercept from the equation?
Substitute y = 0 and solve for x.
Why does x = 0 give the y-intercept?
Every point on the y-axis has x = 0, so the line meets the y-axis where x is zero.
When are the intercepts just −c?
Only when a and b are both 1. Otherwise you divide by the coefficient.
What is the y-intercept of y − x − 4 = 0?
Put x = 0: y − 4 = 0, so y = 4. The y-intercept is (0, 4).
How do you sketch a line from ay + bx + c = 0?
Find both intercepts, plot them, and draw a straight line through them with a ruler.
Which straight lines can't be written as y = mx + c?
Vertical lines, x = a. They never cross the y-axis, so there's no y-intercept, and the gradient can't be written as a number.
How can you check a point is on a line?
Put its x and y into the equation. For y = 2x + 4, the point (2, 8) works because 2 × 2 + 4 = 8.
Plotting from the gradient and y-intercept: what should you check on the axes first?
Read the numbers on the axes rather than just counting squares, because one square isn't always one unit.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More KS3 Maths topics

See the full KS3 Maths curriculum →

How this lesson was checked. This KS3 Mathslesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 30 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.

Helpful guides for parents and students