Week 2 - Introduction to Inverse Matrices Flashcards

1
Q

Week 2

Name two characteristics of an elementary matrix.

A

(1) Corresponds to a particular elementary row operation.
(2) These matrices are always invertible.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the main three elementary row operations?

A

(1) Swapping two rows:
Ri <=> Rj
(2) Multiply a row by a non-zero constant:
Ri’ -> Ri
(3) Add a multiple of one row onto another:
Rj’ -> Rj + α Ri

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When is matrix A invertible?

A

If there is a matrix B such that AB and BA are both identities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the identity matrix? What happens when you multiply it with another matrix?

A

Pivot in every column, every other entry is zero.
Matrices multiplied by the identity is equivalent to multiplying by 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Write this property as an expression:

(1) The inverse of A and then the inverse of that, you get back the original matrix A.

A

(A^-1)^-1 = A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Write this property as an expression:

(2) Inverse of the product of A and B is the product of the inverses of A and B but in the opposite direction.

A

(A*B)^-1 = B^-1 A^-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Write this property as an expression:

(3) The inverse of A multiplied by scalar c, is the product of the inverses of c and A.

A

(c*A)^-1 = c^-1 A^-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Write this property as an expression:

(4) The transpose of the inverse of matrix A is the inverse of the transpose of matrix A.

A

(A^-1)^t = (A^t)^-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the proof for property 2?

(A*B)^-1 = B^-1 A^-1

A

= A B B^-1 A^-1

= A I A^-1

= A A^-1

= I

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you find the inverse of a square matrix?

A

Form augmented matrix (A | I ) and apply elementary row operations until the LHS is in RREF.

If you get (I | B), then the matrix is invertible –> A^-1 = B.

If not, then the matrix is not invertible.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the 7 conditions that allow us to determine the invertibility of a matrix?

A

(1) A is row equivalent to I.
(2) A is invertible.
(3) Ax = 0 has only the trivial solution x = 0.
(4) Ax = b has exactly one solution for an b ∈ ℝn.
(5) The columns of A span ℝn.
(6) There is a matrix B with AB = I.
(7) There is a matrix B with BA = I.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Explain how these conditions are dependent on each other:

(1) A is row equivalent to I.
(2) A is invertible.

A

Matrix A is only invertible if there is a matrix B such that AB and BA are both identities. This means that ERO’s need to be applied to acquire the identity matrix and this can only be achieved if the matrices are the same size. Therefore, it must be row equivalent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain how these conditions are dependent on each other:

(2) A is invertible.
(3) Ax = 0 has only the trivial solution x = 0.

A

x = Ix (sub in I = A^-1A)
x = A^-1Ax (sub in Ax = 0)
x = A^-10
x = 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Explain how these conditions are dependent on each other:

(3) Ax = 0 has only the trivial solution x = 0.
(1) A is row equivalent to I.

A

If A is not row equivalent to I then the RREF(A) will have a zero row and so fewer than n pivots –> non-trivial solution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain how these conditions are dependent on each other:

(4) Ax = b has exactly one solution for an b ∈ ℝn.
(5) The columns of A span ℝn (the spanning set of the columns).

A

Finding a solution to Ax = b corresponds to finding a way of writing b as a linear combination of the columns of A.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When would matrix A be considered symmetric?

A

Matrix A is symmetric if it is equal to its own transpose: A^t = A. Only possible if it is a n x n square matrix.

17
Q

What does a transpose matrix mean?

A

It is the result of reflecting the matrix about the main diagonal, turning the rows into columns and the columns into rows.

18
Q

What are the 3 properties of n x n symmetric matrices?

A

(1) A^t is symmetric.
(2) A + B, A - B are symmetric.
(3) cA is symmetric (c ∈ ℝ).

19
Q

Prove that for any matrix C, both CC^t and C^tC are symmetric.

A

The condition for symmetric matrices is that it needs to be equal to its own transpose. So, to find out if the product of C and C transpose is symmetric, we need to take the transpose of that and see if it is equal. This will result in the product of the transposes but in the reverse order, and upon simplifying, we get back what we first started with.

