Skip to the page
Home Campus
Start free

Graphs of Linear Equations in Two Variables

Draw the graph of ax+by=cax + by = c from a table of values or from its intercepts, to a given scale and range; read values from it; tell whether a point lies on it; and draw it for a real setting.

Before you start

  • In Secondary 1 you drew straight-line graphs, such as the graph of y=2x+1y = 2x + 1, from a table of values: work out yy for some values of xx, plot the points and join them with a ruler.
  • In lesson 2.1 the solutions of 2x+3y=122x + 3y = 12, plotted as points, lay on one straight line.

Drawing the Graph from a Table of Values

The graph of ax + by = c

The graph of a linear equation ax+by=cax + by = c is a straight line. Every point on the line is a solution of the equation, and every solution is a point on the line.

To draw it from a table of values:

(1) make yy the subject, y=c−axby = \frac{c - ax}{b};

(2) choose at least three values of xx across the given range, if possible ones that give whole-number values of yy, and work out yy for each;

(3) plot the points, draw a straight line through them with a ruler across the given range, and label it with its equation.

Example 1: Drawing 3x + 2y = 6 from a table

Draw the graph of 3x+2y=63x + 2y = 6 for values of xx from −2-2 to 44.

Solution

Make yy the subject: 2y=6−3x2y = 6 - 3x, so y=6−3x2y = \frac{6 - 3x}{2}.

An odd value of xx gives a half (x=1x = 1 gives y=1.5y = 1.5), so choose the even values −2-2, 00, 22 and 44, which include both ends of the range:

x=−2x = -2: y=6+62=6y = \frac{6 + 6}{2} = 6. x=0x = 0: y=62=3y = \frac{6}{2} = 3. x=2x = 2: y=6−62=0y = \frac{6 - 6}{2} = 0. x=4x = 4: y=6−122=−3y = \frac{6 - 12}{2} = -3.

xx−2-2002244
yy663300−3-3

Plot the four points. They lie on one straight line, which checks the table. Draw the line from x=−2x = -2 to x=4x = 4.

The graph of 3x + 2y = 6 for x from −2 to 4: a straight line through (−2, 6), (0, 3), (2, 0) and (4, −3)xy−3−2−112345−4−3−2−11234567O3x + 2y = 6(−2, 6)(0, 3)(2, 0)(4, −3)

The graph is the straight line through (−2,6)(-2, 6) and (4,−3)(4, -3), passing through (0,3)(0, 3) and (2,0)(2, 0).

Drawing the Graph from the Intercepts

The x-intercept and the y-intercept

The xx-intercept is the xx-coordinate of the point where the line crosses the xx-axis. Every point on the xx-axis has y=0y = 0, so put y=0y = 0 and solve for xx.

The yy-intercept is the yy-coordinate of the point where the line crosses the yy-axis. Every point on the yy-axis has x=0x = 0, so put x=0x = 0 and solve for yy.

Plot the two points, check with a third point, and draw the line.

Example 2: Drawing 2x + 3y = 12 from its intercepts

Find the xx-intercept and the yy-intercept of 2x+3y=122x + 3y = 12. Use them to draw its graph for xx from −3-3 to 99, and check with a third point.

Solution

xx-intercept: put y=0y = 0. 2x+3(0)=122x + 3(0) = 12, so 2x=122x = 12 and x=6x = 6. The line crosses the xx-axis at (6,0)(6, 0).

yy-intercept: put x=0x = 0. 2(0)+3y=122(0) + 3y = 12, so 3y=123y = 12 and y=4y = 4. The line crosses the yy-axis at (0,4)(0, 4).

Third point: put x=3x = 3. 6+3y=126 + 3y = 12, so 3y=63y = 6 and y=2y = 2, giving (3,2)(3, 2).

Ends of the range: x=−3x = -3 gives −6+3y=12-6 + 3y = 12, y=6y = 6; x=9x = 9 gives 18+3y=1218 + 3y = 12, y=−2y = -2.

