Skip to the page
Home Campus
Start free

Finding the Equation of a Line Through Two Points

Find the equation y=mx+cy = mx + c of a straight line from its gradient and one point on it, or from two points on it; check it with the other point; decide whether a point lies on a line; and find where a line meets the axes.

Before you start

  • In lesson 4.3 you wrote y=mx+cy = mx + c from the gradient mm and the yy-intercept cc, reading cc where the line cuts the yy-axis at (0,c)(0, c). In lesson 4.1 you found the gradient of the line through (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) as m=y2−y1x2−x1.m = \frac{y_2 - y_1}{x_2 - x_1}\text{.}
  • In Secondary 2 you used a point on a line to find an unknown number in its equation: the coordinates of a point on the line make the equation true. For example, if the line ax+2y=8ax + 2y = 8 passes through (2,1)(2, 1), then a(2)+2(1)=8a(2) + 2(1) = 8, so 2a=62a = 6 and a=3a = 3.
  • In this lesson the unknown number is cc, and the point is usually not on the yy-axis.

A Gradient and One Point

Through a given point there is exactly one line with a given gradient. So a gradient and one point fix a line that is not vertical, and we can find its equation even when the point is not on the yy-axis.

Every point on the line satisfies the equation y=mx+cy = mx + c. Put in the gradient for mm and the coordinates of the point for xx and yy: the only unknown left is cc, and a simple equation gives it.

The equation from a gradient and a point

1. Write y=mx+cy = mx + c with the given gradient in place of mm.

2. Substitute the coordinates of the given point: its xx-coordinate for xx and its yy-coordinate for yy. Solve the equation for cc.

3. Write the equation y=mx+cy = mx + c with both numbers in place.

Example 1: A whole-number gradient

Find the equation of the straight line with gradient 33 that passes through the point (2,7)(2, 7).

Solution

The gradient is 33, so the equation is y=3x+cy = 3x + c for some number cc.

The point (2,7)(2, 7) is on the line, so x=2x = 2 and y=7y = 7 satisfy the equation: 7=3(2)+c7 = 3(2) + c.

7=6+c7 = 6 + c, so c=1c = 1.

The equation is y=3x+1y = 3x + 1. The line cuts the yy-axis at (0,1)(0, 1): from there a step of 22 across and 66 up reaches (2,7)(2, 7), and 62=3\frac{6}{2} = 3, the given gradient.

The line y = 3x + 1 through (2, 7), cutting the y-axis at (0, 1), with the step from (0, 1): 2 across, then 6 up to (2, 7)xy26−2−112345−5−4−3−2−112345678910Oy = 3x + 1(2, 7)(0, 1)

The equation of the line is y=3x+1y = 3x + 1.

Example 2: A fractional gradient

Find the equation of the straight line with gradient 23\frac{2}{3} that passes through the point (4,1)(4, 1).

Solution

The equation is y=23x+cy = \frac{2}{3}x + c.

Substitute x=4x = 4 and y=1y = 1: 1=23(4)+c=83+c.1 = \frac{2}{3}(4) + c = \frac{8}{3} + c\text{.}

Subtract 83\frac{8}{3} from both sides. Write 11 as 33\frac{3}{3}: c=33−83=−53.c = \frac{3}{3} - \frac{8}{3} = -\frac{5}{3}\text{.}

So y=23x−53y = \frac{2}{3}x - \frac{5}{3}.

Keep the fractions exact. Do not write −53-\frac{5}{3} as −1.67-1.67: that line would miss (4,1)(4, 1) by a little. If you prefer an equation without fractions, multiply every term by 33: 3y=2x−53y = 2x - 5. It is the same line.

Check: at (4,1)(4, 1), 3(1)=33(1) = 3 and 2(4)−5=32(4) - 5 = 3.

The equation of the line is y=23x−53y = \frac{2}{3}x - \frac{5}{3} (or 3y=2x−53y = 2x - 5).

A Line Through Two Points

Two points also fix a line. First find its gradient from the two points, as in lesson 4.1. Then you have a gradient and a point, and cc is found as before, with either of the two points.

