Matrices: definitions and operations

📚 M1111E.pdf

Brief overview

This document provides a comprehensive introduction to linear algebra, covering essential concepts and their applications. Understanding these foundational elements is crucial for solving complex mathematical problems and for further study in fields like engineering, computer science, and economics.

Key points

  • Definitions, types, and basic operations of matrices, including transpose and symmetric/skew-symmetric forms.
  • The process of achieving row echelon and reduced row echelon forms using elementary row operations.
  • Methods for calculating determinants and their applications in matrix inversion and rank determination.
  • Solving linear systems of equations using various matrix-based methods like Gaussian elimination and Cramer's rule.
  • Understanding and calculating eigenvalues, eigenvectors, and the process of matrix diagonalization.

1. Matrices: definitions and operations

1.1 Matrix definition

  • A matrix of size (m×n)(m \times n) is a rectangular table with mm rows and nn columns.
  • Its elements are denoted as aija_{ij}, where ii is the row number and jj is the column number.
  • A square matrix has an equal number of rows and columns (m=nm=n).
  • The entries a11,a22,…,anna_{11}, a_{22}, \dots, a_{nn} are called diagonal entries.
Matrix TypeDescription
Row MatrixA matrix with only one row (1×n1 \times n).
Column MatrixA matrix with only one column (m×1m \times 1).
Zero Matrix (Om,nO_{m,n})All entries are zero.
Unit Matrix (InI_n)A square matrix with 1s on the diagonal, 0s elsewhere.
Diagonal MatrixNon-zero entries only on the main diagonal.
Upper TriangularAll entries below the main diagonal are zero.
Lower TriangularAll entries above the main diagonal are zero.

1.2 Matrix operations

1.2.1 Equality of matrices

  • Two matrices AA and BB of the same size (m×nm \times n) are equal if all their corresponding entries are equal: aij=bija_{ij} = b_{ij} for all i,ji, j.

1.2.2 Matrix addition

  • Matrices AA and BB of the same size (m×nm \times n) can be added.
  • The sum is calculated element-wise: (A+B)ij=aij+bij(A+B)_{ij} = a_{ij} + b_{ij}.
  • Matrix addition is commutative (A+B=B+AA+B = B+A) and associative ((A+B)+C=A+(B+C)(A+B)+C = A+(B+C)).

1.2.3 Scalar multiplication

  • Multiplying a matrix AA by a scalar λ\lambda involves multiplying each entry by λ\lambda: (λA)ij=λaij(\lambda A)_{ij} = \lambda a_{ij}.
  • Properties include 1⋅A=A1 \cdot A = A, α(A+B)=αA+αB\alpha(A+B) = \alpha A + \alpha B, and (α+β)A=αA+βA(\alpha + \beta)A = \alpha A + \beta A.

1.2.4 Matrix multiplication

  • Matrix multiplication A×BA \times B is defined if the number of columns in AA equals the number of rows in BB.
  • If AA is m×nm \times n and BB is n×pn \times p, then A×BA \times B is an m×pm \times p matrix CC.
  • The entry cijc_{ij} is calculated as the sum of the products of elements from row ii of AA and column jj of BB: cij=∑k=1naikbkjc_{ij} = \sum_{k=1}^{n} a_{ik}b_{kj}.

Matrix multiplication is NOT commutative (A×B≠B×AA \times B \neq B \times A in general).

  • Matrix multiplication is associative: (A×B)×C=A×(B×C)(A \times B) \times C = A \times (B \times C).
  • Multiplication by the identity matrix II: A×In=AA \times I_n = A and Im×A=AI_m \times A = A.

1.2.5 Transpose of a matrix

  • The transpose of a matrix AA, denoted ATA^T, is obtained by swapping its rows and columns.
  • If A=(aij)A = (a_{ij}), then AT=(aji)A^T = (a_{ji}).
  • If AA is m×nm \times n, then ATA^T is n×mn \times m.

Properties of transpose: (AT)T=A(A^T)^T = A, (A+B)T=AT+BT(A+B)^T = A^T + B^T, (λA)T=λAT(\lambda A)^T = \lambda A^T, and (A×B)T=BT×AT(A \times B)^T = B^T \times A^T.

