Math Lab
Home/Class X/Ch 3/Substitution method

Substitution method

The graphical method is visual but slow. The first algebraic shortcut is substitution: solve one equation for one variable in terms of the other, then plug into the second equation.

Algorithm

  1. From one of the equations, express one variable (say yy) in terms of the other (say xx). Choose the equation that makes this step easiest , typically the one where some variable has a coefficient ±1\pm 1.
  2. Substitute this expression into the other equation. The result is a single linear equation in one variable.
  3. Solve that equation to find one variable.
  4. Substitute back to find the other variable.
  5. Verify by plugging the pair into both original equations.

The method is mechanical and works whenever a unique solution exists. If you end up with a statement like "0=00 = 0", the system has infinitely many solutions; if you get "0=50 = 5" (a false statement), the system has no solution.

Why it works

Both equations are statements about the same xx and yy. So if equation (1)(1) forces y=f(x)y = f(x), then equation (2)(2) becomes a constraint purely in xx once we substitute. Solving that constraint pins down xx, and substitution recovers yy. The whole procedure is just clean algebra; the geometric meaning is "follow the first line until you hit the second".

It is worth seeing why substitution can fail to give a unique answer. If the two equations are dependent (one is a multiple of the other), the substituted equation will reduce to 0=00 = 0 , meaning every xx on the line works. If the two equations are inconsistent (parallel, distinct lines), you get a contradiction like 0=70 = 7.

Worked examples

Example 1. Solve x+y=14x + y = 14 and xy=4x - y = 4.

From the second equation, x=y+4x = y + 4. Substitute into the first: (y+4)+y=142y=10y=5(y + 4) + y = 14 \Rightarrow 2 y = 10 \Rightarrow y = 5. So x=5+4=9x = 5 + 4 = 9.

Solution (x,y)=(9,5)(x, y) = (9, 5). Verify: 9+5=149 + 5 = 14 ✓, 95=49 - 5 = 4 ✓.

Example 2. Solve 3x+2y=113 x + 2 y = 11 and 2x+3y=42 x + 3 y = 4.

Solve the first for yy: y=(113x)/2y = (11 - 3 x)/2. Substitute: 2x+3113x2=44x+3(113x)=84x+339x=85x=25x=5.2 x + 3 \cdot \frac{11 - 3 x}{2} = 4 \Rightarrow 4 x + 3(11 - 3 x) = 8 \Rightarrow 4 x + 33 - 9 x = 8 \Rightarrow -5 x = -25 \Rightarrow x = 5. Then y=(1115)/2=2y = (11 - 15)/2 = -2.

Solution (5,2)(5, -2).

Example 3. Solve 0.4x+0.3y=1.70.4 x + 0.3 y = 1.7 and 0.7x0.2y=0.80.7 x - 0.2 y = 0.8.

Multiply each by 1010 to clear decimals: 4x+3y=174 x + 3 y = 17 and 7x2y=87 x - 2 y = 8.

From the first, y=(174x)/3y = (17 - 4 x)/3. Substitute into the second: 7x2174x3=821x2(174x)=2421x34+8x=2429x=58x=2.7 x - 2 \cdot \frac{17 - 4 x}{3} = 8 \Rightarrow 21 x - 2(17 - 4 x) = 24 \Rightarrow 21 x - 34 + 8 x = 24 \Rightarrow 29 x = 58 \Rightarrow x = 2. Then y=(178)/3=3y = (17 - 8)/3 = 3.

Solution (2,3)(2, 3).

Example 4. Solve 2x+3y=13\dfrac{2}{x} + \dfrac{3}{y} = 13 and 5x4y=2\dfrac{5}{x} - \dfrac{4}{y} = -2.

Let u=1/xu = 1/x and v=1/yv = 1/y. The system becomes 2u+3v=132 u + 3 v = 13, 5u4v=25 u - 4 v = -2.

From the first, u=(133v)/2u = (13 - 3 v)/2. Substitute: 5133v24v=25(133v)8v=46515v8v=423v=69v=3.5 \cdot \frac{13 - 3 v}{2} - 4 v = -2 \Rightarrow 5(13 - 3 v) - 8 v = -4 \Rightarrow 65 - 15 v - 8 v = -4 \Rightarrow -23 v = -69 \Rightarrow v = 3. Then u=(139)/2=2u = (13 - 9)/2 = 2. So x=1/u=1/2x = 1/u = 1/2 and y=1/v=1/3y = 1/v = 1/3.

Example 5. Solve xy=3x - y = 3 and 2x2y=92 x - 2 y = 9.

From the first, x=y+3x = y + 3. Substitute: 2(y+3)2y=96=92(y + 3) - 2 y = 9 \Rightarrow 6 = 9. Contradiction. No solution.

(Ratio check: 1/2,1/2,3/91/2, -1/-2, -3/-9. First two equal 1/21/2; third equals 1/31/3. Indeed inconsistent.)

Try it yourself

  1. Solve by substitution: x+2y=1,2x3y=12x + 2 y = -1, 2 x - 3 y = 12.
  2. Solve: 0.2x+0.3y=1.3,0.4x+0.5y=2.30.2 x + 0.3 y = 1.3, 0.4 x + 0.5 y = 2.3.
  3. Solve: 2x+3y=0,3x8y=0\sqrt{2} x + \sqrt{3} y = 0, \sqrt{3} x - \sqrt{8} y = 0.
  4. Solve: 3x+2y=12,2x+3y=13\dfrac{3}{x} + \dfrac{2}{y} = 12, \dfrac{2}{x} + \dfrac{3}{y} = 13.
  5. Solve: x+y=5,3x+3y=15x + y = 5, 3 x + 3 y = 15. (Decide first by inspection.)
  6. Solve: x4y14=0,5xy13=0x - 4 y - 14 = 0, 5 x - y - 13 = 0.
  7. Solve: 2x3y=8,4x+y=92 x - 3 y = -8, 4 x + y = 9.
  8. Solve: x2+2y3=1,xy3=3\dfrac{x}{2} + \dfrac{2 y}{3} = -1, x - \dfrac{y}{3} = 3.
  9. Solve: 3(x1)+2(y2)=5,2(x+1)5(y+2)=03(x - 1) + 2(y - 2) = 5, 2(x + 1) - 5(y + 2) = 0.
  10. Show by substitution that x+2y=5,2x+4y=10x + 2 y = 5, 2 x + 4 y = 10 has infinitely many solutions; describe them all.

Pitfalls / Insight

  • Always choose the easiest variable to isolate. Coefficients of ±1\pm 1 make life simple.
  • Clear fractions and decimals first by multiplying through , substitution gets messy with denominators.
  • Reach for a substitution like u=1/x,v=1/yu = 1/x, v = 1/y when reciprocals appear. The new system is linear and standard.

Insight. Substitution is the most "human" of the algebraic methods , it just chains two equations together. When the structure is friendly, no other method is faster.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Substitution
6 questions · pick the best answer
Q1

Solve: x+y=14,xy=4x + y = 14, x - y = 4.

Q2

Solve: 3x+2y=11,2x+3y=43x + 2y = 11, 2x + 3y = 4.

Q3

If after substitution we get 0=50 = 5, the system has:

Q4

After substitution we get 0=00 = 0. The system has:

Q5

Using u=1/x,v=1/yu = 1/x, v = 1/y, the system 2/x+3/y=13,5/x4/y=22/x + 3/y = 13, 5/x - 4/y = -2 becomes:

Q6

Best variable to isolate first in 5x+7y=1,x2y=45x + 7y = 1, x - 2y = 4: