School › Grade 9

Systems of Linear Equations & Inequalities

Grade 9 · Unit 6

📖 Short lecture

A system of linear equations is two or more equations in the same variables. Its solution is the point where the lines intersect. It can be solved by graphing, by substitution (solve one equation for a variable and substitute it into the other) or by elimination (add or subtract multiples of the equations to remove a variable). A system has one solution, no solution (parallel lines) or infinitely many solutions (the same line).

A linear inequality in two variables such as $y\le 2x+1$ is graphed by drawing the boundary line, solid for $\le,\ge$ and dashed for $<,>$, and shading the half-plane of solutions; a test point such as $(0,0)$ shows which side. The solution of a system of inequalities is the region where all the shaded half-planes overlap.

Going further

Choose the method that suits the system: graphing gives a quick picture, substitution is best when a variable is already isolated ($y=\dots$), and elimination is best when coefficients match or are opposites. Sometimes both equations must first be multiplied: for $3x+2y=8$ and $2x-3y=1$, multiply by $3$ and $2$ to eliminate $y$.

Systems model break-even problems, mixtures and comparisons of plans. In linear programming, a system of inequalities describes all allowed combinations (the feasible region), and the best value of a quantity such as profit occurs at a vertex of that region.

📐 Figures

The solution of a system is the intersection point.
A system of inequalities: the solutions lie where the shadings overlap.

🔑 Key formulas

$$\begin{cases}x+y=7\\x-y=1\end{cases}\Rightarrow 2x=8$$
Elimination
$$y=2x-1,\;3x+y=9\Rightarrow 3x+2x-1=9$$
Substitution
$$\le,\ge:\text{ solid}\qquad <,>:\text{ dashed}$$
Boundary line
$$a_1b_2-a_2b_1\neq0\;\Rightarrow\;\text{exactly one solution}$$
One solution test
$$\max/\min\text{ of }P=ax+by\text{ at a vertex}$$
Linear programming

✏️ Worked examples

Solve $\begin{cases}2x+3y=12\\ x-y=1\end{cases}$

  1. $\displaystyle x=y+1$
  2. $\displaystyle 2(y+1)+3y=12\;\Rightarrow\;5y=10\;\Rightarrow\;y=2$
  3. $\displaystyle x=2+1=3$

✔ $(x,y)=(3,2)$.

Example 2

Solve $3x+2y=8$ and $2x-3y=1$ by elimination.

  1. $\displaystyle 9x+6y=24,\quad 4x-6y=2$
  2. $\displaystyle 13x=26\;\Rightarrow\;x=2$
  3. $\displaystyle 3(2)+2y=8\;\Rightarrow\;y=1$

✔ $(2,1)$.

🧮 More worked examples

Each step says what we do and why.

Example 3Solve $3x+2y=7$ and $5x-2y=9$.

  1. The $y$ terms are opposite: add.$$8x=16\;\Rightarrow\;x=2$$
  2. Back-substitute.$$6+2y=7\;\Rightarrow\;y=\tfrac12$$
✔ $(2,\tfrac12)$.

Example 4Solve $2x+3y=13$ and $3x+2y=12$.

  1. Make the $x$ coefficients equal: $\times3$ and $\times2$.$$6x+9y=39,\qquad6x+4y=24$$
  2. Subtract.$$5y=15\;\Rightarrow\;y=3$$
  3. Back-substitute.$$2x+9=13\;\Rightarrow\;x=2$$
✔ $(2,3)$.

Example 5Is $(2,1)$ a solution of $y\le-x+4$ and $y\gt x-3$?

  1. First inequality.$$1\le-2+4=2\;\checkmark$$
  2. Second inequality.$$1\gt2-3=-1\;\checkmark$$
✔ Yes, it satisfies both.

🎬 Figure in motion

Two figures in motion: they play automatically; ⏸ pauses and ↺ restarts.

🖐️ 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.

🧭 Linear programming: slide the profit line

The shaded region satisfies $x\ge0,\;y\ge0,\;x+2y\le16,\;2x+y\le14$. The dashed line is $P=ax+by$ for a fixed $P$. Press Sweep: the line moves outward and the last point of the region it touches is a vertex, where $P$ is largest.

⚠️ Common mistakes

  • Multiplying only one side of an equation before eliminating.
  • Finding $x$ and forgetting to find $y$.
  • Shading the wrong half-plane: always check a test point such as $(0,0)$.
  • In elimination, subtract when coefficients are equal and add when they are opposite; apply it to every term.
  • Parallel lines (same slope, different intercept) give no solution, not “zero”.
  • Points on a solid boundary ($\le,\ge$) are solutions; points on a dashed boundary ($\lt,\gt$) are not.

🌍 Modelling problems

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

🪙 Coins

$30$ coins of $1$ AED and $50$ fils are worth $22$ AED in total. How many of each?

Show the solution
  1. Count and value equations.$$x+y=30,\qquad x+0.5y=22$$
  2. Subtract.$$0.5y=8\;\Rightarrow\;y=16,\;x=14$$

✔ $14$ one-dirham coins and $16$ fifty-fils coins.

🪑 Furniture factory

Chairs $x$ earn $30$ AED, tables $y$ earn $50$ AED. Wood: $x+2y\le16$; labour: $2x+y\le14$; $x,y\ge0$. Maximise profit.

Show the solution
  1. Vertices of the feasible region.$$(0,0),\;(7,0),\;(4,6),\;(0,8)$$
  2. Profit $P=30x+50y$ at each vertex.$$0,\;210,\;420,\;400$$

✔ $4$ chairs and $6$ tables: $420$ AED.

🧪 Mixing solutions

Mix a $20\%$ and a $50\%$ acid solution to get $30$ L of $40\%$ solution. How much of each?

Show the solution
  1. Volume and acid equations.$$x+y=30,\qquad0.2x+0.5y=12$$
  2. Substitute $y=30-x$.$$15-0.3x=12\;\Rightarrow\;x=10,\;y=20$$

✔ $10$ L of $20\%$ and $20$ L of $50\%$.

✅ Multiple-choice quiz

📝 Short essay

A school sells adult tickets for 20 AED and student tickets for 8 AED. 150 tickets brought in 1800 AED. Set up a system, solve it and explain your method.