1.2.6 Symmetric and skew-symmetric matrices

  • A square matrix AA is symmetric if AT=AA^T = A. This means aij=ajia_{ij} = a_{ji}.
  • A square matrix AA is skew-symmetric if AT=−AA^T = -A. This means aij=−ajia_{ij} = -a_{ji}.
  • For skew-symmetric matrices, diagonal entries are always zero (aii=−aii⇒aii=0a_{ii} = -a_{ii} \Rightarrow a_{ii} = 0).
MatrixTypeExample
AASymmetric(12320434−5)\begin{pmatrix} 1 & 2 & 3 \\ 2 & 0 & 4 \\ 3 & 4 & -5 \end{pmatrix}
BBSkew-symmetric(023−204−3−40)\begin{pmatrix} 0 & 2 & 3 \\ -2 & 0 & 4 \\ -3 & -4 & 0 \end{pmatrix}

1.2.7 Invertible matrices

  • A square matrix AA is invertible if there exists a matrix BB (called the inverse, A−1A^{-1}) such that A×B=InA \times B = I_n and B×A=InB \times A = I_n.
  • Only square matrices can be invertible.

Properties of inverses: (A−1)−1=A(A^{-1})^{-1} = A, (A×B)−1=B−1×A−1(A \times B)^{-1} = B^{-1} \times A^{-1}, and (λA)−1=1λA−1(\lambda A)^{-1} = \frac{1}{\lambda} A^{-1} for λ≠0\lambda \neq 0.

1.3 Row echelon form

  • A matrix is in row echelon form if:
    1. All-zero rows are at the bottom.
    2. The first non-zero entry (leading entry) in any non-zero row is to the right of the leading entry of the row above it.
  • A matrix is in reduced row echelon form if it's in row echelon form, AND all leading entries are 1, AND all entries above and below each leading 1 are zero.

1.3.1 Elementary row operations

  • These operations transform a matrix into an equivalent matrix (row equivalent).
    1. Swap two rows (Ri↔RjR_i \leftrightarrow R_j).
    2. Multiply a row by a non-zero scalar (Ri↔λRiR_i \leftrightarrow \lambda R_i, λ≠0\lambda \neq 0).
    3. Add a multiple of one row to another row (Ri↔Ri+λRjR_i \leftrightarrow R_i + \lambda R_j).
  • Every elementary row operation has an inverse.
  • A matrix is row equivalent to a unique reduced row echelon form.

1.3.2 Elementary matrices and finding the inverse

  • An elementary matrix is formed by applying one elementary row operation to the identity matrix InI_n.
  • Applying an elementary row operation to a matrix AA is equivalent to multiplying AA on the left by the corresponding elementary matrix EE (B=EAB=EA).
  • A matrix AA is invertible if and only if it can be reduced to the identity matrix InI_n using elementary row operations.
  • This process is done by creating an augmented matrix (A∣In)(A | I_n) and applying row operations until AA becomes InI_n. The right side will then be A−1A^{-1}.

    (A∣In)→row ops(In∣A−1)( A | I_n ) \xrightarrow{\text{row ops}} ( I_n | A^{-1} )

  • If AA cannot be reduced to InI_n, it is not invertible.

🔑 Important: A square matrix is invertible if and only if its reduced row echelon form is the identity matrix.

2. Determinants and their applications

2.1 Definition of a determinant

The determinant of a square matrix AA, denoted as det⁡(A)\det(A) or ∣A∣|A|, is a scalar value.

  • 1x1 matrix: For A=(a11)A = (a_{11}), det⁡(A)=a11\det(A) = a_{11}.
  • 2x2 matrix: For A=(a11a12a21a22)A = \begin{pmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix}, det⁡(A)=a11a22−a12a21\det(A) = a_{11}a_{22} - a_{12}a_{21}.

2.1.1 Calculating determinants for 3x3 matrices

Sarrus's formula is used for 3x3 matrices: A=(a11a12a13a21a22a23a31a32a33)A = \begin{pmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{pmatrix}

