









Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!










Lecture of: Tuesday September 1
Matrices Definition 1. A matrix n × m, denoted by the symbol Aˆ, is a set of numbers laid out in tabular form (in n rows and m columns):
a 11 a 12 · · · a 1 m a 21 a 22 · · · a 2 m · · · · · ·...^ · · · an 1 an 2 · · · anm
The entry in the i-th row and j-th column of a matrix Aˆ is referred to as
( ˆA)ij = aij
and the matrix itself is sometimes denoted as
A^ ˆ = {aij}n,m
The set of all the matrices n × m is referred to as M(n, m).
matrix addition
Definition 2. Given two matrices n × m, A,ˆ Bˆ ∈ M(n, m), we define:
C^ ˆ = ˆA + ˆB where {cij} = {aij} + {bij}
Scalar multiplication
α Aˆ = {αaij}, α ∈ R. (1)
ESEMPIO (matrix addition and scalar multiplication):
matrix multiplication Definition 3. Given Aˆ ∈ M(n, l) e Bˆ ∈ M(l, m) two confor- mable matrices (such that the number of of columns of Aˆ equals the number of rows of Bˆ) the multiplication of the two matrices is
A^ ˆ Bˆ = ˆC ∈ M(n, m)
where
cij =
∑^ l
k=
aikbkj. (2)
in other words the entries of the matrix Cˆ = Aˆ Bˆ are made from the dot products of the rows of Aˆ with the columns of B^ ˆ.
EXAMPLE (multiplication rows times columns)
Determinant
The determinant boils down a square matrix Aˆ ∈ M(n, n) to a single real number det Aˆ:
det : M(n, n) → R.
Determinant formula for a 2 × 2 matrix: given
A^ ˆ =
a b c d
→ det( ˆA) = ad − bc.
EXAMPLE:
more broadly, given a matrix Aˆ ∈ M(n, n):
If det( ˆA) = 0, then the rows (or columns) of the matrix are linearly dependent; se det(A) 6 = 0, then the rows (or columns) of the matrix are linearly independent;
Determinant of a n × n matrix
Case n=1,2 (already seen):
A^ ˆ = {a} 1 × 1 → det( ˆA) = a A^ ˆ = {aij} 2 × 2 =
a b c d
→ det( ˆA) = ad − bc
Case n=3 :
A^ ˆ = {aij} 3 × 3 =
a b c d e f g h i
(^) → Sarrus rule
The general method to compute the determinant is the La- place expansion:
Theorem 1 (Laplace theorem). The determinant of a squared matrix Aˆ ∈ M(n, n) can be found by expanding by cofactors on any row or any column:
det ˆA =
∑^ n
i=
(−1)i+jaijAij ∀j (4)
det ˆA =
∑^ n
j=
(−1)i+jaijAij ∀i (5)
EXAMPLE: Compute the determinant of the following matri- ces:
Proprerties of determinant
Theorem 2. Given Aˆ ∈ M(n, n), we have det( ˆA) = 0 if
two rows (or columns) are equal to each other;
a row (or a column) equals the zero vector;
Aˆ has two or more linear dependent rows (or column);
Inverse matrix
Definition 6. Given a matrix Aˆ ∈ M(n, n) we say that Aˆ−^1 is the inverse matrix of Aˆ if Aˆ−^1 Aˆ = ˆA Aˆ−^1 = ˆI
Notice that this definition doesn’t answer the following que- stions:
Theorem 3. Let Aˆ ∈ M(n, n), it has an inverse if and only if det( ˆA) 6 = 0. The entries of the inverse matrix are:
( Aˆ−^1
ij =^ a
− 1 ij =
(−1)i+jAji det( ˆA)
EXAMPLE Compute the inverse of the given matrix:
Compute the inverse of the given matrix:
Rank of a matrix
The rank of a matrix Aˆ is the maximal order of a non-zero minor of Aˆ. The rank of a matrix Aˆ is also the maximal number of linearly independent rows (or columns). We have two methods to compute the rank using determi- nants:
EXAMPLE: Compute the rank of the following matrices using both methods:
EXAMPLE: Compute the rank of the following matrix using the best method:
EXAMPLE: Compute the rank of the following matrix as the parameter k varies:
k 1 1 1 k 1 1 1 k
The rank of a set of vectors V is the maximal number of li- nearly independent vectors in V. It is the rank of the matrix whose columns (or rows) are the vectors of V. EXAMPLE: Compute the rank of the following set of vec- tor V =
v^1 v^2 v^3
where v^1 = (1, 1 , 1), v^2 = (2, 0 , −1) e
v^3 = (0, 3 , 2).