Topic 7: Matrix and vector algebra Flashcards

1
Q

What is a matrix (2)

A

-A matrix is a rectangular array of numbers which are considered an entity
-Each matrix consists of a series of m rows and n columns

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

How can we draw a matrix (2)

A

-Draw a shape with 2 [ ] brackets
-Fill this shape in with elements
-Each Aij is called an element of a matrix, where i = row number, j = column

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

What is the dimension/order of a matrix (2)

A

-The dimension/order of a matrix corresponds to its numbers of rows and columns
-a 2x3 matrix has 2 rows, 3 columns

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

What is the relationship between matrices and vectors (2,1)

A

-A vector is a matric where m or n = 1
-This is either a column or row vector

-We normally denote matrices with bold upper case letters, and vectors with lower case

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

What is a null and identity matrix (1,2)

A

-A null matrix is a matrix where aij = 0 for all i and j

-An identity matrix is a square matric where aij = 0 for all i ≠ j, and aij = 1 for all i = j
-This is the equivalent of multiplying by 1

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

What is a square and triangular matrix (2)

A

-A square matrix is one where n = m
-A triangular matrix is a square matrix that has only zeros either above or below the main diagonal (MD is where i = j)

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

How can we write a system of 3 equations and 3 variables in matrix form (3,3,1)

A

The 3 equations are:
-a11x1 + a12x2 + a13x3 = b1
-a21x1 + a22x2 + a23x3 = b2
-a31x1 + a32x2 + a33x3 = b3

-Make A a 3x3 matrix, where a11 is row 1 column 1 etc…
-Make x a 3x1 column matrix, with x1 row 1…
-Make b a 3x1 column matrix, with b1 row 1…

(could replace 3 and 3 for m and n)

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

How do you add matrices (2)

A

-You add each individual element
-This requires the same dimension from the matrices

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

How do you compute AB, where A and B are matrices (1,2,1)

A

-To compute AB, we multiply each row of A with each column of B

-Imagine matrix A, a 2x2 with elements (going TL, TR, BL, BR) a11, a12, a21, a22
-Also imagine matrix B, a 2x2 with elements (going TL, TR, BL, BR) b11, b12, b21, b22

-AB = (going TL, TR, BL, BR) a11b11 + a12b21, a11b12 + a12b22, a21b11 + a22b21, a21b12 + a22b22

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

How do we know how many rows and columns will be in a matrix which came from multiplying 2 others (2,2)

A

-Suppose A = [aij]mxn, B = [bij]nxp
-AB = C = [cij]mxp

-To multiply 2 matrices, the number of columns in the first matrix = the number of rows in the second
-The resulting matrix will then have the number of rows in the first and number of columns in the second

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