det⁡(A)=a11a22a33+a12a23a31+a13a21a32−a12a21a33−a11a23a32−a13a22a31\det(A) = a_{11}a_{22}a_{33} + a_{12}a_{23}a_{31} + a_{13}a_{21}a_{32} - a_{12}a_{21}a_{33} - a_{11}a_{23}a_{32} - a_{13}a_{22}a_{31}

Sarrus's formula is a visual shortcut for 3x3 determinants.

2.1.2 Cofactor expansion

For an n×nn \times n matrix (n≥3n \ge 3), the determinant can be calculated using cofactor expansion along any row or column.

  • Minor (Δij\Delta_{ij}): The determinant of the submatrix formed by deleting the ii-th row and jj-th column of AA.
  • Cofactor (cof(aij)\text{cof}(a_{ij})): (−1)i+jΔij(-1)^{i+j}\Delta_{ij}.

Determinant expansion by row or column

  • By ii-th row: det⁡(A)=∑j=1naijcof(aij)\det(A) = \sum_{j=1}^{n} a_{ij}\text{cof}(a_{ij})
  • By jj-th column: det⁡(A)=∑i=1naijcof(aij)\det(A) = \sum_{i=1}^{n} a_{ij}\text{cof}(a_{ij})

Cofactor expansion breaks down a large determinant into smaller ones.

2.2 Properties of determinants

Understanding these properties simplifies determinant calculations and is crucial for applications.

PropertyDescriptionExample/Note
Identity matrixdet⁡(In)=1\det(I_n) = 1The determinant of an identity matrix is always 1.
Product of matricesdet⁡(A⋅B)=det⁡(A)⋅det⁡(B)\det(A \cdot B) = \det(A) \cdot \det(B)Determinant of a product is the product of determinants.
Transposedet⁡(AT)=det⁡(A)\det(A^T) = \det(A)The determinant does not change if the matrix is transposed.
Triangular matricesFor upper or lower triangular matrices, det⁡(A)=∏i=1naii\det(A) = \prod_{i=1}^{n} a_{ii}The determinant is the product of diagonal entries.
Row/Column operationsAdding a linear combination of other rows/columns does not change the determinant.Ci↔Ci+αCjC_i \leftrightarrow C_i + \alpha C_j or Ri↔Ri+αRjR_i \leftrightarrow R_i + \alpha R_j.
Multiplying a row/column by a scalar (α\alpha)The determinant is multiplied by α\alpha.det⁡(…,αCj,… )=αdet⁡(…,Cj,… )\det(\dots, \alpha C_j, \dots) = \alpha \det(\dots, C_j, \dots).
Zero determinant conditionsdet⁡(A)=0\det(A) = 0 if:
- A row or column is all zeros.
- Two rows or columns are identical or collinear.
Indicates a singular matrix.
Row/Column permutationsSwapping two rows or columns multiplies the determinant by -1.det⁡(…,Ci,Cj,… )=−det⁡(…,Cj,Ci,… )\det(\dots, C_i, C_j, \dots) = -\det(\dots, C_j, C_i, \dots).

Determinant properties often mirror each other for rows and columns.

Adding all rows to one row simplifies determinants with repeating structures.

2.3 Applications of determinants

Determinants have significant applications in linear algebra, including finding matrix inverses and determining matrix rank.

2.3.1 Finding the inverse of a matrix

  • Invertibility condition: A matrix AA is invertible if and only if det⁡(A)≠0\det(A) \neq 0.

  • Adjoint matrix: The transpose of the comatrix of AA.

    • Comatrix (com(A)\text{com}(A)): A matrix where each entry is the cofactor of the corresponding entry in AA.
    • Adjoint (adj(A)adj(A)): (com(A))T(\text{com}(A))^T.
  • Inverse formula: If det⁡(A)≠0\det(A) \neq 0, then A−1=1det⁡(A)adj(A)A^{-1} = \frac{1}{\det(A)}\text{adj}(A).

A non-zero determinant is the key to a matrix having an inverse.

Inverse of a 2x2 matrix