The graph of 2x + 3y = 12 for x from −3 to 9, crossing the axes at (6, 0) and (0, 4), with the check point (3, 2) on the linexy−4−3−2−112345678910−3−2−11234567O2x + 3y = 12(0, 4)(6, 0)(3, 2)

The check point (3,2)(3, 2) lies on the line through the two intercepts, so the line is right.

The xx-intercept is 66 and the yy-intercept is 44; the graph is the line through (6,0)(6, 0) and (0,4)(0, 4).

The intercepts are quick to find, but they are not always good points to plot.

When two intercepts are not enough

The line passes through the origin (c=0c = 0, as in 3x−2y=03x - 2y = 0): both intercepts are 00, so they give the one point (0,0)(0, 0). You need other points from a table.

The intercepts are awkward fractions, as in 2x+3y=72x + 3y = 7: points with whole-number coordinates from a table are easier to plot accurately.

a=0a = 0 or b=0b = 0, as in y=3y = 3 or x=−2x = -2: the line crosses only one axis (lesson 2.4).

Example 3: Fractional intercepts

(a) Find the intercepts of 5x−4y=105x - 4y = 10. (b) Find the intercepts of 2x+3y=72x + 3y = 7, then draw its graph for xx from −1-1 to 55.

Solution

(a) y=0y = 0: 5x=105x = 10, so x=2x = 2. x=0x = 0: −4y=10-4y = 10, so y=−104=−2.5.y = -\frac{10}{4} = -2.5\text{.} The intercepts are 22 and −2.5-2.5.

(b) y=0y = 0: 2x=72x = 7, so x=3.5x = 3.5. x=0x = 0: 3y=73y = 7, so y=73=213y = \frac{7}{3} = 2\frac{1}{3}.

The point (0,213)(0, 2\frac{1}{3}) is hard to plot exactly, so make a table instead. y=7−2x3y = \frac{7 - 2x}{3} is a whole number when x=−1x = -1, 22 or 55:

xx−1-12255
yy3311−1-1
The graph of 2x + 3y = 7 for x from −1 to 5, drawn through (−1, 3), (2, 1) and (5, −1); it crosses the x-axis at (3.5, 0) and the y-axis at (0, 2⅓)xy−2−1123456−2−11234O2x + 3y = 7(−1, 3)(2, 1)(5, −1)(3.5, 0)(0, 2⅓)

The line crosses the axes where the intercepts said: at 3.53.5 on the xx-axis and between 22 and 33 on the yy-axis.

(a) xx-intercept 22, yy-intercept −2.5-2.5. (b) xx-intercept 3.53.5, yy-intercept 2132\frac{1}{3}; the graph is the line through (−1,3)(-1, 3), (2,1)(2, 1) and (5,−1)(5, -1).

Example 4: A line through the origin

Draw the graph of 3x−2y=03x - 2y = 0 for xx from −2-2 to 44.

Solution

Putting y=0y = 0 gives x=0x = 0, and putting x=0x = 0 gives y=0y = 0. Both intercepts give the origin, one point only, so make a table.

Make yy the subject: −2y=−3x-2y = -3x, so y=3x2y = \frac{3x}{2}. Even values of xx give whole numbers:

xx−2-2002244
yy−3-3003366
The graph of 3x − 2y = 0 for x from −2 to 4: a straight line through (−2, −3), the origin, (2, 3) and (4, 6)xy−3−2−112345−4−3−2−11234567O3x − 2y = 0(−2, −3)(2, 3)(4, 6)

The graph is the straight line through the origin, (2,3)(2, 3) and (4,6)(4, 6), drawn from (−2,−3)(-2, -3) to (4,6)(4, 6).

Drawing to a Given Scale, and Reading the Graph

Examination questions give the scale and the range. "2 cm to 1 unit on the xx-axis" means that each unit of xx is 2 cm long; on 2 mm graph paper that is 10 small squares. The two axes may have different scales, so always read the numbers on an axis, not the squares.

