School › Grade 8

Systems of Linear Equations

Grade 8 · Unit 6

📖 Short lecture

A system of two linear equations asks for the point $(x,y)$ that satisfies both. Graphically it is the intersection of two lines: one solution if the slopes differ, none if the lines are parallel, infinitely many if they coincide.

Algebraically we use substitution (solve one equation for a variable and substitute) or elimination (add or subtract multiples of the equations to remove a variable).

⚠️ Common mistakes

  • When subtracting equations, subtract every term: $(2x+y)-(x-y)=x+2y$.
  • The answer is a pair: after finding $x$, always find $y$ and check in both equations.
  • Same slope does not always mean “no solution”: if the intercepts are also equal, it is the same line (infinitely many).

🔑 Key formulas

$$\begin{cases}a_1x+b_1y=c_1\\a_2x+b_2y=c_2\end{cases}$$
A system of two equations
$$y=\ldots\;\Rightarrow\;\text{substitute into the other equation}$$
Substitution method
$$m_1=m_2,\;b_1\neq b_2\;\Rightarrow\;\text{no solution}$$
Parallel lines

✏️ Worked example

Solve $x+y=10$ and $2x-y=2$.

  1. $\displaystyle (x+y)+(2x-y)=10+2$
  2. $\displaystyle 3x=12\Rightarrow x=4$
  3. $\displaystyle y=10-4=6$

✔ $(x,y)=(4,6)$.

🧮 More worked examples

Each step says what we do and why.

Example 2Solve $y=3x-1$ and $2x+y=14$.

  1. $y$ is already isolated: substitute it.$$2x+(3x-1)=14$$
  2. Solve for $x$.$$5x=15\;\Rightarrow\;x=3$$
  3. Back-substitute.$$y=3(3)-1=8$$
✔ $(x,y)=(3,8)$.

Example 3Solve $3x+2y=16$ and $x-y=2$.

  1. Multiply the second equation by $2$ so the $y$ terms are opposites.$$2x-2y=4$$
  2. Add the equations.$$5x=20\;\Rightarrow\;x=4$$
  3. Find $y$ and check.$$y=x-2=2,\qquad3(4)+2(2)=16\;\checkmark$$
✔ $(4,2)$.

Example 4How many solutions does $2x+4y=8$, $x+2y=4$ have?

  1. Multiply the second equation by $2$.$$2x+4y=8$$
  2. It is identical to the first: the two equations describe the same line.$$y=-\tfrac12x+2$$
✔ Infinitely many solutions.

🖐️ Interactive demo & illustration

Move the sliders or press the buttons: the figure and the numbers update immediately. Try to predict the result before you look.

🎬 Where do the two lines meet?

Each equation is a line. The solution of the system is the point that lies on both lines. Change the slopes and intercepts: the pulsing point moves; equal slopes give parallel lines (no solution) or the same line (infinitely many).

①
②

🌍 Modelling problems

Real-life situations: translate the words into mathematics, solve, then interpret the answer.

🎟️ Ticket sales

A show sold $40$ tickets for $900$ AED. Adults pay $30$ AED and children $15$ AED. How many of each?

Show the solution
  1. Number and money equations.$$a+c=40,\qquad30a+15c=900$$
  2. Substitute $c=40-a$.$$30a+600-15a=900\;\Rightarrow\;a=20$$
  3. Then $c$:$$c=40-20=20$$

✔ $20$ adult and $20$ child tickets.

🏋️ Choosing a gym

Gym A: $100$ AED joining fee and $50$ AED per month. Gym B: $200$ AED and $30$ AED per month. When do they cost the same?

Show the solution
  1. Costs after $m$ months.$$100+50m=200+30m$$
  2. Solve.$$20m=100\;\Rightarrow\;m=5,\qquad\text{cost}=350$$

✔ After $5$ months (both $350$ AED); after that B is cheaper.

🚤 Boat and current

A boat goes $24$ km downstream in $2$ h and returns upstream in $3$ h. Find the boat's speed in still water and the speed of the current.

Show the solution
  1. Downstream speed $b+c$, upstream $b-c$.$$b+c=\frac{24}{2}=12,\qquad b-c=\frac{24}{3}=8$$
  2. Add the equations.$$2b=20\;\Rightarrow\;b=10,\;c=2$$

✔ Boat $10$ km/h, current $2$ km/h.

✅ Multiple-choice quiz

📝 Short essay

Explain, using slopes, how you can tell without solving whether a system has no solution.