For A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} with ad−bc≠0ad - bc \neq 0: A−1=1ad−bc(d−b−ca)A^{-1} = \frac{1}{ad-bc}\begin{pmatrix} d & -b \\ -c & a \end{pmatrix}

2.3.2 Rank of a matrix

  • Rank (rank(A)\text{rank}(A)): The number of non-zero rows in the row echelon form of AA.

  • Relationship to Invertibility:

    • If AA is an n×nn \times n matrix, rank(A)=n\text{rank}(A) = n if and only if AA is invertible.
    • If a matrix has a zero row or identical/collinear rows/columns, it is not invertible.
  • Minor of order pp: The determinant of any p×pp \times p submatrix of AA.

  • Rank via minors: The rank of a matrix AA is the largest order of its non-zero minors.

Rank tells you the "effective dimension" or number of linearly independent rows/columns.

Matrix StatusDeterminant RelationRank Relation
Invertible≠0\neq 0=n= n
Not invertible=0= 0<n< n
Zero matrix (Om,n)N/A=0= 0

The rank of a matrix is equal to the rank of its transpose: rank(A)=rank(AT)\text{rank}(A) = \text{rank}(A^T).

A matrix is not invertible if it is equivalent to a matrix with a zero row or identical/collinear rows/columns.

The rank is the size of the largest square submatrix with a non-zero determinant.

If A∈Mm,n(K)A \in M_{m,n}(K) and rank(A)=r\text{rank}(A) = r, then r≤min⁡(m,n)r \le \min(m, n).

For a matrix with a parameter, the rank can change depending on the parameter's value.

If det⁡(A)=0\det(A) = 0, the system Ax=bAx = b either has no solution or infinitely many solutions. If det⁡(A)≠0\det(A) \neq 0, the system has a unique solution.

For a skew-symmetric matrix AA (AT=−AA^T = -A):

  • ∣A∣=(−1)n∣A∣|A| = (-1)^n|A|.
  • If nn is odd, ∣A∣=0|A| = 0.

Determinants are zero for skew-symmetric matrices of odd order.

The determinant of a matrix AA of order nn can be calculated by ∣3B∣=3n∣B∣|3B| = 3^n|B|.

For ∣A3∣|A^3|, it's ∣A∣3|A|^3. For ∣A−1∣|A^{-1}|, it's 1/∣A∣1/|A|.

The determinant of a 4x4 skew-symmetric matrix with real numbers can be the square of a polynomial in its entries.

3. Linear systems of equations

Linear systems involve finding values for variables that satisfy multiple equations simultaneously. These equations have the general form: a11x1+a12x2+⋯+a1nxn=b1a_{11}x_1 + a_{12}x_2 + \cdots + a_{1n}x_n = b_1 a21x1+a22x2+⋯+a2nxn=b2a_{21}x_1 + a_{22}x_2 + \cdots + a_{2n}x_n = b_2 ...

am1x1+am2x2+⋯+amnxn=bma_{m1}x_1 + a_{m2}x_2 + \cdots + a_{mn}x_n = b_m

The aija_{ij} are coefficients, xix_i are variables, and bib_i are constants. A solution is a set of values (x1,…,xn)(x_1, \ldots, x_n) that satisfies all equations.

3.1 Types of linear systems

The nature of the solution set determines the type of system.

  • Inconsistent system: Has no solution (S=∅S = \emptyset).
  • Consistent system with a unique solution: Has exactly one solution (S={(α1,…,αn)}S = \{(\alpha_1, \ldots, \alpha_n)\}).
  • Consistent system with infinitely many solutions: Has more than one solution (SS contains multiple solutions).

For homogeneous systems (where all bi=0b_i = 0), the zero vector (0,…,0)(0, \ldots, 0) is always a solution, called the trivial solution. Nonzero solutions are called nontrivial solutions.

Key takeaway: The number of solutions defines the system's type.

Examples of system types

