Equation of a Straight Line
Question 11 mark
A straight line has gradient 3 and crosses the y-axis at (0,-2). Find its equation.
Hint
Use y=mx+c.
Worked solution
A straight line has gradient 3 and crosses the y-axis at (0,-2). Find its equation.
- A straight line has equation y=mx+c, where m is the gradient and c is the y-intercept (the line crosses the y-axis at (0,c)).
- Here m=3 and c=-2, so y=3x-2.
Question 21 mark
A straight line has gradient -2 and passes through (0,5). Find its equation.
Hint
A point with x-coordinate 0 lies on the y-axis.
Worked solution
A straight line has gradient -2 and passes through (0,5). Find its equation.
- (0,5) is on the y-axis, so the y-intercept is c=5.
- With gradient m=-2, y=mx+c gives y=-2x+5.
Question 31 mark
Which point lies on the line y=2x-3?
Hint
Substitute the x-coordinate of each point and see whether you get its y-coordinate.
Worked solution
Which point lies on the line y=2x-3?
- (1,-1)
- (1,1)
- (-1,-1)
- (2,3)
- When x=1, y=2\times1-3=-1, so (1,-1) lies on the line.
- The others do not: (1,1) needs y=-1 at x=1, (-1,-1) gives y=-5 at x=-1, and (2,3) gives y=1 at x=2.
Question 41 mark
Find the equation of the straight line through (-3,4) and (5,4).
Hint
Look at which coordinate is the same for both points.
Worked solution
Find the equation of the straight line through (-3,4) and (5,4).
- Both points have y-coordinate 4, so the line is horizontal.
- Every point on it has y=4, so its equation is y=4.
Question 53 marks
Find the equation of the line on the grid.
Hint
Read where the line crosses the y-axis, then use two points where the line passes through grid corners to find the gradient.
Worked solution
Find the equation of the line on the grid.
- The line crosses the y-axis at (0,1), so c=1.
- It also passes through (2,2). Gradient =\frac{\text{change in }y}{\text{change in }x}=\frac{2-1}{2-0}=\frac12.
- So the equation is y=\frac12x+1.
Question 62 marks
A line has gradient -3 and passes through (2,7). Find its equation.
Hint
Write y=-3x+c and use the point to find c.
Worked solution
A line has gradient -3 and passes through (2,7). Find its equation.
- Use y=mx+c with m=-3: y=-3x+c.
- (2,7) is on the line, so substitute x=2 and y=7: 7=-6+c.
- So c=13 and the equation is y=-3x+13.
Question 73 marks
Find the equation of the straight line through (1,5) and (4,11).
Hint
Gradient =\frac{\text{change in }y}{\text{change in }x}.
Worked solution
Find the equation of the straight line through (1,5) and (4,11).
- Gradient =\frac{\text{change in }y}{\text{change in }x}=\frac{11-5}{4-1}=\frac63=2.
- Substitute (1,5) into y=2x+c: 5=2+c, so c=3.
- The equation is y=2x+3.
Question 83 marks
Find the equation of the straight line through (-2,5) and (4,-4).
Hint
Keep the signs when calculating both coordinate changes.
Worked solution
Find the equation of the straight line through (-2,5) and (4,-4).
- Gradient =\frac{-4-5}{4-(-2)}=\frac{-9}{6}=-\frac32.
- Substitute (-2,5) into y=-\frac32x+c. Since -\frac32\times(-2)=3, this gives 5=3+c, so c=2.
- The equation is y=-\frac32x+2.
Question 91 mark
Find the equation of the straight line through (-3,2) and (-3,7).
Hint
Look at which coordinate is the same for both points.
Worked solution
Find the equation of the straight line through (-3,2) and (-3,7).
- Both points have x-coordinate -3, so the line is vertical.
- Every point on it has x=-3, so its equation is x=-3.
Question 103 marks
A straight line has equation 3y+6x=15.
Find its gradient.
2 marks
Find the coordinates of the point where the line crosses the y-axis.
1 mark
Hint
Rearrange the equation into the form y=mx+c.
Worked solution
A straight line has equation 3y+6x=15.
Part (a)
Find its gradient.
- Make y the subject. Subtract 6x: 3y=15-6x.
- Divide by 3: y=5-2x, which is y=-2x+5.
- In y=mx+c the gradient is m, so the gradient is -2.
Part (b)
Find the coordinates of the point where the line crosses the y-axis.
- On the y-axis x=0, so 3y=15 and y=5.
- The line crosses the y-axis at (0,5).
Question 113 marks
Find the equation of the line shown on the grid.
Hint
Read where the line crosses each axis, then find the gradient.
Worked solution
Find the equation of the line shown on the grid.
- The line crosses the y-axis at (0,3), so c=3.
- It crosses the x-axis at (2,0). Gradient =\frac{0-3}{2-0}=-\frac32: as x goes up by 2, y goes down by 3.
- The equation is y=-\frac32x+3.
Question 123 marks
The points (-1,4), (3,12) and (5,k) lie on one straight line. Find k.
Hint
Find the equation of the line through the first two points, then use x=5.
Worked solution
The points (-1,4), (3,12) and (5,k) lie on one straight line. Find k.
- Gradient =\frac{12-4}{3-(-1)}=\frac84=2.
- Substitute (-1,4) into y=2x+c: 4=-2+c, so c=6 and the line is y=2x+6.
- (5,k) is on the line, so k=2\times5+6=16.
Question 133 marks
A straight line crosses the coordinate axes at (0,-6) and (4,0). Find its equation.
Hint
Treat the two intercepts as two points on the line.
Worked solution
A straight line crosses the coordinate axes at (0,-6) and (4,0). Find its equation.
- Gradient =\frac{0-(-6)}{4-0}=\frac64=\frac32.
- The line crosses the y-axis at (0,-6), so c=-6.
- The equation is y=\frac32x-6.
Question 143 marks
A printer charges a fixed setup fee plus the same amount for each poster. 2 posters cost £14 and 5 posters cost £29. Find a formula for the total cost, £C, of n posters.
Hint
The change in cost divided by the change in number gives the charge per poster.
Worked solution
A printer charges a fixed setup fee plus the same amount for each poster. 2 posters cost £14 and 5 posters cost £29. Find a formula for the total cost, £C, of n posters.
- The 3 extra posters cost £29-14=15 more, so each poster costs £5.
- 2 posters cost £10 of the £14, so the setup fee is £4.
- Cost = setup fee + £5 per poster: C=5n+4.
Question 154 marks
The midpoint of A(-2,1) and B(6,9) lies on a line of gradient \frac12. Find the equation of that line.
Hint
Find the midpoint by averaging each coordinate before using the given gradient.
Worked solution
The midpoint of A(-2,1) and B(6,9) lies on a line of gradient \frac12. Find the equation of that line.
- The midpoint is the mean of the coordinates: \left(\frac{-2+6}{2},\frac{1+9}{2}\right)=(2,5).
- Use y=\frac12x+c and substitute (2,5): 5=1+c, so c=4.
- The line is y=\frac12x+4.
Question 16Challenge4 marks
A is the point (-6,5) and B is the point (6,-3). C is the point on the line segment AB such that AC:CB=3:1.
Find the coordinates of C.
2 marks
Find the equation of the line AB.
2 marks
Hint
Split the journey from A to B into 3+1=4 equal steps.
Worked solution
A is the point (-6,5) and B is the point (6,-3). C is the point on the line segment AB such that AC:CB=3:1.
Part (a)
Find the coordinates of C.
- AC:CB=3:1, so C is \frac{3}{3+1}=\frac34 of the way from A to B.
- From A to B: x changes by 6-(-6)=12 and y changes by -3-5=-8.
- \frac34 of these changes: x by 9 and y by -6.
- So C=(-6+9,\ 5-6)=(3,-1).
Part (b)
Find the equation of the line AB.
- Gradient of AB=\frac{-3-5}{6-(-6)}=\frac{-8}{12}=-\frac23.
- Substitute A(-6,5) into y=-\frac23x+c. Since -\frac23\times(-6)=4, this gives 5=4+c, so c=1.
- The equation of AB is y=-\frac23x+1.
Question 17Challenge3 marks
The line y=mx+c passes through (2,11). Given that m+c=7, find the equation of the line.
Hint
The point provides a second linear equation in the two constants.
Worked solution
The line y=mx+c passes through (2,11). Given that m+c=7, find the equation of the line.
- (2,11) is on the line, so substituting into y=mx+c gives 11=2m+c.
- Subtract m+c=7 from 2m+c=11: m=4.
- Then c=7-4=3, so the line is y=4x+3.
Question 18Challenge4 marks
The line AB crosses the positive coordinate axes as shown. Triangle OAB has area 12 square units, and A=(4,0). Find the equation of AB.
Hint
Use the triangle area to find the missing intercept before finding the gradient.
Worked solution
The line AB crosses the positive coordinate axes as shown. Triangle OAB has area 12 square units, and A=(4,0). Find the equation of AB.
- Let B=(0,b). Triangle OAB has a right angle at O, base OA=4 and height OB=b.
- Area =\frac12\times4\times b=2b. So 2b=12, b=6 and B=(0,6).
- Gradient of AB=\frac{0-6}{4-0}=-\frac32, and AB crosses the y-axis at (0,6).
- The equation of AB is y=-\frac32x+6.
Question 19Challenge3 marks
The gradient of the line through A(a,3) and B(4,-5) is -2. Find a.
Hint
Write the gradient of AB using a, then set it equal to -2.
Worked solution
The gradient of the line through A(a,3) and B(4,-5) is -2. Find a.
- Gradient =\frac{\text{change in }y}{\text{change in }x}=\frac{-5-3}{4-a}=\frac{-8}{4-a}.
- Set this equal to -2 and multiply by 4-a: -8=-2(4-a).
- Expand: -8=-8+2a, so 2a=0 and a=0.
Question 20Challenge5 marks
The line L passes through (-2,-1) and (4,8).
Find the equation of L.
3 marks
Find the coordinates of the point where L meets the line y=-x+7.
2 marks
Hint
Find the equation of L, then solve it simultaneously with y=-x+7.
Worked solution
The line L passes through (-2,-1) and (4,8).
Part (a)
Find the equation of L.
- Gradient =\frac{8-(-1)}{4-(-2)}=\frac96=\frac32.
- Substitute (-2,-1) into y=\frac32x+c: -1=-3+c, so c=2.
- The equation of L is y=\frac32x+2.
Part (b)
Find the coordinates of the point where L meets the line y=-x+7.
- Where the lines meet, both equations are true, so \frac32x+2=-x+7.
- Add x and subtract 2: \frac52x=5, so x=2.
- Substitute into y=-x+7: y=5. The lines meet at (2,5).