Maths · Ch 3 · Topic 2 of 6Graphical method
Topic 2 of 6

The graphical method

About 50 minutes · 3 things to learn
By the end you can…
  • Represent a pair of linear equations in two variables graphically.
  • Find the solution of a pair of linear equations from the point of intersection of their lines.
  • Classify a pair as intersecting, parallel or coincident from its graph; find the vertices and the area of the triangle formed by two lines and an axis.

Two mobile data plans: Plan A costs ₹ 100 a month plus ₹ 10 for each GB; Plan B costs ₹ 40 plus ₹ 25 for each GB. For x GB the monthly bill y is y=100+10xy = 100 + 10x on Plan A and y=40+25xy = 40 + 25x on Plan B. Draw both lines on one graph and they cross at (4,140)(4, 140): at 4 GB both plans cost ₹ 140. Below 4 GB, Plan B is cheaper; above it, Plan A. The crossing point is the one answer that fits both equations — and that is what "solving a pair of equations" means.

A pair of linear equations

Two linear equations in the same two variables form a pair of linear equations. In general form:

a1x+b1y+c1=0a2x+b2y+c2=0a_1x + b_1y + c_1 = 0 \qquad a_2x + b_2y + c_2 = 0

A solution of the pair is a pair of values (x,y)(x, y) that satisfies both equations at once. On a graph, it is a point that lies on both lines.

Three ways two lines can meet

Two straight lines drawn on the same graph can do only one of three things:

The lines… Points common to both Solutions of the pair Name of the pair
intersect (cross at one point) exactly one exactly one (a unique solution) consistent
are parallel (never meet) none no solution inconsistent
are coincident (the same line) every point of the line infinitely many solutions dependent (and consistent)

So: consistent means "has at least one solution"; inconsistent means "has none". A dependent pair is always consistent.

The graphical method, step by step

  1. Make a table of values with three points for each equation (Topic 1).
  2. Draw both lines on the same axes with the same scale. Label each line with its equation.
  3. Look at the lines: intersecting, parallel or coincident?
  4. If they intersect, read the coordinates of the point of intersection. That is the solution.
  5. Check by substituting the point into both equations. A reading that does not satisfy both is not the solution, however close it looks.

The graphical method shows the picture clearly, but it gives an exact answer only when the point of intersection is easy to read. For an answer like (197,37)\left(\dfrac{19}{7}, \dfrac{3}{7}\right) you need the algebraic methods of Topics 4 and 5.

Triangles formed by two lines and an axis

Two intersecting lines and the x-axis usually form a triangle (unless the lines meet on the x-axis or one of them is parallel to it).

  • Vertices: the point where the lines meet, and the two points where the lines cut the x-axis (put y=0y = 0 in each equation).
  • Base: the distance between the two x-axis points.
  • Height: the distance of the meeting point from the x-axis, which is its y-coordinate (without the sign).

With the y-axis instead, use the y-intercepts (put x=0x = 0) for the base, and the x-coordinate of the meeting point for the height.

Visuals

