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.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

Hint

Use y=mx+c.

Worked solution

A straight line has gradient 3 and crosses the y-axis at (0,-2). Find its equation.

  1. 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)).
  2. 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.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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.

  1. (0,5) is on the y-axis, so the y-intercept is c=5.
  2. With gradient m=-2, y=mx+c gives y=-2x+5.

Question 31 mark

Which point lies on the line y=2x-3?

Choose one answer
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)
  2. (1,1)
  3. (-1,-1)
  4. (2,3)
  1. When x=1, y=2\times1-3=-1, so (1,-1) lies on the line.
  2. 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).

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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).

  1. Both points have y-coordinate 4, so the line is horizontal.
  2. 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.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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.

  1. The line crosses the y-axis at (0,1), so c=1.
  2. It also passes through (2,2). Gradient =\frac{\text{change in }y}{\text{change in }x}=\frac{2-1}{2-0}=\frac12.
  3. So the equation is y=\frac12x+1.

Question 62 marks

A line has gradient -3 and passes through (2,7). Find its equation.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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.

  1. Use y=mx+c with m=-3: y=-3x+c.
  2. (2,7) is on the line, so substitute x=2 and y=7: 7=-6+c.
  3. 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).

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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).

  1. Gradient =\frac{\text{change in }y}{\text{change in }x}=\frac{11-5}{4-1}=\frac63=2.
  2. Substitute (1,5) into y=2x+c: 5=2+c, so c=3.
  3. The equation is y=2x+3.

Question 83 marks

Find the equation of the straight line through (-2,5) and (4,-4).

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

Hint

Keep the signs when calculating both coordinate changes.

Worked solution

Find the equation of the straight line through (-2,5) and (4,-4).

  1. Gradient =\frac{-4-5}{4-(-2)}=\frac{-9}{6}=-\frac32.
  2. Substitute (-2,5) into y=-\frac32x+c. Since -\frac32\times(-2)=3, this gives 5=3+c, so c=2.
  3. The equation is y=-\frac32x+2.

Question 91 mark

Find the equation of the straight line through (-3,2) and (-3,7).

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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).

  1. Both points have x-coordinate -3, so the line is vertical.
  2. Every point on it has x=-3, so its equation is x=-3.

Question 103 marks

A straight line has equation 3y+6x=15.

(a)

Find its gradient.

2 marks

(b)

Find the coordinates of the point where the line crosses the y-axis.

1 mark

Write your answer as (x, y)

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.

  1. Make y the subject. Subtract 6x: 3y=15-6x.
  2. Divide by 3: y=5-2x, which is y=-2x+5.
  3. 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.

  1. On the y-axis x=0, so 3y=15 and y=5.
  2. The line crosses the y-axis at (0,5).

Question 113 marks

Find the equation of the line shown on the grid.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

Hint

Read where the line crosses each axis, then find the gradient.

Worked solution

Find the equation of the line shown on the grid.

  1. The line crosses the y-axis at (0,3), so c=3.
  2. 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.
  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.

  1. Gradient =\frac{12-4}{3-(-1)}=\frac84=2.
  2. Substitute (-1,4) into y=2x+c: 4=-2+c, so c=6 and the line is y=2x+6.
  3. (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.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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.

  1. Gradient =\frac{0-(-6)}{4-0}=\frac64=\frac32.
  2. The line crosses the y-axis at (0,-6), so c=-6.
  3. 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.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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.

  1. The 3 extra posters cost £29-14=15 more, so each poster costs £5.
  2. 2 posters cost £10 of the £14, so the setup fee is £4.
  3. 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.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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.

  1. The midpoint is the mean of the coordinates: \left(\frac{-2+6}{2},\frac{1+9}{2}\right)=(2,5).
  2. Use y=\frac12x+c and substitute (2,5): 5=1+c, so c=4.
  3. 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.

(a)

Find the coordinates of C.

2 marks

Write your answer as (x, y)

(b)

Find the equation of the line AB.

2 marks

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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.

  1. AC:CB=3:1, so C is \frac{3}{3+1}=\frac34 of the way from A to B.
  2. From A to B: x changes by 6-(-6)=12 and y changes by -3-5=-8.
  3. \frac34 of these changes: x by 9 and y by -6.
  4. So C=(-6+9,\ 5-6)=(3,-1).

Part (b)

Find the equation of the line AB.

  1. Gradient of AB=\frac{-3-5}{6-(-6)}=\frac{-8}{12}=-\frac23.
  2. Substitute A(-6,5) into y=-\frac23x+c. Since -\frac23\times(-6)=4, this gives 5=4+c, so c=1.
  3. 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.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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.

  1. (2,11) is on the line, so substituting into y=mx+c gives 11=2m+c.
  2. Subtract m+c=7 from 2m+c=11: m=4.
  3. 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.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

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.

  1. Let B=(0,b). Triangle OAB has a right angle at O, base OA=4 and height OB=b.
  2. Area =\frac12\times4\times b=2b. So 2b=12, b=6 and B=(0,6).
  3. Gradient of AB=\frac{0-6}{4-0}=-\frac32, and AB crosses the y-axis at (0,6).
  4. 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.

  1. Gradient =\frac{\text{change in }y}{\text{change in }x}=\frac{-5-3}{4-a}=\frac{-8}{4-a}.
  2. Set this equal to -2 and multiply by 4-a: -8=-2(4-a).
  3. Expand: -8=-8+2a, so 2a=0 and a=0.

Question 20Challenge5 marks

The line L passes through (-2,-1) and (4,8).

(a)

Find the equation of L.

3 marks

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

(b)

Find the coordinates of the point where L meets the line y=-x+7.

2 marks

Write your answer as (x, y)

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.

  1. Gradient =\frac{8-(-1)}{4-(-2)}=\frac96=\frac32.
  2. Substitute (-2,-1) into y=\frac32x+c: -1=-3+c, so c=2.
  3. The equation of L is y=\frac32x+2.

Part (b)

Find the coordinates of the point where L meets the line y=-x+7.

  1. Where the lines meet, both equations are true, so \frac32x+2=-x+7.
  2. Add x and subtract 2: \frac52x=5, so x=2.
  3. Substitute into y=-x+7: y=5. The lines meet at (2,5).