Chapter Overview

After studying Unit 2 you will be able to do the following. The first code on each objective is W.H. Academy's; the grey code is the matching FBISE Student Learning Outcome (A-15 to A-21) from the board's HSSC-I Mathematics outline.

Define a matrix, state its order, and recognise row, column, square, zero, diagonal, scalar, identity, triangular, symmetric and skew-symmetric matrices; find the transpose. M11-02-01 FBISE A-15
Add, subtract and scalar-multiply matrices, and multiply compatible matrices (real or complex entries); state which laws hold and why \(AB\ne BA\) in general. M11-02-02 FBISE A-15
Evaluate \(2\times2\) and \(3\times3\) determinants with minors and cofactors, and use the properties of determinants to simplify them or prove identities. M11-02-03 FBISE A-16
Find the adjoint and inverse of a non-singular matrix using \(A^{-1}=\frac{1}{|A|}\operatorname{adj}A\), and verify \(AA^{-1}=I\). M11-02-04 FBISE A-16
Reduce a matrix to echelon form with elementary row operations, find its rank, and find its inverse by \([A\,|\,I]\to[I\,|\,A^{-1}]\). M11-02-05 FBISE A-17
Decide whether a linear system is consistent or inconsistent using ranks, and solve \(3\times3\) non-homogeneous systems by matrix inversion, Cramer's rule and Gaussian elimination. M11-02-06 FBISE A-18, A-19
Solve homogeneous systems \(AX=O\) (find the parameter that gives non-trivial solutions) and apply matrices to cryptography, translations, networks and other real-world problems. M11-02-07 FBISE A-20, A-21
The chapter in one line: a matrix is a table that transforms things, its determinant is the one number that tells you whether the transformation squashes space, and almost every question is either "compute with it" or "solve \(AX=B\)".

Master Roadmap — tick each topic when you can do it without looking

Topic 01 — What a matrix is, order, types, transpose, symmetric and skew-symmetric (2.1) → Exercise 2.1
Topic 02 — Add, subtract, scalar multiple, multiplication and its laws (2.2) → Exercise 2.2
Topic 03 — Determinants, minors and cofactors (2.3)
Topic 04 — Adjoint, singular and non-singular, the inverse (2.3) → Exercise 2.3
Topic 05 — Properties of determinants (2.4) → Exercise 2.4
Topic 06 — Row operations, echelon form, rank and inverse by row operations (2.5) → Exercise 2.5
Topic 07 — Consistent and inconsistent systems; inversion, Cramer, Gauss and Gauss–Jordan (2.6) → Exercise 2.6, Q1 to Q8
Topic 08 — Applications: cipher, translation, networks, seismic data (2.7) → Exercise 2.6, Q9 to Q13
Topic 09 — Review Exercise and connecting the concepts

Jump to a Part

Chapter Psychology

What this unit is really about, how the board tests it, and where the marks are.

The one idea behind this unit

1. What is the one idea that holds Unit 2 together?
• How should I study Matrices and Determinants?• What is this unit really testing?

A matrix is a machine: it takes a column of numbers in and gives a column out. Everything in the unit asks one of three questions about that machine:

  • Combine machines: add, subtract, multiply (2.1 and 2.2).
  • Measure a machine: its determinant, adjoint and rank tell you whether it can be undone (2.3 to 2.6A).
  • Undo a machine: solve \(AX=B\) by inversion, Cramer or elimination, and use it on real data (2.6B and 2.7).
In simple words

If \(|A|\ne0\) the machine can be reversed (\(A^{-1}\) exists) and the system has exactly one answer. If \(|A|=0\) the machine squashes information and the system has no answer or infinitely many. Almost every "why" in the chapter is this sentence.

Official exam pattern and outcomes

FBISE HSSC-I Mathematics 50% model-paper pattern (as published by the board)
SectionWhatMarksRules
A — MCQs64 questions of 0.75 (40 direct and 24 stimulus-based: 6 scenarios of 4 questions)48compulsory
B — Short Response7 questions of 4 marks, each with an internal choice (OR)28all parts
C — Extended Response3 questions of 8 marks, each with an internal choice (OR)24all questions
Total100
Unit 2 outcomes in the board's outline
SLOWhat you must doLevel
A-15Add, subtract and multiply matrices (real and complex entries)Formative: a tool, not a stand-alone question
A-16Find determinants by cofactors and propertiesSummative, Understanding
A-17Find the inverse and rank by row operationsSummative, Understanding
A-18Explain consistent and inconsistent systems with examplesSummative, Understanding
A-19Solve \(3\times3\) non-homogeneous systems by inversion and Cramer's ruleSummative, Understanding
A-20Solve \(3\times3\) homogeneous systems by Gaussian eliminationSummative, Understanding
A-21Real-world applications: graphics, encryption, seismic analysis, social networksSummative, Application

How the paper is set

2. What did the board's model paper ask from this unit?
• Which matrix questions came in the model paper?

The model paper's matrix items were: a cofactor of a \(3\times3\) matrix (MCQ), the condition for an inconsistent system (MCQ), a four-question seismic-network stimulus (determinant, a Cramer determinant, a value of \(z\), and a determinant with a proportional row), an inverse by row operations (4-mark SRQ) and a homogeneous system with a parameter (8-mark ERQ). Counting every matrix option the paper offered, that is about 16.5 marks. The paper is a model, so the real paper may differ.

Note

The board published this paper without a marking scheme. Mark splits quoted anywhere in these notes are W.H. Academy estimates, not official.

3. How is each outcome usually tested?
• What shape does each outcome take in the paper?
SLOLikely formMarks (estimate)
A-16MCQ: a cofactor or minor, a value, a property that decides the answer0.75
A-17SRQ: inverse or rank by row operations4
A-18MCQ: when is a system inconsistent?0.75
A-19Stimulus MCQs or an SRQ: Cramer or inversion0.75 to 4
A-20ERQ: homogeneous system with a parameter8
A-21Stimulus set: seismic, network, graphics or cipher4 × 0.75
4. What habits does a paper setter rely on in this unit?
  1. Procedure over proof. Most items are formula plus arithmetic, so speed and accuracy are the real test.
  2. "Hence" chains. A later part uses an earlier answer (find \(A^{-1}\), hence solve). Verify the first part with \(AA^{-1}=I\).
  3. The free gift. One question usually has a proportional row or a zero row: the answer is \(0\) in ten seconds if you know the properties.
  4. Distractors are your slips: a wrong sign, forgetting to transpose the cofactor matrix, using \(k|A|\) instead of \(k^{n}|A|\), changing the wrong column in Cramer.
  5. Stimulus sets use one data block four times. Write the matrix \(A\), \(X\) and \(B\) once and read all four answers from it.
  6. Applications test translation, not hard algebra: turn the words into a matrix.
5. How should I use the 80 minutes in Sections B and C?

Section B and C together are worth 52 marks, about 1.5 minutes per mark. Do the mechanical matrix option of an OR first (inverse by row operations, Cramer) because the steps are known and the marks are easy to collect; spend the saved time on the questions that need thought. Always write the setup line, such as \([A\,|\,I]\) or the matrix \(A\), because setup carries marks even if the arithmetic slips (a W.H. estimate, not an official split).

Where each exercise trains you

Part of the unitBook exerciseWhat it trains
2.1 Matrices and typesExercise 2.1Order, types, transpose, symmetric and skew-symmetric.
2.2 Matrix algebraExercise 2.2Sums, products, the laws, and powers of matrices.
2.3 Determinants, adjoint, inverseExercise 2.3Minors, cofactors, \(2\times2\) and \(3\times3\) values, singular matrices, adjoint and inverse.
2.4 PropertiesExercise 2.4Simplifying or proving determinant identities without expanding.
2.5 Row operations and rankExercise 2.5Echelon and reduced echelon form, rank, inverse by row operations.
2.6 and 2.7 Systems and applicationsExercise 2.6Homogeneous systems, parameters, Gauss, Cramer, inversion, then cipher and translation (Q9 to Q13).
Whole unitReview ExerciseMCQs and mixed questions on all of the above.

Matrices and Types

Order, entries, the named types, transpose, symmetric and skew-symmetric.

A matrix stores data in rows and columns: marks of students in several subjects, the cost of items in several shops, the coordinates of the corners of a triangle. The brackets tell you to treat the whole table as one object.

Common mistake

The order of a matrix is \(\text{rows}\times\text{columns}\). A \(3\times2\) matrix has 3 rows and 2 columns, not the other way round. This one slip makes every later product-order question wrong.

6. What is a matrix? What is its order?
• Define a matrix and state its order.• How do we find the order of a matrix?

A matrix is a rectangular array of numbers (its entries) arranged in horizontal rows and vertical columns, written inside brackets. A matrix with \(m\) rows and \(n\) columns has order \(m\times n\) (read "\(m\) by \(n\)"): rows first, then columns.

\(A=\begin{bmatrix}1&3&0\\2&0&1\end{bmatrix}\) has 2 rows and 3 columns, so its order is \(2\times3\)
7. What does the notation \(a_{ij}\) mean?
• Write the (2,3) entry of the matrix above.

\(a_{ij}\) is the entry in row \(i\) and column \(j\). In \(\begin{bmatrix}1&3&0\\2&0&1\end{bmatrix}\) we have \(a_{12}=3\) and \(a_{23}=1\). A \(2\times3\) matrix has \(2\times3=6\) entries.

8. Name the types of matrices.
• List the special types of square matrices.• Define a scalar matrix.
TypeDefinitionExample
Row matrixone row (\(1\times n\))\(\begin{bmatrix}2&0&1\end{bmatrix}\)
Column matrixone column (\(m\times1\))\(\begin{bmatrix}3\\2\\8\end{bmatrix}\)
Square matrixrows = columns\(\begin{bmatrix}1&6\\9&2\end{bmatrix}\)
Zero (null) matrix \(O\)every entry \(0\)\(\begin{bmatrix}0&0\\0&0\end{bmatrix}\)
Diagonal matrixsquare, all entries off the main diagonal are \(0\)\(\begin{bmatrix}1&0\\0&2\end{bmatrix}\)
Scalar matrixdiagonal with all diagonal entries equal\(\begin{bmatrix}-6&0&0\\0&-6&0\\0&0&-6\end{bmatrix}\)
Identity matrix \(I\)scalar matrix whose diagonal entries are \(1\)\(\begin{bmatrix}1&0\\0&1\end{bmatrix}\)
Upper triangularsquare, all entries below the diagonal are \(0\)\(\begin{bmatrix}1&2&3\\0&4&5\\0&0&6\end{bmatrix}\)
Lower triangularsquare, all entries above the diagonal are \(0\)\(\begin{bmatrix}1&0&0\\2&3&0\\4&5&6\end{bmatrix}\)
9. What is the difference between diagonal, scalar and identity matrices?
• Is every diagonal matrix scalar?

They are nested. Every identity matrix is scalar, and every scalar matrix is diagonal, but not the other way round. \(\begin{bmatrix}1&0\\0&2\end{bmatrix}\) is diagonal only; \(\begin{bmatrix}5&0\\0&5\end{bmatrix}\) is scalar (and diagonal); \(\begin{bmatrix}1&0\\0&1\end{bmatrix}\) is identity (and scalar, and diagonal).

Exam tip

The examiner usually wants the most specific name (identity before scalar before diagonal). Writing the other true names as well is safe.

10. What is the transpose of a matrix? Which rules does it obey?
• Find the transpose of a given matrix.• State the reversal law of the transpose.

The transpose \(A^{T}\) is formed by writing the rows of \(A\) as columns. If \(A\) is \(m\times n\) then \(A^{T}\) is \(n\times m\), and \((A^{T})_{ij}=a_{ji}\).

\(A=\begin{bmatrix}1&2&3\\4&5&6\end{bmatrix}\ \Rightarrow\ A^{T}=\begin{bmatrix}1&4\\2&5\\3&6\end{bmatrix}\)
  • \((A^{T})^{T}=A\)
  • \((A\pm B)^{T}=A^{T}\pm B^{T}\)
  • \((kA)^{T}=kA^{T}\)
  • \((AB)^{T}=B^{T}A^{T}\) (the order reverses)
11. When is a matrix symmetric? When is it skew-symmetric?
• Show that the diagonal entries of a skew-symmetric matrix are zero.

A square matrix is symmetric if \(A^{T}=A\) (so \(a_{ij}=a_{ji}\): it mirrors across the diagonal) and skew-symmetric if \(A^{T}=-A\) (so \(a_{ij}=-a_{ji}\)).

symmetric: \(\begin{bmatrix}1&7\\7&3\end{bmatrix}\) skew-symmetric: \(\begin{bmatrix}0&5\\-5&0\end{bmatrix}\)

Why is the diagonal of a skew-symmetric matrix zero? Put \(i=j\) in \(a_{ij}=-a_{ji}\): \(a_{ii}=-a_{ii}\), so \(2a_{ii}=0\) and \(a_{ii}=0\).

12. Show that every square matrix is the sum of a symmetric and a skew-symmetric matrix.
• Express a matrix as symmetric plus skew-symmetric (Exercise 2.1 type).

Write \(A=\frac12(A+A^{T})+\frac12(A-A^{T})\). The first part \(P\) satisfies \(P^{T}=\frac12(A^{T}+A)=P\) (symmetric); the second part \(Q\) satisfies \(Q^{T}=\frac12(A^{T}-A)=-Q\) (skew-symmetric).

\(A=\begin{bmatrix}2&4\\6&8\end{bmatrix}\), \(A^{T}=\begin{bmatrix}2&6\\4&8\end{bmatrix}\)
\(\frac12(A+A^{T})=\begin{bmatrix}2&5\\5&8\end{bmatrix}\) and \(\frac12(A-A^{T})=\begin{bmatrix}0&-1\\1&0\end{bmatrix}\)
Their sum is \(\begin{bmatrix}2&4\\6&8\end{bmatrix}=A\)
13. When are two matrices equal? Find \(x\) and \(y\) if \(\begin{bmatrix}x+2&3\\4&y-1\end{bmatrix}=\begin{bmatrix}5&3\\4&7\end{bmatrix}\).
• Define equality of matrices.

Two matrices are equal when they have the same order and every pair of corresponding entries is equal. So \(x+2=5\) and \(y-1=7\), giving \(x=3\), \(y=8\).

Matrix Algebra

Sum, difference, scalar multiple, the product and the laws.

Addition is easy and behaves like numbers. Multiplication is the new idea, and it is not commutative. Drag through the picture below: the highlighted row of the left matrix meets the highlighted column of the right matrix, multiplies matching entries and adds.

Interactive diagram (needs JavaScript).

Common mistake

\((A+B)^{2}\ne A^{2}+2AB+B^{2}\) because \(AB\ne BA\) in general. Expand as \(A^{2}+AB+BA+B^{2}\) and only combine \(AB+BA\) when you know they are equal.

14. How do we add, subtract and take a scalar multiple of matrices?
• Define the sum of two matrices.• When can two matrices be added?

Add or subtract entry by entry, and only when the matrices have the same order. A scalar \(k\) multiplies every entry.

\(\begin{bmatrix}1&2\\3&4\end{bmatrix}+\begin{bmatrix}5&0\\-1&2\end{bmatrix}=\begin{bmatrix}6&2\\2&6\end{bmatrix}\)
\(3\begin{bmatrix}1&-2\\0&4\end{bmatrix}=\begin{bmatrix}3&-6\\0&12\end{bmatrix}\)
15. When can two matrices be multiplied, and what is the order of the product?
• Is \(AB\) defined? Find its order.• State the condition for the product of matrices.

\(AB\) exists only if the number of columns of \(A\) equals the number of rows of \(B\). If \(A\) is \(m\times n\) and \(B\) is \(n\times p\), then \(AB\) is \(m\times p\): the two inner numbers must match and the outer numbers give the order.

\((2\times3)(3\times2)\to 2\times2\) \((3\times2)(3\times2)\to\) not defined
16. How is the product found? Give a worked example.
• Find \(AB\) for the given matrices (Exercise 2.2 type).

The \((i,j)\) entry of \(AB\) is row \(i\) of \(A\) times column \(j\) of \(B\): multiply the matching entries and add.

\(A=\begin{bmatrix}1&2&0\\3&-1&4\end{bmatrix}\), \(B=\begin{bmatrix}2&1\\0&3\\-1&5\end{bmatrix}\)
\((AB)_{11}=1(2)+2(0)+0(-1)=2\), \((AB)_{12}=1(1)+2(3)+0(5)=7\)
\((AB)_{21}=3(2)+(-1)(0)+4(-1)=2\), \((AB)_{22}=3(1)+(-1)(3)+4(5)=20\)
\(AB=\begin{bmatrix}2&7\\2&20\end{bmatrix}\)
17. Is \(AB=BA\)? Show with an example.
• Is matrix multiplication commutative?

In general no. Even when both products exist they can differ.

\(A=\begin{bmatrix}1&2\\3&4\end{bmatrix}\), \(B=\begin{bmatrix}0&1\\1&0\end{bmatrix}\)
\(AB=\begin{bmatrix}2&1\\4&3\end{bmatrix}\) but \(BA=\begin{bmatrix}3&4\\1&2\end{bmatrix}\)

The matrices \(A\) and \(B\) above do not commute. (Here \(B\) swaps columns when it stands on the right of \(A\) and swaps rows when it stands on the left.) For the example in the previous answer, \(AB\) is \(2\times2\) while \(BA\) is \(3\times3\), so they cannot even be compared.

18. Can the product of two non-zero matrices be the zero matrix?
• Give an example of non-zero matrices with zero product.

Yes. Unlike real numbers, \(AB=O\) does not force \(A=O\) or \(B=O\).

\(\begin{bmatrix}1&1\\1&1\end{bmatrix}\begin{bmatrix}1&-1\\-1&1\end{bmatrix}=\begin{bmatrix}0&0\\0&0\end{bmatrix}\)

So you cannot "cancel" a matrix factor: \(AB=AC\) does not imply \(B=C\) in general.

19. Which laws of algebra do matrices obey?
• State the properties of matrix multiplication.
LawHolds?
\(A+B=B+A\)Yes
\((A+B)+C=A+(B+C)\) and \((AB)C=A(BC)\)Yes
\(A(B+C)=AB+AC\) and \((A+B)C=AC+BC\)Yes
\(AI=IA=A\)Yes
\(AB=BA\)Not in general
\(AB=O\Rightarrow A=O\) or \(B=O\)No
\((AB)^{T}=B^{T}A^{T}\)Yes (order reverses)
\((A+B)^{2}=A^{2}+2AB+B^{2}\)No: it is \(A^{2}+AB+BA+B^{2}\)
20. Find a general formula for \(A^{n}\) when \(A=\begin{bmatrix}1&1\\0&1\end{bmatrix}\).
• Show by induction that ... (Exercise 2.2 type)

\(A^{2}=\begin{bmatrix}1&2\\0&1\end{bmatrix}\) and \(A^{3}=\begin{bmatrix}1&3\\0&1\end{bmatrix}\). The pattern is \(A^{n}=\begin{bmatrix}1&n\\0&1\end{bmatrix}\). Proof by induction: true for \(n=1\); if \(A^{k}=\begin{bmatrix}1&k\\0&1\end{bmatrix}\) then \(A^{k+1}=A^{k}A=\begin{bmatrix}1&k+1\\0&1\end{bmatrix}\), so it is true for every \(n\).

21. How are matrices with complex entries multiplied?
• Multiply two matrices with complex entries.

The same way. Remember \(i^{2}=-1\).

\(\begin{bmatrix}1&i\\0&1\end{bmatrix}\begin{bmatrix}1&0\\i&1\end{bmatrix}=\begin{bmatrix}1+i^{2}&i\\i&1\end{bmatrix}=\begin{bmatrix}0&i\\i&1\end{bmatrix}\)
22. Prove that \((AB)^{T}=B^{T}A^{T}\).
• Prove the reversal law for the transpose of a product.

Let \(A\) be \(m\times n\) and \(B\) be \(n\times p\). The \((i,j)\) entry of \((AB)^{T}\) is the \((j,i)\) entry of \(AB\), namely \(\sum_k a_{jk}b_{ki}\). The \((i,j)\) entry of \(B^{T}A^{T}\) is \(\sum_k (B^{T})_{ik}(A^{T})_{kj}=\sum_k b_{ki}a_{jk}\), the same sum. Both matrices are \(p\times m\), so they are equal.

Determinants, Minors and Cofactors

The number that decides whether a matrix can be undone.

Think of \(|A|\) for a \(2\times2\) matrix as the signed area of the parallelogram made by its two rows. If the rows point the same way the area collapses to zero. Move the two arrows below and watch \(ad-bc\).

Interactive diagram (needs JavaScript).

Common mistake

Forgetting the sign of the cofactor. The second entry of the first row has sign \(-\): write \(-a_{12}M_{12}\), and watch the double negative when the minor is negative.

23. What is a determinant? Which matrices have one?
• Define the determinant of a matrix.

The determinant \(|A|\) (or \(\det A\)) is a single number attached to a square matrix. A non-square matrix has no determinant. It tells whether the matrix can be reversed and, geometrically, how much it stretches area.

\(\begin{vmatrix}1&2\\3&4\end{vmatrix}\) is a determinant; \(\begin{bmatrix}1&2&3\\4&5&6\end{bmatrix}\) has none (not square)
24. How do you evaluate a \(2\times2\) determinant?
• Evaluate \(|A|\) for a \(2\times2\) matrix.
\(\begin{vmatrix}a&b\\c&d\end{vmatrix}=ad-bc\)
\(\begin{vmatrix}3&5\\2&4\end{vmatrix}=3(4)-5(2)=2\)
25. What are the minor and cofactor of an entry?
• Find the minor and cofactor of \(a_{12}\).• Why are cofactor signs alternating?

The minor \(M_{ij}\) is the determinant of the matrix left after deleting row \(i\) and column \(j\). The cofactor is \(A_{ij}=(-1)^{i+j}M_{ij}\). The signs follow a chessboard pattern:

\(\begin{bmatrix}+&-&+\\-&+&-\\+&-&+\end{bmatrix}\)
For \(\begin{bmatrix}2&1&3\\0&4&-1\\5&2&1\end{bmatrix}\): \(M_{12}=\begin{vmatrix}0&-1\\5&1\end{vmatrix}=0(1)-(-1)(5)=5\) and the cofactor is \(A_{12}=(-1)^{1+2}(5)=-5\)
26. How do you expand a \(3\times3\) determinant?
• Evaluate a \(3\times3\) determinant by expanding along the first row.

Choose any one row or column, multiply each entry by its cofactor and add. Along row 1: \(|A|=a_{11}A_{11}+a_{12}A_{12}+a_{13}A_{13}\).

\(|A|=\begin{vmatrix}2&1&3\\0&4&-1\\5&2&1\end{vmatrix}\)
\(=2(6)+1(-5)+3(-20)=12-5-20=-53\)
27. Which row or column should I expand along?
• Evaluate quickly by choosing a suitable row.

The one with the most zeros: every zero entry kills a whole cofactor. Even better, create zeros first with row operations (Section 2.4).

28. Is there a shortcut for \(3\times3\) determinants?
• State Sarrus' rule.

Sarrus' rule: copy the first two columns to the right, add the products of the three top-left to bottom-right diagonals and subtract the products of the three top-right to bottom-left diagonals. It works for \(3\times3\) only and gives the same value as cofactor expansion; for larger determinants use cofactors.

\(|A|=(2)(4)(1)+(1)(-1)(5)+(3)(0)(2)-(3)(4)(5)-(2)(-1)(2)-(1)(0)(1)=8-5+0-60+4-0=-53\)
29. What is the determinant of a triangular or diagonal matrix?
• Evaluate a triangular determinant.

The product of the diagonal entries. For an upper triangular matrix expand along the first column: only the top entry survives, and the same happens in each smaller determinant.

\(\begin{vmatrix}3&2&-3\\0&5&6\\0&0&6\end{vmatrix}=3\cdot5\cdot6=90\)
30. Solve \(\begin{vmatrix}x&3\\2&x+1\end{vmatrix}=0\).
• Find the values of \(x\) for which the matrix is singular.
\(x(x+1)-3(2)=0\Rightarrow x^{2}+x-6=0\Rightarrow(x+3)(x-2)=0\)

So \(x=-3\) or \(x=2\). These are the values of \(x\) for which the matrix is singular.

31. What happens if I multiply the entries of one row by the cofactors of another row?
• Show that the sum of products of entries of one row with cofactors of another row is zero.

The sum is zero: \(a_{11}A_{21}+a_{12}A_{22}+a_{13}A_{23}=0\). It equals the determinant of a matrix whose first and second rows are equal. This fact is exactly why \(A\,\operatorname{adj}A=|A|I\) has zeros off the diagonal (Section 2.5).

Adjoint and Inverse

How to undo a matrix, and how to know whether you can.

The inverse \(A^{-1}\) is the matrix that undoes \(A\): \(AA^{-1}=A^{-1}A=I\). A matrix can be undone only when it does not squash space, that is when \(|A|\ne0\).

Common mistake

Forgetting to transpose the cofactor matrix. If you only find the cofactors you have not found the adjoint. A second slip is using the wrong signs in the cofactor chessboard.

32. What is the adjoint of a matrix?
• Find \(\operatorname{adj}A\) for a \(3\times3\) matrix (Exercise 2.3).• Define the adjoint.

The adjoint \(\operatorname{adj}A\) is the transpose of the matrix of cofactors: find every cofactor \(A_{ij}\), put them in a matrix, then transpose.

\(A=\begin{bmatrix}1&2&3\\0&1&4\\5&6&0\end{bmatrix}\)
cofactor matrix \(=\begin{bmatrix}-24&20&-5\\18&-15&4\\5&-4&1\end{bmatrix}\)
\(\operatorname{adj}A=(\text{cofactor matrix})^{T}=\begin{bmatrix}-24&18&5\\20&-15&-4\\-5&4&1\end{bmatrix}\)
33. What is the shortcut for the adjoint of a \(2\times2\) matrix?
• Find the adjoint of a \(2\times2\) matrix.
\(\operatorname{adj}\begin{bmatrix}a&b\\c&d\end{bmatrix}=\begin{bmatrix}d&-b\\-c&a\end{bmatrix}\)

Swap the diagonal entries, change the sign of the other two. For \(\begin{bmatrix}3&5\\1&2\end{bmatrix}\): \(\operatorname{adj}=\begin{bmatrix}2&-5\\-1&3\end{bmatrix}\).

34. State and prove \(A\,(\operatorname{adj}A)=|A|\,I\).
• Prove that \(A(\operatorname{adj}A)=|A|I\).

The \((i,j)\) entry of \(A\,\operatorname{adj}A\) is \(\sum_k a_{ik}A_{jk}\). If \(i=j\) this is the expansion of \(|A|\) along row \(i\), so it equals \(|A|\). If \(i\ne j\) it is the sum of entries of row \(i\) times the cofactors of row \(j\), which is \(0\) (Section 2.3). So every diagonal entry is \(|A|\) and every other entry is \(0\).

\(A\,\operatorname{adj}A=\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}=|A|I\) with \(|A|=1\)
35. What are singular and non-singular matrices?
• Define a singular matrix.• For which \(k\) is \(\begin{bmatrix}k&2\\3&6\end{bmatrix}\) singular?

