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
From one of the equations, express one variable (say y) in terms of the other (say x). Choose the equation that makes this step easiest , typically the one where some variable has a coefficient ±1.
Substitute this expression into the other equation. The result is a single linear equation in one variable.
Solve that equation to find one variable.
Substitute back to find the other variable.
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=0", the system has infinitely many solutions; if you get "0=5" (a false statement), the system has no solution.
Why it works
Both equations are statements about the samex and y. So if equation (1) forces y=f(x), then equation (2) becomes a constraint purely in x once we substitute. Solving that constraint pins down x, and substitution recovers y. 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=0 , meaning every x on the line works. If the two equations are inconsistent (parallel, distinct lines), you get a contradiction like 0=7.
Worked examples
Example 1. Solve x+y=14 and x−y=4.
From the second equation, x=y+4. Substitute into the first: (y+4)+y=14⇒2y=10⇒y=5. So x=5+4=9.
Solution (x,y)=(9,5). Verify: 9+5=14 ✓, 9−5=4 ✓.
Example 2. Solve 3x+2y=11 and 2x+3y=4.
Solve the first for y: y=(11−3x)/2. Substitute:
2x+3⋅211−3x=4⇒4x+3(11−3x)=8⇒4x+33−9x=8⇒−5x=−25⇒x=5.
Then y=(11−15)/2=−2.
Solution (5,−2).
Example 3. Solve 0.4x+0.3y=1.7 and 0.7x−0.2y=0.8.
Multiply each by 10 to clear decimals: 4x+3y=17 and 7x−2y=8.
From the first, y=(17−4x)/3. Substitute into the second:
7x−2⋅317−4x=8⇒21x−2(17−4x)=24⇒21x−34+8x=24⇒29x=58⇒x=2.
Then y=(17−8)/3=3.
Solution (2,3).
Example 4. Solve x2+y3=13 and x5−y4=−2.
Let u=1/x and v=1/y. The system becomes 2u+3v=13, 5u−4v=−2.
From the first, u=(13−3v)/2. Substitute:
5⋅213−3v−4v=−2⇒5(13−3v)−8v=−4⇒65−15v−8v=−4⇒−23v=−69⇒v=3.
Then u=(13−9)/2=2. So x=1/u=1/2 and y=1/v=1/3.
Example 5. Solve x−y=3 and 2x−2y=9.
From the first, x=y+3. Substitute: 2(y+3)−2y=9⇒6=9. Contradiction. No solution.
(Ratio check: 1/2,−1/−2,−3/−9. First two equal 1/2; third equals 1/3. Indeed inconsistent.)
Try it yourself
Solve by substitution: x+2y=−1,2x−3y=12.
Solve: 0.2x+0.3y=1.3,0.4x+0.5y=2.3.
Solve: 2x+3y=0,3x−8y=0.
Solve: x3+y2=12,x2+y3=13.
Solve: x+y=5,3x+3y=15. (Decide first by inspection.)
Solve: x−4y−14=0,5x−y−13=0.
Solve: 2x−3y=−8,4x+y=9.
Solve: 2x+32y=−1,x−3y=3.
Solve: 3(x−1)+2(y−2)=5,2(x+1)−5(y+2)=0.
Show by substitution that x+2y=5,2x+4y=10 has infinitely many solutions; describe them all.
Pitfalls / Insight
Always choose the easiest variable to isolate. Coefficients of ±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/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,x−y=4.
Q2
Solve: 3x+2y=11,2x+3y=4.
Q3
If after substitution we get 0=5, the system has:
Q4
After substitution we get 0=0. The system has:
Q5
Using u=1/x,v=1/y, the system 2/x+3/y=13,5/x−4/y=−2 becomes: