How do I find the equation of a straight line from a graph?

Let's use a general equation for straight lines, y= mx +c. Here, the m and c represent numbers (or constants), which will differ for each specific line. The number in the place of the m is the gradient of the line, or the slope. This is calculated by dividing the change in height along the y axis by the change in width along the x axis (sometimes called rise over run). The number in the place of the c is where the straight line crosses the y axis. If I draw an example, such as this graph, we can see that for each x coordinate that increases we go up 2 y coordinates, so our slope is 2/1=2 which we substitute for our letter m. We can also see that the line crosses the y axis at the number 1, so that is what we plug into our letter c, giving us the equation. y=2x+1

KM
Answered by Katherine M. Maths tutor

3478 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

You are asked to choose from the meal deal at school, there are 9 varieties of sandwich, 6 varieties of snack and 8 varieties of drink. The meal deal consists of a sandwich, snack and drink - how many different combinations of meal deal are there?


Five numbers have a mean of 9.4 . Four of the numbers are 3, 5, 10 and 12. Work out the range of the five numbers. ( 4 marks )


1. Find the value of the missing edge to 2 decimal places 2. Find the angle θ to 2 decimal places


Solve the simultaneous equations: [4x-y=3] and [6x +2y=1]


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:

© 2025 by IXL Learning