A square matrix is singular if \(|A|=0\) and non-singular if \(|A|\ne0\). Only a non-singular matrix has an inverse. A matrix with two proportional rows is always singular.

36. What is the inverse of a matrix and how do we find it?
• Find \(A^{-1}\) by the adjoint method (Exercise 2.3).• State the condition for the existence of the inverse.
\(A^{-1}=\dfrac{1}{|A|}\,\operatorname{adj}A\qquad(|A|\ne0)\)
For the matrix above \(|A|=1\), so \(A^{-1}=\begin{bmatrix}-24&18&5\\20&-15&-4\\-5&4&1\end{bmatrix}\)
For \(\begin{bmatrix}3&5\\1&2\end{bmatrix}\): \(|A|=1\) and \(A^{-1}=\begin{bmatrix}2&-5\\-1&3\end{bmatrix}\)
Always check

Multiply: \(AA^{-1}=I\). A 20-second check protects every later "hence" part.

37. State the properties of the inverse.
• Prove that \((AB)^{-1}=B^{-1}A^{-1}\).
  • \((A^{-1})^{-1}=A\)
  • \((AB)^{-1}=B^{-1}A^{-1}\) (the order reverses, just like the transpose)
  • \((A^{T})^{-1}=(A^{-1})^{T}\)
  • \(|A^{-1}|=\dfrac{1}{|A|}\)
  • \(|\operatorname{adj}A|=|A|^{\,n-1}\) for an \(n\times n\) matrix
  • If \(A\) is symmetric, so is \(A^{-1}\)
38. Prove \((AB)^{-1}=B^{-1}A^{-1}\) and \(|A^{-1}|=1/|A|\).
• Prove the reversal law for inverses.

\((AB)(B^{-1}A^{-1})=A(BB^{-1})A^{-1}=AIA^{-1}=AA^{-1}=I\), so \(B^{-1}A^{-1}\) is the inverse of \(AB\). From \(AA^{-1}=I\) and the product law \(|AB|=|A||B|\) (property P7, Section 2.4), \(|A||A^{-1}|=|I|=1\), so \(|A^{-1}|=\dfrac{1}{|A|}\).

39. Solve the matrix equation \(AX=B\).
• Find \(X\) if \(AX=B\).

If \(A\) is non-singular, multiply on the left by \(A^{-1}\): \(A^{-1}AX=A^{-1}B\), so \(X=A^{-1}B\). For \(XA=B\) the inverse goes on the right: \(X=BA^{-1}\).

\(\begin{bmatrix}3&5\\1&2\end{bmatrix}X=\begin{bmatrix}1\\2\end{bmatrix}\Rightarrow X=\begin{bmatrix}2&-5\\-1&3\end{bmatrix}\begin{bmatrix}1\\2\end{bmatrix}=\begin{bmatrix}-8\\5\end{bmatrix}\)

Properties of Determinants

Simplify a determinant, or prove an identity, without expanding the whole thing.

These properties are the fastest marks in the unit. The strategy is always the same: look (identical or proportional rows? a common factor?), simplify (create zeros with \(R_i\to R_i+kR_j\)), then expand.

Common mistake

Using \(|kA|=k|A|\). Also: swapping two rows changes the sign, so if you swap rows to simplify you must write a minus sign in front.

40. State the main properties of determinants.
• List the properties of determinants.• Which operations change the value of a determinant?
No.PropertyIn words
P1\(|A^{T}|=|A|\)rows and columns behave the same way: whatever is true for rows is true for columns
P2swap two rows (or columns) \(\Rightarrow\) \(|A|\) changes signone swap flips the sign; two swaps restore it
P3a common factor of one row can be taken outside the determinant\(|kR_1\ \ R_2\ \ R_3|=k\,|R_1\ \ R_2\ \ R_3|\)
P4two identical rows, or a zero row \(\Rightarrow\) \(|A|=0\)nothing to expand
P5one row a multiple of another \(\Rightarrow\) \(|A|=0\)proportional rows: P3 then P4
P6\(R_i\to R_i+kR_j\) leaves \(|A|\) unchangedthe safest way to create zeros
P7\(|AB|=|A||B|\) and \(|kA|=k^{n}|A|\) for an \(n\times n\) matrix\(k\) multiplies every row, so \(n\) factors of \(k\) come out
P8if every entry of one row is a sum of two terms, the determinant splits into two determinantsused in the identity questions
41. Prove P2, P3 and P6 for a \(2\times2\) determinant.
• Prove that a determinant with two identical rows is zero.
P2: \(\begin{vmatrix}c&d\\a&b\end{vmatrix}=cb-da=-(ad-bc)\)
P3: \(\begin{vmatrix}ka&kb\\c&d\end{vmatrix}=kad-kbc=k(ad-bc)\)
P6: \(\begin{vmatrix}a+kc&b+kd\\c&d\end{vmatrix}=(a+kc)d-(b+kd)c=ad-bc\) (the \(kcd\) terms cancel)

P4 follows from P2: if two rows are equal, swapping them changes nothing, yet by P2 it changes the sign, so \(D=-D\) and \(D=0\). P5 follows from P3 and P4: take the common multiplier out, leaving two identical rows.

42. Why is \(|kA|=k^{n}|A|\) and not \(k|A|\)?
• If \(A\) is \(3\times3\) and \(|A|=4\) find \(|2A|\).• Find \(|-A|\) for a \(3\times3\) matrix.

\(kA\) multiplies every row by \(k\). P3 takes \(k\) out of one row at a time, and there are \(n\) rows, so \(n\) factors of \(k\) come out. For a \(2\times2\) matrix \(|3A|=9|A|\); for a \(3\times3\) matrix \(|3A|=27|A|\).

43. Evaluate \(\begin{vmatrix}9&27&36\\18&54&24\\27&81&28\end{vmatrix}\) without expanding.
• Show that the determinant is zero without expanding.
Column 2 is \(3\times\) column 1: \(27=3(9)\), \(54=3(18)\), \(81=3(27)\)

Two proportional columns give a determinant equal to \(0\) (P5, applied to columns by P1). This is the "free gift" question: spot it and the marks cost ten seconds.

Answer: \(0\).

44. Simplify \(\begin{vmatrix}1&2&3\\2&5&7\\3&7&11\end{vmatrix}\) using row operations.
• Evaluate a \(3\times3\) determinant by creating zeros.
\(R_2\to R_2-2R_1\), \(R_3\to R_3-3R_1\) (P6 keeps the value):
\(\begin{vmatrix}1&2&3\\0&1&1\\0&1&2\end{vmatrix}\)
Expand along column 1: \(1\cdot\begin{vmatrix}1&1\\1&2\end{vmatrix}=1(2)-1(1)=1\)

Answer: \(1\).

45. Show that \(\begin{vmatrix}1&1&1\\a&b&c\\a^{2}&b^{2}&c^{2}\end{vmatrix}=(a-b)(b-c)(c-a)\).
• Prove the Vandermonde-type identity (Exercise 2.4 type).
\(C_1\to C_1-C_2\) and \(C_2\to C_2-C_3\) (P6):
\(\begin{vmatrix}0&0&1\\a - b&b - c&c\\a^{2} - b^{2}&b^{2} - c^{2}&c^{2}\end{vmatrix}\)
Factor \((a-b)\) from \(C_1\) and \((b-c)\) from \(C_2\) (P3): \((a-b)(b-c)\begin{vmatrix}0&0&1\\1&1&c\\a + b&b + c&c^{2}\end{vmatrix}\)
Expand along row 1: \((a-b)(b-c)\cdot1\cdot\big[(b+c)-(a+b)\big]=(a-b)(b-c)(c-a)\)
46. Show that the determinant of a \(3\times3\) skew-symmetric matrix is zero.
• Prove that \(|A|=0\) for a skew-symmetric matrix of odd order.

For a skew-symmetric \(A\), \(A^{T}=-A\). Take determinants: \(|A^{T}|=|-A|\). By P1 the left side is \(|A|\); by P7 the right side is \((-1)^{3}|A|=-|A|\). So \(|A|=-|A|\), hence \(|A|=0\). The same argument works for every odd order.

47. Verify \(|AB|=|A||B|\) for \(A=\begin{bmatrix}1&2\\3&4\end{bmatrix}\) and \(B=\begin{bmatrix}0&1\\1&0\end{bmatrix}\).
• Verify the product law of determinants.
\(|A|=-2\), \(|B|=-1\), so \(|A||B|=2\)
\(AB=\begin{bmatrix}2&1\\4&3\end{bmatrix}\) and \(|AB|=2(3)-1(4)=2\)

Row Operations, Echelon Form and Rank

The tool that gives the rank, the inverse and, next, the solution of a system.

Row operations are the three legal moves for tidying a matrix without changing what it says. Step through the examples below and watch the matrix become simpler one move at a time.

Interactive diagram (needs JavaScript).

Common mistake

Doing two operations that use the same row in one step (\(R_2\to R_2-2R_1\) and \(R_1\to R_1-R_2\) together). Do them one at a time, and remember that \(R_i\to kR_i\) needs \(k\ne0\).

48. What are the elementary row operations?
• Name the elementary row operations.
OperationNotationEffect
Interchange two rows\(R_i\leftrightarrow R_j\)reorders the equations
Multiply a row by a non-zero number\(R_i\to kR_i\) \((k\ne0)\)scales one equation
Add a multiple of one row to another\(R_i\to R_i+kR_j\)combines two equations

None of them changes the solutions of a system or the rank of the matrix. (Swapping rows is legitimate here because we are no longer computing \(|A|\).)

49. What is echelon form? What is reduced echelon form?
• Define echelon form.• Define reduced row echelon form.

A matrix is in echelon form if (1) every zero row is below every non-zero row and (2) the first non-zero entry (the leading entry) of each row is to the right of the leading entry of the row above. Reduced echelon form adds that each leading entry is \(1\) and is the only non-zero entry in its column.

echelon: \(\begin{bmatrix}1&2&3\\0&4&5\\0&0&6\end{bmatrix}\) reduced echelon: \(\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}\)
50. What is the rank of a matrix?
• Define the rank of a matrix.

The rank is the number of non-zero rows in an echelon form of the matrix: the number of independent rows. Facts: \(\operatorname{rank}A\le\min(m,n)\); a non-singular \(n\times n\) matrix has rank \(n\); the zero matrix has rank \(0\).

51. Find the rank of \(\begin{bmatrix}1&2&3\\2&4&6\\1&0&1\end{bmatrix}\).
• Find the rank by reducing to echelon form (Exercise 2.5 type).
\(A=\begin{bmatrix}1&2&3\\2&4&6\\1&0&1\end{bmatrix}\)
\(R_2\to R_2-2R_1:\ \begin{bmatrix}1&2&3\\0&0&0\\1&0&1\end{bmatrix}\)
\(R_3\to R_3-R_1:\ \begin{bmatrix}1&2&3\\0&0&0\\0&-2&-2\end{bmatrix}\)
\(R_2\leftrightarrow R_3:\ \begin{bmatrix}1&2&3\\0&-2&-2\\0&0&0\end{bmatrix}\)
Two non-zero rows remain, so \(\operatorname{rank}A=2\)

The second row was exactly twice the first, so it vanished. Answer: rank \(=2\), and the matrix is singular because the rank is less than \(3\).

52. Find \(A^{-1}\) by row operations, where \(A=\begin{bmatrix}1&2&1\\0&1&3\\3&7&7\end{bmatrix}\).
• Find the inverse using elementary row operations.• Write the augmented matrix \([A\,|\,I]\).

