How do you work out the equation for a line?

In order to work out the equation for a line, you need the gradient of the line and the coordinates of a point on the line. To find the gradient on the line, you look at two points on the line and calculate the rise over the run. If a line goes up vertically by 3 between two points on the line but only goes right horizontally by 1, the rise over the run is 3/1 so the gradient is 3.

Using one of these points and the gradient you can work out the equation of the line with the following formula. 

y-y1=m(x-x1) where y1 and x1 are the coordinates of the point on the line and m is the gradient. Simply rearrange to make y the subject of this equation and you will have the equation of the line given in its normal form. 

SB
Answered by Sam B. Maths tutor

5235 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

Functions question: f(x) = 3x + 2a; g(x) = ax + 6; fg(x) = 12x + b. a and b are constants; Work out the value of b


How would you answer a frequency tree question such as '400 people were asked if they drink orange juice, 8/10 say yes, 25% of these say yes to drinking 3 cups a day. Complete the frequency diagram.'?


The equation of a curve is y = ax^2 + 3x + c where a and b are integers. The curve has a minimum point at (1,1), find a and c


How do I solve simultaneous equations by substitution?


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