To read from the graph, draw a guide line from the given value on one axis to the line, then across (or down) to the other axis.

Example 5: Exam style

Using a scale of 2 cm to 1 unit on the xx-axis and 1 cm to 1 unit on the yy-axis, draw the graph of 2x+y=42x + y = 4 for −1≤x≤3-1 \le x \le 3. Use your graph to find (a) the value of yy when x=1.5x = 1.5, (b) the value of xx when y=3y = 3.

Solution

Make yy the subject: y=4−2xy = 4 - 2x.

xx−1-100112233
yy66442200−2-2

So the xx-axis runs from −1-1 to 33 and the yy-axis from −2-2 to 66. In the drawing each square is 1 cm: one unit of xx is two squares, one unit of yy is one square.

The graph of 2x + y = 4 for x from −1 to 3, with 2 squares to 1 unit across and 1 square to 1 unit up; guide lines from x = 1.5 to the point (1.5, 1), and from y = 3 to the point (0.5, 3)xy−1123−2−1123456O2x + y = 4(1.5, 1)(0.5, 3)

(a) From x=1.5x = 1.5 (three squares to the right of 00) go up to the line, then across to the yy-axis: y=1y = 1. Check: 2(1.5)+1=3+1=4.2(1.5) + 1 = 3 + 1 = 4\text{.}

(b) From y=3y = 3 go across to the line, then down to the xx-axis: one square to the right of 00, so x=0.5x = 0.5. Check: 2(0.5)+3=1+3=4.2(0.5) + 3 = 1 + 3 = 4\text{.}

(a) y=1y = 1 (b) x=0.5x = 0.5

Does a point lie on the line?

A point lies on the line ax+by=cax + by = c exactly when its coordinates make the equation true. Substitute them and see.

On a drawn graph, a point that is on the line sits on it; a point above or below the line is not a solution.

Example 6: Points on 2x + 3y = 12

Which of the points P(1.5,3)P(1.5, 3), Q(4,1)Q(4, 1) and R(7.5,−1)R(7.5, -1) lie on the line 2x+3y=122x + 3y = 12? Show them on the graph.

Solution

PP: 2(1.5)+3(3)=3+9=12.2(1.5) + 3(3) = 3 + 9 = 12\text{.} On the line.

QQ: 2(4)+3(1)=8+3=11.2(4) + 3(1) = 8 + 3 = 11\text{.} Not 1212, so not on the line.

RR: 2(7.5)+3(−1)=15−3=12.2(7.5) + 3(-1) = 15 - 3 = 12\text{.} On the line.

The line 2x + 3y = 12 with P(1.5, 3) and R(7.5, −1) on it, and Q(4, 1) just below itxy−112345678910−3−2−1123456O2x + 3y = 12P(1.5, 3)Q(4, 1)R(7.5, −1)

On the graph, QQ is just below the line: at x=4x = 4 the line has y=12−83=113.y = \frac{12 - 8}{3} = 1\frac{1}{3}\text{.}

PP and RR lie on the line; QQ does not.

A Graph from a Real Setting

In a real setting the letters stand for amounts, and only some of their values make sense. Draw only the part of the line that makes sense, and say what each reading from it means.

Example 7: Mixing coffee beans

A coffee shop mixes xx kg of beans costing $2020 per kg with yy kg of beans costing $2525 per kg. The beans cost $200200 altogether. (a) Show that 4x+5y=404x + 5y = 40. (b) Draw the graph of 4x+5y=404x + 5y = 40 for the values that make sense. (c) Use your graph to find the mass of the $2525 beans when 2.52.5 kg of the $2020 beans is used. (d) Use your graph to find xx when y=2y = 2.

Solution

(a) The $2020 beans cost $20x20x and the $2525 beans cost $25y25y, so 20x+25y=20020x + 25y = 200. Divide every term by 55: 4x+5y=404x + 5y = 40.

