ExamSaathi learning library · School · CBSE Class 12 Mathematics 2026-27; teacher review pending · Mathematics

Determinants for Class 12: minors, cofactors, adjoint, inverse and linear systems

Find determinants of 2 x 2 and 3 x 3 matrices with minors and cofactors, use them for the area of a triangle, build the adjoint and inverse of a matrix, and solve linear systems with a unique solution by the matrix method.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

A determinant is a single number attached to a square matrix. It shows at once whether the matrix has an inverse and whether a square system of linear equations has exactly one solution. You need the previous lesson on matrices (order, products, transpose and invertible matrices) and the Class 10 idea that two lines in a plane can meet once, never, or along their whole length. The determinant of a square matrix A is written |A| or det A. These bars do not mean absolute value, so a determinant can be negative. Matrices are written row by row with semicolons between rows, as in A = [3, 1; 4, 2], and unknowns are called p, q and r, because x stands for multiplication.

Determinants of order 2 and 3

For A = [a, b; c, d], |A| = ad - bc: the product down the main diagonal minus the product down the other diagonal. So |[3, 1; 4, 2]| = 3 x 2 - 1 x 4 = 2. For a 3 x 3 matrix, delete the row and the column of an entry; the 2 x 2 determinant that is left is the minor M_ij of that entry. The cofactor is C_ij = (-1)^(i + j) x M_ij, so the signs follow the pattern + - + in row 1, - + - in row 2 and + - + in row 3. The determinant equals the sum of the entries of any one row or column, each multiplied by its own cofactor. Expanding [1, 2, 3; 0, 4, 5; 1, 0, 6] along row 1 gives 1 x (4 x 6 - 5 x 0) - 2 x (0 x 6 - 5 x 1) + 3 x (0 x 0 - 4 x 1) = 24 + 10 - 12 = 22. Every row or column gives the same value, so choose one with zeros to save work.

Area of a triangle and collinear points

With x reserved for multiplication, write a point's coordinates as (h, v). For a triangle with vertices (h1, v1), (h2, v2) and (h3, v3), let D be the determinant of [h1, v1, 1; h2, v2, 1; h3, v3, 1]. The area is half the absolute value of D, because an area cannot be negative. For the vertices (1, 2), (4, 6) and (7, 1), D = 1 x (6 - 1) - 2 x (4 - 7) + 1 x (4 - 42) = 5 + 6 - 38 = -27, so the area is 27/2 = 13.5 square units. Three points are collinear exactly when D = 0, since a triangle of zero area is flat. The same idea finds a missing coordinate: if the area must be 5 square units, set D = 10 or D = -10, which usually gives two possible values.

Adjoint and inverse of a square matrix

The adjoint of a square matrix A, written adj A, is the transpose of the matrix of cofactors: replace every entry by its cofactor, then turn the rows into columns. For A = [a, b; c, d] this gives adj A = [d, -b; -c, a], so swap the two diagonal entries and change the signs of the other two. The key identity is A (adj A) = (adj A) A = |A| I. A square matrix is singular when |A| = 0 and non-singular otherwise, and it is invertible exactly when it is non-singular, with A^-1 = (1/|A|) adj A. For A = [3, 1; 4, 2], |A| = 2 and adj A = [2, -1; -4, 3], so A^-1 = [1, -0.5; -2, 1.5]. Multiplying A by this matrix gives I, which is the check. When |A| = 0 there is no inverse.

Linear systems: consistent or not

Three equations such as a1 p + b1 q + c1 r = d1, and two more of the same form, can be written as one matrix equation A U = B, where A is the coefficient matrix, U = [p; q; r] is the column of unknowns and B is the column of constants. A system is consistent when it has at least one solution and inconsistent when it has none. If |A| is not 0, A is invertible and the system has exactly one solution, U = A^-1 B. If |A| = 0, find (adj A) B. When (adj A) B is not the zero column, the system is inconsistent. When (adj A) B is the zero column, the system may have infinitely many solutions or none, so test the equations themselves. For 2p + 3q = 5 and 4p + 6q = 7, |A| = 12 - 12 = 0 and (adj A) B = [6, -3; -4, 2] times [5; 7], which is [9; -6], not zero, so there is no solution.

Common mistakes

