Mathematics · 1st year
Matrices and Determinants: A Simple Guide (Maths IA)
What is a matrix?
A matrix is a set of numbers arranged in rows and columns inside brackets. Think of a cricket scorecard: each row is a player, each column is runs, balls or fours. The table itself is a matrix.
A matrix with m rows and n columns has order m × n (read “m by n”). The number in row i and column j is written aᵢⱼ.
A = [ 2 1 ] order 2 × 2
[ 3 4 ]
Here a₁₂ = 1 (row 1, column 2) and a₂₁ = 3.
Types of matrices
- Row matrix: only one row, like [1 5 7] (order 1 × 3).
- Column matrix: only one column.
- Square matrix: rows = columns (2 × 2, 3 × 3 …). Its main diagonal runs from top-left to bottom-right.
- Zero (null) matrix O: every element is 0.
- Diagonal matrix: a square matrix whose elements off the main diagonal are all 0.
- Scalar matrix: a diagonal matrix with all diagonal elements equal.
- Identity (unit) matrix I: a diagonal matrix with every diagonal element 1. It behaves like the number 1: AI = IA = A.
- Upper / lower triangular matrix: all elements below / above the main diagonal are 0.
- Transpose Aᵀ: swap rows and columns. A 2 × 3 matrix becomes 3 × 2.
- Symmetric matrix: Aᵀ = A (aᵢⱼ = aⱼᵢ).
- Skew-symmetric matrix: Aᵀ = −A. Every diagonal element must be 0, because aᵢᵢ = −aᵢᵢ gives aᵢᵢ = 0.
Operations
Addition and subtraction: only for matrices of the same order. Add element by element.
Scalar multiplication: multiply every element by the number. 2 × [1 2; 3 4] = [2 4; 6 8].
Matrix multiplication: AB exists only when (columns of A) = (rows of B). If A is m × n and B is n × p, then AB is m × p. Each element of AB is “row of A times column of B”: multiply matching pairs and add.
Important: in general AB ≠ BA. The order of multiplication matters, just as wearing socks and then shoes is not the same as shoes and then socks.
Determinants
A determinant is a single number attached to a square matrix. We write it as |A| or det A.
2 × 2: multiply the main diagonal, subtract the product of the other diagonal.
3 × 3: expand along the first row using minors and cofactors. The minor Mᵢⱼ is the 2 × 2 determinant left after deleting row i and column j. The cofactor is Cᵢⱼ = (−1)ⁱ⁺ʲ Mᵢⱼ, so the signs follow the pattern + − + / − + − / + − +.
Key formulas box
- Order of AB(m × n)(n × p) → m × p
- 2 × 2 determinant|a b; c d| = ad − bc
- 3 × 3 determinanta₁₁C₁₁ + a₁₂C₁₂ + a₁₃C₁₃
- CofactorCᵢⱼ = (−1)ⁱ⁺ʲ Mᵢⱼ
- (AB)ᵀ = BᵀAᵀ
- (AB)⁻¹ = B⁻¹A⁻¹
- det(Aᵀ) = det A
- det(AB) = det A × det B
- det(kA) = kⁿ det A (A is n × n)
- adj A = transpose of the cofactor matrix
- A⁻¹ = (1/det A) × adj A (only if det A ≠ 0)
- For [a b; c d]A⁻¹ = 1/(ad − bc) × [d −b; −c a]
- det(adj A) = (det A)ⁿ⁻¹
- Cramer's rulex = Δx/Δ, y = Δy/Δ (Δ ≠ 0)
Properties of determinants (the useful ones)
- Swapping two rows (or columns) changes the sign of the determinant.
- If two rows (or columns) are identical, the determinant is 0.
- If a whole row is multiplied by k, the determinant is multiplied by k.
- Adding a multiple of one row to another row does not change the determinant. This is the best shortcut for big determinants.
- For a triangular or diagonal matrix, the determinant is just the product of the diagonal elements.
Inverse of a matrix
A matrix is singular if det A = 0 and non-singular if det A ≠ 0. Only a non-singular square matrix has an inverse A⁻¹, with AA⁻¹ = A⁻¹A = I. It is like dividing by a number: you can divide by 5 but never by 0.
To find A⁻¹ you need the adjoint adj A, which is the transpose of the cofactor matrix.
Solving linear equations
The pair 2x + 3y = 8, x − y = −1 can be written as AX = B. If det A ≠ 0, then X = A⁻¹B, or we can use Cramer’s rule: Δ is the determinant of the coefficients; Δx replaces the x-column with the constants; Δy replaces the y-column.
- Δ ≠ 0: exactly one solution.
- Δ = 0: either no solution or infinitely many solutions; check further.
Worked examples
Example 1: Multiply two matrices. A = [3 −1; 2 5], B = [4 2; 1 3].
- Row 1 of A with column 1 of B: 3×4 + (−1)×1 = 11
- Row 1 with column 2: 3×2 + (−1)×3 = 3
- Row 2 with column 1: 2×4 + 5×1 = 13
- Row 2 with column 2: 2×2 + 5×3 = 19
So AB = [11 3; 13 19]. Now BA = [16 6; 9 14]. Different, so AB ≠ BA.
Example 2: A 3 × 3 determinant. A = [1 2 3; 0 4 5; 1 0 6]. Expand along row 1:
- 1 × (4×6 − 5×0) = 1 × 24 = 24
- −2 × (0×6 − 5×1) = −2 × (−5) = 10
- +3 × (0×0 − 4×1) = 3 × (−4) = −12
det A = 24 + 10 − 12 = 22.
Example 3: Use a property. For the same 3 × 3 matrix, find det(2A). Since det(kA) = kⁿ det A with n = 3: det(2A) = 2³ × 22 = 8 × 22 = 176. (A common mistake is 2 × 22 = 44.)
Example 4: Inverse of a 2 × 2 matrix. A = [4 7; 2 6].
- det A = 4×6 − 7×2 = 24 − 14 = 10 (not 0, so the inverse exists).
- Swap the diagonal, change the signs of the other two: [6 −7; −2 4].
- Divide by 10: A⁻¹ = (1/10) [6 −7; −2 4].
- Check: A × A⁻¹ = I.
Example 5: Cramer’s rule. Solve 2x + 3y = 8, x − y = −1.
- Δ = |2 3; 1 −1| = 2×(−1) − 3×1 = −5
- Δx = |8 3; −1 −1| = 8×(−1) − 3×(−1) = −8 + 3 = −5
- Δy = |2 8; 1 −1| = 2×(−1) − 8×1 = −10
- x = −5 / −5 = 1, y = −10 / −5 = 2.
- Check: 2(1) + 3(2) = 8 and 1 − 2 = −1. Correct.
Common mistakes
- Adding matrices of different orders. Not allowed.
- Multiplying when columns of A ≠ rows of B, or assuming AB = BA.
- Writing det(kA) = k det A. For an n × n matrix it is kⁿ det A.
- Forgetting the minus sign on the middle term (the + − + pattern) in a 3 × 3 expansion.
- In the 2 × 2 inverse, swapping the off-diagonal elements instead of changing their signs.
- Finding an inverse without first checking det A ≠ 0.
- Writing (AB)⁻¹ = A⁻¹B⁻¹. The correct order is reversed: B⁻¹A⁻¹. Same for transpose.
Summary
A matrix is a rectangular table of numbers, and its order (rows × columns) decides what you can do with it: same order to add, matching inner sizes to multiply, and always remember AB is usually not BA. A determinant is one number linked to a square matrix; learn the 2 × 2 rule, the 3 × 3 cofactor expansion and the row properties that make calculation quick. If the determinant is not zero, the matrix has an inverse, A⁻¹ = adj A / det A, and a system of linear equations has exactly one solution, which you can find with A⁻¹B or Cramer’s rule. Practise a few of each type daily and always check your answer by substituting back.
Source: NCERT Class 12 Mathematics Part I, Chapter 3 (Matrices) and Chapter 4 (Determinants).
References
Practice questions
Choose an answer, then press Check: you see at once whether it is right, and why.
If the English and Telugu versions of a question differ, go by the English text, and please tell us about the difference.
Question 1
A matrix has 3 rows and 4 columns. What is its order?ఒక మాత్రికకు 3 అడ్డు వరుసలు, 4 నిలువు వరుసలు ఉన్నాయి. దాని క్రమం ఎంత?Choose an answer first.
Show answer and explanation
Question 2
Find the determinant of the matrix A = [3 5; 2 4] (row 1: 3, 5; row 2: 2, 4).A = [3 5; 2 4] (1వ అడ్డు వరుస: 3, 5; 2వ అడ్డు వరుస: 2, 4) నిర్ధారకం ఎంత?Choose an answer first.
Show answer and explanation
Question 3
A is a 3 × 3 matrix with det A = 7. What is det(−2A)?A ఒక 3 × 3 మాత్రిక, det A = 7. అయితే det(−2A) ఎంత?Choose an answer first.
Show answer and explanation
Question 4
A is a 2 × 3 matrix and B is a 3 × 4 matrix. What is the order of AB?A క్రమం 2 × 3, B క్రమం 3 × 4. అయితే AB క్రమం ఎంత?Choose an answer first.
Show answer and explanation
Question 5
Find the inverse of A = [2 1; 5 3] (row 1: 2, 1; row 2: 5, 3).A = [2 1; 5 3] (1వ అడ్డు వరుస: 2, 1; 2వ అడ్డు వరుస: 5, 3) విలోమ మాత్రిక ఏది?Choose an answer first.
Show answer and explanation
Question 6
For what value of k is the matrix [k 2; 3 6] singular?k ఏ విలువకు [k 2; 3 6] మాత్రిక సింగ్యులర్ అవుతుంది?Choose an answer first.
Show answer and explanation
Question 7
In a skew-symmetric matrix, every element on the main diagonal is equal toవక్ర సౌష్టవ మాత్రికలో ప్రధాన కర్ణంపై ప్రతి మూలకం విలువChoose an answer first.
Show answer and explanation
Question 8
Find the determinant of [2 1 4; 0 3 7; 0 0 5] (rows separated by semicolons).[2 1 4; 0 3 7; 0 0 5] (అడ్డు వరుసలను ; తో వేరు చేశాం) నిర్ధారకం ఎంత?Choose an answer first.
Show answer and explanation
Question 9
For the equations x + y = 5 and 2x − y = 1, what is Δx in Cramer's rule?x + y = 5, 2x − y = 1 సమీకరణాలకు క్రామర్ నియమంలో Δx విలువ ఎంత?Choose an answer first.
Show answer and explanation
Question 10
A is a 4 × 4 matrix with det A = −2. What is det(adj A)?A ఒక 4 × 4 మాత్రిక, det A = −2. అయితే det(adj A) ఎంత?Choose an answer first.
Show answer and explanation