← Engineering Mathematics – I (25SC11I)
Matrices and Determinants
Engineering Mathematics – I (25SC11I) · C-25 Diploma, Semester I
Read with diagrams, search and self-test
Course Outcome CO-01: Solve the system of linear equations using determinants and perform the same in MS Excel.
1.1 What is a Matrix?
A matrix is a rectangular arrangement of numbers in rows and columns, enclosed in square brackets [ ]. The numbers are called elements (or entries). Think of a classroom seating chart: rows run left to right, columns run top to bottom.
Order of a matrix: If a matrix has m rows and n columns, its order is m × n (read “m by n”). The matrix above has 2 rows and 2 columns, so its order is 2 × 2. The element aij sits in the i-th row and j-th column.
1.2 Types of Matrices
| Type | Meaning | Example |
|---|---|---|
| Row matrix | Only one row (order 1 × n) | [2 5 −1] |
| Column matrix | Only one column (order m × 1) | 3 above 7 (one column) |
| Zero (Null) matrix | Every element is 0 | O = [0 0; 0 0] |
| Square matrix | Rows = columns (n × n) | [1 2; 3 4] |
| Diagonal matrix | Square; all non-diagonal elements are 0 | [4 0; 0 7] |
| Scalar matrix | Diagonal matrix with all diagonal elements equal | [5 0; 0 5] |
| Unit (Identity) matrix I | Scalar matrix with every diagonal element 1 | I = [1 0; 0 1] |
Table 1.1 Types of matrices (semicolon separates rows)
The principal (leading) diagonal of a square matrix is the line of elements a11, a22, … from the top-left corner to the bottom-right corner.
1.3 Algebra of Matrices
Scalar multiplication
To multiply a matrix by a number k, multiply every element by k.
Transpose of a matrix (Aᵀ)
Interchange rows and columns: the first row becomes the first column, the second row becomes the second column. If A is of order m × n, then Aᵀ is of order n × m.
Useful properties: (Aᵀ)ᵀ = A, (A + B)ᵀ = Aᵀ + Bᵀ, (kA)ᵀ = kAᵀ, (AB)ᵀ = BᵀAᵀ.
Addition and subtraction (2 × 2)
Two matrices can be added or subtracted only when they have the same order. Add (or subtract) the elements in the same positions.
Product of two matrices (2 × 2)
To get the element in row i, column j of AB, take row i of A and column j of B, multiply the matching elements and add. Remember the slogan: “Row into Column.”
Teacher’s Tip: In general AB ≠ BA. Matrix multiplication is not commutative, so never change the order of the matrices while multiplying.
1.4 Determinants
Every square matrix has a number attached to it called its determinant, written |A| or det A. A determinant is written between vertical bars | |, a matrix between square brackets [ ]. A matrix is an arrangement; a determinant is a single number.
(Product of the leading diagonal minus the product of the other diagonal.)
= 2
1.5 Cramer’s Rule (Determinant Method)
For the pair of equations a1x + b1y = c1 and a2x + b2y = c2, form three determinants:
Then x = Δx/Δ and y = Δy/Δ, provided Δ ≠ 0. To form Δx, replace the x-column by the constants; to form Δy, replace the y-column by the constants.
Teacher’s Tip: Always check your answer by substituting x and y back into both equations. It takes 20 seconds and saves marks.
1.6 Minors, Cofactors and Adjoint (2 × 2)
Minor Mij: the determinant left after deleting the i-th row and j-th column. For a 2 × 2 matrix it is simply the single element that remains.
Cofactor Cij = (−1)i+j Mij. The sign pattern is + − in the first row and − + in the second row.
Adjoint (adj A): the transpose of the cofactor matrix. For a 2 × 2 matrix there is a shortcut: interchange the leading-diagonal elements and change the signs of the other two.
Important result: A(adj A) = (adj A)A = |A| I.
1.7 Singular Matrix and Inverse of a Matrix
A square matrix is singular if |A| = 0 and non-singular if |A| ≠ 0. Only a non-singular matrix has an inverse.
= I
1.8 Characteristic Equation and Characteristic Roots
For a square matrix A, the equation |A − λI| = 0 is called the characteristic equation, and its roots λ are the characteristic roots (also called eigenvalues).
For a 2 × 2 matrix the characteristic equation always becomes
λ² − (a + d)λ + (ad − bc) = 0, i.e. λ² − (trace of A)λ + | A| = 0
where trace = sum of leading-diagonal elements. Check: the sum of the roots equals the trace and the product of the roots equals |A|.
Unit 1 at a Glance
• Order m × n: m rows, n columns. Square matrix: m = n.
• kA: multiply every element by k. Aᵀ: rows become columns.
• A ± B possible only for the same order. AB: row into
• A−1 = (1/|A|) adj A, exists only when |A| ≠ 0.
• Characteristic equation: λ² − (trace)λ + |A| = 0.
1.9 Solved Problems for Practice (Matrices and Determinants)
Problem 1 If A and B are as given, find the matrix 3A
Problem 2 If A and B are as given, find the matrix A
Solution:
Note: Here Aᵀ = A. Such a matrix is called a symmetric matrix.
Problem 4 If the matrix A is singular, find the value
Solution:
Solution:
Row into column Row 1 × Column 1: (4)(−3) + (3)(4) = −12 + 12 = 0
Row 1 × Column 2: (4)(2) + (3)(1) = 8 + 3 = 11
Row 2 × Column 1: (2)(−3) + (1)(4) = −6 + 4 = −2
Problem 6 Solve by Cramer’s rule: 3x + 2y = 8 ; 2x +5y=9.
Problem 7 Solve by Cramer’s rule: x + y = 3 ; 2x + 3y = 8.
Problem 8 Solve by determinant method: 2x − y = 3; x+2y=4.
Problem 9 Solve by Cramer’s rule: 2x + 3y = 5 ; x + 4y = 5.
Problem 10 If A is as given, verify that A(adj A) = |A|
Solution:
Step 1: Determinant |A| = (5)(1) − (−2)(3) = 5 + 6 = 11
Step 2: Adjoint (swap diagonal, change signs of
Problem 11 If A and B are as given, find AB and also
Solution:
Method 1: Using minors and cofactors M11 = 4, M12 = 3, M21 = 2, M22 = 1
Method 2: Shortcut
Solution:
|A| = (3)(2) − (2)(1) = 6 − 2 = 4 ≠ 0
Note: Check: A A−1 gives [1 0; 0 1] = I.
Solution:
Problem 16 Find the characteristic equation and
(1−λ)(3−λ)−8=0
3−λ−3λ+λ²−8=0
Characteristic equation: λ² − 4λ − 5 = 0
(λ−5)(λ+1)=0 ⇒ λ=5orλ=−1
(3−λ)(1−λ)−8=0
λ²−4λ+3−8=0 ⇒ λ²−4λ−5=0
Problem 18 Find the characteristic equation and
(3−λ)(5−λ)−8=0
λ²−8λ+15−8=0 ⇒ λ²−8λ+7=0
Problem 19 Find the characteristic equation and
(5−λ)(3−λ)−8=0
λ²−8λ+15−8=0 ⇒ λ²−8λ+7=0
Exam Tip: For any 2 × 2 matrix you may directly write λ² − (trace)λ + |A| = 0. In the examination, however, show the |A − λI| = 0 step to earn full marks.
1.10 Additional Solved Examples (Beyond the Practice List)
These examples cover syllabus points that the practice list touches only lightly. They are typical of CIE and SEE questions.
Solution:
Equal matrices have equal corresponding elements:
x+y=6 …(1) x−y=2 …(2)
Solution:
= cos θ · cos θ − (sin θ)(−sin θ) = cos²θ + sin²θ
Example 6 Solve by Cramer’s rule: 5x − 3y = 1 ; 2x +y=7.
Solution:
|A|=k(k−1)−6=0 ⇒ k²−k−6=0
Example 9 Find all minors and cofactors, and hence
Solution:
M11 = 5, M12 = 2, M21 = −1, M22 = 3
Note: This agrees with the shortcut (swap the diagonal, change the other signs).
Example 10 Find the characteristic roots of the
Solution:
|A−λI|=(2−λ)(3−λ)−0=0
Note: For a diagonal matrix the characteristic roots are simply the diagonal elements.
1.11 Equal Matrices and the Laws of Matrix Algebra
Two more ideas from the DTE e-content and Board solved-problem sets complete the matrix algebra in the syllabus.
Equal matrices: A = B only when both have the same order and every pair of corresponding elements is equal. A matrix whose rows and columns are unequal in number (for example 2 × 3) is called a rectangular matrix.
For matrices A, B, C of the same order and scalars k, m, the following laws hold:
• A + B = B + A (addition is commutative)
• (A + B) + C = A + (B + C) (addition is associative)
• A+O=A and A+(−A)=O
• k(A+B)=kA+kB and (k+m)A=kA+mA
• AI = IA = A for a square matrix A and the identity matrix I of the same order
• (AB)C = A(BC), but in general AB ≠ BA