Finish by checking with the other point. The point you used for cc can only check your arithmetic for cc: it fits whenever cc was worked out correctly, even if the gradient is wrong. The other point checks the gradient as well as cc.

The equation of the line through two points

1. Find the gradient: m=y2−y1x2−x1.m = \frac{y_2 - y_1}{x_2 - x_1}\text{.}

2. Substitute mm and the coordinates of one of the points into y=mx+cy = mx + c, and solve for cc.

3. Write y=mx+cy = mx + c.

4. Check with the other point: its coordinates must satisfy the equation.

Example 3: Two points

Find the equation of the straight line through the points (2,5)(2, 5) and (6,13)(6, 13).

Solution

Step 1: m=13−56−2=84=2.m = \frac{13 - 5}{6 - 2} = \frac{8}{4} = 2\text{.}

Step 2: use (2,5)(2, 5): 5=2(2)+c5 = 2(2) + c, so 5=4+c5 = 4 + c and c=1c = 1.

Step 3: y=2x+1y = 2x + 1.

Step 4: check with (6,13)(6, 13): 2(6)+1=12+1=13.2(6) + 1 = 12 + 1 = 13\text{.}

The line y = 2x + 1 through (2, 5) and (6, 13), cutting the y-axis at (0, 1)xy−11234567−11234567891011121314Oy = 2x + 1(2, 5)(6, 13)(0, 1)

The equation of the line is y=2x+1y = 2x + 1.

Example 4: Negative coordinates and fractions

Find the equation of the straight line through A(1,3)A(1, 3) and B(−2,5)B(-2, 5).

Solution

Step 1: take A(1,3)A(1, 3) as (x1,y1)(x_1, y_1) and B(−2,5)B(-2, 5) as (x2,y2)(x_2, y_2): m=5−3−2−1=2−3=−23.m = \frac{5 - 3}{-2 - 1} = \frac{2}{-3} = -\frac{2}{3}\text{.}

Step 2: use A(1,3)A(1, 3): 3=−23(1)+c3 = -\frac{2}{3}(1) + c, so 3=−23+c3 = -\frac{2}{3} + c.

Add 23\frac{2}{3} to both sides: c=3+23=93+23=113.c = 3 + \frac{2}{3} = \frac{9}{3} + \frac{2}{3} = \frac{11}{3}\text{.}

Step 3: y=−23x+113.y = -\frac{2}{3}x + \frac{11}{3}\text{.}

Step 4: check with B(−2,5)B(-2, 5): −23(−2)+113=43+113=153=5.-\frac{2}{3}(-2) + \frac{11}{3} = \frac{4}{3} + \frac{11}{3} = \frac{15}{3} = 5\text{.}

Using BB in Step 2 gives the same cc: 5=−23(−2)+c=43+c,5 = -\frac{2}{3}(-2) + c = \frac{4}{3} + c\text{,} so c=153−43=113.c = \frac{15}{3} - \frac{4}{3} = \frac{11}{3}\text{.}

Multiplying every term by 33 gives 3y=−2x+113y = -2x + 11, which is 2x+3y=112x + 3y = 11: the same line, and easier to check. At BB: 2(−2)+3(5)=−4+15=11.2(-2) + 3(5) = -4 + 15 = 11\text{.}

The equation of the line is y=−23x+113y = -\frac{2}{3}x + \frac{11}{3} (or 2x+3y=112x + 3y = 11).

This is also the way to find the equation of a drawn line whose yy-intercept cannot be read exactly: read two points where the line passes exactly through corners of the grid, and work from their coordinates.

Example 5: When the y-intercept cannot be read

The straight line drawn below passes through A(−1,3)A(-1, 3) and B(3,0)B(3, 0). Find its equation.

A straight line through A(−1, 3) and B(3, 0), going down from left to right; it cuts the y-axis between 2 and 3xy−2−112345−2−11234OA(−1, 3)B(3, 0)

Solution

The line cuts the yy-axis between 22 and 33, so cc cannot be read from the graph. Use the two points.

Step 1: m=0−33−(−1)=−34=−34.m = \frac{0 - 3}{3 - (-1)} = \frac{-3}{4} = -\frac{3}{4}\text{.}

