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 ▸

Square ABCD has length (x+3)cm and area 10cm^2. Show x^2 + 6x = 1


Paul buys three pens and one pencil for £11 while Sam buys four pens and two pencil for £16 - what is the price of pens and pencils?


Simultaneous Equation: 3x + y = -4 / 3x - 4y = 6


Solve the Simultaneous Equation: 7x + 8y = 32, x - 4y = 8