Three cases: intersecting, parallel, coincident Three graphs, each on a square grid from −2 to 8 on both axes. Intersecting: the solid line 2x + y = 8 and the dashed line x − y = 1 cross at the point (3, 2) — exactly one solution, consistent. Parallel: the solid line 3x + y = 3 through (0, 3) and (1, 0) and the dashed line 6x + 2y = 12 through (0, 6) and (2, 0) have the same slant and never meet; a double arrow between them is labelled 'same gap everywhere' — no solution, inconsistent. Coincident: the solid line x − 3y = 3 through (0, −1), (3, 0) and (6, 1) with the dashed line 2x − 6y = 6 lying exactly on top of it — infinitely many solutions, dependent (consistent). intersecting X X′ Y Y′ O 2 4 6 2 4 6 (3, 2) 2x + y = 8 x − y = 1 exactly one solution consistent parallel X X′ Y Y′ O 4 6 2 4 same gap everywhere 6x + 2y = 12 3x + y = 3 no solution inconsistent coincident X X′ Y Y′ O 4 6 2 4 6 x − 3y = 3 2x − 6y = 6 infinitely many solutions dependent (consistent)
Three cases: intersecting, parallel, coincidentThe three possible pictures of a pair of linear equations, with what each means for the solutions.Draw in exam
Graph with tables of values Two tables of values. Table for 2x + y = 8: x = 0, 2, 4; y = 8, 4, 0. Table for x − y = 1: x = 0, 1, 3; y = −1, 0, 2. Below, a square grid with x from −1 to 6 and y from −3 to 9 (1 square = 1 unit). The solid line 2x + y = 8 passes through the open circles (0, 8), (2, 4) and (4, 0); the dashed line x − y = 1 passes through (0, −1), (1, 0) and (3, 2). Both lines run on to the edges of the grid. They meet at the point of intersection (3, 2), a larger filled dot. Scale: 1 cm = 1 unit on both axes. 2x + y = 8 x 0 2 4 y 8 4 0 x − y = 1 x 0 1 3 y −1 0 2 X X′ Y Y′ O 2 3 5 −2 1 2 3 4 5 6 7 (3, 2) point of intersection 2x + y = 8 x − y = 1 Scale: 1 cm = 1 unit on both axes
Graph with tables of values (2x + y = 8, x − y = 1)The graphical method in one picture: two tables, two lines, one meeting point.Draw in exam
Triangle formed with the x-axis (shaded) Square grid, x from −1 to 6 and y from −4 to 6. The solid line x + y = 5 passes through (0, 5) and (5, 0); the dashed line 3x − y = 3 passes through (0, −3) and (1, 0). They meet at the filled dot (2, 3). The triangle with vertices (2, 3), (1, 0) and (5, 0) is shaded and hatched. Its base along the x-axis from (1, 0) to (5, 0) has a brace: base = 4. A dotted vertical segment from (2, 3) down to (2, 0), with a right-angle mark at (2, 0): height = 3. Area = ½ × 4 × 3 = 6 square units. Second graph, with the y-axis instead: the same two lines; the triangle with vertices (2, 3), (0, 5) and (0, −3) is shaded and hatched; its base on the y-axis from (0, −3) to (0, 5) has a brace: base = 8; a dotted horizontal segment from (2, 3) to (0, 3), with a right-angle mark: height = 2. Area = ½ × 8 × 2 = 8 square units. X X′ Y Y′ O −3 −2 −1 1 2 3 4 5 height = 3 base = 4 (2, 3) (1, 0) (5, 0) x + y = 5 3x − y = 3 area = 1 2 × 4 × 3 = 6 square units With the y-axis instead X X′ Y Y′ O 2 3 height = 2 base = 8 (2, 3) (0, 5) (0, −3) x + y = 5 3x − y = 3 area = 1 2 × 8 × 2 = 8 square units
Triangle formed with the x-axis (shaded)Shows which lengths are the base and the height of the triangle formed by two lines and the x-axis.Draw in exam
Two-lines explorer Two-lines explorer at its start values: line 1 is 2x + y − 8 = 0 (a₁ = 2, b₁ = 1, c₁ = −8, solid) and line 2 is x − y − 1 = 0 (a₂ = 1, b₂ = −1, c₂ = −1, dashed). Six sliders, one for each coefficient. Banner: intersecting — one solution · consistent. The graph, from −10 to 10 on both axes, shows the two lines crossing at the filled dot (3, 2). In the interactive version you move the sliders, and the lines, the case and the ratios update. Two-lines explorer line 1 2x + y − 8 = 0 line 2 x − y − 1 = 0 a1 2 b1 1 c1 −8 a2 1 b2 −1 c2 −1 intersecting — one solution · consistent X X′ Y Y′ O −8 −4 4 8 −8 −4 4 8 (3, 2) line 1 line 2
Two-lines explorer (interactive)Students move the coefficients and watch the lines cross, become parallel, or lie on top of each other, and see the ratio test agree with the picture.

Worked examples

Worked example 1

Solving a pair graphically

Question. Solve graphically: 2x+y=82x + y = 8 and x−y=1x - y = 1.
Print graph paper

Given: two linear equations. Asked: their solution, found from a graph.

Concept used: the solution is the point common to both lines. Why it applies: a point on both lines satisfies both equations.

  1. 1

    Make a table for 2x+y=82x + y = 8, i.e. y=8−2xy = 8 - 2x.

    x 0 2 4
    y=8−2xy = 8 - 2x 8 4 0
  2. 2

    Make a table for x−y=1x - y = 1, i.e. y=x−1y = x - 1.

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

    Plot both sets of points on the same axes (1 cm = 1 unit) and draw the two lines.

  4. 4

    The lines cross at one point. Read it: (3,2)(3, 2).

  5. Check: substitute (3,2)(3, 2) in both equations: 2(3)+2=82(3) + 2 = 8 ✔ and 3−2=13 - 2 = 1 ✔.

  6. Answer The lines intersect at (3,2)(3, 2), so x=3x = 3, y=2y = 2. The pair is consistent with a unique solution.

    Common trap: Choosing a point from only one table, such as (4,0)(4, 0) or (1,0)(1, 0). Each lies on one line only: (4,0)(4, 0) gives 4−0=4≠14 - 0 = 4 \neq 1 in the second equation.

Worked example 2

A parallel pair and a coincident pair

Question. Draw the graphs and say how many solutions each pair has: (a) 3x+y=33x + y = 3 and 6x+2y=126x + 2y = 12 (b) x−3y=3x - 3y = 3 and 2x−6y=62x - 6y = 6.
Print graph paper

Given: two pairs of equations. Asked: the picture and the number of solutions.

