Curvingo · Made in India

Glossary

Select one of the keywords on the left…

Pair of Linear Equations in Two VariablesGraphical Method of Solution of a Pair of Linear Equations

Reading time: ~40 min

Akhila's two lines met at exactly one point. Is that the only thing two straight lines can do? Picture drawing two lines on the same sheet of paper. There are not many possibilities, so let's hunt for all of them.

The blue line is fixed: x - 2y = 0. The three numbers in the equation build the green line a_2x + b_2y + c_2 = 0, which starts out as Akhila's Equation (2).

Drag the three numbers to complete all three missions.

${a}x + ${b}y − ${c} = 0

Tip

The lines keep the same tilt whenever b_2 is exactly −2 times a_2 — just like the blue line's own numbers, a_1 = 1 and b_1 = -2.

Mission complete! So two lines on a flat page can do exactly three things. They can (i) cross at a single point, and then the pair has exactly solution. They can (ii) run parallel and never meet, and then the pair has solution. Or they can (iii) coincide, one lying on top of the other, so every point of the line is shared and the pair has solutions.

Consistent, Inconsistent, Dependent

Each of those three fates has a name.

A pair of equations with at least one solution is called consistent. A pair with no solution at all is called inconsistent. And a pair whose two equations are really the same line in disguise, one just a multiple of the other, is called dependent. Such equivalent equations share every point of their line, so a dependent pair has infinitely many solutions, which means a dependent pair is always consistent too.

Drag a line from each name to what it promises:

A consistent pair
An inconsistent pair
A dependent pair
Has no solution at all
Has at least one solution
Is one line written twice, so every point on it is a solution

Putting names to pictures: crossing lines mean a pair with a unique solution; parallel lines mean an pair; and coincident lines mean a pair, which is also consistent, with infinitely many solutions.

The Ratio Test

The line tamer showed you all three pictures, but drawing is slow. Could we predict the picture straight from the numbers, without drawing at all? Take three pairs of equations, write each pair in general form, and compare the ratios \frac{a_1}{a_2}, \frac{b_1}{b_2} and \frac{c_1}{c_2} of matching coefficients:

Table 3.1

Sl No.Pair of lines\frac{a_1}{a_2}\frac{b_1}{b_2}\frac{c_1}{c_2}Compare the ratiosGraphical representationAlgebraic interpretation
1.x - 2y = 0, 3x + 4y - 20 = 0\frac{1}{3}\frac{-2}{4}\frac{0}{-20}\frac{a_1}{a_2} \neq \frac{b_1}{b_2}Intersecting linesExactly one solution (unique)
2.2x + 3y - 9 = 0, 4x + 6y - 18 = 0\frac{2}{4}\frac{3}{6}\frac{-9}{-18}\frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2}Coincident linesInfinitely many solutions
3.x + 2y - 4 = 0, 2x + 4y - 12 = 0\frac{1}{2}\frac{2}{4}\frac{-4}{-12}\frac{a_1}{a_2} = \frac{b_1}{b_2} \neq \frac{c_1}{c_2}Parallel linesNo solution

Read along each row and a pattern jumps out. For lines a_1x + b_1y + c_1 = 0 and a_2x + b_2y + c_2 = 0, when the lines are (i) intersecting, \frac{a_1}{a_2} \neq \frac{b_1}{b_2}; (ii) coincident, \frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2}; (iii) parallel, \frac{a_1}{a_2} = \frac{b_1}{b_2} \neq \frac{c_1}{c_2}.

The converse is true as well, for every pair of lines: the ratios alone tell you the picture. Try a few pairs of your own and check.

For a pair of lines a_1x + b_1y + c_1 = 0 and a_2x + b_2y + c_2 = 0:

  • \frac{a_1}{a_2} \neq \frac{b_1}{b_2}  →  the lines intersect → exactly one solution (consistent).
  • \frac{a_1}{a_2} = \frac{b_1}{b_2} \neq \frac{c_1}{c_2}  →  the lines are parallel → no solution (inconsistent).
  • \frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2}  →  the lines are coincident → infinitely many solutions (dependent).

Why the ratios decide everything

If all three ratios are equal, the second equation is just the first one multiplied by a number, the same line in disguise, so the two lines . If only \frac{a_1}{a_2} = \frac{b_1}{b_2} holds and the constant ratio \frac{c_1}{c_2} is different, the lines have the same tilt but sit in different places, so they run parallel and . And if even the first two ratios differ, the tilts differ, so the lines must .

