Given 2 points, how do you calculate the equation of a straight line?

Remember that the equation of a straight line function is: ax+c. a= change of y/ change of x
The steps to follow are:1- find the gradient of the slope2- replace the equation by values coming from any of the 2 points
Example: 2 points (3;8) and (-1;3)Therefore: a= 3-8/-1-3 = 1.25Now: y= 1.25x + c
To find c: Replace value from any of the points: For instance: first point 3;8 where x=3 and y=88= 1.25 x 3 + cc= 8/ 3.75


ZJ
Answered by Zachary J. Maths tutor

2982 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

How do I work out the area of a quarter circle with radius 6cm?


FIRSTLY: John has a slice of pizza in the exact shape of an isosceles triangle. 2 sides measure Y + 5 and 1 side measures Y – 2. Write an expression for the total perimeter. SECONDLY: Multiply out the following brackets: (3Y + 8)(3Y + 2)


How do I factorise quadratic equations?


Solve the simultaneous equations. 3x + 5y = 1 , 2x - 3y = 7


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:

© 2026 by IXL Learning