(b) A mass cannot be negative, so x≥0x \ge 0 and y≥0y \ge 0. Intercepts: y=0y = 0 gives 4x=404x = 40, so x=10x = 10; x=0x = 0 gives 5y=405y = 40, so y=8y = 8. Draw the line from (0,8)(0, 8) to (10,0)(10, 0) only.

Third point: x=5x = 5 gives 20+5y=4020 + 5y = 40, so 5y=205y = 20 and y=4y = 4, giving (5,4)(5, 4), which lies on the line.

A mass need not be a whole number of kilograms, so every point of the line from (0,8)(0, 8) to (10,0)(10, 0) makes sense, and the line is drawn solid.

The line 4x + 5y = 40 from (0, 8) to (10, 0), through the check point (5, 4); guide lines from x = 2.5 up to (2.5, 6), and from y = 2 across to (7.5, 2)$20 beans, x (kg)$25 beans, y (kg)1234567891012345678O4x + 5y = 40(0, 8)(5, 4)(10, 0)(2.5, 6)(7.5, 2)

(c) From x=2.5x = 2.5, halfway between 22 and 33, go up to the line, then across to the yy-axis: y=6y = 6. Check: 4(2.5)+5(6)=10+30=40.4(2.5) + 5(6) = 10 + 30 = 40\text{.}

(d) From y=2y = 2 go across to the line, then down to the xx-axis: halfway between 77 and 88, so x=7.5x = 7.5. Check: 4(7.5)+5(2)=30+10=40.4(7.5) + 5(2) = 30 + 10 = 40\text{.}

(a) 20x+25y=20020x + 25y = 200, which is 4x+5y=404x + 5y = 40. (b) The line from (0,8)(0, 8) to (10,0)(10, 0). (c) 66 kg of the $2525 beans. (d) x=7.5x = 7.5: 7.57.5 kg of the $2020 beans.

Common Mistakes

  • Mixing up the intercepts. Putting x=0x = 0 gives the yy-intercept; putting y=0y = 0 gives the xx-intercept.
  • Using the intercepts for a line through the origin. In 3x−2y=03x - 2y = 0 both intercepts give (0,0)(0, 0), one point only. Use a table.
  • Losing a sign when making yy the subject. From x−2y=4x - 2y = 4: −2y=4−x-2y = 4 - x, and dividing both terms by −2-2 gives y=x−42y = \frac{x - 4}{2}, not 4−x2\frac{4 - x}{2}.
  • Counting squares instead of reading numbers. When the scales differ, one square may be half a unit on one axis and one unit on the other.
  • Drawing beyond the range, or beyond the values that make sense in a real setting, or not labelling the line with its equation.

Practice Questions

Draw each graph on graph paper before you open its solution. The questions get harder as you go.

Question 1

Find the xx-intercept and the yy-intercept of (a) x+2y=8x + 2y = 8, (b) 3x−4y=123x - 4y = 12, (c) 4x+6y=94x + 6y = 9.

ShowHide solution

(a) y=0y = 0: x=8x = 8. x=0x = 0: 2y=82y = 8, y=4y = 4.

(b) y=0y = 0: 3x=123x = 12, x=4x = 4. x=0x = 0: −4y=12-4y = 12, y=−3y = -3.

(c) y=0y = 0: 4x=94x = 9, x=94=2.25x = \frac{9}{4} = 2.25. x=0x = 0: 6y=96y = 9, y=96=1.5y = \frac{9}{6} = 1.5.

(a) 88 and 44 (b) 44 and −3-3 (c) 2.252.25 and 1.51.5 (xx-intercept first)

Question 2

Use the intercepts to draw the graph of x−2y=4x - 2y = 4 for xx from −2-2 to 66. Check with a third point.

ShowHide solution

y=0y = 0: x=4x = 4, giving (4,0)(4, 0). x=0x = 0: −2y=4-2y = 4, y=−2y = -2, giving (0,−2)(0, -2).

