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

Related Maths GCSE answers

All answers ▸

Aditi, Becky and Cali collect coins. Aditi has 6 more coins than Becky. Cali has 1 less coin than Aditi. Altogether they have 71 coins. How many coins do they each have? Show all your working.


Find the point of intersection between the lines 2y=-4x+4 and 3y=10x-3


x + y = 11, and x^2 + y^2 = 61, Work out values of y in the form of x


A group of 55 pupils were asked if they owned a phone or a tablet.11 people are known to own both18 said they only owned a tablet34 said they owned at least a phoneA student is picked a random, what is the probability that the student doesn’t have a phone