Write the augmented matrix \([A\,|\,I]\) and apply row operations until the left block becomes \(I\). The right block is then \(A^{-1}\). (This is the type of the model paper's 4-mark item.)

\([A\,|\,I]=\left[\begin{array}{ccc|ccc}1&2&1&1&0&0\\0&1&3&0&1&0\\3&7&7&0&0&1\end{array}\right]\)
\(R_3\to R_3-3R_1:\ \left[\begin{array}{ccc|ccc}1&2&1&1&0&0\\0&1&3&0&1&0\\0&1&4&-3&0&1\end{array}\right]\)
\(R_3\to R_3-R_2:\ \left[\begin{array}{ccc|ccc}1&2&1&1&0&0\\0&1&3&0&1&0\\0&0&1&-3&-1&1\end{array}\right]\)
\(R_1\to R_1-2R_2:\ \left[\begin{array}{ccc|ccc}1&0&-5&1&-2&0\\0&1&3&0&1&0\\0&0&1&-3&-1&1\end{array}\right]\)
\(R_2\to R_2-3R_3:\ \left[\begin{array}{ccc|ccc}1&0&-5&1&-2&0\\0&1&0&9&4&-3\\0&0&1&-3&-1&1\end{array}\right]\)
\(R_1\to R_1+5R_3:\ \left[\begin{array}{ccc|ccc}1&0&0&-14&-7&5\\0&1&0&9&4&-3\\0&0&1&-3&-1&1\end{array}\right]\)
So \(A^{-1}=\begin{bmatrix}-14&-7&5\\9&4&-3\\-3&-1&1\end{bmatrix}\)

Check: \(AA^{-1}=I\).

Marks

Write the setup \([A\,|\,I]\), name every operation, and finish with the inverse. If a row of zeros ever appears in the left block, the matrix is singular and has no inverse.

53. Why does \([A\,|\,I]\to[I\,|\,A^{-1}]\) work?
• Justify the row-operation method of finding the inverse.

Each row operation equals multiplying on the left by an elementary matrix \(E\). If \(E_k\cdots E_1A=I\) then \(E_k\cdots E_1=A^{-1}\). The same operations applied to \(I\) give \(E_k\cdots E_1I=A^{-1}\), which is what appears in the right block.

54. Which is better for a \(3\times3\) inverse: the adjoint method or row operations?
• Compare the two methods of finding an inverse.

For \(2\times2\) the adjoint shortcut is fastest. For \(3\times3\) the adjoint needs nine cofactors with their signs; row operations need a careful sequence but no sign table. If the question says "by row operations" you must use them; otherwise use the one in which you slip less.

Systems of Linear Equations

Consistent or not, and four ways to solve \(3\times3\) systems.

A system \(AX=B\) is a question about the machine \(A\): which input \(X\) produces the output \(B\)? In two unknowns each equation is a line and the solution is where the lines meet. Change the coefficients below and watch the answer, the lines and Cramer's rule agree.

Interactive diagram (needs JavaScript).

Common mistake

In Cramer's rule replacing the wrong column (use the column of the unknown you are finding) or dividing by \(|A_x|\) instead of \(|A|\). Also: an echelon form with a row like \([0\ 0\ 0\,|\,5]\) means inconsistent, not "answer \(0\)".

55. How do we write a system of equations as \(AX=B\)?
• Write the system in matrix form.• Define the augmented matrix.

Put the coefficients in \(A\), the unknowns in the column \(X\) and the right-hand sides in the column \(B\).

\(\left\{\begin{aligned}2x+y+z&=7\\x-y+2z&=5\\3x+2y-z&=4\end{aligned}\right.\ \Longleftrightarrow\ \begin{bmatrix}2&1&1\\1&-1&2\\3&2&-1\end{bmatrix}\begin{bmatrix}x\\y\\z\end{bmatrix}=\begin{bmatrix}7\\5\\4\end{bmatrix}\)

The augmented matrix \([A\,|\,B]\) writes \(A\) and \(B\) side by side: it is the system with the letters removed.

56. When is a system consistent or inconsistent?
• State the condition for a system to be inconsistent.• Give an example of a consistent and an inconsistent system.
ConditionMeaningSolutions
\(\operatorname{rank}A=\operatorname{rank}[A\,|\,B]=n\) (\(n\) = number of unknowns)consistentexactly one
\(\operatorname{rank}A=\operatorname{rank}[A\,|\,B]<n\)consistentinfinitely many
\(\operatorname{rank}A\ne\operatorname{rank}[A\,|\,B]\)inconsistentnone
\(x+y=2,\ 2x+2y=5\): the augmented matrix reduces to \(\begin{bmatrix}1&1&2\\0&0&1\end{bmatrix}\), whose last row says \(0=1\). Ranks \(1\ne2\): inconsistent.
\(x+y=2,\ 2x+2y=4\): the second row vanishes, both ranks are \(1<2\) unknowns: infinitely many solutions.
57. For which value of \(k\) is \(x+y=2\), \(2x+2y=k\) consistent?
• Find \(k\) for which the system has a solution.

\(R_2\to R_2-2R_1\) gives \(0=k-4\). The ranks agree only when \(k-4=0\), so the system is consistent exactly for \(k=4\) (infinitely many solutions) and inconsistent for every other \(k\).

58. Solve the system by the matrix inversion method.
• Solve \(AX=B\) using \(A^{-1}\) (SLO A-19).

Here \(A=\begin{bmatrix}2&1&1\\1&-1&2\\3&2&-1\end{bmatrix}\) and \(|A|=6\ne0\), so \(X=A^{-1}B\).

\(A^{-1}=\frac16\operatorname{adj}A=\begin{bmatrix}-\frac{1}{2}&\frac{1}{2}&\frac{1}{2}\\\frac{7}{6}&-\frac{5}{6}&-\frac{1}{2}\\\frac{5}{6}&-\frac{1}{6}&-\frac{1}{2}\end{bmatrix}\)
\(X=A^{-1}B=\begin{bmatrix}-\frac{1}{2}&\frac{1}{2}&\frac{1}{2}\\\frac{7}{6}&-\frac{5}{6}&-\frac{1}{2}\\\frac{5}{6}&-\frac{1}{6}&-\frac{1}{2}\end{bmatrix}\begin{bmatrix}7\\5\\4\end{bmatrix}=\begin{bmatrix}1\\2\\3\end{bmatrix}\)

So \(x=1\), \(y=2\), \(z=3\). Check in the first equation: \(2(1)+2+3=7\).

59. Solve the same system by Cramer's rule.
• State and apply Cramer's rule.

Replace the column of the unknown you want by \(B\) and divide by \(|A|\): \(x=\dfrac{|A_x|}{|A|}\), \(y=\dfrac{|A_y|}{|A|}\), \(z=\dfrac{|A_z|}{|A|}\). It needs \(|A|\ne0\).

\(|A|=6\)
\(|A_x|=\begin{vmatrix}7&1&1\\5&-1&2\\4&2&-1\end{vmatrix}=6\)
\(|A_y|=\begin{vmatrix}2&7&1\\1&5&2\\3&4&-1\end{vmatrix}=12\)
\(|A_z|=\begin{vmatrix}2&1&7\\1&-1&5\\3&2&4\end{vmatrix}=18\)
\(x=\frac66=1,\quad y=\frac{12}{6}=2,\quad z=\frac{18}{6}=3\)
60. Solve the same system by Gaussian elimination.
• Solve by Gaussian elimination (SLO A-20).

Reduce \([A\,|\,B]\) to echelon form, then find the unknowns from the last equation upward (back substitution).

\(\left[\begin{array}{ccc|c}2&1&1&7\\1&-1&2&5\\3&2&-1&4\end{array}\right]\)
\(R_1\leftrightarrow R_2:\ \left[\begin{array}{ccc|c}1&-1&2&5\\2&1&1&7\\3&2&-1&4\end{array}\right]\)
\(R_2\to R_2-2R_1:\ \left[\begin{array}{ccc|c}1&-1&2&5\\0&3&-3&-3\\3&2&-1&4\end{array}\right]\)
\(R_3\to R_3-3R_1:\ \left[\begin{array}{ccc|c}1&-1&2&5\\0&3&-3&-3\\0&5&-7&-11\end{array}\right]\)
\(R_2\to \frac{1}{3}R_2:\ \left[\begin{array}{ccc|c}1&-1&2&5\\0&1&-1&-1\\0&5&-7&-11\end{array}\right]\)
\(R_3\to R_3-5R_2:\ \left[\begin{array}{ccc|c}1&-1&2&5\\0&1&-1&-1\\0&0&-2&-6\end{array}\right]\)

The last row says \(-2z=-6\), so \(z=3\). The second row gives \(y-z=-1\), so \(y=2\). The first row gives \(x-y+2z=5\), so \(x=5+2-6=1\).

61. What is Gauss–Jordan elimination?
• Differentiate between Gaussian and Gauss–Jordan elimination.

Continue past echelon form until the left block is \(I\) (reduced echelon form). The solution can then be read off with no back substitution. Continuing from the echelon form above:

\(\left[\begin{array}{ccc|c}1&-1&2&5\\0&1&-1&-1\\0&0&-2&-6\end{array}\right]\)
\(R_3\to -\frac{1}{2}R_3:\ \left[\begin{array}{ccc|c}1&-1&2&5\\0&1&-1&-1\\0&0&1&3\end{array}\right]\)
\(R_2\to R_2+R_3:\ \left[\begin{array}{ccc|c}1&-1&2&5\\0&1&0&2\\0&0&1&3\end{array}\right]\)
\(R_1\to R_1-2R_3:\ \left[\begin{array}{ccc|c}1&-1&0&-1\\0&1&0&2\\0&0&1&3\end{array}\right]\)
\(R_1\to R_1+R_2:\ \left[\begin{array}{ccc|c}1&0&0&1\\0&1&0&2\\0&0&1&3\end{array}\right]\)

So \(x=1\), \(y=2\), \(z=3\).

62. What is a homogeneous system? When does it have non-trivial solutions?
• State the condition for non-trivial solutions of \(AX=O\).

\(AX=O\) (every right-hand side is \(0\)) is homogeneous. It is always consistent because \(X=O\) (the trivial solution) works. It has non-trivial solutions exactly when \(|A|=0\) (equivalently \(\operatorname{rank}A<n\)). If \(|A|\ne0\), Cramer's rule gives only \(x=y=z=0\).

63. Find \(\lambda\) so that \(x+2y-z=0\), \(2x+\lambda y+z=0\), \(x-y+2z=0\) has non-trivial solutions, and solve it.
• Find the parameter for non-trivial solutions and solve (the model paper's 8-mark type).
\(|A|=\begin{vmatrix}1&2&-1\\2&lam&1\\1&-1&2\end{vmatrix}=(2\lambda+1)-2(3)-(-2-\lambda)=3\lambda-3\)
Non-trivial solutions need \(|A|=0\), so \(\lambda=1\).

Now solve with \(\lambda=1\) by Gaussian elimination:

\(A=\begin{bmatrix}1&2&-1\\2&1&1\\1&-1&2\end{bmatrix}\)
\(R_2\to R_2-2R_1:\ \begin{bmatrix}1&2&-1\\0&-3&3\\1&-1&2\end{bmatrix}\)
\(R_3\to R_3-R_1:\ \begin{bmatrix}1&2&-1\\0&-3&3\\0&-3&3\end{bmatrix}\)

Rows 2 and 3 are identical, so one equation is redundant: \(\operatorname{rank}=2<3\). Let \(z=t\) (a free parameter). Then \(-3y+3z=0\) gives \(y=t\), and \(x+2y-z=0\) gives \(x=-t\). Solution: \((x,y,z)=(-t,\,t,\,t)\) for any real \(t\).

64. What if \(|A|=0\) in a non-homogeneous system?
• Discuss the solutions when the determinant of the coefficient matrix is zero.

Cramer's rule and the inverse method both fail. Use rank: reduce \([A\,|\,B]\) and compare \(\operatorname{rank}A\) with \(\operatorname{rank}[A\,|\,B]\). A zero row on the left with a non-zero right entry means no solution; zero rows on both sides mean infinitely many.

Applications of Matrices

Cipher, graphics, networks, seismic data and bills: translate the words into a matrix.

Application questions are not about harder algebra. They test whether you can turn a situation into a matrix and then use the tools you already have. Try the three simulators below.

Interactive diagram (needs JavaScript).

Interactive diagram (needs JavaScript).

Interactive diagram (needs JavaScript).

65. How does a matrix encode and decode a secret message?
• Encode a message using a key matrix (Exercise 2.6, Q9).• Decode using the inverse of the key (SLO A-21).

Replace letters by numbers (\(A=1,\dots,Z=26\), blank \(=0\)). Cut the message into blocks as long as the key's order (pad with \(0\) if needed) and write the blocks as the rows of a matrix \(M\). Multiply by an invertible key matrix \(K\) to get the coded matrix \(E=MK\). To decode multiply by \(K^{-1}\): \(EK^{-1}=M\). A key with \(|K|=\pm1\) has an inverse made of integers, so decoding returns whole numbers.

Message HELP: \(H=8,\ E=5,\ L=12,\ P=16\), blocks \([8\ 5]\) and \([12\ 16]\), so \(M=\begin{bmatrix}8&5\\12&16\end{bmatrix}\)
Key \(K=\begin{bmatrix}2&1\\1&1\end{bmatrix}\) with \(|K|=1\): \(E=MK=\begin{bmatrix}21&13\\40&28\end{bmatrix}\)
Decode with \(K^{-1}=\begin{bmatrix}1&-1\\-1&2\end{bmatrix}\): \(EK^{-1}=\begin{bmatrix}8&5\\12&16\end{bmatrix}=M\), which spells HELP
66. Why must the key matrix be invertible?
• Why can't a singular matrix be a cipher key?

If \(|K|=0\) there is no \(K^{-1}\), so nobody (including the receiver) could undo the coding. Two different messages could also give the same coded matrix.

67. How are matrices used to move a shape on a screen?
• Find the new coordinates of a triangle under a translation.• Use matrices to reflect a point.

Write the corners of a shape as columns of a matrix. Adding a matrix whose columns are all \((h,k)\) translates the shape by \(h\) across and \(k\) up. Multiplying by a \(2\times2\) matrix reflects, stretches or turns it.

Triangle \(P=\begin{bmatrix}1&4&2\\1&1&3\end{bmatrix}\), shift \((3,2)\): \(P+T=\begin{bmatrix}1&4&2\\1&1&3\end{bmatrix}+\begin{bmatrix}3&3&3\\2&2&2\end{bmatrix}=\begin{bmatrix}4&7&5\\3&3&5\end{bmatrix}\)
Reflection in the \(x\)-axis: \(\begin{bmatrix}1&0\\0&-1\end{bmatrix}\begin{bmatrix}1&4&2\\1&1&3\end{bmatrix}=\begin{bmatrix}1&4&2\\-1&-1&-3\end{bmatrix}\) (the \(y\)-coordinates change sign)
68. How do we find the new equation of a curve after shifting it?
• Find the equation of a curve after a translation (Exercise 2.6, Q10 to Q13).

A shift by \((h,k)\) is \(\begin{bmatrix}x'\\y'\end{bmatrix}=\begin{bmatrix}x\\y\end{bmatrix}+\begin{bmatrix}h\\k\end{bmatrix}\). Solve for the old coordinates, \(x=x'-h\) and \(y=y'-k\), and substitute into the old equation.

Move \(x^{2}+y^{2}-9=0\) five units down: \(h=0\), \(k=-5\), so \(x=x'\) and \(y=y'+5\)
\(x'^{2}+(y'+5)^{2}-9=0\Rightarrow x'^{2}+y'^{2}+10y'+16=0\)

The circle of radius \(3\) keeps its size; its centre moves from \((0,0)\) to \((0,-5)\). Check: the point \((3,0)\) moves to \((3,-5)\) and \(9+25-50+16=0\).

69. How do matrices describe a network of friends or roads?
• Find the number of friends of D.• Interpret the entries of \(A^{2}\).

An adjacency matrix has entry \(1\) where two people are linked and \(0\) otherwise. Row sums give the number of links of each person. Squaring counts two-step links: \((A^{2})_{ij}\) is the number of ways to go from \(i\) to \(j\) through exactly one middle person.

\(A=\begin{bmatrix}0&0&0&1\\0&0&1&1\\0&1&0&1\\1&1&1&0\end{bmatrix}\) (people A, B, C, D)
Links of D: row 4 sum \(=1+1+1+0=3\)
\(A^{2}=\begin{bmatrix}1&1&1&0\\1&2&1&1\\1&1&2&1\\0&1&1&3\end{bmatrix}\)
\((A^{2})_{23}=1\): B reaches C in exactly one two-step route (through D); \((A^{2})_{44}=3\): D has 3 two-step routes back to D, one through each friend
70. Seismic stimulus: a system \(AX=B\) with \(A=\begin{bmatrix}1&1&1\\0&2&0\\5&5&1\end{bmatrix}\) and \(B=\begin{bmatrix}6\\12\\0\end{bmatrix}\) (three stations measure wave amplitudes \(x,y,z\)). Answer four questions.
• Find \(|A|\), \(|A_z|\) and \(z\) (a stimulus-based MCQ set).• What happens to \(|A|\) if a row becomes a multiple of another?

Write \(A\), \(X\), \(B\) once and read every answer from it.

(a) \(|A|\): expand along row 2 (two zeros): \(2\cdot(+)\begin{vmatrix}1&1\\5&1\end{vmatrix}=2(1-5)=-8\)
(b) \(|A_z|\) (replace column 3 by \(B\)) \(=\begin{vmatrix}1&1&6\\0&2&12\\5&5&0\end{vmatrix}=-60\)
(c) \(z=\dfrac{|A_z|}{|A|}=\dfrac{-60}{-8}=7.5\)
(d) If row 3 becomes \([3\ 3\ 3]\) it is \(3\times\) row 1, so the rows are proportional and \(|A|=0\) with no calculation
71. A shop sells pens, notebooks and markers. Three bills: 3 pens + 2 notebooks + 1 marker = Rs 140; 1 pen + 1 notebook + 2 markers = Rs 110; 2 pens + 1 notebook + 1 marker = Rs 90. Find the prices.
• Form and solve a system from a word problem (SLO A-21).
Let pen \(=x\), notebook \(=y\), marker \(=z\): \(\begin{bmatrix}3&2&1\\1&1&2\\2&1&1\end{bmatrix}\begin{bmatrix}x\\y\\z\end{bmatrix}=\begin{bmatrix}140\\110\\90\end{bmatrix}\)
\(|A|=3(1-2)-2(1-4)+1(1-2)=2\)
\(x=\frac{|A_x|}{|A|}=\frac{20}{2}=10\), \(y=\frac{80}{2}=40\), \(z=\frac{60}{2}=30\)

A pen costs Rs 10, a notebook Rs 40 and a marker Rs 30. Check bill 1: \(30+80+30=140\).

72. Where else are matrices and determinants used in real life?
• Name some real-world applications of matrices.
AreaHow matrices are used
Computer graphics and gamesevery move, turn and zoom of a 2D or 3D object is a matrix product or sum
Encryptionkey matrices scramble and unscramble data
Search and social networksadjacency matrices count links and paths between people or pages
Engineeringcircuit currents and structural forces form \(AX=B\) systems
Economics and statisticsinput–output models and line-of-best-fit calculations use matrix equations
Earthquake and signal analysismany measurements are combined and solved as large linear systems

One-Page Cheat Sheet

Read this just before the exam.

Formula sheet of Unit 2
TopicResult
Order\(m\times n\) = rows \(\times\) columns; \(AB\) needs cols\((A)\) = rows\((B)\), order = rows\((A)\times\)cols\((B)\)
Transpose\((A^{T})^{T}=A\); \((A\pm B)^{T}=A^{T}\pm B^{T}\); \((AB)^{T}=B^{T}A^{T}\); symmetric \(A^{T}=A\), skew \(A^{T}=-A\) (diagonal \(0\))
Lawsassociative, distributive; \(AB\ne BA\) in general; \(AB=O\) does not force \(A=O\) or \(B=O\); \((A+B)^{2}=A^{2}+AB+BA+B^{2}\)
\(2\times2\) determinant\(\begin{vmatrix}a&b\\c&d\end{vmatrix}=ad-bc\)
Cofactor\(A_{ij}=(-1)^{i+j}M_{ij}\); \(|A|=\sum_j a_{ij}A_{ij}\) along any row or column; other row's cofactors give \(0\)
Propertiesswap rows: sign changes; factor out of a row; identical or proportional rows: \(0\); \(R_i\to R_i+kR_j\): unchanged; \(|A^{T}|=|A|\); \(|AB|=|A||B|\); \(|kA|=k^{n}|A|\)
Triangular\(|A|=\) product of the diagonal entries
Adjoint\(\operatorname{adj}A=(\text{cofactor matrix})^{T}\); \(A(\operatorname{adj}A)=|A|I\); \(\operatorname{adj}\begin{bmatrix}a&b\\c&d\end{bmatrix}=\begin{bmatrix}d&-b\\-c&a\end{bmatrix}\)
Inverse\(A^{-1}=\frac{1}{|A|}\operatorname{adj}A\) (\(|A|\ne0\)); \((AB)^{-1}=B^{-1}A^{-1}\); \(|A^{-1}|=\frac{1}{|A|}\); \(|\operatorname{adj}A|=|A|^{n-1}\)
Row operations\(R_i\leftrightarrow R_j\); \(R_i\to kR_i\) (\(k\ne0\)); \(R_i\to R_i+kR_j\). Rank = number of non-zero rows in echelon form. Inverse: \([A\,|\,I]\to[I\,|\,A^{-1}]\)
Consistency\(\operatorname{rank}A=\operatorname{rank}[A|B]=n\): unique; \(<n\): infinite; \(\operatorname{rank}A\ne\operatorname{rank}[A|B]\): none
Solving \(AX=B\)inversion \(X=A^{-1}B\); Cramer \(x=\frac{|A_x|}{|A|}\); Gauss (echelon, back substitution); Gauss–Jordan (reduced echelon)
Homogeneous \(AX=O\)always the trivial solution; non-trivial solutions iff \(|A|=0\)
Cipherencode \(E=MK\), decode \(EK^{-1}=M\); choose \(|K|=\pm1\); \(A=1,\dots,Z=26\), blank \(=0\)
Translation\(\begin{bmatrix}x'\\y'\end{bmatrix}=\begin{bmatrix}x\\y\end{bmatrix}+\begin{bmatrix}h\\k\end{bmatrix}\); substitute \(x=x'-h\), \(y=y'-k\) in the old equation
Networkentry \(1\) = linked; row sum = number of links; \((A^{2})_{ij}\) = number of two-step routes
Eight slips that cost marks

Unit 2 Vocabulary

Important terms you must know: learn these definitions for exam questions.

TermMeaning
MatrixA rectangular array of numbers in rows and columns; its order is rows \(\times\) columns.
Entry (element)A number in the matrix; \(a_{ij}\) sits in row \(i\), column \(j\).
Square matrixA matrix with as many rows as columns.
Diagonal, scalar, identitySquare matrices: zero off the diagonal; diagonal entries equal; diagonal entries all \(1\).
Triangular matrixSquare matrix with zeros below (upper) or above (lower) the main diagonal.
Transpose\(A^{T}\): the rows of \(A\) written as columns.
Symmetric, skew-symmetric\(A^{T}=A\); \(A^{T}=-A\) (zero diagonal).
DeterminantA number \(|A|\) attached to a square matrix; \(|A|=ad-bc\) for \(2\times2\).
Minor \(M_{ij}\)Determinant left after deleting row \(i\) and column \(j\).
Cofactor \(A_{ij}\)\((-1)^{i+j}M_{ij}\), the minor with its chessboard sign.
Singular, non-singular\(|A|=0\), no inverse; \(|A|\ne0\), has an inverse.
AdjointTranspose of the cofactor matrix; \(A\,\operatorname{adj}A=|A|I\).
Inverse\(A^{-1}\) with \(AA^{-1}=A^{-1}A=I\); equal to \(\frac{1}{|A|}\operatorname{adj}A\).
Elementary row operationSwap two rows, multiply a row by a non-zero number, or add a multiple of one row to another.
Echelon formZero rows at the bottom and each leading entry to the right of the one above.
Reduced echelon formEchelon form with every leading entry \(1\) and alone in its column.
RankThe number of non-zero rows in an echelon form.
Augmented matrix\([A\,|\,B]\): the coefficient matrix with the right-hand side attached.
Consistent, inconsistentA system with at least one solution; a system with none.
Homogeneous system\(AX=O\); always has the trivial solution \(X=O\).
Cramer's rule\(x=\frac{|A_x|}{|A|}\): replace the unknown's column by \(B\).
Gaussian, Gauss–Jordan eliminationReduce to echelon form and back-substitute; reduce to reduced echelon form and read the answer.
Key matrixThe invertible matrix used to encode a message; its inverse decodes it.
Adjacency matrixEntry \(1\) where two nodes are linked, \(0\) otherwise.

Free Exercise Samples

From every exercise of this chapter we have solved a few questions step by step — easy, medium and challenging — in the textbook's own method. The solutions of all the other questions are inside the W.H. Academy student dashboard.

Exercise 2.1 free sample: 6 questions

Ex 2.1 · Q1 (i) — State the order of \(A=\begin{bmatrix}1&3&0\\2&0&1\end{bmatrix}\).Basic
Question:

State the order of \(A=\begin{bmatrix}1&3&0\\2&0&1\end{bmatrix}\).

Count the rows: \(2\). Count the columns: \(3\).

Answer: order \(2\times3\) (rows first)

Ex 2.1 · Q3 (i) — Identify \(\begin{bmatrix}3&0&0\\0&1&0\\2&6&0\end{bmatrix}\).Basic
Question:

Identify the type of \(A=\begin{bmatrix}3&0&0\\0&1&0\\2&6&0\end{bmatrix}\).

All entries above the main diagonal are \(0\) (\(a_{12}=a_{13}=a_{23}=0\)), but the entries \(2\) and \(6\) below it are not.
So it is not diagonal.

Answer: lower triangular matrix

Ex 2.1 · Q3 (ii) — Identify \(\begin{bmatrix}-6&0&0\\0&-6&0\\0&0&-6\end{bmatrix}\).Basic
Question:

Identify the type of \(B=\begin{bmatrix}-6&0&0\\0&-6&0\\0&0&-6\end{bmatrix}\).

Off-diagonal entries are \(0\), so it is diagonal.
All diagonal entries are equal (\(-6\)), so it is scalar. It is not the identity because \(-6\ne1\).

Answer: scalar matrix (also diagonal)

Ex 2.1 · Q4 (i) — Find the transpose of \(\begin{bmatrix}2&0\\\sqrt{5}&6\\1&9\end{bmatrix}\).Basic
Question:

Find the transpose of \(A=\begin{bmatrix}2&0\\\sqrt{5}&6\\1&9\end{bmatrix}\).

Write the rows as columns: the \(3\times2\) matrix becomes \(2\times3\).
\(A^{T}=\begin{bmatrix}2&\sqrt{5}&1\\0&6&9\end{bmatrix}\)

Answer: \(A^{T}=\begin{bmatrix}2&\sqrt{5}&1\\0&6&9\end{bmatrix}\)

Ex 2.1 · Q4 (iv) — Is \(\begin{bmatrix}0&1&9\\-1&0&5\\-9&-5&0\end{bmatrix}\) symmetric or skew-symmetric?Intermediate
Question:

Show whether \(D=\begin{bmatrix}0&1&9\\-1&0&5\\-9&-5&0\end{bmatrix}\) is symmetric or skew-symmetric.

\(D^{T}=\begin{bmatrix}0&-1&-9\\1&0&-5\\9&5&0\end{bmatrix}\)
\(-D=\begin{bmatrix}0&-1&-9\\1&0&-5\\9&5&0\end{bmatrix}\)
So \(D^{T}=-D\). (The diagonal is zero, as it must be.)

Answer: \(D\) is skew-symmetric

Ex 2.1 · Q4 (v) — Is \(\begin{bmatrix}3&-6&9\\-6&2&0\\9&0&0\end{bmatrix}\) symmetric or skew-symmetric?Intermediate
Question:

Show whether \(E=\begin{bmatrix}3&-6&9\\-6&2&0\\9&0&0\end{bmatrix}\) is symmetric or skew-symmetric.

\(E^{T}=\begin{bmatrix}3&-6&9\\-6&2&0\\9&0&0\end{bmatrix}=E\) (each entry equals its mirror image across the diagonal)

Answer: \(E\) is symmetric

More questions of Exercise 2.1 — full step-by-step solutions are inside the W.H. Academy student dashboard.

Exercise 2.2 free sample: 6 questions

Ex 2.2 · Q1 (i) — Construct the \(2\times2\) matrix with \(a_{ij}=\frac{i+3j}{2}\).Basic
Question:

Construct the \(2\times2\) matrix \(A=[a_{ij}]\) with \(a_{ij}=\frac{i+3j}{2}\).

\(a_{11}=\frac{1+3}{2}=2\), \(a_{12}=\frac{1+6}{2}=\frac{7}{2}\)
\(a_{21}=\frac{2+3}{2}=\frac{5}{2}\), \(a_{22}=\frac{2+6}{2}=4\)

Answer: \(A=\begin{bmatrix}2&\frac{7}{2}\\\frac{5}{2}&4\end{bmatrix}\)

Ex 2.2 · Q4 (iv) — If \(\begin{bmatrix}xy&4\\0&x + y\end{bmatrix}=\begin{bmatrix}8&z\\t&6\end{bmatrix}\) find \(z\), \(t\) and \(x^{2}+y^{2}\).Intermediate
Question:

If \(\begin{bmatrix}xy&4\\0&x + y\end{bmatrix}=\begin{bmatrix}8&z\\t&6\end{bmatrix}\), find \(z\), \(t\) and \(x^{2}+y^{2}\).

Equal matrices have equal entries: \(xy=8\), \(z=4\), \(t=0\), \(x+y=6\).
\(x^{2}+y^{2}=(x+y)^{2}-2xy=36-16=20\)

Answer: \(z=4\), \(t=0\), \(x^{2}+y^{2}=20\)

Ex 2.2 · Q6 — Find \(\alpha,\beta\) if \(A^{2}+\alpha I=\beta A\) for \(A=\begin{bmatrix}2&1\\3&-3\end{bmatrix}\).Intermediate
Question:

For \(A=\begin{bmatrix}2&1\\3&-3\end{bmatrix}\) find \(\alpha\) and \(\beta\) so that \(A^{2}+\alpha I=\beta A\).

\(A^{2}=\begin{bmatrix}2&1\\3&-3\end{bmatrix}\begin{bmatrix}2&1\\3&-3\end{bmatrix}=\begin{bmatrix}7&-1\\-3&12\end{bmatrix}\)
\(A^{2}+\alpha I=\begin{bmatrix}7+\alpha&-1\\-3&12+\alpha\end{bmatrix}\) and \(\beta A=\begin{bmatrix}2\beta&\beta\\3\beta&-3\beta\end{bmatrix}\)
Compare entries: \(-1=\beta\) (and \(-3=3\beta\) agrees). Then \(7+\alpha=2\beta=-2\) gives \(\alpha=-9\). Check: \(12+\alpha=3=-3\beta\).

Answer: \(\alpha=-9\), \(\beta=-1\)

Ex 2.2 · Q9 — If \(AB=B\) and \(BA=A\), show that \(A^{2}+B^{2}=A+B\).Advance
Question:

If \(AB=B\) and \(BA=A\), show that \(A^{2}+B^{2}=A+B\).

Replace one factor \(A\) by \(BA\) and use associativity: \(A^{2}=A(BA)=(AB)A=BA=A\)
\(B^{2}=B(AB)=(BA)B=AB=B\)
Adding: \(A^{2}+B^{2}=A+B\)

Answer: \(A^{2}+B^{2}=A+B\) (proved)

Ex 2.2 · Q10 — Is \(A=[a_{ij}]\) with \(a_{ij}=i^{2}-j^{2}\) (\(3\times3\)) symmetric or skew-symmetric?Intermediate
Question:

Let \(A=[a_{ij}]\) be \(3\times3\) with \(a_{ij}=i^{2}-j^{2}\). Is it symmetric or skew-symmetric?

\(A=\begin{bmatrix}0&-3&-8\\3&0&-5\\8&5&0\end{bmatrix}\)
\(a_{ji}=j^{2}-i^{2}=-(i^{2}-j^{2})=-a_{ij}\), so \(A^{T}=-A\)

Answer: skew-symmetric

Ex 2.2 · Q12 — Find \(X\) and \(Y\) if \(2X-Y=\begin{bmatrix}1&6&-3\\2&1&7\end{bmatrix}\) and \(X+3Y=\begin{bmatrix}4&3&2\\1&-3&0\end{bmatrix}\).Advance
Question:

Find the matrices \(X\) and \(Y\) if \(2X-Y=\begin{bmatrix}1&6&-3\\2&1&7\end{bmatrix}\) and \(X+3Y=\begin{bmatrix}4&3&2\\1&-3&0\end{bmatrix}\).

Multiply the first equation by \(3\) and add the second: \(7X=3\cdot\begin{bmatrix}1&6&-3\\2&1&7\end{bmatrix}+\begin{bmatrix}4&3&2\\1&-3&0\end{bmatrix}=\begin{bmatrix}7&21&-7\\7&0&21\end{bmatrix}\)
\(X=\frac17(3P+Q)=\begin{bmatrix}1&3&-1\\1&0&3\end{bmatrix}\)
From the first equation \(Y=2X-P=\begin{bmatrix}1&0&1\\0&-1&-1\end{bmatrix}\)
Check: \(X+3Y=\begin{bmatrix}4&3&2\\1&-3&0\end{bmatrix}\)

Answer: \(X=\begin{bmatrix}1&3&-1\\1&0&3\end{bmatrix}\), \(Y=\begin{bmatrix}1&0&1\\0&-1&-1\end{bmatrix}\)

More questions of Exercise 2.2 — full step-by-step solutions are inside the W.H. Academy student dashboard.

Exercise 2.3 free sample: 6 questions

Ex 2.3 · Q1 (i) — Evaluate \(\begin{vmatrix}2&3&1\\1&-1&2\\4&1&2\end{vmatrix}\).Basic
Question:

Evaluate \(\begin{vmatrix}2&3&1\\1&-1&2\\4&1&2\end{vmatrix}\).

Expand along row 1: \(2\begin{vmatrix}-1&2\\1&2\end{vmatrix}-3\begin{vmatrix}1&2\\4&2\end{vmatrix}+1\begin{vmatrix}1&-1\\4&1\end{vmatrix}\)
\(=2(-4)-3(-6)+1(5)=-8+18+5\)

Answer: \(15\)

Ex 2.3 · Q1 (iii) — Evaluate \(\begin{vmatrix}i&3&- 2 i\\1&3&4\\0&1&2\end{vmatrix}\) (complex entries).Intermediate
Question:

Evaluate \(\begin{vmatrix}i&3&- 2 i\\1&3&4\\0&1&2\end{vmatrix}\).

Expand along column 1 (it has a zero): \(i\begin{vmatrix}3&4\\1&2\end{vmatrix}-1\begin{vmatrix}3&-2i\\1&2\end{vmatrix}+0\)
\(=i(6-4)-(6+2i)=2i-6-2i\)

Answer: \(-6\)

Ex 2.3 · Q2 (i) — Find \(|A|\) by cofactors for \(A=\begin{bmatrix}3&2&3\\4&5&1\\2&1&0\end{bmatrix}\).Basic
Question:

Find \(|A|\) by the cofactor method for \(A=\begin{bmatrix}3&2&3\\4&5&1\\2&1&0\end{bmatrix}\).

Expand along row 3, because \(a_{33}=0\): \(|A|=2A_{31}+1A_{32}+0A_{33}\)
\(A_{31}=+\begin{vmatrix}2&3\\5&1\end{vmatrix}=-13\), \(A_{32}=-\begin{vmatrix}3&3\\4&1\end{vmatrix}=9\)
\(|A|=2(-13)+1(9)=-17\)

Answer: \(-17\)

Ex 2.3 · Q3 (i) — Is \(\begin{bmatrix}3&1&2\\2&3&1\\-4&1&-3\end{bmatrix}\) singular or non-singular?Intermediate
Question:

Is \(A=\begin{bmatrix}3&1&2\\2&3&1\\-4&1&-3\end{bmatrix}\) singular or non-singular?

\(|A|=3\big(3(-3)-1(1)\big)-1\big(2(-3)-1(-4)\big)+2\big(2(1)-3(-4)\big)\)
\(=3(-10)-1(-2)+2(14)=-30+2+28=0\)

Answer: \(|A|=0\), so \(A\) is singular

Ex 2.3 · Q4 (i) — Find \(\lambda\) if \(\begin{bmatrix}lam&1&3\\2&1&8\\0&3&1\end{bmatrix}\) is singular.Intermediate
Question:

Find \(\lambda\) so that \(A=\begin{bmatrix}lam&1&3\\2&1&8\\0&3&1\end{bmatrix}\) is singular.

Singular means \(|A|=0\). Expand along row 1: \(\lambda(1-24)-1(2-0)+3(6-0)=-23\lambda-2+18=16-23\lambda\)
\(16-23\lambda=0\)

Answer: \(\lambda=\frac{16}{23}\)

Ex 2.3 · Q5 (i) — Find \(A^{-1}\) for \(A=\begin{bmatrix}1&-1&1\\2&1&-1\\1&-2&-1\end{bmatrix}\) by the adjoint method and verify.Advance
Question:

Find \(A^{-1}\) for \(A=\begin{bmatrix}1&-1&1\\2&1&-1\\1&-2&-1\end{bmatrix}\) using the adjoint, and verify.

\(|A|=1(-1-2)+1(-2+1)+1(-4-1)=-9\ne0\), so \(A^{-1}\) exists
Cofactors give \(\begin{bmatrix}-3&1&-5\\-3&-2&1\\0&3&3\end{bmatrix}\); transpose: \(\operatorname{adj}A=\begin{bmatrix}-3&-3&0\\1&-2&3\\-5&1&3\end{bmatrix}\)
\(A^{-1}=\frac{1}{-9}\operatorname{adj}A=\begin{bmatrix}\frac{1}{3}&\frac{1}{3}&0\\-\frac{1}{9}&\frac{2}{9}&-\frac{1}{3}\\\frac{5}{9}&-\frac{1}{9}&-\frac{1}{3}\end{bmatrix}\)
Verify: \(AA^{-1}=\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}=I\)

Answer: \(A^{-1}=\begin{bmatrix}\frac{1}{3}&\frac{1}{3}&0\\-\frac{1}{9}&\frac{2}{9}&-\frac{1}{3}\\\frac{5}{9}&-\frac{1}{9}&-\frac{1}{3}\end{bmatrix}\)

More questions of Exercise 2.3 — full step-by-step solutions are inside the W.H. Academy student dashboard.

Exercise 2.4 free sample: 5 questions

Ex 2.4 · Q1 (i) — Show without expanding that \(\begin{vmatrix}9&27&36\\18&54&24\\27&81&28\end{vmatrix}=0\).Basic
Question:

Without expanding, show that \(\begin{vmatrix}9&27&36\\18&54&24\\27&81&28\end{vmatrix}=0\).

Column 2 is \(3\times\) column 1 (\(27=3\cdot9\), \(54=3\cdot18\), \(81=3\cdot27\))
Two proportional columns make the determinant \(0\)

Answer: \(0\)

Ex 2.4 · Q1 (iii) — Show that \(\begin{vmatrix}0&- a&- b\\a&0&- c\\b&c&0\end{vmatrix}=0\).Basic
Question:

Without expanding, show that \(\begin{vmatrix}0&- a&- b\\a&0&- c\\b&c&0\end{vmatrix}=0\).

The matrix is skew-symmetric: \(A^{T}=-A\)
\(|A|=|A^{T}|=|-A|=(-1)^{3}|A|=-|A|\), so \(2|A|=0\)

Answer: \(|A|=0\)

Ex 2.4 · Q2 (vi) — Show that \(\begin{vmatrix}3 a&1&2 a + 1\\2 a + 1&1&a + 2\\3&1&2\end{vmatrix}=(a-1)(a-2)\).Intermediate
Question:

Show that \(\begin{vmatrix}3 a&1&2 a + 1\\2 a + 1&1&a + 2\\3&1&2\end{vmatrix}=(a-1)(a-2)\).

\(C_3\to C_3-C_1\) gives column 3 as \((1-a,\ 1-a,\ -1)\)
\(R_1\to R_1-R_2\): row 1 becomes \((a-1,\ 0,\ 0)\)
Expand along row 1: \((a-1)\begin{vmatrix}1&1-a\\1&-1\end{vmatrix}=(a-1)\big(-1-(1-a)\big)=(a-1)(a-2)\)

Answer: \((a-1)(a-2)\) (proved)

Ex 2.4 · Q2 (i) — Show that \(\begin{vmatrix}x&y&x + y\\y&x + y&x\\x + y&x&y\end{vmatrix}=-2(x^{3}+y^{3})\).Advance
Question:

Show that \(\begin{vmatrix}x&y&x + y\\y&x + y&x\\x + y&x&y\end{vmatrix}=-2(x^{3}+y^{3})\).

\(C_1\to C_1+C_2+C_3\): every entry of column 1 becomes \(2(x+y)\). Take it out (P3):
\(2(x+y)\begin{vmatrix}1&y&x+y\\1&x+y&x\\1&x&y\end{vmatrix}\)
\(R_2\to R_2-R_1\), \(R_3\to R_3-R_1\): the new rows are \((0,\ x,\ -y)\) and \((0,\ x-y,\ -x)\)
Expand along column 1: \(2(x+y)\big[-x^{2}+y(x-y)\big]=-2(x+y)(x^{2}-xy+y^{2})=-2(x^{3}+y^{3})\)

Answer: \(-2(x^{3}+y^{3})\) (proved)

Ex 2.4 · Q2 (vii) — Show that \(\begin{vmatrix}b + c&a&a\\b&a + c&b\\c&c&a + b\end{vmatrix}=4abc\).Advance
Question:

Show that \(\begin{vmatrix}b + c&a&a\\b&a + c&b\\c&c&a + b\end{vmatrix}=4abc\).

\(R_1\to R_1-R_2-R_3\): the new first row is \((0,\ -2c,\ -2b)\)
Expand along row 1: \(+2c\big[b(a+b)-bc\big]\ -\ 2b\big[bc-c(c+a)\big]\)
\(=2bc(a+b-c)-2bc(b-c-a)=2bc\cdot2a=4abc\)

Answer: \(4abc\) (proved)

More questions of Exercise 2.4 — full step-by-step solutions are inside the W.H. Academy student dashboard.

Exercise 2.5 free sample: 6 questions

Ex 2.5 · Q1 (ii) — Reduce \(\begin{bmatrix}2&1\\3&2\\1&9\end{bmatrix}\) to echelon form and state its rank.Basic
Question:

Reduce \(\begin{bmatrix}2&1\\3&2\\1&9\end{bmatrix}\) to echelon form and find its rank.

\(\begin{bmatrix}2&1\\3&2\\1&9\end{bmatrix}\)
\(R_1\leftrightarrow R_3:\ \begin{bmatrix}1&9\\3&2\\2&1\end{bmatrix}\)
\(R_2\to R_2-3R_1:\ \begin{bmatrix}1&9\\0&-25\\2&1\end{bmatrix}\)
\(R_3\to R_3-2R_1:\ \begin{bmatrix}1&9\\0&-25\\0&-17\end{bmatrix}\)
\(R_2\to -\frac{1}{25}R_2:\ \begin{bmatrix}1&9\\0&1\\0&-17\end{bmatrix}\)
\(R_3\to R_3+17R_2:\ \begin{bmatrix}1&9\\0&1\\0&0\end{bmatrix}\)
The number of non-zero rows is \(2\)

Answer: rank \(=2\)

Ex 2.5 · Q1 (i) — Reduce \(\begin{bmatrix}1&3&5\\-6&8&3\\-4&6&5\end{bmatrix}\) to echelon form and state its rank.Intermediate
Question:

Reduce \(\begin{bmatrix}1&3&5\\-6&8&3\\-4&6&5\end{bmatrix}\) to echelon form and find its rank.

\(\begin{bmatrix}1&3&5\\-6&8&3\\-4&6&5\end{bmatrix}\)
\(R_2\to R_2+6R_1:\ \begin{bmatrix}1&3&5\\0&26&33\\-4&6&5\end{bmatrix}\)
\(R_3\to R_3+4R_1:\ \begin{bmatrix}1&3&5\\0&26&33\\0&18&25\end{bmatrix}\)
\(R_2\to \frac{1}{26}R_2:\ \begin{bmatrix}1&3&5\\0&1&\frac{33}{26}\\0&18&25\end{bmatrix}\)
\(R_3\to R_3-18R_2:\ \begin{bmatrix}1&3&5\\0&1&\frac{33}{26}\\0&0&\frac{28}{13}\end{bmatrix}\)
\(R_3\to \frac{13}{28}R_3:\ \begin{bmatrix}1&3&5\\0&1&\frac{33}{26}\\0&0&1\end{bmatrix}\)
The number of non-zero rows is \(3\)

Answer: rank \(=3\)

Ex 2.5 · Q2 (iii) — Find the rank of \(\begin{bmatrix}3&2&4\\2&1&6\\4&-1&0\end{bmatrix}\).Intermediate
Question:

Find the rank of \(\begin{bmatrix}3&2&4\\2&1&6\\4&-1&0\end{bmatrix}\).

\(\begin{bmatrix}3&2&4\\2&1&6\\4&-1&0\end{bmatrix}\)
\(R_1\to \frac{1}{3}R_1:\ \begin{bmatrix}1&\frac{2}{3}&\frac{4}{3}\\2&1&6\\4&-1&0\end{bmatrix}\)
\(R_2\to R_2-2R_1:\ \begin{bmatrix}1&\frac{2}{3}&\frac{4}{3}\\0&-\frac{1}{3}&\frac{10}{3}\\4&-1&0\end{bmatrix}\)
\(R_3\to R_3-4R_1:\ \begin{bmatrix}1&\frac{2}{3}&\frac{4}{3}\\0&-\frac{1}{3}&\frac{10}{3}\\0&-\frac{11}{3}&-\frac{16}{3}\end{bmatrix}\)
\(R_2\to -3R_2:\ \begin{bmatrix}1&\frac{2}{3}&\frac{4}{3}\\0&1&-10\\0&-\frac{11}{3}&-\frac{16}{3}\end{bmatrix}\)
\(R_3\to R_3+\frac{11}{3}R_2:\ \begin{bmatrix}1&\frac{2}{3}&\frac{4}{3}\\0&1&-10\\0&0&-42\end{bmatrix}\)
\(R_3\to -\frac{1}{42}R_3:\ \begin{bmatrix}1&\frac{2}{3}&\frac{4}{3}\\0&1&-10\\0&0&1\end{bmatrix}\)
The number of non-zero rows is \(3\)

Answer: rank \(=3\)

Ex 2.5 · Q2 (i) — Find the rank of \(\begin{bmatrix}5&9&3\\3&-5&6\\2&10&6\end{bmatrix}\).Intermediate
Question:

Find the rank of \(\begin{bmatrix}5&9&3\\3&-5&6\\2&10&6\end{bmatrix}\).

\(\begin{bmatrix}5&9&3\\3&-5&6\\2&10&6\end{bmatrix}\)
\(R_1\to \frac{1}{5}R_1:\ \begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\3&-5&6\\2&10&6\end{bmatrix}\)
\(R_2\to R_2-3R_1:\ \begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\0&-\frac{52}{5}&\frac{21}{5}\\2&10&6\end{bmatrix}\)
\(R_3\to R_3-2R_1:\ \begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\0&-\frac{52}{5}&\frac{21}{5}\\0&\frac{32}{5}&\frac{24}{5}\end{bmatrix}\)
\(R_2\to -\frac{5}{52}R_2:\ \begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\0&1&-\frac{21}{52}\\0&\frac{32}{5}&\frac{24}{5}\end{bmatrix}\)
\(R_3\to R_3-\frac{32}{5}R_2:\ \begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\0&1&-\frac{21}{52}\\0&0&\frac{96}{13}\end{bmatrix}\)
\(R_3\to \frac{13}{96}R_3:\ \begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\0&1&-\frac{21}{52}\\0&0&1\end{bmatrix}\)
The number of non-zero rows is \(3\)

Answer: rank \(=3\)

Ex 2.5 · Q3 (i) — Find \(A^{-1}\) by row operations for \(A=\begin{bmatrix}0&-1&-1\\-1&3&0\\1&-1&4\end{bmatrix}\).Advance
Question:

Find \(A^{-1}\) by row operations where \(A=\begin{bmatrix}0&-1&-1\\-1&3&0\\1&-1&4\end{bmatrix}\).

\(|A|=-2\ne0\), so the inverse exists. Start from \([A\,|\,I]\):
\(\left[\begin{array}{ccc|ccc}0&-1&-1&1&0&0\\-1&3&0&0&1&0\\1&-1&4&0&0&1\end{array}\right]\)
\(R_1\leftrightarrow R_2:\ \left[\begin{array}{ccc|ccc}-1&3&0&0&1&0\\0&-1&-1&1&0&0\\1&-1&4&0&0&1\end{array}\right]\)
\(R_1\to -1R_1:\ \left[\begin{array}{ccc|ccc}1&-3&0&0&-1&0\\0&-1&-1&1&0&0\\1&-1&4&0&0&1\end{array}\right]\)
\(R_3\to R_3-R_1:\ \left[\begin{array}{ccc|ccc}1&-3&0&0&-1&0\\0&-1&-1&1&0&0\\0&2&4&0&1&1\end{array}\right]\)
\(R_2\to -1R_2:\ \left[\begin{array}{ccc|ccc}1&-3&0&0&-1&0\\0&1&1&-1&0&0\\0&2&4&0&1&1\end{array}\right]\)
\(R_1\to R_1+3R_2:\ \left[\begin{array}{ccc|ccc}1&0&3&-3&-1&0\\0&1&1&-1&0&0\\0&2&4&0&1&1\end{array}\right]\)
\(R_3\to R_3-2R_2:\ \left[\begin{array}{ccc|ccc}1&0&3&-3&-1&0\\0&1&1&-1&0&0\\0&0&2&2&1&1\end{array}\right]\)
\(R_3\to \frac{1}{2}R_3:\ \left[\begin{array}{ccc|ccc}1&0&3&-3&-1&0\\0&1&1&-1&0&0\\0&0&1&1&\frac{1}{2}&\frac{1}{2}\end{array}\right]\)
\(R_1\to R_1-3R_3:\ \left[\begin{array}{ccc|ccc}1&0&0&-6&-\frac{5}{2}&-\frac{3}{2}\\0&1&1&-1&0&0\\0&0&1&1&\frac{1}{2}&\frac{1}{2}\end{array}\right]\)
\(R_2\to R_2-R_3:\ \left[\begin{array}{ccc|ccc}1&0&0&-6&-\frac{5}{2}&-\frac{3}{2}\\0&1&0&-2&-\frac{1}{2}&-\frac{1}{2}\\0&0&1&1&\frac{1}{2}&\frac{1}{2}\end{array}\right]\)
\(A^{-1}=\begin{bmatrix}-6&-\frac{5}{2}&-\frac{3}{2}\\-2&-\frac{1}{2}&-\frac{1}{2}\\1&\frac{1}{2}&\frac{1}{2}\end{bmatrix}\) (check: \(AA^{-1}=I\))

Answer: \(A^{-1}=\begin{bmatrix}-6&-\frac{5}{2}&-\frac{3}{2}\\-2&-\frac{1}{2}&-\frac{1}{2}\\1&\frac{1}{2}&\frac{1}{2}\end{bmatrix}\)

Ex 2.5 · Q3 (ii) — Find \(A^{-1}\) by row operations for \(A=\begin{bmatrix}1&2&5\\-3&0&1\\4&2&5\end{bmatrix}\).Advance
Question:

Find \(A^{-1}\) by row operations where \(A=\begin{bmatrix}1&2&5\\-3&0&1\\4&2&5\end{bmatrix}\).

\(|A|=6\ne0\). Start from \([A\,|\,I]\):
\(\left[\begin{array}{ccc|ccc}1&2&5&1&0&0\\-3&0&1&0&1&0\\4&2&5&0&0&1\end{array}\right]\)
\(R_2\to R_2+3R_1:\ \left[\begin{array}{ccc|ccc}1&2&5&1&0&0\\0&6&16&3&1&0\\4&2&5&0&0&1\end{array}\right]\)
\(R_3\to R_3-4R_1:\ \left[\begin{array}{ccc|ccc}1&2&5&1&0&0\\0&6&16&3&1&0\\0&-6&-15&-4&0&1\end{array}\right]\)
\(R_2\to \frac{1}{6}R_2:\ \left[\begin{array}{ccc|ccc}1&2&5&1&0&0\\0&1&\frac{8}{3}&\frac{1}{2}&\frac{1}{6}&0\\0&-6&-15&-4&0&1\end{array}\right]\)
\(R_1\to R_1-2R_2:\ \left[\begin{array}{ccc|ccc}1&0&-\frac{1}{3}&0&-\frac{1}{3}&0\\0&1&\frac{8}{3}&\frac{1}{2}&\frac{1}{6}&0\\0&-6&-15&-4&0&1\end{array}\right]\)
\(R_3\to R_3+6R_2:\ \left[\begin{array}{ccc|ccc}1&0&-\frac{1}{3}&0&-\frac{1}{3}&0\\0&1&\frac{8}{3}&\frac{1}{2}&\frac{1}{6}&0\\0&0&1&-1&1&1\end{array}\right]\)
\(R_1\to R_1+\frac{1}{3}R_3:\ \left[\begin{array}{ccc|ccc}1&0&0&-\frac{1}{3}&0&\frac{1}{3}\\0&1&\frac{8}{3}&\frac{1}{2}&\frac{1}{6}&0\\0&0&1&-1&1&1\end{array}\right]\)
\(R_2\to R_2-\frac{8}{3}R_3:\ \left[\begin{array}{ccc|ccc}1&0&0&-\frac{1}{3}&0&\frac{1}{3}\\0&1&0&\frac{19}{6}&-\frac{5}{2}&-\frac{8}{3}\\0&0&1&-1&1&1\end{array}\right]\)
\(A^{-1}=\begin{bmatrix}-\frac{1}{3}&0&\frac{1}{3}\\\frac{19}{6}&-\frac{5}{2}&-\frac{8}{3}\\-1&1&1\end{bmatrix}\) (check: \(AA^{-1}=I\))

Answer: \(A^{-1}=\begin{bmatrix}-\frac{1}{3}&0&\frac{1}{3}\\\frac{19}{6}&-\frac{5}{2}&-\frac{8}{3}\\-1&1&1\end{bmatrix}\)

More questions of Exercise 2.5 — full step-by-step solutions are inside the W.H. Academy student dashboard.

Exercise 2.6 free sample: 7 questions

Ex 2.6 · Q1 (i) — Find the non-trivial solutions of the homogeneous system \(2x_1 - 3x_2 + 4x_3=0, x_1 - 2x_2 + 3x_3=0, 4x_1 + x_2 - 6x_3=0\).Intermediate
Question:

Show that the homogeneous system \(2x_1 - 3x_2 + 4x_3=0, x_1 - 2x_2 + 3x_3=0, 4x_1 + x_2 - 6x_3=0\) has non-trivial solutions and find them.

\(|A|=\begin{vmatrix}2&-3&4\\1&-2&3\\4&1&-6\end{vmatrix}=0\), so non-trivial solutions exist. Reduce the coefficient matrix:
\(\begin{bmatrix}2&-3&4\\1&-2&3\\4&1&-6\end{bmatrix}\)
\(R_1\leftrightarrow R_2:\ \begin{bmatrix}1&-2&3\\2&-3&4\\4&1&-6\end{bmatrix}\)
\(R_2\to R_2-2R_1:\ \begin{bmatrix}1&-2&3\\0&1&-2\\4&1&-6\end{bmatrix}\)
\(R_3\to R_3-4R_1:\ \begin{bmatrix}1&-2&3\\0&1&-2\\0&9&-18\end{bmatrix}\)
\(R_3\to R_3-9R_2:\ \begin{bmatrix}1&-2&3\\0&1&-2\\0&0&0\end{bmatrix}\)
Rank \(2<3\): one unknown is free. Put \(x_3=t\); back substitution gives \(x_2=2t\) and \(x_1=t\).

Answer: \((x_1,x_2,x_3)=(t,\ 2t,\ t)\) for any real \(t\)

Ex 2.6 · Q2 (i) — Find \(\lambda\) for which \(2x_1-\lambda x_2+x_3=0,\ 2x_1+3x_2-x_3=0,\ 3x_1-2x_2+4x_3=0\) has non-trivial solutions, then solve.Intermediate
Question:

Find \(\lambda\) so that the system \(2x_1-\lambda x_2+x_3=0\), \(2x_1+3x_2-x_3=0\), \(3x_1-2x_2+4x_3=0\) has non-trivial solutions, and solve it.

\(|A|=\begin{vmatrix}2&- lam&1\\2&3&-1\\3&-2&4\end{vmatrix}=2(12-2)+\lambda(8+3)+1(-4-9)=11\lambda+7\)
\(|A|=0\) gives \(\lambda=-\frac{7}{11}\). With this value reduce the coefficient matrix:
\(\begin{bmatrix}2&\frac{7}{11}&1\\2&3&-1\\3&-2&4\end{bmatrix}\)
\(R_1\to \frac{1}{2}R_1:\ \begin{bmatrix}1&\frac{7}{22}&\frac{1}{2}\\2&3&-1\\3&-2&4\end{bmatrix}\)
\(R_2\to R_2-2R_1:\ \begin{bmatrix}1&\frac{7}{22}&\frac{1}{2}\\0&\frac{26}{11}&-2\\3&-2&4\end{bmatrix}\)
\(R_3\to R_3-3R_1:\ \begin{bmatrix}1&\frac{7}{22}&\frac{1}{2}\\0&\frac{26}{11}&-2\\0&-\frac{65}{22}&\frac{5}{2}\end{bmatrix}\)
\(R_2\to \frac{11}{26}R_2:\ \begin{bmatrix}1&\frac{7}{22}&\frac{1}{2}\\0&1&-\frac{11}{13}\\0&-\frac{65}{22}&\frac{5}{2}\end{bmatrix}\)
\(R_3\to R_3+\frac{65}{22}R_2:\ \begin{bmatrix}1&\frac{7}{22}&\frac{1}{2}\\0&1&-\frac{11}{13}\\0&0&0\end{bmatrix}\)
Rank \(2<3\); let \(x_3=t\) (free). Solving upward gives \((x_1,x_2,x_3)=(-10, 11, 13)\) for any real multiple, i.e. proportional to \((-10, 11, 13)\).

Answer: \(\lambda=-\frac{7}{11}\); solutions \((x_1,x_2,x_3)=s\,(-10, 11, 13)\), \(s\in\mathbb{R}\)

Ex 2.6 · Q4 (i) — Solve \(x_1+x_2+2x_3=8\), \(-x_1-2x_2+3x_3=1\), \(3x_1-7x_2+4x_3=10\) by Cramer's rule.Intermediate
Question:

Solve by Cramer's rule: \(x_1+x_2+2x_3=8\), \(-x_1-2x_2+3x_3=1\), \(3x_1-7x_2+4x_3=10\).

\(|A|=\begin{vmatrix}1&1&2\\-1&-2&3\\3&-7&4\end{vmatrix}=52\ne0\)
\(|A_1|=\begin{vmatrix}8&1&2\\1&-2&3\\10&-7&4\end{vmatrix}=156\), \(|A_2|=\begin{vmatrix}1&8&2\\-1&1&3\\3&10&4\end{vmatrix}=52\), \(|A_3|=\begin{vmatrix}1&1&8\\-1&-2&1\\3&-7&10\end{vmatrix}=104\)
\(x_1=\frac{156}{52}=3,\quad x_2=\frac{52}{52}=1,\quad x_3=\frac{104}{52}=2\)

Answer: \((x_1,x_2,x_3)=(3,\ 1,\ 2)\)

Ex 2.6 · Q5 (ii) — Solve \(x+2y-3z=5\), \(2x-3y+2z=1\), \(-x+2y-5z=-3\) by the matrix inversion method.Advance
Question:

Solve by the matrix inversion method: \(x+2y-3z=5\), \(2x-3y+2z=1\), \(-x+2y-5z=-3\).

\(A=\begin{bmatrix}1&2&-3\\2&-3&2\\-1&2&-5\end{bmatrix}\), \(B=\begin{bmatrix}5\\1\\-3\end{bmatrix}\), \(|A|=24\)
$A^{-1}=\frac{1}{24}\operatorname{adj}A=\begin{bmatrix}\frac{11}{24}&\frac{1}{6}&-\frac{5}{24}\\\frac{1}{3}&-\frac{1}{3}&-\frac{1}{3}\\\frac{1}{24}&-\frac{1}{6}&-\frac{7}{24}\end{bmatrix}
$X=A^{-1}B=\begin{bmatrix}\frac{11}{24}&\frac{1}{6}&-\frac{5}{24}\\\frac{1}{3}&-\frac{1}{3}&-\frac{1}{3}\\\frac{1}{24}&-\frac{1}{6}&-\frac{7}{24}\end{bmatrix}\begin{bmatrix}5\\1\\-3\end{bmatrix}=\begin{bmatrix}\frac{37}{12}\\\frac{7}{3}\\\frac{11}{12}\end{bmatrix}

Answer: \(x=\frac{37}{12}\), \(y=\frac{7}{3}\), \(z=\frac{11}{12}\)

Ex 2.6 · Q3 (i) — Solve \(2x+3y+4z=2\), \(2x+y+z=5\), \(3x-2y+z=-3\) by Gaussian elimination.Advance
Question:

Solve by Gaussian elimination: \(2x+3y+4z=2\), \(2x+y+z=5\), \(3x-2y+z=-3\).

Reduce \([A\,|\,B]\) to echelon form:
\(\left[\begin{array}{ccc|c}2&3&4&2\\2&1&1&5\\3&-2&1&-3\end{array}\right]\)
\(R_1\to \frac{1}{2}R_1:\ \left[\begin{array}{ccc|c}1&\frac{3}{2}&2&1\\2&1&1&5\\3&-2&1&-3\end{array}\right]\)
\(R_2\to R_2-2R_1:\ \left[\begin{array}{ccc|c}1&\frac{3}{2}&2&1\\0&-2&-3&3\\3&-2&1&-3\end{array}\right]\)
\(R_3\to R_3-3R_1:\ \left[\begin{array}{ccc|c}1&\frac{3}{2}&2&1\\0&-2&-3&3\\0&-\frac{13}{2}&-5&-6\end{array}\right]\)
\(R_2\to -\frac{1}{2}R_2:\ \left[\begin{array}{ccc|c}1&\frac{3}{2}&2&1\\0&1&\frac{3}{2}&-\frac{3}{2}\\0&-\frac{13}{2}&-5&-6\end{array}\right]\)
\(R_3\to R_3+\frac{13}{2}R_2:\ \left[\begin{array}{ccc|c}1&\frac{3}{2}&2&1\\0&1&\frac{3}{2}&-\frac{3}{2}\\0&0&\frac{19}{4}&-\frac{63}{4}\end{array}\right]\)
\(R_3\to \frac{4}{19}R_3:\ \left[\begin{array}{ccc|c}1&\frac{3}{2}&2&1\\0&1&\frac{3}{2}&-\frac{3}{2}\\0&0&1&-\frac{63}{19}\end{array}\right]\)
Back substitution: \(z=-\frac{63}{19}\), then \(y=\frac{66}{19}\), then \(x=\frac{46}{19}\).

Answer: \(x=\frac{46}{19}\), \(y=\frac{66}{19}\), \(z=-\frac{63}{19}\)

Ex 2.6 · Q9 — Encode PAKISTAN with the key \(K=\begin{bmatrix}2&1\\1&1\end{bmatrix}\) and decode it again.Intermediate
Question:

Encode the word PAKISTAN with the key matrix \(K=\begin{bmatrix}2&1\\1&1\end{bmatrix}\) and then decode it.

Letters to numbers (\(A=1,\dots,Z=26\)): P=16, A=1, K=11, I=9, S=19, T=20, A=1, N=14. Blocks of 2: \([16\ 1]\), \([11\ 9]\), \([19\ 20]\), \([1\ 14]\)
Encode (block \(\times K\)): \([16\ 1]K=[33\ 17]\), \([11\ 9]K=[31\ 20]\), \([19\ 20]K=[58\ 39]\), \([1\ 14]K=[16\ 15]\)
Decode with \(K^{-1}=\begin{bmatrix}1&-1\\-1&2\end{bmatrix}\): each coded block times \(K^{-1}\) returns the original, for example \([33\ 17]K^{-1}=[16\ 1]\)

Answer: coded message: \([33\ 17]\) \([31\ 20]\) \([58\ 39]\) \([16\ 15]\); decoding returns PAKISTAN

Ex 2.6 · Q10 — Find the new equation of \(x^{2}+y^{2}-9=0\) after shifting it 5 units down.Basic
Question:

The curve \(x^{2}+y^{2}-9=0\) is shifted 5 units down. Find its new equation.

Shift \((h,k)=(0,-5)\): \(x'=x\), \(y'=y-5\), so \(x=x'\) and \(y=y'+5\)
\(x'^{2}+(y'+5)^{2}-9=0\ \Rightarrow\ x'^{2}+y'^{2}+10y'+16=0\)

Answer: \(x^{2}+y^{2}+10y+16=0\)

More questions of Exercise 2.6 — full step-by-step solutions are inside the W.H. Academy student dashboard.

Review Exercise free sample: 4 questions

Review · Q1 (v) — If \(A\) is \(3\times3\) and \(|A|=3\), then \(|\operatorname{adj}A|\) is (a) 3 (b) 6 (c) 9 (d) 27.Basic
Question:

If \(A\) is a \(3\times3\) matrix with \(|A|=3\), find \(|\operatorname{adj}A|\).

\(|\operatorname{adj}A|=|A|^{\,n-1}\) with \(n=3\)
\(=3^{2}\)

Answer: (c) \(9\)

Review · Q1 (x) — If a system has infinitely many solutions, which method can still be used? (a) inversion (b) Cramer's rule (c) Gauss–Jordan (d) all of these.Intermediate
Question:

A system has infinitely many solutions. Which method still works?

Infinitely many solutions means \(|A|=0\).
Inversion needs \(A^{-1}\) and Cramer's rule divides by \(|A|\), so both fail.
Gaussian or Gauss–Jordan elimination uses only row operations and still works.

Answer: (c) Gauss–Jordan method

Review · Q2 — Find \(A_{13},A_{23},A_{33}\) and \(|A|\) for \(A=\begin{bmatrix}1&2&0\\-3&4&9\\2&1&6\end{bmatrix}\).Intermediate
Question:

For \(A=\begin{bmatrix}1&2&0\\-3&4&9\\2&1&6\end{bmatrix}\) find \(A_{13}\), \(A_{23}\), \(A_{33}\) and then \(|A|\).

\(A_{13}=+\begin{vmatrix}-3&4\\2&1\end{vmatrix}=-3-8=-11\)
\(A_{23}=-\begin{vmatrix}1&2\\2&1\end{vmatrix}=-(1-4)=3\)
\(A_{33}=+\begin{vmatrix}1&2\\-3&4\end{vmatrix}=4+6=10\)
Expand along column 3: \(|A|=0(-11)+9(3)+6(10)=87\)

Answer: \(A_{13}=-11\), \(A_{23}=3\), \(A_{33}=10\), \(|A|=87\)

Review · Q3 — Show that \(\begin{vmatrix}a + 1&l&l\\l&a + 1&l\\l&l&a + 1\end{vmatrix}=(a+1+2l)(a+1-l)^{2}\).Advance
Question:

Show, without expanding fully, that \(\begin{vmatrix}a + 1&l&l\\l&a + 1&l\\l&l&a + 1\end{vmatrix}=(a+1+2l)(a+1-l)^{2}\).

\(C_1\to C_1+C_2+C_3\): every entry of column 1 becomes \(a+1+2l\). Take it out:
\((a+1+2l)\begin{vmatrix}1&l&l\\1&a+1&l\\1&l&a+1\end{vmatrix}\)
\(R_2\to R_2-R_1\), \(R_3\to R_3-R_1\): the rows become \((0,\ a+1-l,\ 0)\) and \((0,\ 0,\ a+1-l)\)
The determinant is now triangular: \((a+1+2l)\cdot1\cdot(a+1-l)(a+1-l)\)

Answer: \((a+1+2l)(a+1-l)^{2}\) (proved)

More questions of Review Exercise — full step-by-step solutions are inside the W.H. Academy student dashboard.

Want every question solved? Enrol in W.H. Academy

Concepts are free here. Enrolled students get the complete working for every exercise question of this chapter, and much more:

  • Step-by-step solutions of every exercise question, shown inside the student dashboard
  • 8 learning games with 2,400 chapter questions, plus XP, coins and ranks
  • Recorded lectures, monthly mock tests and WhatsApp support (Plus and Max plans)
  • Live online classes, arranged with the academy as you need them

Play the Learning Game

2,400 questions in 8 game modes on Matrices and Determinants. No login required to try. Instant results.

Play the Learning Game

Want Live Explanation of Matrices and Determinants?

Join W.H. Academy: Live tutoring, recorded lectures and full chapter solutions for FBISE and Punjab Board students in Rawalpindi and online across Pakistan.

All Class 11 Math Chapters