Treating |A| as an absolute value: a determinant can be negative, and only the area rule takes the absolute value at the end. Forgetting the sign pattern: the cofactor of the entry in row 1, column 2 is minus its minor. Pairing the entries of one row with the cofactors of another row: that sum is always 0, not |A|. Forgetting to transpose the cofactor matrix when forming adj A. Dividing by |A| when it is 0: a singular matrix has no inverse. Writing the solution as B A^-1: the inverse must stand on the left, U = A^-1 B, because the order of a matrix product matters. Concluding 'infinitely many solutions' from |A| = 0 alone: check (adj A) B and then the equations.

A short routine

For a 2 x 2 matrix, |A| = ad - bc, and adj A swaps a and d and changes the signs of b and c. For a 3 x 3 matrix, pick the row or column with the most zeros, find each minor, attach its sign (-1)^(i + j) from the checkerboard + - +, - + -, + - +, multiply by the entries and add. For an inverse, find |A| first and stop if it is 0; otherwise build the cofactor matrix, transpose it, divide by |A| and check that A A^-1 = I. For a system, write A, U and B, find |A|, then U = A^-1 B, and substitute the values back into every equation.

Worked examples

  1. Evaluate the determinant of A = [2, -1, 3; 0, 4, 1; 5, 0, -2] by expanding along the second row, and check it along the first row.

    1. Row 2 is 0, 4, 1 and its signs are -, +, -. The first entry is 0, so only two minors are needed.
    2. Minor of the 4: delete row 2 and column 2 to leave [2, 3; 5, -2], so M_22 = 2 x (-2) - 3 x 5 = -19 and C_22 = -19.
    3. Minor of the 1: delete row 2 and column 3 to leave [2, -1; 5, 0], so M_23 = 2 x 0 - (-1) x 5 = 5 and C_23 = -5.
    4. |A| = 0 + 4 x (-19) + 1 x (-5) = -76 - 5 = -81.
    5. Check along row 1: 2 x (4 x (-2) - 1 x 0) + 1 x (0 x (-2) - 1 x 5) + 3 x (0 x 0 - 4 x 5) = -16 - 5 - 60 = -81.

    Answer: |A| = -81.

  2. Find the area of the triangle with vertices (2, 1), (6, 3) and (4, 7). Then use a determinant to decide whether (1, 1), (3, 5) and (5, 9) are collinear.

    1. For the triangle, D = |[2, 1, 1; 6, 3, 1; 4, 7, 1]|. Expand along row 1: 2 x (3 - 7) - 1 x (6 - 4) + 1 x (42 - 12).
    2. D = -8 - 2 + 30 = 20, so the area is 20/2 = 10 square units.
    3. For the three points, D = |[1, 1, 1; 3, 5, 1; 5, 9, 1]| = 1 x (5 - 9) - 1 x (3 - 5) + 1 x (27 - 25).
    4. D = -4 + 2 + 2 = 0, so these three points lie on one line.

    Answer: The area is 10 square units, and (1, 1), (3, 5) and (5, 9) are collinear because their determinant is 0.

  3. Solve p + q + r = 6, 2p - q + r = 3 and p + 2q - r = 2 by the matrix method.

    1. Write A U = B with A = [1, 1, 1; 2, -1, 1; 1, 2, -1], U = [p; q; r] and B = [6; 3; 2].
    2. Along row 1: |A| = 1 x (1 - 2) - 1 x (-2 - 1) + 1 x (4 + 1) = -1 + 3 + 5 = 7, which is not 0, so there is exactly one solution.
    3. The cofactors, row by row, are -1, 3, 5; 3, -2, -1; 2, 1, -3. Transposing gives adj A = [-1, 3, 2; 3, -2, 1; 5, -1, -3].
    4. (adj A) B = [-6 + 9 + 4; 18 - 6 + 2; 30 - 3 - 6] = [7; 14; 21].
    5. U = A^-1 B = (1/7) x [7; 14; 21] = [1; 2; 3].
    6. Check in the first equation: 1 + 2 + 3 = 6, and the other two equations also hold.

    Answer: p = 1, q = 2 and r = 3.

Practice checks

  1. What is the determinant of [5, 3; 4, 2]?
  2. In the matrix [2, 0, 1; 3, 5, -1; 4, 6, 2], what is the cofactor of the entry 3 in row 2, column 1?
  3. What is the area of the triangle with vertices (0, 0), (4, 0) and (0, 3)?
  4. For which value of k is the matrix [k, 4; 3, 6] singular?
  5. The system 3p + 2q = 5 and 6p + 4q = 12 has coefficient matrix A = [3, 2; 6, 4]. What can you conclude?

Sources checked