One equa­tion in two vari­ables has infi­nitely many solu­tions. To find a sin­gle answer you need two equa­tions that are true at the same time. This les­son explains what such a pair is, what its solu­tion means on a graph, and how to tell, just from the num­bers in front of xx and yy, whether the pair has one solu­tion, none, or infi­nitely many, before you start solv­ing.

A pair of lin­ear equa­tions

Two lin­ear equa­tions in the same two vari­ables, con­sid­ered together, form a pair of lin­ear equa­tions in two vari­ables. In gen­eral form a pair is writ­ten

a1x+b1y+c1=0a2x+b2y+c2=0\begin{aligned} a_1x + b_1y + c_1 &= 0 \\ a_2x + b_2y + c_2 &= 0 \end{aligned}

The small num­bers 11 and 22 writ­ten low down (sub­scripts) are labels, not pow­ers: a1a_1 is "the aa of the first equa­tion" and a2a_2 is "the aa of the sec­ond".

A solu­tion of the pair is an ordered pair (x,y)(x, y) that sat­is­fies both equa­tions. On a graph each equa­tion is a straight line, so a solu­tion of the pair is a point that lies on both lines: a point where the lines meet.

Exam­ple 1: solv­ing by draw­ing

Find the solu­tion of the pair x+y=5x + y = 5 and x−y=1x - y = 1 by mak­ing tables.

For x+y=5x + y = 5, that is y=5−xy = 5 - x:

xx 00 22 33 55
yy 55 33 22 00

For x−y=1x - y = 1, that is y=x−1y = x - 1:

xx 00 11 33 44
yy −1-1 00 22 33

The point (3,2)(3, 2) appears in both tables. Drawn on a graph, the two lines cross at (3,2)(3, 2), so the solu­tion is x=3x = 3, y=2y = 2. Check: 3+2=53 + 2 = 5 and 3−2=13 - 2 = 1.

Draw­ing works well when the answer is a pair of whole num­bers. When the answer is some­thing like (2913,−1113)\displaystyle \left(\frac{29}{13}, -\frac{11}{13}\right) no draw­ing is accu­rate enough, which is why the next three lessons teach meth­ods that use alge­bra instead.

Three ways two lines can sit

Two straight lines on the same graph can be arranged in only three ways.

1. Inter­sect­ing lines. The lines cross at exactly one point. The pair has a unique solu­tion (one com­mon point). This hap­pens when

a1a2≠b1b2\displaystyle \frac{a_1}{a_2} \neq \frac{b_1}{b_2}

2. Par­al­lel lines. The lines run side by side and never meet. The pair has no solu­tion. This hap­pens when

a1a2=b1b2≠c1c2\displaystyle \frac{a_1}{a_2} = \frac{b_1}{b_2} \neq \frac{c_1}{c_2}

3. Coin­ci­dent lines. The two equa­tions draw the same line, one lying exactly on top of the other. Every point of the line is on both, so the pair has infi­nitely many solu­tions. This hap­pens when

a1a2=b1b2=c1c2\displaystyle \frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2}

Why do the ratios decide this? The num­bers aa and bb fix how steeply a line slopes. If a1a2=b1b2\displaystyle \frac{a_1}{a_2} = \frac{b_1}{b_2} the two lines have the same slope, so they are either par­al­lel or the same line, and cc decides which. If the ratios dif­fer, the slopes dif­fer, and the lines must cross some­where.

A pair with at least one solu­tion (cases 1 and 3) is called con­sis­tent. A pair with no solu­tion (case 2) is called incon­sis­tent.

Exam­ple 2

How many solu­tions does the pair 3x+2y=53x + 2y = 5, 2x−3y=72x - 3y = 7 have?

First write both in gen­eral form: 3x+2y−5=03x + 2y - 5 = 0 and 2x−3y−7=02x - 3y - 7 = 0. So a1=3a_1 = 3, b1=2b_1 = 2, a2=2a_2 = 2, b2=−3b_2 = -3.

a1a2=32,b1b2=2−3=−23\displaystyle \frac{a_1}{a_2} = \frac{3}{2}, \qquad \frac{b_1}{b_2} = \frac{2}{-3} = -\frac{2}{3}

These are not equal, so the lines inter­sect and the pair has a unique solu­tion. You will find it, (2913,−1113)\displaystyle \left(\frac{29}{13}, -\frac{11}{13}\right), in the next les­son.

Exam­ple 3

How many solu­tions does the pair 2x+3y−8=02x + 3y - 8 = 0, 4x+6y−16=04x + 6y - 16 = 0 have?

a1a2=24=12,b1b2=36=12,c1c2=−8−16=12\displaystyle \frac{a_1}{a_2} = \frac{2}{4} = \frac{1}{2}, \qquad \frac{b_1}{b_2} = \frac{3}{6} = \frac{1}{2}, \qquad \frac{c_1}{c_2} = \frac{-8}{-16} = \frac{1}{2}

All three ratios are equal, so the lines coin­cide and there are infi­nitely many solu­tions. Indeed, the sec­ond equa­tion is just the first mul­ti­plied by 22.

Exam­ple 4

How many solu­tions does the pair x−2y+3=0x - 2y + 3 = 0, 3x−6y+5=03x - 6y + 5 = 0 have?

a1a2=13,b1b2=−2−6=13,c1c2=35\displaystyle \frac{a_1}{a_2} = \frac{1}{3}, \qquad \frac{b_1}{b_2} = \frac{-2}{-6} = \frac{1}{3}, \qquad \frac{c_1}{c_2} = \frac{3}{5}

The first two ratios are equal but the third is dif­fer­ent, so the lines are par­al­lel and the pair has no solu­tion.

Exam­ple 5

For what value of kk does the pair 2x+ky=32x + ky = 3, 4x+6y=54x + 6y = 5 have no solu­tion?

For no solu­tion we need a1a2=b1b2\displaystyle \frac{a_1}{a_2} = \frac{b_1}{b_2}:

24=k64k=12k=3\displaystyle \begin{aligned} \frac{2}{4} &= \frac{k}{6} \\ 4k &= 12 \\ k &= 3 \end{aligned}

We must also check that c1c2\displaystyle \frac{c_1}{c_2} is dif­fer­ent. In gen­eral form the con­stants are −3-3 and −5-5, and −3−5=35\displaystyle \frac{-3}{-5} = \frac{3}{5}, which is not 12\displaystyle \frac{1}{2}. So k=3k = 3 gives no solu­tion.

Exam­ple 6

For what val­ues of kk does the pair kx+2y=5kx + 2y = 5, 3x+y=13x + y = 1 have a unique solu­tion?

We need k3≠21\displaystyle \frac{k}{3} \neq \frac{2}{1}, so k≠6k \neq 6. Every value of kk except 66 gives a unique solu­tion.

Prac­tice

For ques­tions 1 to 5, say whether the pair has a unique solu­tion, no solu­tion, or infi­nitely many solu­tions.

  1. x+2y−4=0x + 2y - 4 = 0 and 3x−y+2=03x - y + 2 = 0
  2. 2x−3y+6=02x - 3y + 6 = 0 and 4x−6y+12=04x - 6y + 12 = 0
  3. 5x+2y=75x + 2y = 7 and 10x+4y=910x + 4y = 9
  4. 3x−y=23x - y = 2 and 6x−2y=46x - 2y = 4
  5. 4x+5y=204x + 5y = 20 and 2x−y=32x - y = 3
  6. For what val­ues of kk does 3x+ky=43x + ky = 4, 6x+8y=16x + 8y = 1 have a unique solu­tion?
  7. Find kk so that kx+3y=7kx + 3y = 7, 8x+6y=58x + 6y = 5 has no solu­tion.
  8. Find kk so that 2x+3y=72x + 3y = 7, 4x+ky=144x + ky = 14 has infi­nitely many solu­tions.
  9. Use tables to find where the lines x+y=6x + y = 6 and x−y=2x - y = 2 meet.
  10. Show that (2,1)(2, 1) is the solu­tion of the pair x+3y=5x + 3y = 5, 2x−y=32x - y = 3.

Answers

Show answers
  1. Unique: 13≠2−1\displaystyle \frac{1}{3} \neq \frac{2}{-1}.
  2. Infi­nitely many: all three ratios are 12\displaystyle \frac{1}{2}.
  3. No solu­tion: 510=24=12\displaystyle \frac{5}{10} = \frac{2}{4} = \frac{1}{2}, but c1c2=−7−9=79\displaystyle \frac{c_1}{c_2} = \frac{-7}{-9} = \frac{7}{9}.
  4. Infi­nitely many: 36=−1−2=−2−4=12\displaystyle \frac{3}{6} = \frac{-1}{-2} = \frac{-2}{-4} = \frac{1}{2}.
  5. Unique: 42=2\displaystyle \frac{4}{2} = 2 but 5−1=−5\displaystyle \frac{5}{-1} = -5.
  6. 36≠k8\displaystyle \frac{3}{6} \neq \frac{k}{8}, so k≠4k \neq 4.
  7. k8=36\displaystyle \frac{k}{8} = \frac{3}{6} gives k=4k = 4; and c1c2=75≠12\displaystyle \frac{c_1}{c_2} = \frac{7}{5} \neq \frac{1}{2}, so k=4k = 4.
  8. 24=3k=714\displaystyle \frac{2}{4} = \frac{3}{k} = \frac{7}{14} gives k=6k = 6.
  9. (4,2)(4, 2): it is in both tables, and 4+2=64 + 2 = 6, 4−2=24 - 2 = 2.
  10. 2+3×1=52 + 3 \times 1 = 5 and 2×2−1=32 \times 2 - 1 = 3, so (2,1)(2, 1) sat­is­fies both equa­tions.