Professional Documents
Culture Documents
2nd Matrices II
2nd Matrices II
Matrices II
mustafaaggul@hacettepe.edu.tr
Definition
The determinant is a function assuming a square matrix as an input and
returning a scalar number. It is denoted by |A| or det(A).
In particular,
h i
for n = 1 a11 a11
" #
a11 a12
for n = 2 a11 a22 − a12 a21
a21 a22
a11 a12 a13
a11 a22 a33 + a21 a32 a13 + a31 a12 a23
for n = 3 a21 a22 a23
−a13 a22 a31 − a23 a32 a11 − a33 a12 a21
a31 a32 a33
Definition
The determinant is a function assuming a square matrix as an input and
returning a scalar number. It is denoted by |A| or det(A).
In particular,
h i
for n = 1 a11 a11
" #
a11 a12
for n = 2 a11 a22 − a12 a21
a21 a22
a11 a12 a13
a a22 a23
21 a11 a22 a33 + a21 a32 a13 + a31 a12 a23
for n = 3 a31 a32 a33
−a13 a22 a31 − a23 a32 a11 − a33 a12 a21
a11 a12 a13
a21 a22 a23
Definition
I The minor, Mij is the determinant of the square matrix formed by
deleting the ith row and jth column from the square matrix A.
I The cofactor corresponding to the entry aij is Cij = (−1)i+j Mij
Example
1 3 −1
−1
2 0 3
Given A = 2 0 , M12 = = 4 and M31 = = 1.
1
3 2 1 0
3 1 2
Remark
Both of these formulas give the same determinant regardless of the
choice of which row/column. Therefore, picking the row/column having
lots of zero entries reduces the number of computations.
Example
1 3 −1
Consider A = 2 0 .
1
3 1 0
Picking the 3rd column eliminates two terms in the determinant formula
since a23 = a33 = 0,
Definition
For arbitrary constants a1 , a2 , . . . , an , c and unknowns x1 , x2 , . . . , xn , the
equality
a1 x1 + a2 x2 + · · · + an xn = c
is called a linear equation. A solution of this linear equation is
x1 , x2 , . . . , xn values that satisfies this linear equation at the same time.
Example
√
2x1 + x2 + 5x3 = −6
is a linear equation with a solution x1 = −4, x2 = 2, x3 = 0.
Similarly, x1 = −3, x2 = 0, x3 = 0 is another solution to the linear
equation. This is to say that a linear equation may have more than one
solution.
Example
Definition
A system of linear equations is a collection of more than one linear
equation involving the same set of unknowns. A linear system with n
unknowns and m linear equations is as follows:
The coefficients of unknowns listed above are very similar to the entries
of a matrix. That is not a coincidence since we can rewrite this system as
a matrix-vector product.
Example
Consider the following linear system:
x1 + 2x2 = 1, 1 2 x1 1
⇒ =
3x1 + 5x2 = 2 3 5 x2 2
−5 2 1 2 x1 −5 2 1
⇒ =
3 −1 3 5 x2 3 −1 2
1 0 x1 x −1
⇒ = 1 =
0 1 x2 x2 1