Third point: x=2x = 2 gives 2−2y=42 - 2y = 4, −2y=2-2y = 2, y=−1y = -1, giving (2,−1)(2, -1).

Ends: x=−2x = -2 gives −2−2y=4-2 - 2y = 4, y=−3y = -3; x=6x = 6 gives 6−2y=46 - 2y = 4, y=1y = 1.

The graph of x − 2y = 4 from (−2, −3) to (6, 1), through (0, −2), (2, −1) and (4, 0)xy−3−2−11234567−4−3−2−112Ox − 2y = 4(0, −2)(2, −1)(4, 0)

The line through (4,0)(4, 0) and (0,−2)(0, -2); the check point (2,−1)(2, -1) lies on it.

Question 3

Make yy the subject of 2x+5y=102x + 5y = 10, and draw its graph for −5≤x≤10-5 \le x \le 10 from a table of values.

ShowHide solution

5y=10−2x5y = 10 - 2x, so y=10−2x5y = \frac{10 - 2x}{5}. Multiples of 55 give whole numbers:

xx−5-500551010
yy442200−2-2
The graph of 2x + 5y = 10 from (−5, 4) to (10, −2), through (0, 2) and (5, 0)xy−6−5−4−3−2−11234567891011−3−2−112345O2x + 5y = 10(0, 2)(5, 0)(10, −2)

The line from (−5,4)(-5, 4) to (10,−2)(10, -2), through (0,2)(0, 2) and (5,0)(5, 0).

Question 4

Explain why the intercepts alone cannot be used to draw the graph of 4x+3y=04x + 3y = 0. Then draw it for xx from −3-3 to 33.

ShowHide solution

Putting y=0y = 0 gives x=0x = 0 and putting x=0x = 0 gives y=0y = 0: both intercepts give the single point (0,0)(0, 0), and one point does not fix a line.

Make yy the subject: 3y=−4x3y = -4x, y=−4x3y = -\frac{4x}{3}. Multiples of 33 give whole numbers: x=−3x = -3, y=4y = 4; x=0x = 0, y=0y = 0; x=3x = 3, y=−4y = -4.

The graph of 4x + 3y = 0 from (−3, 4) through the origin to (3, −4)xy−4−3−2−11234−5−4−3−2−112345O4x + 3y = 0(−3, 4)(3, −4)

The line passes through the origin, so both intercepts are the same point. The graph is the line through (−3,4)(-3, 4), (0,0)(0, 0) and (3,−4)(3, -4).

Question 5

Using a scale of 1 cm to 1 unit on the xx-axis and 1 cm to 2 units on the yy-axis, draw the graph of 3x−y=23x - y = 2 for −2≤x≤4-2 \le x \le 4. Use it to find (a) yy when x=2.5x = 2.5, (b) xx when y=−5y = -5.

ShowHide solution

y=3x−2y = 3x - 2.

xx−2-2002244
yy−8-8−2-2441010
The graph of 3x − y = 2 for x from −2 to 4, with each square 1 unit across and 2 units up; guide lines to (2.5, 5.5) and (−1, −5)xy−2−11234−8−6−4−2246810O3x − y = 2(2.5, 5.5)(−1, −5)

(a) Up from x=2.5x = 2.5 to the line and across: one square on the yy-axis is 22 units, and the line is reached three quarters of a square above 44, so y=4+1.5=5.5y = 4 + 1.5 = 5.5. Check: 3(2.5)−5.5=7.5−5.5=2.3(2.5) - 5.5 = 7.5 - 5.5 = 2\text{.}

(b) Across from y=−5y = -5 (halfway between −4-4 and −6-6) to the line and up: x=−1x = -1. Check: 3(−1)−(−5)=−3+5=2.3(-1) - (-5) = -3 + 5 = 2\text{.}

(a) y=5.5y = 5.5 (b) x=−1x = -1

