How do I find the equation of a straight line?

Let's draw a line. It crosses the point (0,1), intercepting the y-axis (remember, y to the sky!) at 1 and the x-axis at the point (-2,0).

An equation tells us what a line looks like, it's a way of describing a line in a mathematical way. If we do it right, we can draw a line just by looking at the equation. Equations for straight lines are ususally given in the form y=mx+c - this tells us what y values do for different values of x. But what are m and c?

So, in order to find the equation for any straight line, we need two things: the gradient and the y-intercept. We call the y-intercept c and the gradient m. As soon as we know these two things, the rest is easy!

First step: finding the y-intercept - this is the simple bit, all you need to do is look at the y-axis and see where the line crosses it. In this case it is 1, so c=1.

Second step: finding the gradient - this requires a little bit more thought. All gradient means is the steepness of the line, so for every place the line moves to the right, how many places up does it go? In this case the line is not very steep at all and, in fact, you can see that for every place you move to the right it only goes up half a place up. Therefore m=0.5.

The tricky bit is over! Now comes the simple bit. All you have to do now is sub the values you've found for m and c back into the template equation, y=mx+c. So, if c=1 and m=0.5 then y=0.5x+1 - problem solved!

Dominique G. GCSE Classical Greek tutor, GCSE English Language tutor,...

11 months ago

Answered by Dominique, a GCSE Maths tutor with MyTutor

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


£22 /hr

Eleanor H.

Degree: Biochemistry (Bachelors) - Bristol University

Subjects offered:Maths, Chemistry+ 1 more


“ABOUT ME: I am a biochemistry student, currently studying at the University of Bristol, and have had a passion for the natural sciences from a very young age. I am patient, hardworking and experienced, having tutored students in Maths...”

£24 /hr

Xanthe W.

Degree: Biological Sciences with a Year in Industry/Research (Bachelors) - Imperial College London University

Subjects offered:Maths, Chemistry+ 1 more


“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

£22 /hr

Ed W.

Degree: Medicine (Bachelors) - Edinburgh University

Subjects offered:Maths, Further Mathematics + 3 more

Further Mathematics
-Medical School Preparation-

“Hi! I'm Ed and I'm currently studying Medicine at the University of Edinburgh. I tutor at GCSE and A Level forBiology, Chemistry and Maths, and at GCSE level forFurther Maths. These are subjects I'm very comfortable in and enjoy. With ...”

About the author

Dominique G.

Currently unavailable: for regular students

Degree: Classics (Bachelors) - Cambridge University

Subjects offered:Maths, Latin+ 5 more

English Literature
English Language
Classical Greek
-Personal Statements-
-Oxbridge Preparation-

“Hi there! I'm Dommy, a third year undergraduate reading Classics at St. John's College, Cambridge and am currently on a year abroad at the University of Pavia, Italy. I am friendly and enthusiastic about learning and have previously t...”

You may also like...

Other GCSE Maths questions

expand and simplify (x+3)(x-7)

simplify (x-1)^2 - (x-1)

Judy bought a car for £12,000. She bought the car 4 years ago. Each year the car depreciated by 10%. How much was is the car worth now?

Bob lives 2km away from Alice and the school is 1km away from Bob. Alice sets off to meet Bob at 8am and she meets him at 8:15 and they carry on walking at the same pace. School starts at 8:20. Do they get to school on time? How early/late are they?

View GCSE Maths tutors

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