How do I draw a straight line graph given a y=mx+c equation by the table method?

The y=mx+c equation is for a straight line (also known as 'linear') graph.

The 'y' is representative of the y-value, 'm' represents the gradient (how steep the graph is) and 'c' represents the y-intercept (where the graph cuts the y-axis).

To do this by the table method, lets take the following example:

Qu: Draw the graph of y=3x+4 for values of x between -3 and 3

We would draw a table as follows:

x:    -3   -2   -1   0   1   2    3      

3x:  -9   -6   -3   0   3   6    9

+4: +4  +4  +4  +4 +4  +4  +4

y:    -5   -2   -1   4   7  10   13

The first thing you do is write down the x-values for which the graph needs to be drawn (as specified in the qu, these are between -3 and 3)

You then put the 'mx' part of the equation in the next row. In our equation, m has the value of 3, so you write 3x (which algrebraically means 3 multiplied by x). Therefore, you multiple each x-value by 3, e.g -3x3=-9, -2x3=-6 etc. and write these values in.

You then put the +c part of the equation in the row below. In our equation, c has the value of 4, so you put +4 along the whole row. 

You then work out the y-value by adding the 2 rows above. Eg. For the value of x=-3, y=-9+4 which is equal to -5. Therefore, when x is -3, y is -5 - the coordinates would be (-3, -5). You do this for every value, which will give you a series of coordinates. 

You can then plot these coordinates on a graph and join them up to form your line graph!

Neha C. A Level Biology tutor, GCSE Maths tutor, GCSE Biology tutor

2 years ago

Answered by Neha, a GCSE Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£18 /hr

Rachel H.

Degree: Physics and Astronomy with a Year Abroad (Bachelors) - Durham University

Subjects offered: Maths, Science+ 3 more


“Hey, I'm Rachel and I'm a fourth year Physics Student at Durham University. My best subjects at school were always science and maths and really enjoyed using my knowledge to help my friends to understand the topics better, if they were...”

£20 /hr

Jonas P.

Degree: MPhys Theoretical Physics (Bachelors) - Edinburgh University

Subjects offered: Maths, Physics


“I am currently a student at the University of Edinburgh, doing my 4th year of the MPhys Theoretical Physics programme. I've managed to score an average grade of 81% in year 3, and I tend to consistently do well in my exams, which I be...”

£18 /hr

Wisdom O.

Degree: Medicine, MBBS iBsc (Bachelors) - University College London University

Subjects offered: Maths, German+ 5 more

-Personal Statements-
-Oxbridge Preparation-
-Medical School Preparation-

“ABOUT ME   I'm a first year medical student at University College London. I really enjoy sciences and languages and I work hard to convey my passion and interest in these subjects to those I tutor.  I am very friendly and tutoring my ...”

About the author

Neha C.

Currently unavailable: for new students

Degree: Medicine (Bachelors) - Birmingham University

Subjects offered: Maths, Biology


“Passionate, patient and pleasant tutor, tutoring students on maths and science subjects.”

You may also like...

Other GCSE Maths questions

What are surds and how does multiplying them work?

If I buy a dress at 30% off the original price and I pay £40. How much was the dress originally?

Factorise x^2+7x+10 to find the roots of the equatino x^2+7x+10=0

The number of uniform spherical shots that can be made from a given mass of lead varies inversely to the cube of the radius. When the radius is 1mm the number of shots made is 2744. How many shots of radius 1.4mm can be made from the same mass.

View GCSE Maths tutors


We use cookies to improve our service. By continuing to use this website, we'll assume that you're OK with this. Dismiss