Question 6

Which of the points A(1,2)A(1, 2), B(−2,5)B(-2, 5), C(4,−1)C(4, -1) and D(5,−4)D(5, -4) lie on the line 3x+2y=73x + 2y = 7? (a) Find out by substituting. (b) Draw the line for −2≤x≤6-2 \le x \le 6 and mark the four points. Does the graph agree?

ShowHide solution

(a) AA: 3+4=73 + 4 = 7. Yes.

BB: −6+10=4-6 + 10 = 4. No.

CC: 12−2=1012 - 2 = 10. No.

DD: 15−8=715 - 8 = 7. Yes.

(b) Make yy the subject: y=7−3x2y = \frac{7 - 3x}{2}. When x=−2x = -2, y=6.5y = 6.5; when x=6x = 6, y=−5.5y = -5.5. Join (−2,6.5)(-2, 6.5) and (6,−5.5)(6, -5.5).

The line 3x + 2y = 7 from (−2, 6.5) to (6, −5.5), with A(1, 2) and D(5, −4) on it, B(−2, 5) below it and C(4, −1) above itxy−3−2−11234567−6−5−4−3−2−11234567O3x + 2y = 7A(1, 2)B(−2, 5)C(4, −1)D(5, −4)

Yes: AA and DD are on the line. BB is below it (at x=−2x = -2 the line has y=6.5y = 6.5), and CC is above it (at x=4x = 4 the line has y=−2.5y = -2.5).

AA and DD lie on the line; BB and CC do not.

Question 7

Copy and complete the table of values for x+2y=6x + 2y = 6. Using a scale of 1 cm to 1 unit on both axes, draw the graph for −2≤x≤8-2 \le x \le 8. Use your graph to find (a) yy when x=3x = 3, (b) xx when y=3.5y = 3.5.

xx−2-20022446688
yy44?22?00?
ShowHide solution

2y=6−x2y = 6 - x, so y=6−x2y = \frac{6 - x}{2}: x=0x = 0 gives y=3y = 3; x=4x = 4 gives y=1y = 1; x=8x = 8 gives y=−22=−1y = \frac{-2}{2} = -1.

xx−2-20022446688
yy4433221100−1-1
The graph of x + 2y = 6 for x from −2 to 8; guide lines from x = 3 up to (3, 1.5), and from y = 3.5 across to (−1, 3.5)xy−3−2−1123456789−2−112345Ox + 2y = 6(3, 1.5)(−1, 3.5)

(a) Up from x=3x = 3 to the line, then across: halfway between 11 and 22, so y=1.5y = 1.5. Check: 3+2(1.5)=3+3=6.3 + 2(1.5) = 3 + 3 = 6\text{.}

(b) Across from y=3.5y = 3.5, halfway between 33 and 44, to the line, then down: x=−1x = -1. Check: −1+2(3.5)=−1+7=6.-1 + 2(3.5) = -1 + 7 = 6\text{.}

The missing values of yy are 33, 11 and −1-1. (a) y=1.5y = 1.5 (b) x=−1x = -1

Question 8

A rectangle is xx cm long and yy cm wide, and its perimeter is 2020 cm. (a) Show that x+y=10x + y = 10. (b) Draw the graph of x+y=10x + y = 10 for 1≤x≤91 \le x \le 9. (c) Use your graph to find the width when the length is 6.56.5 cm. (d) Explain why the graph is not drawn for x=10x = 10 or more.

ShowHide solution

(a) The perimeter is x+y+x+y=2x+2y,x + y + x + y = 2x + 2y\text{,} so 2x+2y=202x + 2y = 20. Divide every term by 22: x+y=10x + y = 10.

(b) y=10−xy = 10 - x: x=1x = 1 gives y=9y = 9; x=5x = 5 gives y=5y = 5; x=9x = 9 gives y=1y = 1. Draw the line from (1,9)(1, 9) to (9,1)(9, 1).

