School › Grade 11

Linear Systems & Matrices

Grade 11 · Unit 3

📖 Short lecture

Systems of two or three linear equations are solved by substitution or elimination. A system of linear inequalities is solved by graphing, and linear programming finds the maximum or minimum of an objective function at a vertex of the feasible region.

A matrix is a rectangular array of numbers. Matrices of the same dimensions are added entry by entry, and an $m\times n$ matrix can be multiplied by an $n\times p$ matrix. The determinant of $\begin{pmatrix}a&b\\c&d\end{pmatrix}$ is $ad-bc$. A system $AX=B$ with $\det A\neq0$ has the unique solution $X=A^{-1}B$, and Cramer's rule gives $x=\frac{\det A_x}{\det A}$ and $y=\frac{\det A_y}{\det A}$.

⚠️ Common mistakes

  • Matrix multiplication is not commutative: in general $AB\neq BA$.
  • Multiply row by column; the inner dimensions must agree.
  • $\det\begin{pmatrix}a&b\\c&d\end{pmatrix}=ad-bc$, not $ab-cd$.

🔑 Key formulas

$$\det\begin{pmatrix}a&b\\c&d\end{pmatrix}=ad-bc$$
Determinant
$$A^{-1}=\frac{1}{ad-bc}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}$$
Inverse of a 2×2 matrix
$$x=\frac{\det A_x}{\det A},\quad y=\frac{\det A_y}{\det A}$$
Cramer's rule
$$AA^{-1}=I=\begin{pmatrix}1&0\\0&1\end{pmatrix}$$
Identity matrix
$$AX=B\;\Rightarrow\;X=A^{-1}B$$
Solving with the inverse

✏️ Worked example

Solve $\begin{cases}3x+2y=12\\x-y=-1\end{cases}$ with Cramer's rule.

  1. $\displaystyle \det A=3(-1)-2(1)=-5$
  2. $\displaystyle \det A_x=12(-1)-2(-1)=-10,\quad\det A_y=3(-1)-12(1)=-15$
  3. $\displaystyle x=\frac{-10}{-5}=2,\quad y=\frac{-15}{-5}=3$

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

🧮 More worked examples

Each step says what we do and why.

Example 2Find $\begin{pmatrix}1&2\\3&4\end{pmatrix}\begin{pmatrix}2&0\\1&-1\end{pmatrix}$.

  1. Row 1 times each column.$$(1\cdot2+2\cdot1,\ 1\cdot0+2\cdot(-1))=(4,-2)$$
  2. Row 2 times each column.$$(3\cdot2+4\cdot1,\ 0-4)=(10,-4)$$
✔ $\begin{pmatrix}4&-2\\10&-4\end{pmatrix}$.

Example 3Find the inverse of $\begin{pmatrix}3&1\\5&2\end{pmatrix}$.

  1. Determinant.$$6-5=1$$
  2. Swap $a,d$, negate $b,c$, divide by det.$$\begin{pmatrix}2&-1\\-5&3\end{pmatrix}$$
✔ $\begin{pmatrix}2&-1\\-5&3\end{pmatrix}$.

Example 4Solve $2x+y=5$, $3x+2y=8$ with an inverse matrix.

  1. Inverse of $A$ ($\det A=1$).$$A^{-1}=\begin{pmatrix}2&-1\\-3&2\end{pmatrix}$$
  2. Multiply.$$X=\begin{pmatrix}2\cdot5-8\\-15+16\end{pmatrix}=\begin{pmatrix}2\\1\end{pmatrix}$$
✔ $(2,1)$.

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

🎬 A matrix transforms the plane

The matrix $\begin{pmatrix}a&b\\c&d\end{pmatrix}$ sends the unit square to a parallelogram with sides $(a,c)$ and $(b,d)$. Its area is $|ad-bc|$, the absolute value of the determinant. When $\det=0$ the square collapses onto a line and the matrix has no inverse.

🌍 Modelling problems

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

🛒 Shop revenue

On Monday a shop sells $3$ pens and $2$ notebooks; on Tuesday $5$ pens and $1$ notebook. Pens cost $4$ AED and notebooks $10$ AED. Use a matrix product to find each day's revenue.

Show the solution
  1. Quantities × prices.$$\begin{pmatrix}3&2\\5&1\end{pmatrix}\begin{pmatrix}4\\10\end{pmatrix}=\begin{pmatrix}32\\30\end{pmatrix}$$

✔ $32$ AED and $30$ AED.

🎟️ Ticket system

$2$ adult and $3$ child tickets cost $110$ AED; $1$ adult and $2$ child tickets cost $65$ AED. Find the prices with an inverse matrix.

Show the solution
  1. Coefficient matrix ($\det=1$).$$A^{-1}=\begin{pmatrix}2&-3\\-1&2\end{pmatrix}$$
  2. Multiply.$$\begin{pmatrix}220-195\\-110+130\end{pmatrix}=\begin{pmatrix}25\\20\end{pmatrix}$$

✔ Adult $25$ AED, child $20$ AED.

📐 Triangle area

Find the area of the triangle with vertices $(0,0)$, $(4,1)$, $(1,3)$ using a determinant.

Show the solution
  1. Half the absolute determinant.$$\tfrac12\left|\det\begin{pmatrix}4&1\\1&3\end{pmatrix}\right|=\tfrac12|12-1|$$

✔ $5.5$ square units.

✅ Multiple-choice quiz

📝 Short essay

Explain the geometric meaning of $\det A=0$ for a system of two linear equations in two variables.