Step 2: use B(3,0)B(3, 0): 0=−34(3)+c=−94+c,0 = -\frac{3}{4}(3) + c = -\frac{9}{4} + c\text{,} so c=94c = \frac{9}{4}.

Step 3: y=−34x+94y = -\frac{3}{4}x + \frac{9}{4}.

Step 4: check with A(−1,3)A(-1, 3): −34(−1)+94=34+94=124=3.-\frac{3}{4}(-1) + \frac{9}{4} = \frac{3}{4} + \frac{9}{4} = \frac{12}{4} = 3\text{.}

The yy-intercept is 94=214\frac{9}{4} = 2\frac{1}{4}, between 22 and 33, as the graph shows.

The equation of the line is y=−34x+94y = -\frac{3}{4}x + \frac{9}{4} (or 4y=−3x+94y = -3x + 9).

Does a Point Lie on the Line?

The equation of a line is a rule that the coordinates of every point on it obey, and that the coordinates of no other point obey. So to test a point, substitute its xx-coordinate into the equation and compare the result with its yy-coordinate.

A point on a line

A point lies on a line when its coordinates satisfy the equation of the line. If they do not, the point is not on the line.

For the line y=2x−1y = 2x - 1: the point (3,5)(3, 5) is on it, since 2(3)−1=52(3) - 1 = 5; the point (3,4)(3, 4) is not, since 2(3)−1=5≠42(3) - 1 = 5 \ne 4.

Example 6: Testing points

The line ll passes through A(−2,−8)A(-2, -8) and B(2,4)B(2, 4). (a) Find the equation of ll. (b) Determine whether the points C(4,10)C(4, 10) and D(−1,−4)D(-1, -4) lie on ll. (c) The point E(k,1)E(k, 1) lies on ll. Find the value of kk.

Solution

(a) m=4−(−8)2−(−2)=124=3.m = \frac{4 - (-8)}{2 - (-2)} = \frac{12}{4} = 3\text{.} Use B(2,4)B(2, 4): 4=3(2)+c4 = 3(2) + c, so c=−2c = -2. The equation is y=3x−2y = 3x - 2. Check with A(−2,−8)A(-2, -8): 3(−2)−2=−6−2=−8.3(-2) - 2 = -6 - 2 = -8\text{.}

(b) C(4,10)C(4, 10): 3(4)−2=12−2=10,3(4) - 2 = 12 - 2 = 10\text{,} which is the yy-coordinate of CC. So CC lies on ll.

D(−1,−4)D(-1, -4): 3(−1)−2=−3−2=−5,3(-1) - 2 = -3 - 2 = -5\text{,} but the yy-coordinate of DD is −4-4. Since −5≠−4-5 \ne -4, DD does not lie on ll: it is 11 unit above the line.

(c) E(k,1)E(k, 1) is on ll, so its coordinates satisfy y=3x−2y = 3x - 2: 1=3k−21 = 3k - 2.

Add 22 to both sides: 3=3k3 = 3k, so k=1k = 1. Check: 3(1)−2=13(1) - 2 = 1.

(a) y=3x−2y = 3x - 2 (b) CC lies on ll; DD does not. (c) k=1k = 1

This gives a second test for collinear points (points on one straight line), besides comparing gradients as in lesson 4.1: find the equation of the line through two of the points, then see whether the third point satisfies it. In Example 6, AA, BB and CC are collinear, and AA, BB and DD are not.

Where a Line Meets the Axes

Every point on the yy-axis has xx-coordinate 00, and every point on the xx-axis has yy-coordinate 00. So, as in Secondary 2, put x=0x = 0 to find where a line meets the yy-axis, and y=0y = 0 to find where it meets the xx-axis.

For a line written as y=mx+cy = mx + c, putting x=0x = 0 gives y=cy = c at once: the line cuts the yy-axis at (0,c)(0, c), and its yy-intercept is cc. The xx-axis needs a short equation.

Example 7: Meeting the axes

The line through P(−2,7)P(-2, 7) and Q(4,−2)Q(4, -2) meets the xx-axis at AA and the yy-axis at BB. Find the equation of the line and the coordinates of AA and BB.