The line x + y = 10 from (1, 9) to (9, 1), through (5, 5); a guide line from x = 6.5 up to (6.5, 3.5)Length, x (cm)Width, y (cm)1234567891012345678910Ox + y = 10(1, 9)(5, 5)(9, 1)(6.5, 3.5)

(c) Up from x=6.5x = 6.5, halfway between 66 and 77, to the line, then across: y=3.5y = 3.5. Check: 2(6.5)+2(3.5)=13+7=20.2(6.5) + 2(3.5) = 13 + 7 = 20\text{.}

(d) When x=10x = 10, y=0y = 0, and a rectangle cannot have a width of 00. When xx is more than 1010, yy is negative, and a width cannot be negative.

(a) 2x+2y=202x + 2y = 20, which is x+y=10x + y = 10. (c) 3.53.5 cm (d) The width would be 00 or negative.

Question 9

Mrs Tan spends exactly $6060 on xx kg of prawns at $1515 per kg and yy kg of fish at $1010 per kg. (a) Show that 3x+2y=123x + 2y = 12. (b) Using a scale of 2 cm to 1 kg on the xx-axis and 1 cm to 1 kg on the yy-axis, draw the graph for the values that make sense. (c) Use your graph to find how much fish she buys with 11 kg of prawns. (d) Use your graph to find the mass of prawns she buys with 1.51.5 kg of fish.

ShowHide solution

(a) The prawns cost $15x15x and the fish $10y10y, so 15x+10y=6015x + 10y = 60. Divide every term by 55: 3x+2y=123x + 2y = 12.

(b) Neither mass can be negative. Intercepts: y=0y = 0 gives 3x=123x = 12, x=4x = 4; x=0x = 0 gives 2y=122y = 12, y=6y = 6. Third point: x=2x = 2 gives 6+2y=126 + 2y = 12, y=3y = 3. Draw the line from (0,6)(0, 6) to (4,0)(4, 0); a mass need not be a whole number, so the line is solid.

The line 3x + 2y = 12 from (0, 6) to (4, 0), with 2 squares to 1 kg across and 1 square to 1 kg up; the check point (2, 3); guide lines from x = 1 up to (1, 4.5), and from y = 1.5 across to (3, 1.5)Prawns, x (kg)Fish, y (kg)1234123456O3x + 2y = 12(2, 3)(1, 4.5)(3, 1.5)

(c) From x=1x = 1 (two squares to the right of 00) go up to the line, then across: halfway between 44 and 55, so y=4.5y = 4.5. Check: 3(1)+2(4.5)=3+9=12.3(1) + 2(4.5) = 3 + 9 = 12\text{.}

(d) From y=1.5y = 1.5, halfway between 11 and 22, go across to the line, then down: six squares, which is 33 kg, so x=3x = 3. Check: 3(3)+2(1.5)=9+3=12.3(3) + 2(1.5) = 9 + 3 = 12\text{.}

(a) 15x+10y=6015x + 10y = 60, which is 3x+2y=123x + 2y = 12. (c) 4.54.5 kg of fish (d) 33 kg of prawns

Key Points

  • The graph of ax+by=cax + by = c is a straight line; its points are exactly the solutions of the equation.
  • From a table: make yy the subject, choose values of xx that give whole numbers, plot at least three points.
  • The xx-intercept: put y=0y = 0. The yy-intercept: put x=0x = 0.
  • Two intercepts fix the line only when they are two different points; for a line through the origin, or awkward fractions, use a table. Always check with a third point.
  • With a given scale, read the numbers on each axis, not the squares.
  • To read the graph, go from the given value on one axis to the line, then across (or down) to the other axis.
  • A point is on the line exactly when its coordinates make the equation true.
  • In a real setting, draw only the part of the line that makes sense.

‹ 2.1 Linear Equations in Two Variables 2.3 Gradient and Intercepts of ax + by = c ›

All Secondary 2 (Grade 8) lessons

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

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