Find the equation of the straight line which passes through the points (3,1) and (-1,3)?

The equation of a line is y=mx+c. The first step is to find m, which is the gradient. This is found by dividing the change in the y values, by the change in x values. So in this case, the gradient would be (1-3)/(3-(-1)) = -2/4 = -1/2. Therefore we can substitue the m in the equation with -1/2: y=(-1/2)x +c. To find c, we substitute the values of one of the points given in the question, into the equation of the line. For example we could choose (3,1) and swap the x in the equation for 3, and the y for 1: 1 = (-1/2)(3) + c. The value of c can now be found by making it the subject of the equation: c=1-(-3/2) = 5/2. Therefore, the equation of the line is: y = (-1/2)x + 5/2

JP
Answered by Joel P. Maths tutor

11072 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

Simplify (m-7)(m+3)/6(m+3)


Solve the following simultaneous equations: (1) 4x+y=7 and (2) 3x+2y=9


express 63 as a product of its prime factors


Show that the lines y=3x+7 and 2y–6x=8 are parallel. Do not use a graphical method.


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