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!

DG
Answered by Dominique G. Maths tutor

6414 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

The population of a town in 2014 was 80058. This was a 65% increase on its population in 1994. What was the population in 1994?


How do you calculate ratios? Example question: 'White paint costs £2.80 per litre, Blue paint costs £3.50 per litre, White paint and blue paint are mixed in the ratio 3:2. Work out the cost of 18 litres of the mixture [4 marks]' AQA Mathematics (8300)


solve simultaneous equations: 2x² + 3y² = 14 , x = 2y-3


Solve algebraically the simulations equations: x^2+y^2=25 and y-3x=13


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning