6.03c - Simultaneous linear equations

6.03c - Simultaneous linear equations

One equation in two unknowns can leave many possibilities. A second equation can pin down the same pair of values. You will understand simultaneous solutions, find them by elimination or substitution, and build pairs of equations from information about two unknown quantities.

What a simultaneous solution means

Two notebooks and a pen cost £7. One notebook and a pen cost £4. Can you find both prices without knowing either price first?

Let nn be a notebook's price and pp a pen's price, both in pounds. The two receipts give 2n+p=72n+p=7 and n+p=4n+p=4. They describe the same prices: changing nn between the equations would describe a different shop.

Simultaneous solution

A simultaneous solution is a set of values that makes every equation in the set true at the same time. For two unknowns xx and yy, state which value belongs to each letter, or give the ordered pair (x,y)(x,y).

Consider x+y=7x+y=7 and x−y=1x-y=1. The pair x=5x=5, y=2y=2 satisfies the first equation, because 5+2=75+2=7, but fails the second, because 5−2=35-2=3. The pair x=4x=4, y=3y=3 satisfies both: 4+3=74+3=7 and 4−3=14-3=1. Only the second pair is a simultaneous solution.

Two linear equations do not always determine one pair. For x+y=7x+y=7 and 2x+2y=142x+2y=14, the second equation repeats the first, so every pair satisfying the first also satisfies the second. But x+y=7x+y=7 and 2x+2y=152x+2y=15 cannot both be true: doubling the first would give fourteen, not fifteen. These have infinitely many solutions and no solutions respectively.

Key idea

Check a proposed pair in both original equations. Satisfying just one is insufficient; a second equation can add a new restriction, repeat the first restriction or contradict it.

Test both equations rather than choosing the first pair that fits one.

Eliminating a variable

Elimination combines two true equations so that one variable cancels. Subtract equations with equal coefficients; add equations with opposite coefficients.

This works because equal amounts remain equal when added or subtracted. If A=BA=B and C=DC=D, then A−C=B−DA-C=B-D. Apply subtraction to every term of the second equation, including any negative terms.

Worked example 1: subtracting equal coefficients

Question. Solve 3x+2y=163x+2y=16 and x+2y=8x+2y=8.

Plan. Subtract the second equation from the first to eliminate yy, then substitute back.

(3x+2y)−(x+2y)=16−8subtract whole equations2x=8the y-terms cancelx=4divide by 24+2y=8substitute in the secondy=2subtract 4, divide by 2\begin{aligned} (3x+2y)-(x+2y)&=16-8 &&\text{subtract whole equations}\\ 2x&=8 &&\text{the }y\text{-terms cancel}\\ x&=4 &&\text{divide by 2}\\ 4+2y&=8 &&\text{substitute in the second}\\ y&=2 &&\text{subtract 4, divide by 2} \end{aligned}

Answer. x=4, y=2x=4,\ y=2.

Check. 3(4)+2(2)=163(4)+2(2)=16 and 4+2(2)=84+2(2)=8. Both originals hold.

Change only the sign of the yy-term in the second equation. Adding now cancels the variable.

Worked example 2: adding opposite coefficients

Question. Solve 3x+2y=163x+2y=16 and x−2y=8x-2y=8.

Plan. Add the equations, then substitute the resulting xx-value into either original.

(3x+2y)+(x−2y)=16+8add whole equations4x=24opposite terms cancelx=6divide by 46−2y=8substitute in the second−2y=2subtract 6y=−1divide by −2\begin{aligned} (3x+2y)+(x-2y)&=16+8 &&\text{add whole equations}\\ 4x&=24 &&\text{opposite terms cancel}\\ x&=6 &&\text{divide by 4}\\ 6-2y&=8 &&\text{substitute in the second}\\ -2y&=2 &&\text{subtract 6}\\ y&=-1 &&\text{divide by }-2 \end{aligned}

Answer. x=6, y=−1x=6,\ y=-1.

Check. 18−2=1618-2=16 and 6−2(−1)=86-2(-1)=8. A negative value is allowed because no positive-value context was given.

When coefficients do not yet match, multiply a whole equation first. For 2x+3y=132x+3y=13 and x+y=5x+y=5, doubling the second gives 2x+2y=102x+2y=10. Subtracting this from the first gives y=3y=3, then x=2x=2. Both sides and every term must be multiplied. Sometimes you must scale both equations to reach a common multiple.

Worked example 3: scaling both equations

Question. Solve 3x+2y=123x+2y=12 and 2x+3y=132x+3y=13.

Plan. Make both yy-coefficients six by multiplying the first equation by three and the second by two.

9x+6y=36first equation times 34x+6y=26second equation times 25x=10subtract to eliminate yx=2divide by 53(2)+2y=12substitute in the first originaly=3subtract 6, divide by 2\begin{aligned} 9x+6y&=36 &&\text{first equation times 3}\\ 4x+6y&=26 &&\text{second equation times 2}\\ 5x&=10 &&\text{subtract to eliminate }y\\ x&=2 &&\text{divide by 5}\\ 3(2)+2y&=12 &&\text{substitute in the first original}\\ y&=3 &&\text{subtract 6, divide by 2} \end{aligned}

Answer. x=2, y=3x=2,\ y=3.

Check. In the originals, 3(2)+2(3)=123(2)+2(3)=12 and 2(2)+3(3)=132(2)+3(3)=13. Using coefficients six was a choice; making both xx-coefficients six would give the same solution.

This additional case changes the preparation, not the cancellation rule: use a common multiple to produce equal or opposite coefficients before combining.

If elimination leaves 0=00=0, the two equations may be equivalent and have infinitely many solutions. If it leaves 0=50=5, the equations contradict each other. Do not divide by zero to manufacture a value.

Watch out

Subtracting x−2yx-2y means subtracting xx and adding 2y2y: 3x+2y−(x−2y)=2x+4y3x+2y-(x-2y)=2x+4y. Choose addition in example 2 so the yy-terms actually cancel.

Scale both equations to make a matching pair of coefficients.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account