Concept used: parallel lines → no solution; coincident lines → infinitely many. Why it applies: we read the case from the graph.

  1. 1

    (a)

    Table for 3x+y=33x + y = 3, i.e. y=3−3xy = 3 - 3x: points (0,3)(0, 3), (1,0)(1, 0), (2,−3)(2, -3).

  2. 2

    Table for 6x+2y=126x + 2y = 12, i.e. y=6−3xy = 6 - 3x: points (0,6)(0, 6), (2,0)(2, 0), (1,3)(1, 3).

  3. 3

    Plot and draw. The lines slant the same way and stay the same distance apart: they are parallel.

  4. 4

    (b)

    Table for x−3y=3x - 3y = 3: points (0,−1)(0, -1), (3,0)(3, 0), (6,1)(6, 1).

  5. 5

    Table for 2x−6y=62x - 6y = 6: the same three points work, e.g. 2(6)−6(1)=62(6) - 6(1) = 6.

  6. 6

    Both equations give the same line: the lines are coincident.

  7. Check: (a) Every point on the first line has 3x+y=33x + y = 3, so 6x+2y=2(3x+y)=66x + 2y = 2(3x + y) = 6, never 12 — no point is on both ✔. (b) 2x−6y=62x - 6y = 6 is x−3y=3x - 3y = 3 multiplied by 2, so every solution of one is a solution of the other ✔.

  8. Answer (a) Parallel lines: no solution (inconsistent). (b) Coincident lines: infinitely many solutions (dependent, consistent).

    Common trap: In (b), drawing two lines through different points and reporting "one solution" where they seem to cross. If one equation is a multiple of the other, the lines are the same.

Worked example 3

The triangle formed with an axis

Question. Draw the graphs of x+y=5x + y = 5 and 3x−y=33x - y = 3. (a) Find the vertices and the area of the triangle formed by the two lines and the x-axis. (b) Find the area of the triangle formed by the two lines and the y-axis.
Print graph paper

Given: two lines. Asked: the vertices and area of each triangle.

Concept used: vertices = meeting point + the two axis points; area =12×= \dfrac{1}{2} \times base ×\times height. Why it applies: the base lies along the axis and the height is the distance of the meeting point from that axis.

  1. 1

    Table for x+y=5x + y = 5: (0,5)(0, 5), (5,0)(5, 0), (2,3)(2, 3). Table for 3x−y=33x - y = 3, i.e. y=3x−3y = 3x - 3: (0,−3)(0, -3), (1,0)(1, 0), (2,3)(2, 3).

  2. 2

    Draw both lines. They meet at (2,3)(2, 3).

  3. 3

    (a)

    Points on the x-axis (from the tables, where y=0y = 0): (5,0)(5, 0) and (1,0)(1, 0).

  4. 4

    Base =5−1=4= 5 - 1 = 4 units.

  5. 5

    Height = the y-coordinate of (2,3)(2, 3) = 3 units.

  6. 6

    Area.

    12×4×3=6\dfrac{1}{2} \times 4 \times 3 = 6
  7. 7

    (b)

    Points on the y-axis (where x=0x = 0): (0,5)(0, 5) and (0,−3)(0, -3).

  8. 8

    Base =5−(−3)=8= 5 - (-3) = 8 units.

  9. 9

    Height = the x-coordinate of (2,3)(2, 3) = 2 units.

  10. 10

    Area.

    12×8×2=8\dfrac{1}{2} \times 8 \times 2 = 8
  11. Check: (2,3)(2, 3) is on both lines: 2+3=52 + 3 = 5 ✔, 6−3=36 - 3 = 3 ✔. Second route for (a), by counting squares: the triangle with vertices (1,0)(1, 0), (5,0)(5, 0), (2,3)(2, 3) fits in a 4 by 3 rectangle of area 12, and it is exactly half of it (same base, same height) — 6 ✔.

  12. Answer (a) Vertices (2,3)(2, 3), (1,0)(1, 0), (5,0)(5, 0); area 6 square units. (b) Vertices (2,3)(2, 3), (0,5)(0, 5), (0,−3)(0, -3); area 8 square units.

    Common trap: Using a slanting side as the height. The side from (5,0)(5, 0) to (2,3)(2, 3) has length 9+9=32\sqrt{9 + 9} = 3\sqrt{2}, which gives 12×4×32=62\dfrac{1}{2} \times 4 \times 3\sqrt{2} = 6\sqrt{2} — wrong. The height must be perpendicular to the base.

3 examples · they get harder as you go

Quick check

Answer without scrolling up
Quick check · 1 of 3MCQ1 mark

The graphs of a pair of linear equations are two parallel lines. The pair has:

Quick check · 2 of 3MCQ1 mark

The lines 3x−y=43x - y = 4 and x+y=4x + y = 4 are drawn on one graph. They meet at:

Quick check · 3 of 3MCQ1 mark

Two lines meet at (2,4)(2, 4) and cut the x-axis at (−1,0)(-1, 0) and (5,0)(5, 0). The area of the triangle formed by the lines and the x-axis is:

Key points

  • A solution of a pair is a point on both lines.
  • Intersecting lines → exactly one solution (consistent). Parallel lines → no solution (inconsistent). Coincident lines → infinitely many solutions (dependent, consistent).
  • Graphical method: three points per line, same axes and scale, read the intersection, check it in both equations.
  • Triangle with the x-axis: vertices = meeting point and the two x-intercepts; area =12×= \dfrac{1}{2} \times (distance between the x-intercepts) ×\times (y-coordinate of the meeting point, without its sign).
  • With the y-axis, swap the roles: y-intercepts for the base, x-coordinate for the height.
My notesComing soon