Here are examples illustrating different solution scenarios.

  • Infinitely many solutions:

    • x+2y−3z=5x + 2y - 3z = 5
    • 2x+5y+4z=82x + 5y + 4z = 8.
  • Inconsistent system:

    • x+2y+3z=4x + 2y + 3z = 4
    • 2x+4y+6z=a2x + 4y + 6z = a (if a≠8a \neq 8).
  • Unique solution (homogeneous):

    • x+y=0x + y = 0
    • x−y=0x - y = 0 (Solution: (0,0)(0,0)).
  • Infinitely many solutions (homogeneous):

    • x+y=0x + y = 0
    • 2x+2y=02x + 2y = 0 (Solutions: (t,−t)(t, -t) for any t∈Rt \in \mathbb{R}) 41.

3.2 Matrix representation of systems

A linear system can be concisely represented using matrices.

ComponentMatrix FormDimensionsDescription
SystemAX=BAX = BA∈Mm,n(K)A \in M_{m,n}(K)Coefficients, variables, constants
CoefficientA=(aij)A = (a_{ij})m×nm \times nMatrix of coefficients
VariablesX=(x1⋮xn)X = \begin{pmatrix} x_1 \\ \vdots \\ x_n \end{pmatrix}n×1n \times 1Vector of variables
ConstantsB=(b1⋮bm)B = \begin{pmatrix} b_1 \\ \vdots \\ b_m \end{pmatrix}m×1m \times 1Vector of constant terms

Solving the system AX=BAX = B is equivalent to finding the vector XX. If the coefficient matrix AA is invertible, a unique solution exists: X=A−1BX = A^{-1}B.

Core idea: Matrix form simplifies system representation and manipulation.

Column vector form

The system AX=BAX = B can also be written as a linear combination of the column vectors of AA. Let C1,…,CnC_1, \ldots, C_n be the column vectors of AA.

Then: x1C1+x2C2+⋯+xnCn=Bx_1C_1 + x_2C_2 + \cdots + x_nC_n = B 43.

3.3 Augmented matrix

The augmented matrix combines the coefficient matrix AA and the constant vector BB.

(A∣B)=(a11⋯a1n∣b1a21⋯a2n∣b2⋮⋱⋮∣⋮am1⋯amn∣bm)(A|B) = \begin{pmatrix} a_{11} & \cdots & a_{1n} & | & b_1 \\ a_{21} & \cdots & a_{2n} & | & b_2 \\ \vdots & \ddots & \vdots & | & \vdots \\ a_{m1} & \cdots & a_{mn} & | & b_m \end{pmatrix}

Two systems are equivalent if they have the same solution set. Row operations on the augmented matrix do not change the system's solution set.

Key role: Row operations on (A∣B)(A|B) transform the system into an easier-to-solve form.

Row Echelon Forms

  • Row Echelon Form: Achieved through Gaussian elimination. Easier to solve using back-substitution.
  • Reduced Row Echelon Form: Achieved through Gauss-Jordan elimination. Solves the system directly.

Variables corresponding to leading 1s in the echelon form are leading variables. Others are non-leading variables.

3.4 Cramer's rule

Cramer's rule provides a unique solution for a Cramer system, where the coefficient matrix AA is square (m=nm=n) and invertible (det⁡(A)≠0\det(A) \neq 0).

The solution for each variable xix_i is: xi=Δidet⁡(A)x_i = \frac{\Delta_i}{\det(A)}

Here, Δi\Delta_i is the determinant of the matrix formed by replacing the ii-th column of AA with the constant vector BB.

When to use: Only for square systems with a non-zero determinant.

Example of Cramer's rule