Numerically, this can be written as:
(CC^t)^t = (C^t)^t C^t = CC^t

(Applies to C^tC as well).

20
Q

What is the upper triangular of a square matrix A?

A

If all entries below the main diagonal are zero (i.e. i > j –> aij = 0).

Note: i –> row entry position, j –> column entry position.

Note: a square matrix in RREF is upper triangular; our main objective when solving RREF is to have all values under the main diagonal to be zero before reducing the other side.

20
Q

What is the main diagonal of a square matrix A?

A

Consists of all those entries aij with i = j.

Note: i –> row entry position, j –> column entry position.

21
Q

What is the lower triangular of a square matrix A?

A

If all entries above the main diagonal are zero (i.e. i < j –> aij = 0).

Note: i –> row entry position, j –> column entry position.

22
Q

What is a unit upper/lower triangular matrix?

A

With 1’s on the main diagonal.

23
Q

What happens when you take the transpose of an upper/lower triangular matrix?

A

A matrix A is upper triangular if A^t is lower triangular, and vice versa.

24
Q

What is LU factorisation of a square matrix A?

A

It consists of a unit lower triangular matrix L and a unit upper triangular matrix U such that A = LU (written as a product).

25
Q

Evaluate the LU factorisation formula A = LU.

A

If A can be reduced to REF using only ERO Rj’ -> Rj + α Ri with j < i, we obtain the upper triangular matrix U.

This can be written as a product of A and the series of ERO’s that were applied.
Er…E1A = U

Elementary matrices that correspond to these ERO’s are invertible, which means we can take it to the other side (multiplied in the reverse order).
A = E1^-1…Er^-1U

The inverse of an upper triangular matrix is a lower triangular matrix. Hence,
A = LU

where,
L = E1^-1…Er^-1
U is REF

26
Q

How do you solve equations using LU factorisations?

A

To solve Ax = b, form an LU factorisation A = LU, then sub that into the equation.

LUx = b (since Ux = y).
Ly = b (use to solve for y).

Ux = y (use y to solve for x).

Then, Ax = LUx = Ly = b.

27
Q

What is the definition of a determinant? How is it denoted?

A

It is a scalar value that is a function of the entries of a square matrix. It is commonly denoted det(A) or |A|.

28
Q

How is the determinant calculated for 2x2 or 3x3 matrices?

A

2 x 2 square matrix: A = (a b);(c d)
|A| = ad - bc

3 x 3 square matrix: A = (a b c; d e f ; g h i)
|A| = a (e f ; h i) - b (d f; g i) + c (d e; g h)

29
Q

What is the general formula for calculating the determinant of any size square matrix?

A

|A| = a11|A11| - a12|A12|+….+(-1)^n a1n|A1n|

Note: all the numbers are subscript form and n is the size of the matrix.

30
Q

What does the determinant tell us about invertibility of a matrix?

A

If det(A) is a non-zero number, then A will be invertible.

If det(A) = 0, then A is not invertible.

31
Q

How do you calculate the determinant if matrix A is either in upper triangular or lower triangular?

A

|A| is the product of the diagonal entries.

32
Q

Matrix B is obtained from matrix A by swapping two rows. What happens to the determinant of B?

A

|B| = - |A|
Changes the sign of the determinant.

33
Q

Matrix B is obtained from matrix A by multiplying one row by a non-zero scalar c. What happens to the determinant of B?

A

|B| = c|A|
Multiply the determinant of A by the non-zero scalar c.

34
Q

Matrix B is obtained from matrix A by adding a multiple of one row onto another row. What happens to the determinant of B?

A

|B| = |A|
Determinant is unchanged.

35
Q

What happens to the determinant of A when it is transposed?

A

|A| = |A^t|
Determinant is unchanged.

36
Q

What is the determinant of AB?

A

|AB| = |A||B|
Product of the determinants.

37
Q

What is the determinant of A^-1?

A

|A^-1| = |A|
Determinant is unchanged.