Common trap: don't stop after checking \frac{a_1}{a_2} and \frac{b_1}{b_2}. When those two are equal, it is the third ratio \frac{c_1}{c_2} that decides between parallel, with , and coincident, with .

Predict, Then Look

Here are the three pairs from Table 3.1 again. Before you see any graph, use the ratio test to predict what each pair of lines does. Compare \frac{a_1}{a_2} and \frac{b_1}{b_2} first; only if they are equal does \frac{c_1}{c_2} matter. Each graph draws itself as soon as you answer.

(i) x - 2y = 0 and 3x + 4y - 20 = 0: the lines

(ii) 2x + 3y - 9 = 0 and 4x + 6y - 18 = 0: the lines

(iii) x + 2y - 4 = 0 and 2x + 4y - 12 = 0: the lines are

Table 3.1 fits into three boxes. Without looking back at it, drag each ratio test, and each pair of equations, into the picture it produces:

a₁/a₂ ≠ b₁/b₂
a₁/a₂ = b₁/b₂ = c₁/c₂
a₁/a₂ = b₁/b₂ ≠ c₁/c₂
x − 2y = 0 and 3x + 4y − 20 = 0
x + 2y − 4 = 0 and 2x + 4y − 12 = 0
2x + 3y − 9 = 0 and 4x + 6y − 18 = 0
Intersecting lines
Parallel lines
Coincident lines

Ratio Detective

Now put the ratio test to work at speed. You get a fresh pair of equations each time. Compare the ratios in your head and call the picture before anyone draws it.

Speed round: get five right to move on.

${e1}
${e2}

Solving by Drawing

Time to use the graphical method for real.

Example 1: Check graphically whether the pair of equations

x + 3y = 6   (1)

2x - 3y = 12   (2)

is consistent. If so, solve them graphically.

Solution: A straight line is fixed by just of its points, so we find two solutions of each equation. They are listed in Table 3.2.

Table 3.2

x06
y = \frac{6 - x}{3}20
x03
y = \frac{2x - 12}{3}−4−2

Now build Fig. 3.1 yourself: plot A (0, 2), B (6, 0), P (0, −4) and Q (3, −2) by tapping where each one belongs.

Joining the points gives the lines AB and PQ of Fig. 3.1. Both lines pass through B (6, 0), so the pair has the solution x = and y = , which means the pair is . The ratio test agrees: \frac{1}{2} \neq \frac{3}{-3}, so the lines had to cross somewhere.

Example 2: Graphically, find whether the following pair of equations has no solution, unique solution or infinitely many solutions:

5x - 8y + 1 = 0   (1)

3x - \frac{24}{5}y + \frac{3}{5} = 0   (2)

Solution: The fractions in Equation (2) look messy, but watch what happens when we multiply it through by : it turns into 5x - 8y + 1 = 0, which is Equation (1) exactly. So both equations describe one and the same line. The lines are , and the pair has .

You could plot a few points to check this. Here is that check, live.

The blue line is Equation (1). The dashed green line is ax - \frac{8a}{5}y + \frac{a}{5} = 0, which is Equation (2) rescaled so that its x-coefficient is a (at a = 3 it is Equation (2) itself). Change a and watch the coefficients. Does the line ever move? At which value of a does it become Equation (1) letter for letter?

a = ${a}

Example 3: Champa went to a sale to buy some pants and skirts. When her friends asked how many of each she had bought, she said, "The number of skirts is two less than twice the number of pants I bought. It is also four less than four times the number of pants." Help her friends find how many pants and skirts Champa bought.

Solution: Let x be the number of pants and y the number of skirts. Champa's two sentences become:

y = 2x - 2   (1)

y = 4x - 4   (2)

Two solutions of each equation are listed in Table 3.3.

Table 3.3

x20
y = 2x - 22−2
x01
y = 4x - 4−40

Build Fig. 3.2 beside the table: plot the four points A, B, P and Q, and keep an eye on which one ends up on both lines.

The lines of Fig. 3.2 cross at (, ). So x = 1, y = 0 solves the pair: Champa bought pair of pants and did not buy any .

Always check an answer against the story: twice 1, less 2, is 0 skirts, and four times 1, less 4, is also 0 skirts. Both of Champa's sentences hold.

Sina