Consider the system: {x+2y+z=12x+y−z=−13x+2y+4z=9\begin{cases} x + 2y + z = 1 \\ 2x + y - z = -1 \\ 3x + 2y + 4z = 9 \end{cases}

  • The coefficient matrix AA is invertible (det⁡(A)=−15≠0\det(A) = -15 \neq 0).
  • Δ1=−15\Delta_1 = -15, Δ2=15\Delta_2 = 15, Δ3=−30\Delta_3 = -30.
  • Solution: x=−15−15=1x = \frac{-15}{-15} = 1, y=15−15=−1y = \frac{15}{-15} = -1, z=−30−15=2z = \frac{-30}{-15} = 2 46.

3.5 Gaussian elimination

This method uses elementary row operations on the augmented matrix (A∣B)(A|B) to transform it into row echelon form. This simplifies the system for back-substitution.

Process: Reduce (A∣B)(A|B) to row echelon form using row operations.

Steps and outcome

  1. Start with the augmented matrix (A∣B)(A|B).
  2. Apply elementary row operations to get a matrix in row echelon form.
  3. If a row like (0  0  …  0  ∣  1)(0\; 0\; \ldots\; 0\; |\; 1) appears, the system is inconsistent.
  4. If no such row exists, use back-substitution on the resulting system to find the solution.

Example: A system reduced to: (12−3∣1014∣10003∣1001∣0)\begin{pmatrix} 1 & 2 & -3 & | & 1 \\ 0 & 1 & 4 & | & 10 \\ 0 & 0 & 3 & | & 1 \\ 0 & 0 & 1 & | & 0 \end{pmatrix} leads to an inconsistency (0 = 1) from the third row after further reduction 48.

3.6 Rank method

The rank method determines the nature of solutions based on the ranks of the coefficient matrix and the augmented matrix. Let r=rank(A)r = \text{rank}(A).

ConditionSystem TypeNumber of Solutions
$\text{rank}(A) \neq \text{rank}(AB)$Inconsistent
$\text{rank}(A) = \text{rank}(AB) = n$Consistent, Unique Solution
$\text{rank}(A) = \text{rank}(AB) < n$Consistent, Infinitely Many

Here, nn is the number of variables.

Insight: Rank provides a direct way to classify solutions without solving.

Example of rank analysis

Consider the matrix: (10−5∣−5014∣400a∣0)\begin{pmatrix} 1 & 0 & -5 & | & -5 \\ 0 & 1 & 4 & | & 4 \\ 0 & 0 & a & | & 0 \end{pmatrix}

  • If a≠0a \neq 0: rank(A)=rank(A∣B)=3\text{rank}(A) = \text{rank}(A|B) = 3. Unique solution (n=3n=3).
  • If a=0a = 0: rank(A)=rank(A∣B)=2<3\text{rank}(A) = \text{rank}(A|B) = 2 < 3. Infinitely many solutions 50.

🔑 Important: The rank method is powerful for determining existence and number of solutions.

🔑 Important: Linear systems can be solved using Cramer's rule (if applicable), Gaussian elimination, or the rank method. Understanding the augmented matrix and row operations is crucial for all methods.

4. Eigenvalues, eigenvectors, and diagonalization

4.1 Eigenvalues and eigenvectors

  • An eigenvector of a matrix A∈Mn(K)A \in M_n(K) is a non-zero vector X∈KnX \in K^n such that AX=λXAX = \lambda X for some scalar λ\lambda.
  • The scalar λ\lambda is called the eigenvalue corresponding to the eigenvector XX.

AX=λX  ⟺  (A−λIn)X=0AX = \lambda X \iff (A - \lambda I_n)X = 0

  • An eigenvalue λ\lambda exists if and only if the system (A−λIn)X=0(A - \lambda I_n)X = 0 has a non-trivial solution. This means the matrix A−λInA - \lambda I_n must be singular (not invertible).

Eigenvalues are the roots of the characteristic polynomial ∣A−λIn∣=0|A - \lambda I_n| = 0.

4.2 Characteristic polynomial and eigenspace

  • The characteristic polynomial of matrix AA is PA(λ)=∣A−λIn∣P_A(\lambda) = |A - \lambda I_n|.
  • For an eigenvalue λ\lambda, the eigenspace EλE_\lambda is the set of all vectors X∈KnX \in K^n such that AX=λXAX = \lambda X. This is the null space of (A−λIn)(A - \lambda I_n).

4.3 Multiplicities of eigenvalues

  • Algebraic multiplicity (ma(λ)m_a(\lambda)) of an eigenvalue λ\lambda is its multiplicity as a root of the characteristic polynomial.
  • Geometrical multiplicity (mg(λ)m_g(\lambda)) of an eigenvalue λ\lambda is the number of linearly independent eigenvectors associated with λ\lambda. It equals the dimension of the eigenspace EλE_\lambda.

mg(λ)=n−rank(A−λIn)m_g(\lambda) = n - \text{rank}(A - \lambda I_n)

  • For any eigenvalue λ\lambda, 1≤mg(λ)≤ma(λ)1 \le m_g(\lambda) \le m_a(\lambda).

4.4 Diagonalization of matrices

  • A matrix AA is diagonalizable if there exists an invertible matrix PP and a diagonal matrix DD such that D=P−1APD = P^{-1}AP.

Conditions for diagonalization

  • A matrix A∈Mn(K)A \in M_n(K) is diagonalizable if and only if:
    1. All eigenvalues of AA are in KK.
    2. For every eigenvalue λ\lambda, its algebraic multiplicity equals its geometrical multiplicity (ma(λ)=mg(λ)m_a(\lambda) = m_g(\lambda)).

If a matrix has nn distinct eigenvalues, it is diagonalizable.

Process of diagonalization

  • If AA is diagonalizable, it has nn linearly independent eigenvectors.
  • These eigenvectors form the columns of the invertible matrix PP.
  • The diagonal matrix DD contains the corresponding eigenvalues on its diagonal, in the same order as their eigenvectors in PP.

A=PDP−1A = PDP^{-1}

4.5 Examples

📝 Example: Consider A=(1−1123−1411)A = \begin{pmatrix} 1 & -1 & 1 \\ 2 & 3 & -1 \\ 4 & 1 & 1 \end{pmatrix}.

  1. The eigenvalues are λ1=0,λ2=2,λ3=3\lambda_1 = 0, \lambda_2 = 2, \lambda_3 = 3. All are distinct and in R\mathbb{R}.
  2. Since AA has 3 distinct eigenvalues, it is diagonalizable.
  3. Eigenvectors: v1=(−235)v_1 = \begin{pmatrix} -2 \\ 3 \\ 5 \end{pmatrix} for λ1=0\lambda_1=0, v2=(011)v_2 = \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix} for λ2=2\lambda_2=2, v3=(102)v_3 = \begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix} for λ3=3\lambda_3=3.
  4. P=(−201310512)P = \begin{pmatrix} -2 & 0 & 1 \\ 3 & 1 & 0 \\ 5 & 1 & 2 \end{pmatrix} and D=(000020003)D = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 3 \end{pmatrix}.

