University of Glasgow · FACULTY OF FINANCE

ACCFIN5277 Chap.7 Matrix Rank, Determinants and Inverses

- one subject, every graph, every model, every mark
6 Chapters4-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 7 of 12 · ACCFIN5277

Matrix Rank, Determinants and Inverses

Matrix Rank, Determinants and Inverses extends vectors into rectangular arrays and asks the question every regression depends on: can this matrix be inverted? The chapter first names the special matrices the notes use, including zero and one matrices, diagonal, identity, block-diagonal and tridiagonal forms, and then covers the transpose, symmetry and the trace with its linear and cyclic properties.

Linear dependence among rows or columns is exposed with elementary operations, which change entries without changing the space the matrix spans, and the number of independent columns that survive is the rank. The determinant offers a faster test: for a 2 x 2 matrix it is the area of the parallelogram the columns span, and it is zero exactly when the matrix is singular.

Matrix multiplication requires conforming inner dimensions, is generally not commutative, and reverses order under transposition. Kronecker and Hadamard products are introduced as alternatives. Finally, the chapter builds the inverse as the adjugate divided by the determinant, together with its key properties and the quick shortcut for diagonal matrices.

In this chapter

What this chapter covers

  • 01

    Special matrices: zero, one, diagonal, identity, tridiagonal

  • 02

    Transpose, symmetry and the trace

  • 03

    Elementary operations and linear dependence

  • 04

    Rank, determinant and singularity

  • 05

    Conformable products, Kronecker and Hadamard products

  • 06

    Inverse via adjugate and determinant

Worked example · free

Invert a 2 x 2 matrix and check the result

Q [5 marks]. Let A have rows (3, 1) and (1, 3). Compute its determinant, decide whether it is invertible, write the inverse and verify that A times the inverse is the identity. This practice weighting is original and is not a university allocation.
On the left the columns (3, 1) and (1, 3) of an original matrix A span a parallelogram of area 8, equal to its determinant; on the right the columns (2, 1) and On the left the columns (3, 1) and (1, 3) of an original matrix A span a parallelogram of area 8, equal to its determinant; on the right the columns (2, 1) and (4, 2) lie on one line, so the area and the determinant of B are both zero. det A = 8 det B = 0 (3, 1) (1, 3) area 8 (2, 1) (4, 2) no area left
On the left the columns (3, 1) and (1, 3) of an original matrix A span a parallelogram of area 8, equal to its determinant; on the right the columns (2, 1) and (4, 2) lie on one line, so the area and the determinant of B are both zero.
  • 1det(A) = 3 x 3 - 1 x 1 = 8, which is non-zero, so A is full rank and invertible.
  • 2The adjugate swaps the diagonal entries and negates the off-diagonal ones, giving rows (3, -1) and (-1, 3).
  • 1Divide by the determinant: the inverse has rows (3/8, -1/8) and (-1/8, 3/8).
  • 1Check: row (3, 1) times column (3/8, -1/8) gives 9/8 - 1/8 = 1, and times column (-1/8, 3/8) gives -3/8 + 3/8 = 0.
A has determinant 8 and inverse with rows (0.375, -0.125) and (-0.125, 0.375); the product with A returns the identity, and the inverse is symmetric because A is.
Sia tip — Compute the determinant before anything else: if it is zero, stop and say the matrix is singular rather than forcing an inverse.
Glossary

Key terms

Identity matrix
A square matrix with ones on the main diagonal and zeros elsewhere, the matrix version of the number one.
Matrix trace
The sum of the main-diagonal entries of a square matrix.
Singular matrix
A square matrix with zero determinant, whose rows or columns are linearly dependent and which has no inverse.
Adjugate matrix
The transposed matrix of signed minors, which divided by the determinant gives the inverse.
FAQ

Matrix Rank, Determinants and Inverses FAQ

How does a determinant relate to rank?

For a square matrix, a non-zero determinant means every row and column is linearly independent, so the rank equals the size and the matrix is full rank. A zero determinant means at least one column can be built from the others, the rank is smaller, and the matrix is singular. Computing the determinant is usually quicker than searching for combinations.

Is XY the same as YX for matrices?

Usually not. The general product requires the inner dimensions to match, so YX may not even exist when XY does, and when both exist they often differ. The identity matrix is a notable exception because multiplying by it on either side leaves a square matrix unchanged. Always keep the order of factors exactly as written.

What does the cyclic property of the trace allow?

Inside a trace you may move the first factor of a product to the end, so the trace of XYZ equals that of YZX and of ZXY. You may not swap two neighbouring factors: the trace of XZY is generally a different number. The notes illustrate the allowed orders with a circular diagram of the three factors.

Which matrices can never be inverted?

Any non-square matrix, and any square matrix with a zero determinant. That includes the zero matrix, the one matrix whose entries are all equal to one, and any matrix with a column that is a multiple or combination of other columns. In data work this last case appears as perfectly collinear variables in a regression.

When are Kronecker and Hadamard products used?

The Hadamard product multiplies matching entries of two matrices of identical size, which is what NumPy does with the star operator on arrays. The Kronecker product scales a full copy of the second matrix by each entry of the first and has no size requirement; the notes mention it for multivariate time-series models such as vector autoregressions.

Study strategy

Assessment move

Build a habit of three checks for every matrix problem: write the dimensions of each factor, compute the determinant before inverting, and multiply your answer back to confirm the identity. Practise 2 x 2 inverses until they take seconds, then work 3 x 3 determinants with the first-row expansion and a sign chart.

Create small rank-deficient matrices of your own by making one column a combination of others, and reduce them with column operations. Finally, confirm each result with NumPy's det, matrix_rank and inv functions. Note any mismatch and trace it to a sign or an ordering slip.

Working through Matrix Rank, Determinants and Inverses in ACCFIN5277? Sia is AskSia’s AI Finance tutor — ask any ACCFIN5277 Matrix Rank, Determinants and Inverses question and get a clear, step-by-step explanation grounded in how ACCFIN5277 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 26 of your subjects at University of Glasgow, plus 1,000+ more Bibles across the AskSia library.
Sia - your ACCFIN5277 tutor, unlimited, worked the way the exam marks it
The full 4-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
ACCFIN5277 · Finance Programming in Python and Databases - independent study guide on the AskSia Library. More University of Glasgow subjects · Microeconomics across all universities