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.
Master Roadmap — tick each topic when you can do it without looking
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?
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).
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
| Section | What | Marks | Rules |
|---|---|---|---|
| A — MCQs | 64 questions of 0.75 (40 direct and 24 stimulus-based: 6 scenarios of 4 questions) | 48 | compulsory |
| B — Short Response | 7 questions of 4 marks, each with an internal choice (OR) | 28 | all parts |
| C — Extended Response | 3 questions of 8 marks, each with an internal choice (OR) | 24 | all questions |
| Total | 100 |
| SLO | What you must do | Level |
|---|---|---|
| A-15 | Add, subtract and multiply matrices (real and complex entries) | Formative: a tool, not a stand-alone question |
| A-16 | Find determinants by cofactors and properties | Summative, Understanding |
| A-17 | Find the inverse and rank by row operations | Summative, Understanding |
| A-18 | Explain consistent and inconsistent systems with examples | Summative, Understanding |
| A-19 | Solve \(3\times3\) non-homogeneous systems by inversion and Cramer's rule | Summative, Understanding |
| A-20 | Solve \(3\times3\) homogeneous systems by Gaussian elimination | Summative, Understanding |
| A-21 | Real-world applications: graphics, encryption, seismic analysis, social networks | Summative, Application |
How the paper is set
2. What did the board's model paper ask from this unit?
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.
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?
| SLO | Likely form | Marks (estimate) |
|---|---|---|
| A-16 | MCQ: a cofactor or minor, a value, a property that decides the answer | 0.75 |
| A-17 | SRQ: inverse or rank by row operations | 4 |
| A-18 | MCQ: when is a system inconsistent? | 0.75 |
| A-19 | Stimulus MCQs or an SRQ: Cramer or inversion | 0.75 to 4 |
| A-20 | ERQ: homogeneous system with a parameter | 8 |
| A-21 | Stimulus set: seismic, network, graphics or cipher | 4 × 0.75 |
4. What habits does a paper setter rely on in this unit?
- Procedure over proof. Most items are formula plus arithmetic, so speed and accuracy are the real test.
- "Hence" chains. A later part uses an earlier answer (find \(A^{-1}\), hence solve). Verify the first part with \(AA^{-1}=I\).
- 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.
- 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.
- Stimulus sets use one data block four times. Write the matrix \(A\), \(X\) and \(B\) once and read all four answers from it.
- 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 unit | Book exercise | What it trains |
|---|---|---|
| 2.1 Matrices and types | Exercise 2.1 | Order, types, transpose, symmetric and skew-symmetric. |
| 2.2 Matrix algebra | Exercise 2.2 | Sums, products, the laws, and powers of matrices. |
| 2.3 Determinants, adjoint, inverse | Exercise 2.3 | Minors, cofactors, \(2\times2\) and \(3\times3\) values, singular matrices, adjoint and inverse. |
| 2.4 Properties | Exercise 2.4 | Simplifying or proving determinant identities without expanding. |
| 2.5 Row operations and rank | Exercise 2.5 | Echelon and reduced echelon form, rank, inverse by row operations. |
| 2.6 and 2.7 Systems and applications | Exercise 2.6 | Homogeneous systems, parameters, Gauss, Cramer, inversion, then cipher and translation (Q9 to Q13). |
| Whole unit | Review Exercise | MCQs 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.
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?
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.
7. What does the notation \(a_{ij}\) mean?
\(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.
| Type | Definition | Example |
|---|---|---|
| Row matrix | one row (\(1\times n\)) | \(\begin{bmatrix}2&0&1\end{bmatrix}\) |
| Column matrix | one column (\(m\times1\)) | \(\begin{bmatrix}3\\2\\8\end{bmatrix}\) |
| Square matrix | rows = 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 matrix | square, all entries off the main diagonal are \(0\) | \(\begin{bmatrix}1&0\\0&2\end{bmatrix}\) |
| Scalar matrix | diagonal 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 triangular | square, all entries below the diagonal are \(0\) | \(\begin{bmatrix}1&2&3\\0&4&5\\0&0&6\end{bmatrix}\) |
| Lower triangular | square, 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?
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).
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?
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^{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?
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}\)).
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.
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).
\(\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}\).
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).
\((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?
Add or subtract entry by entry, and only when the matrices have the same order. A scalar \(k\) multiplies every entry.
\(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?
\(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.
16. How is the product found? Give a worked example.
The \((i,j)\) entry of \(AB\) is row \(i\) of \(A\) times column \(j\) of \(B\): multiply the matching entries and add.
\((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.
In general no. Even when both products exist they can differ.
\(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?
Yes. Unlike real numbers, \(AB=O\) does not force \(A=O\) or \(B=O\).
So you cannot "cancel" a matrix factor: \(AB=AC\) does not imply \(B=C\) in general.
19. Which laws of algebra do matrices obey?
| Law | Holds? |
|---|---|
| \(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}\).
\(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?
The same way. Remember \(i^{2}=-1\).
22. Prove that \((AB)^{T}=B^{T}A^{T}\).
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).
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?
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.
24. How do you evaluate a \(2\times2\) determinant?
25. What are the minor and cofactor of an entry?
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:
26. How do you expand a \(3\times3\) determinant?
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}\).
\(=2(6)+1(-5)+3(-20)=12-5-20=-53\)
27. Which row or column should I expand along?
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?
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.
29. What is the determinant of a triangular or diagonal matrix?
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.
30. Solve \(\begin{vmatrix}x&3\\2&x+1\end{vmatrix}=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?
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\).
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?
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.
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?
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\).
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\).
35. What are singular and non-singular matrices?
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?
For \(\begin{bmatrix}3&5\\1&2\end{bmatrix}\): \(|A|=1\) and \(A^{-1}=\begin{bmatrix}2&-5\\-1&3\end{bmatrix}\)
Multiply: \(AA^{-1}=I\). A 20-second check protects every later "hence" part.
37. State the properties of the inverse.
- \((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|\).
\((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\).
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}\).
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.
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.
| No. | Property | In words |
|---|---|---|
| P1 | \(|A^{T}|=|A|\) | rows and columns behave the same way: whatever is true for rows is true for columns |
| P2 | swap two rows (or columns) \(\Rightarrow\) \(|A|\) changes sign | one swap flips the sign; two swaps restore it |
| P3 | a common factor of one row can be taken outside the determinant | \(|kR_1\ \ R_2\ \ R_3|=k\,|R_1\ \ R_2\ \ R_3|\) |
| P4 | two identical rows, or a zero row \(\Rightarrow\) \(|A|=0\) | nothing to expand |
| P5 | one row a multiple of another \(\Rightarrow\) \(|A|=0\) | proportional rows: P3 then P4 |
| P6 | \(R_i\to R_i+kR_j\) leaves \(|A|\) unchanged | the 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 |
| P8 | if every entry of one row is a sum of two terms, the determinant splits into two determinants | used in the identity questions |
41. Prove P2, P3 and P6 for a \(2\times2\) determinant.
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|\)?
\(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.
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.
\(\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)\).
\(\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.
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}\).
\(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).
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?
| Operation | Notation | Effect |
|---|---|---|
| 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?
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.
50. What is 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}\).
\(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}\).
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.)
\(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\).
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?
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?
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).
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\)?
Put the coefficients in \(A\), the unknowns in the column \(X\) and the right-hand sides in the column \(B\).
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?
| Condition | Meaning | Solutions |
|---|---|---|
| \(\operatorname{rank}A=\operatorname{rank}[A\,|\,B]=n\) (\(n\) = number of unknowns) | consistent | exactly one |
| \(\operatorname{rank}A=\operatorname{rank}[A\,|\,B]<n\) | consistent | infinitely many |
| \(\operatorname{rank}A\ne\operatorname{rank}[A\,|\,B]\) | inconsistent | none |
\(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?
\(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.
Here \(A=\begin{bmatrix}2&1&1\\1&-1&2\\3&2&-1\end{bmatrix}\) and \(|A|=6\ne0\), so \(X=A^{-1}B\).
\(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.
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_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.
Reduce \([A\,|\,B]\) to echelon form, then find the unknowns from the last equation upward (back substitution).
\(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?
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:
\(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?
\(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.
Non-trivial solutions need \(|A|=0\), so \(\lambda=1\).
Now solve with \(\lambda=1\) by Gaussian elimination:
\(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?
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?
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.
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?
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?
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.
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?
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.
\(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?
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.
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.
Write \(A\), \(X\), \(B\) once and read every answer from it.
(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.
\(|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?
| Area | How matrices are used |
|---|---|
| Computer graphics and games | every move, turn and zoom of a 2D or 3D object is a matrix product or sum |
| Encryption | key matrices scramble and unscramble data |
| Search and social networks | adjacency matrices count links and paths between people or pages |
| Engineering | circuit currents and structural forces form \(AX=B\) systems |
| Economics and statistics | input–output models and line-of-best-fit calculations use matrix equations |
| Earthquake and signal analysis | many measurements are combined and solved as large linear systems |
One-Page Cheat Sheet
Read this just before the exam.
| Topic | Result |
|---|---|
| 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\)) |
| Laws | associative, 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\) |
| Properties | swap 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\) |
| Cipher | encode \(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 |
| Network | entry \(1\) = linked; row sum = number of links; \((A^{2})_{ij}\) = number of two-step routes |
- Writing the order as columns \(\times\) rows.
- Using \(|kA|=k|A|\) instead of \(k^{n}|A|\).
- Forgetting to transpose the cofactor matrix when forming \(\operatorname{adj}A\).
- Wrong cofactor signs (the chessboard \(+-+\)).
- Assuming \(AB=BA\), or cancelling a matrix factor.
- Changing the wrong column in Cramer's rule, or dividing by \(|A_x|\).
- Calling a row like \([0\ 0\ 0\,|\,5]\) a "zero solution" instead of inconsistent.
- Not checking \(AA^{-1}=I\) in a "hence" question.
Unit 2 Vocabulary
Important terms you must know: learn these definitions for exam questions.
| Term | Meaning |
|---|---|
| Matrix | A 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 matrix | A matrix with as many rows as columns. |
| Diagonal, scalar, identity | Square matrices: zero off the diagonal; diagonal entries equal; diagonal entries all \(1\). |
| Triangular matrix | Square 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). |
| Determinant | A 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. |
| Adjoint | Transpose 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 operation | Swap two rows, multiply a row by a non-zero number, or add a multiple of one row to another. |
| Echelon form | Zero rows at the bottom and each leading entry to the right of the one above. |
| Reduced echelon form | Echelon form with every leading entry \(1\) and alone in its column. |
| Rank | The number of non-zero rows in an echelon form. |
| Augmented matrix | \([A\,|\,B]\): the coefficient matrix with the right-hand side attached. |
| Consistent, inconsistent | A 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 elimination | Reduce to echelon form and back-substitute; reduce to reduced echelon form and read the answer. |
| Key matrix | The invertible matrix used to encode a message; its inverse decodes it. |
| Adjacency matrix | Entry \(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
State the order of \(A=\begin{bmatrix}1&3&0\\2&0&1\end{bmatrix}\).
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
Identify the type of \(A=\begin{bmatrix}3&0&0\\0&1&0\\2&6&0\end{bmatrix}\).
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
Identify the type of \(B=\begin{bmatrix}-6&0&0\\0&-6&0\\0&0&-6\end{bmatrix}\).
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
Find the transpose of \(A=\begin{bmatrix}2&0\\\sqrt{5}&6\\1&9\end{bmatrix}\).
\(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
Show whether \(D=\begin{bmatrix}0&1&9\\-1&0&5\\-9&-5&0\end{bmatrix}\) is symmetric or skew-symmetric.
\(-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
Show whether \(E=\begin{bmatrix}3&-6&9\\-6&2&0\\9&0&0\end{bmatrix}\) is symmetric or skew-symmetric.
Answer: \(E\) is symmetric
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
Construct the \(2\times2\) matrix \(A=[a_{ij}]\) with \(a_{ij}=\frac{i+3j}{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
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}\).
\(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
For \(A=\begin{bmatrix}2&1\\3&-3\end{bmatrix}\) find \(\alpha\) and \(\beta\) so that \(A^{2}+\alpha I=\beta A\).
\(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
If \(AB=B\) and \(BA=A\), show that \(A^{2}+B^{2}=A+B\).
\(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
Let \(A=[a_{ij}]\) be \(3\times3\) with \(a_{ij}=i^{2}-j^{2}\). Is it symmetric or skew-symmetric?
\(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
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}\).
\(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}\)
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
Evaluate \(\begin{vmatrix}2&3&1\\1&-1&2\\4&1&2\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
Evaluate \(\begin{vmatrix}i&3&- 2 i\\1&3&4\\0&1&2\end{vmatrix}\).
\(=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
Find \(|A|\) by the cofactor method for \(A=\begin{bmatrix}3&2&3\\4&5&1\\2&1&0\end{bmatrix}\).
\(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
Is \(A=\begin{bmatrix}3&1&2\\2&3&1\\-4&1&-3\end{bmatrix}\) singular or non-singular?
\(=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
Find \(\lambda\) so that \(A=\begin{bmatrix}lam&1&3\\2&1&8\\0&3&1\end{bmatrix}\) is singular.
\(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
Find \(A^{-1}\) for \(A=\begin{bmatrix}1&-1&1\\2&1&-1\\1&-2&-1\end{bmatrix}\) using the adjoint, and verify.
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}\)
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
Without expanding, show that \(\begin{vmatrix}9&27&36\\18&54&24\\27&81&28\end{vmatrix}=0\).
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
Without expanding, show that \(\begin{vmatrix}0&- a&- b\\a&0&- c\\b&c&0\end{vmatrix}=0\).
\(|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
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)\).
\(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
Show that \(\begin{vmatrix}x&y&x + y\\y&x + y&x\\x + y&x&y\end{vmatrix}=-2(x^{3}+y^{3})\).
\(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
Show that \(\begin{vmatrix}b + c&a&a\\b&a + c&b\\c&c&a + b\end{vmatrix}=4abc\).
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)
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
Reduce \(\begin{bmatrix}2&1\\3&2\\1&9\end{bmatrix}\) to echelon form and find its rank.
\(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
Reduce \(\begin{bmatrix}1&3&5\\-6&8&3\\-4&6&5\end{bmatrix}\) to echelon form and find its rank.
\(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
Find the rank of \(\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
Find the rank of \(\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
Find \(A^{-1}\) by row operations where \(A=\begin{bmatrix}0&-1&-1\\-1&3&0\\1&-1&4\end{bmatrix}\).
\(\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
Find \(A^{-1}\) by row operations where \(A=\begin{bmatrix}1&2&5\\-3&0&1\\4&2&5\end{bmatrix}\).
\(\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}\)
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
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.
\(\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
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|=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
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_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
Solve by the matrix inversion method: \(x+2y-3z=5\), \(2x-3y+2z=1\), \(-x+2y-5z=-3\).
$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
Solve by Gaussian elimination: \(2x+3y+4z=2\), \(2x+y+z=5\), \(3x-2y+z=-3\).
\(\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
Encode the word PAKISTAN with the key matrix \(K=\begin{bmatrix}2&1\\1&1\end{bmatrix}\) and then decode it.
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
The curve \(x^{2}+y^{2}-9=0\) is shifted 5 units down. Find its new equation.
\(x'^{2}+(y'+5)^{2}-9=0\ \Rightarrow\ x'^{2}+y'^{2}+10y'+16=0\)
Answer: \(x^{2}+y^{2}+10y+16=0\)
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
If \(A\) is a \(3\times3\) matrix with \(|A|=3\), find \(|\operatorname{adj}A|\).
\(=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
A system has infinitely many solutions. Which method still works?
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
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_{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
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}\).
\((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)
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 GameWant 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.