Back to homeMathematics · 2nd Bach. Social Sciences · Change subject
Start for free
BAC2 ss · Mathematics
Determinants · Determinants

Rank of a matrix

A market research company records the answers to several survey questions in a matrix, one row per question. It may happen that one of the questions is, deep down, a combination of the others: it provides no new information. Knowing how many rows (or columns) of a matrix are truly "independent" is exactly what the rank measures.

Before you start, make sure you know: Linear combinations of vectors. Bases (1st Bachillerato)
Before you start, make sure you know: Gaussian elimination (1st Bachillerato)

What the rank of a matrix measures

If one row is a multiple of another, or is the sum of two others, it does not add a new direction: it is "redundant" as far as rank is concerned, even though it still takes up a row of the matrix.

Diagram of three rows where one of them is a linear combination of another and only two are independent. F1 = (120, 45) F2 = (80, 30) = (2/3)·F1 F3 = (0, 10) proportional new
Practice★☆☆Not started
In a digital marketing campaign, a company analyses the impact of two social media ads. The results are organised in a matrix…

In a digital marketing campaign, a company analyses the impact of two social media ads. The results are organised in a matrix $A = \begin{pmatrix} 120 & 45 \\ 80 & 30 \end{pmatrix}$, where the first column represents the "clicks" and the second the "purchases" made. The first row corresponds to ad 1 and the second to ad 2. The figure represents each ad as the vector (clicks, purchases) from the origin.

Vectors of ads 1 and 2 on axes of clicks (horizontal) and purchases (vertical): ad 1 reaches the point (120, 45) and ad 2 reaches the point (80, 30)4080120153045ClicksPurchasesAd 1(120, 45)Ad 2(80, 30)
  1. a) Calculate the determinant of the matrix $A$.
  1. b) Explain whether there is any proportionality relationship between the data of the two ads and how it relates to the value of the determinant and to the figure.
Solve

Rank using minors

Matrix with rows and columns highlighted to illustrate the extraction of a non-zero minor of order two. 215 0-13 421 minor of order 2 (2)(-1) − (1)(0) = −2 ≠ 0 ↳ already rank ≥ 2
Practice★☆☆Not started
A student is designing an algorithm for a video game and needs a transformation matrix to be "singular" (that is, its determinant is equal to zero). If the matrix is…

A student is designing an algorithm for a video game and needs a transformation matrix to be "singular" (that is, its determinant is equal to zero). If the matrix is $M = \begin{pmatrix} x & 4 \\ 9 & x \end{pmatrix}$, find the possible real values of $x$ so that condition $|M| = 0$ is satisfied.

Solve
Practice★☆☆Not started
Calculate the value of the following 3rd order determinant using Sarrus' rule: $$\begin{vmatrix} 1 & 0 & 3 \\ 2 & 1 & 4 \\ 1 & 0 & 2 \end{vmatrix}$$ State step-by-step…

Calculate the value of the following 3rd order determinant using Sarrus' rule:

$$\begin{vmatrix} 1 & 0 & 3 \\ 2 & 1 & 4 \\ 1 & 0 & 2 \end{vmatrix}$$

State step-by-step the products of the main diagonals and the secondary diagonals.

Solve

The method of bordered minors

Diagram of the bordering process, extending a minor step by step from order 1x1 to order 3x3. 1×1 2×2 3×3 border row by row and column by column
Practice★★☆Not started
Consider matrices $A$ and $B$ such that: $$A = \begin{pmatrix} 2 & 3 \\ 4 & 6 \end{pmatrix}, \quad B = \begin{pmatrix} 1 & 0 \\ 2 & -1 \end{pmatrix}$$ a) Calculate $|A|$…

Consider matrices $A$ and $B$ such that:

