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 ▸

express the number 84 as a product of its prime factors


What is the value of 5^15 / (5^3)^3


An ice cream cone with a base 4.5 cm in diameter and whose height is 10 cm is filled with ice cream. What is the volume of ice cream to 3 d.p.? If the density of ice cream is 1095 kg/m^3, what is the mass of ice cream in 5 cones to 3 s.f.?


Lewis wins £360 in a prize draw. He gives 15% to charity and puts 3/8 into his savings. The rest he uses to buy a bike. How much of the money has Lewis got left for this bike? Note: do not use a calculator