Solution

m=−2−74−(−2)=−96=−32.m = \frac{-2 - 7}{4 - (-2)} = \frac{-9}{6} = -\frac{3}{2}\text{.}

Use P(−2,7)P(-2, 7): 7=−32(−2)+c=3+c,7 = -\frac{3}{2}(-2) + c = 3 + c\text{,} so c=4c = 4. The equation is y=−32x+4y = -\frac{3}{2}x + 4.

Check with Q(4,−2)Q(4, -2): −32(4)+4=−6+4=−2.-\frac{3}{2}(4) + 4 = -6 + 4 = -2\text{.}

BB is on the yy-axis: put x=0x = 0. y=4y = 4, so BB is (0,4)(0, 4).

AA is on the xx-axis: put y=0y = 0. 0=−32x+40 = -\frac{3}{2}x + 4, so 32x=4\frac{3}{2}x = 4.

Multiply both sides by 22: 3x=83x = 8, so x=83=223x = \frac{8}{3} = 2\frac{2}{3}. AA is (83,0)\left(\frac{8}{3}, 0\right).

The line through P(−2, 7) and Q(4, −2), meeting the x-axis at A(2⅔, 0) and the y-axis at B(0, 4)xy−3−2−112345−3−2−112345678OP(−2, 7)Q(4, −2)A(2⅔, 0)B(0, 4)

The equation is y=−32x+4y = -\frac{3}{2}x + 4; AA is (83,0)\left(\frac{8}{3}, 0\right) and BB is (0,4)(0, 4).

Common Mistakes

  • Taking cc from the given point. The line with gradient 33 through (2,7)(2, 7) is not y=3x+7y = 3x + 7: cc is the yy-coordinate only of the point on the yy-axis. Substitute and solve.
  • Putting the coordinates in the wrong places. For the point (2,7)(2, 7), x=2x = 2 and y=7y = 7: write 7=3(2)+c7 = 3(2) + c, not 2=3(7)+c2 = 3(7) + c.
  • Checking only with the point used to find cc. It can only check your arithmetic for cc, not the gradient. Check with the other point.
  • Losing a sign: −32(−2)=+3-\frac{3}{2}(-2) = +3. Put negative coordinates in brackets when you substitute them.
  • Rounding a fraction to a decimal, such as −23-\frac{2}{3} to −0.67-0.67. The equation is then a slightly different line. Keep fractions exact, or multiply every term by the denominator.
  • Mixing up the axes. Where a line meets the xx-axis, y=0y = 0, so the point is (x,0)(x, 0), not (0,x)(0, x).

Practice Questions