$$A = \begin{pmatrix} 2 & 3 \\ 4 & 6 \end{pmatrix}, \quad B = \begin{pmatrix} 1 & 0 \\ 2 & -1 \end{pmatrix}$$
  1. a) Calculate $|A|$ and $|B|$.
  2. b) Calculate $|A \cdot B|$ without performing the matrix multiplication, justifying which property you use.
  3. c) Is the matrix $A$ invertible? What about the matrix $B$? Justify your answer based on the value of their determinants.
Solve
Practice★★★Not started
A cybersecurity company uses matrices to validate access keys. For a key to be secure, the rank of its associated matrix must be maximum. Consider the key matrix $K$:…

A cybersecurity company uses matrices to validate access keys. For a key to be secure, the rank of its associated matrix must be maximum. Consider the key matrix $K$:

$$K = \begin{pmatrix} 1 & -1 & k \\ k & 1 & -1 \\ -1 & k & 1 \end{pmatrix}$$
  1. Calculate the values of $k$ for which the key is not secure (that is, the rank of $K$ is less than 3).

  2. If $k = -1$, study the linear dependence of the rows of the matrix. What is the rank in this case?

  3. For the values of $k$ such that $|K| = 0$, state whether there exists any minor of order 2 that is non-zero.

K = 1 −1 k k 1 −1 −1 k 1 > VALIDATION_LOGIC IF det(K) ≠ 0: ↳ Rank(K) = 3 ↳ [ SECURE ] IF det(K) == 0: ↳ Rank(K) < 3 ↳ [ VULNERABLE ]
Solve

Rank according to a parameter

When the matrix depends on a letter $k$, the rank can change depending on the value it takes. The strategy is always the same: calculate the largest possible determinant as a function of $k$ (by Laplace expansion or by Gaussian elimination), factorise it and study what happens at its roots.

Tree diagram illustrating the discussion of the rank according to the roots of the determinant as a function of a parameter. k = −2 k = 1 rg = 3 rg = 3 rg = 3 rg = 2 rg = 1
Practice★★☆Not started
Determine the rank of the following matrix $M$ depending on the value of the real parameter $k$: $$M = \begin{pmatrix} 1 & k & 1 \\ 2 & 1 & k \\ 0 & 1 & 1…

Determine the rank of the following matrix $M$ depending on the value of the real parameter $k$:

$$M = \begin{pmatrix} 1 & k & 1 \\ 2 & 1 & k \\ 0 & 1 & 1 \end{pmatrix}$$

State for which values of $k$ the rank is maximum and what happens in the critical cases.

Solve
Practice★★★Not started
Given the matrix $A = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{pmatrix}$, calculate $|A|$ and, using the properties of determinants, find $|A^T|$,…

Given the matrix $A = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{pmatrix}$, calculate $|A|$ and, using the properties of determinants, find $|A^T|$, $|A^{-1}|$, and $|A^2|$.

Solve

Rank, determinant and the product of matrices

Comparison between a non-zero determinant with maximum rank and a zero determinant with reduced rank. |A| ≠ 0 → rg(A) = n |A| = 0 → rg(A) < n rg(A·B) ≤ min(rg(A), rg(B)) if one of the two is singular, the product does not have maximum rank
Practice★★☆Not started
Given that the determinant of a square matrix $A$ of order 3 is $|A| = -2$, use the properties of determinants to calculate, giving reasons, the value of: a) $|A^t|$…

Given that the determinant of a square matrix $A$ of order 3 is $|A| = -2$, use the properties of determinants to calculate, giving reasons, the value of:

  1. a) $|A^t|$ (determinant of the transpose).
  2. b) $|A^{-1}|$ (determinant of the inverse).
  3. c) $|3A|$.
  4. d) The determinant of the matrix resulting from swapping the first two columns of $A$ and multiplying the third row by $-5$.
Solve

Back to the beginning: in the survey data shown in the figure, the second question is proportional to the first ($F_2 = \frac{2}{3} \cdot F_1$), so there are only $2$ questions with independent answers and the rank of the matrix is $2$.

Summary

See all the exercises in this section