Pure Mathematics Year 1, chapter 5 (Straight line graphs), section 5.2
Forms of the equation
Gradient-intercept:y=mx+c.
Point-gradient:y−y1=m(x−x1), for a line through (x1,y1) with gradient m.
General form:ax+by+c=0, where a, b and c are usually integers.
Method: point and gradient
Put m, x1 and y1 into y−y1=m(x−x1).
Rearrange into the form asked for.
Method: two points
Find the gradient m=x2−x1y2−y1.
Use either point in y−y1=m(x−x1).
Check with the other point.
Worked example 1: point and gradient
Find the line through (1,5) with gradient −2.
y−5=−2(x−1)⇒y=−2x+7
Worked example 2: two points
Find the line through (−1,4) and (3,−4).
m=3−(−1)−4−4=4−8=−2
Using (−1,4): y−4=−2(x+1), so y=−2x+2.
Check with (3,−4): −2(3)+2=−4 ✓.
Worked example 3: general form with integers
Find the line through (4,1) with gradient 32, in the form ax+by+c=0 with integer coefficients.
y−1=32(x−4)⇒3y−3=2x−8⇒2x−3y−5=0
Finding where a line crosses the axes
Put x=0 to find the y-intercept and y=0 to find the x-intercept. For 2x−3y−5=0: the y-intercept is −35 and the x-intercept is 25.
Common mistake: sign errors when using a negative coordinate. For (−1,4) the bracket is (x−(−1))=(x+1), not (x−1). Also clear fractions by multiplying every term.
Exam tip: when the answer must be in the form ax+by+c=0 with integer coefficients, multiply out fractions at the end and state the form clearly. Check by substituting a given point.
Check yourself
Find the line through (2,3) with gradient 4.
y−3=4(x−2), so y=4x−5.
Find the line through (0,1) and (2,7).
m=3, so y=3x+1.
Write y=21x+3 with integer coefficients and equal to zero.