🔑 Important: Diagonalizing a matrix AA allows for easier computation of matrix powers. If A=PDP−1A = PDP^{-1}, then An=PDnP−1A^n = PD^nP^{-1}, where DnD^n is a diagonal matrix with the nn-th powers of the diagonal entries of DD.

Matrix PropertyConditionDiagonalizable?
3 distinct eigenvaluesma(λi)=mg(λi)=1m_a(\lambda_i) = m_g(\lambda_i) = 1 for all ii.Yes
nn linearly independent eigenvectorsma(λi)=mg(λi)m_a(\lambda_i) = m_g(\lambda_i) for all λi\lambda_i.Yes
ma(λ)≠mg(λ)m_a(\lambda) \neq m_g(\lambda) for some λ\lambdaSome eigenspaces are too small.No

📝 Example: For A=(1−21014002)A = \begin{pmatrix} 1 & -2 & 1 \\ 0 & 1 & 4 \\ 0 & 0 & 2 \end{pmatrix}, the characteristic polynomial is PA(λ)=(1−λ)2(2−λ)P_A(\lambda) = (1-\lambda)^2(2-\lambda).

Eigenvalues are λ1=1\lambda_1 = 1 (ma=2m_a =2) and λ2=2\lambda_2 = 2 (ma=1m_a =1)2. The eigenvectors for λ1=1\lambda_1=1 are of the form (x,0,0)(x, 0, 0). There is only one linearly independent eigenvector (1,0,0)(1,0,0), so mg=1m_g =1. Since ma≠mgm_a \neq m_g , the matrix AA is not diagonalizable 1.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also