Work each question on paper before you open its solution. Give each equation in the form y=mx+cy = mx + c (in a real setting, with the setting's own letters), and check it. The questions get harder as you go.

Question 1

Find the equation of the straight line with (a) gradient 44, through (1,7)(1, 7), (b) gradient −5-5, through (−1,2)(-1, 2), (c) gradient 12\frac{1}{2}, through (−6,1)(-6, 1).

ShowHide solution

(a) 7=4(1)+c7 = 4(1) + c, so c=3c = 3: y=4x+3y = 4x + 3.

(b) 2=−5(−1)+c=5+c,2 = -5(-1) + c = 5 + c\text{,} so c=−3c = -3: y=−5x−3y = -5x - 3.

(c) 1=12(−6)+c=−3+c,1 = \frac{1}{2}(-6) + c = -3 + c\text{,} so c=4c = 4: y=12x+4y = \frac{1}{2}x + 4.

(a) y=4x+3y = 4x + 3 (b) y=−5x−3y = -5x - 3 (c) y=12x+4y = \frac{1}{2}x + 4

Question 2

Find the equation of the straight line with gradient 32\frac{3}{2} that passes through (3,−1)(3, -1).

ShowHide solution

−1=32(3)+c=92+c.-1 = \frac{3}{2}(3) + c = \frac{9}{2} + c\text{.}

c=−1−92=−22−92=−112.c = -1 - \frac{9}{2} = -\frac{2}{2} - \frac{9}{2} = -\frac{11}{2}\text{.}

So y=32x−112y = \frac{3}{2}x - \frac{11}{2}. Multiplying every term by 22: 2y=3x−112y = 3x - 11.

Check at (3,−1)(3, -1): 2(−1)=−22(-1) = -2 and 3(3)−11=−23(3) - 11 = -2.

y=32x−112y = \frac{3}{2}x - \frac{11}{2} (or 2y=3x−112y = 3x - 11)

Question 3

Find the equation of the straight line through each pair of points. (a) (1,2)(1, 2) and (3,8)(3, 8) (b) (−2,6)(-2, 6) and (2,−2)(2, -2) (c) (−3,−4)(-3, -4) and (6,2)(6, 2)

ShowHide solution

(a) m=8−23−1=62=3.m = \frac{8 - 2}{3 - 1} = \frac{6}{2} = 3\text{.} 2=3(1)+c2 = 3(1) + c, so c=−1c = -1: y=3x−1y = 3x - 1. Check with (3,8)(3, 8): 9−1=89 - 1 = 8.

(b) m=−2−62−(−2)=−84=−2.m = \frac{-2 - 6}{2 - (-2)} = \frac{-8}{4} = -2\text{.} −2=−2(2)+c-2 = -2(2) + c, so c=2c = 2: y=−2x+2y = -2x + 2. Check with (−2,6)(-2, 6): 4+2=64 + 2 = 6.

(c) m=2−(−4)6−(−3)=69=23.m = \frac{2 - (-4)}{6 - (-3)} = \frac{6}{9} = \frac{2}{3}\text{.} 2=23(6)+c=4+c,2 = \frac{2}{3}(6) + c = 4 + c\text{,} so c=−2c = -2: y=23x−2y = \frac{2}{3}x - 2. Check with (−3,−4)(-3, -4): −2−2=−4-2 - 2 = -4.

(a) y=3x−1y = 3x - 1 (b) y=−2x+2y = -2x + 2 (c) y=23x−2y = \frac{2}{3}x - 2

Question 4

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

ShowHide solution

m=5−14−(−2)=46=23.m = \frac{5 - 1}{4 - (-2)} = \frac{4}{6} = \frac{2}{3}\text{.}

Use (−2,1)(-2, 1): 1=23(−2)+c=−43+c,1 = \frac{2}{3}(-2) + c = -\frac{4}{3} + c\text{,} so c=33+43=73.c = \frac{3}{3} + \frac{4}{3} = \frac{7}{3}\text{.}

y=23x+73y = \frac{2}{3}x + \frac{7}{3}, or 3y=2x+73y = 2x + 7.

Check with (4,5)(4, 5): 23(4)+73=83+73=153=5.\frac{2}{3}(4) + \frac{7}{3} = \frac{8}{3} + \frac{7}{3} = \frac{15}{3} = 5\text{.}

y=23x+73y = \frac{2}{3}x + \frac{7}{3} (or 3y=2x+73y = 2x + 7)

Question 5

Hui Min finds the equation of the line through (2,7)(2, 7) and (5,13)(5, 13). She works out m=2m = 2 correctly, then writes 2=2(7)+c2 = 2(7) + c, so c=−12c = -12 and y=2x−12y = 2x - 12. Explain her mistake, find the correct equation, and use the point (5,13)(5, 13) to show which equation is right.

ShowHide solution

She put the yy-coordinate 77 in place of xx and the xx-coordinate 22 in place of yy. For (2,7)(2, 7), x=2x = 2 and y=7y = 7.

Correctly: 7=2(2)+c=4+c7 = 2(2) + c = 4 + c, so c=3c = 3 and y=2x+3y = 2x + 3.

At (5,13)(5, 13): 2(5)+3=132(5) + 3 = 13, which fits; 2(5)−12=−2≠13,2(5) - 12 = -2 \ne 13\text{,} which does not.

She swapped xx and yy when she substituted. The equation is y=2x+3y = 2x + 3: (5,13)(5, 13) satisfies it and does not satisfy y=2x−12y = 2x - 12.

Question 6

The line ll passes through (−1,7)(-1, 7) and (3,−1)(3, -1). (a) Find the equation of ll. (b) Determine whether the points (2,1)(2, 1) and (−3,10)(-3, 10) lie on ll. (c) The point (k,−7)(k, -7) lies on ll. Find the value of kk.

ShowHide solution

(a) m=−1−73−(−1)=−84=−2.m = \frac{-1 - 7}{3 - (-1)} = \frac{-8}{4} = -2\text{.} Use (3,−1)(3, -1): −1=−2(3)+c-1 = -2(3) + c, so c=5c = 5: y=−2x+5y = -2x + 5. Check with (−1,7)(-1, 7): 2+5=72 + 5 = 7.

(b) (2,1)(2, 1): −2(2)+5=1-2(2) + 5 = 1, so it lies on ll. (−3,10)(-3, 10): −2(−3)+5=11≠10,-2(-3) + 5 = 11 \ne 10\text{,} so it does not.

(c) −7=−2k+5-7 = -2k + 5, so 2k=122k = 12 and k=6k = 6. Check: −2(6)+5=−7-2(6) + 5 = -7.

(a) y=−2x+5y = -2x + 5 (b) (2,1)(2, 1) lies on ll; (−3,10)(-3, 10) does not. (c) k=6k = 6

Question 7

The line through (−1,7)(-1, 7) and (2,−2)(2, -2) meets the xx-axis at AA and the yy-axis at BB. Find the equation of the line and the coordinates of AA and BB.

ShowHide solution

m=−2−72−(−1)=−93=−3.m = \frac{-2 - 7}{2 - (-1)} = \frac{-9}{3} = -3\text{.} Use (−1,7)(-1, 7): 7=−3(−1)+c=3+c,7 = -3(-1) + c = 3 + c\text{,} so c=4c = 4: y=−3x+4y = -3x + 4.

Check with (2,−2)(2, -2): −3(2)+4=−2-3(2) + 4 = -2.

BB: put x=0x = 0, so y=4y = 4: B(0,4)B(0, 4).

AA: put y=0y = 0, so 0=−3x+40 = -3x + 4, 3x=43x = 4 and x=43x = \frac{4}{3}: A(43,0)A\left(\frac{4}{3}, 0\right).

y=−3x+4y = -3x + 4; A(43,0)A\left(\frac{4}{3}, 0\right), B(0,4)B(0, 4)

Question 8

Find the equation of the line through A(−2,1)A(-2, 1) and B(2,3)B(2, 3). Hence show that AA, BB and C(8,6)C(8, 6) are collinear.

ShowHide solution

m=3−12−(−2)=24=12.m = \frac{3 - 1}{2 - (-2)} = \frac{2}{4} = \frac{1}{2}\text{.} Use B(2,3)B(2, 3): 3=12(2)+c=1+c,3 = \frac{1}{2}(2) + c = 1 + c\text{,} so c=2c = 2: y=12x+2y = \frac{1}{2}x + 2.

Check with A(−2,1)A(-2, 1): −1+2=1-1 + 2 = 1.

C(8,6)C(8, 6): 12(8)+2=4+2=6,\frac{1}{2}(8) + 2 = 4 + 2 = 6\text{,} so CC lies on the line through AA and BB.

The line ABAB is y=12x+2y = \frac{1}{2}x + 2, and C(8,6)C(8, 6) satisfies it, so AA, BB and CC lie on one straight line.

Question 9

A map is drawn with axes in kilometres, and a river runs along the yy-axis. A straight road passes the bus interchange at (−4,1)(-4, 1) and the sports hall at (6,5)(6, 5). (a) Find the equation of the road. (b) Does the road pass the library at (11,7)(11, 7)? (c) Where does the road cross the river?

ShowHide solution

(a) m=5−16−(−4)=410=25.m = \frac{5 - 1}{6 - (-4)} = \frac{4}{10} = \frac{2}{5}\text{.} Use (6,5)(6, 5): 5=25(6)+c=125+c,5 = \frac{2}{5}(6) + c = \frac{12}{5} + c\text{,} so c=255−125=135.c = \frac{25}{5} - \frac{12}{5} = \frac{13}{5}\text{.}

y=25x+135y = \frac{2}{5}x + \frac{13}{5}. Check with (−4,1)(-4, 1): −85+135=55=1.-\frac{8}{5} + \frac{13}{5} = \frac{5}{5} = 1\text{.}

(b) At x=11x = 11: 225+135=355=7.\frac{22}{5} + \frac{13}{5} = \frac{35}{5} = 7\text{.} So (11,7)(11, 7) is on the road.

(c) The river is the yy-axis, x=0x = 0: y=135=2.6y = \frac{13}{5} = 2.6.

(a) y=25x+135y = \frac{2}{5}x + \frac{13}{5} (b) Yes, the road passes the library. (c) At (0,2.6)(0, 2.6).

Question 10

At a bicycle rental kiosk, the cost of hiring a bicycle is CC dollars for tt hours, and the graph of CC against tt is a straight line. Hiring for 22 hours costs $1111 and hiring for 55 hours costs $2020. (a) Find the gradient of the line, with its unit, and say what it means. (b) Find an equation connecting CC and tt. (c) What is the value of CC when t=0t = 0, and what does it mean? (d) Find the cost of hiring for 88 hours.

ShowHide solution

(a) The points are (2,11)(2, 11) and (5,20)(5, 20). Gradient =20−115−2=93=3= \frac{20 - 11}{5 - 2} = \frac{9}{3} = 3 dollars per hour: each extra hour costs $33.

(b) C=3t+kC = 3t + k for some number kk. Use (2,11)(2, 11): 11=3(2)+k11 = 3(2) + k, so k=5k = 5: C=3t+5C = 3t + 5. Check with (5,20)(5, 20): 15+5=2015 + 5 = 20.

(c) When t=0t = 0, C=5C = 5: a fixed charge of $55 on top of the hourly charge.

(d) C=3(8)+5=29C = 3(8) + 5 = 29.

(a) 33 dollars per hour: $33 for each hour. (b) C=3t+5C = 3t + 5 (c) C=5C = 5: a fixed charge of $55. (d) $2929

Question 11

A car uses petrol at a steady rate. After it has travelled 6060 km, there are 3737 litres of petrol in its tank; after 200200 km, there are 2323 litres. The volume VV litres left after dd km lies on a straight line. (a) Find an equation connecting VV and dd. (b) How much petrol was in the tank at the start? (c) How far can the car travel, from the start, before the tank is empty?

ShowHide solution

(a) The points are (60,37)(60, 37) and (200,23)(200, 23). Gradient =23−37200−60=−14140=−0.1= \frac{23 - 37}{200 - 60} = \frac{-14}{140} = -0.1 litres per km.

V=−0.1d+kV = -0.1d + k for some number kk. Use (60,37)(60, 37): 37=−0.1(60)+k=−6+k,37 = -0.1(60) + k = -6 + k\text{,} so k=43k = 43: V=−0.1d+43V = -0.1d + 43. Check with (200,23)(200, 23): −20+43=23-20 + 43 = 23.

(b) At the start d=0d = 0, so V=43V = 43.

(c) Empty: V=0V = 0, so 0=−0.1d+430 = -0.1d + 43, 0.1d=430.1d = 43 and d=430d = 430.

(a) V=−0.1d+43V = -0.1d + 43 (b) 4343 litres (c) 430430 km

Key Points

  • A gradient and one point: write y=mx+cy = mx + c with the gradient, substitute the coordinates of the point, and solve for cc.
  • Two points: find m=y2−y1x2−x1,m = \frac{y_2 - y_1}{x_2 - x_1}\text{,} find cc with either point, then check with the other point.
  • A point lies on a line when its coordinates satisfy the equation of the line.
  • A line meets the yy-axis where x=0x = 0 (at (0,c)(0, c) for y=mx+cy = mx + c) and the xx-axis where y=0y = 0.
  • Keep fractions exact; to remove them, multiply every term by the denominator.

Previous lesson4.3 Finding the Equation of a Line from Its Graph Next lesson4.5 Equations of Parallel Lines

All Secondary 3 (Grade 9) lessons

Home Campus has lessons for Primary 3 to Secondary 4, and practice questions with worked solutions and worksheets for Primary 3 to Secondary 2. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 3 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.