Linear Algebra Flashcards

(49 cards)

1
Q

What is a scalar?

A

A single number.

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

What is a vector?

A

An array of numbers, arranged in an indexed order.

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

How are vector variables represented?

A

Vectors have lowercase names in italic bold typeface: x

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

How are scalar variables represented?

A

They are written in lowercase italics: s

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

How is a set of vector indices defined?

A

S = { indices } then we write xS

Example: S = { 1, 3, 6 } are a set of the 1,3, and 6 indexes

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

How is the complement of a set indexed?

A

With a - sign:

x-1 is the vector of all elements of x except for x1

x-S is the vector of all elements of x except the set S

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

What is a matrix?

A

A matrix is a 2D array of numbers.

Each element is identified with two numbers.

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

How are matrix variables represented?

A

With an uppercase name in bold italics: A

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

How are rows and columns of a matrix indexed?

A

With a : symbol:

Ai,: represents the horizontal cross section i (row)

A:,i represents the vertical cross section i (column)

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

What is a tensor?

A

A matrix with more than two axes.

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

How are tensor variables represented?

A

With a bold capital letter: A

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

What is the transpose of a matrix?

A

A mirror image of the matrix across a diagonal line.

(AT)i,j = Aj,i

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

What is the name of the line across which a transpose is mirrored?

A

main diagonal

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

How is a transpose represented?

A

Superscript T:

AT

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

What is the transpose of a scalar?

A

The scalar is its own transpose.

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

What is the transpose of a vector?

A

A row vector becomes a column vector and vice versa.

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

How is matrix-matrix addition defined?

A

If they have the same shape, then:

C = A + B where Ci,j = Ai,j + Bi,j

Each element is added to the corresponding element.

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

How is matrix-scalar addition and multiplication defined?

A

The scalar is added or multiplied to each matrix element.

This is called an element-wise operation.

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

What is an element-wise matrix operation?

A

Performing the operation on each element of the matrix.

For example, in the addition of a scalar to a matrix.

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

How is matrix-vector addition defined?

A

The matrix C = A + b where Ci,j = Ai,j + bj

The vector b is added to each row of the matrix.

21
Q

What is the shape of the matrix product?

A

If A is shape m,n and B is the shape n,p then

C is the shape m,p

22
Q

What is the definition of the matrix product?

A

Ci,j = sum( Ai,k * Bk,j)

Or Ci,j as the dot product between row i of A and col j of B

23
Q

What is the distributive property of matrix multiplication?

A

A(B+C) = AB+AC

24
Q

What is the associative property of matrix multiplication?

A

A(BC) = (AB)C

25
Is matrix multiplication commutative?
No, the condition ***AB*** = ***BA*** does not always hold.
26
Is the dot product of two vectors commutative?
Yes ***x***T***y*** = ***y***T***x***
27
What is the transpose of a matrix product?
(***AB***)T = ***B***T***A***T
28
Derive the commutative rule for the dot product of two vectors.
***x***T***y*** = (***x***T***y***)T = ***y***T***x*** using the rule (***AB***)T = ***B***T***A***T
29
What is the dot product of two perpendicular vectors and why?
The dot product is 0 because the projection of one vector onto the other is a point.
30
What is the sign of the dot product of two vectors that point away from each other?
Negative
31
What is the dual of a vector?
The linear transformation that it encodes.
32
What is the dual of a linear transformation to one dimension from some space?
A vector in that space.
33
What is the most common use of the dot product?
Testing if two vectors point in the same direction, or are perpendicular. It is also used for understanding projections.
34
What is the conceptual nature of a vector?
As encoding a linear transformation in some space. As if the vector was shorthand for a linear transformation.
35
What equation describes a system of linear equations?
***Ax*** = ***b*** ( ***A**m,1x1* + ***A**m,2x2* + ... + ***A**m,nxn* ) = *bm* Where ***A*** is a known matrix, ***b*** is a known vector, and ***x*** is a vector of unknown variables we would like to solve for. Each element *xi* of ***x*** is one of these unknown variables. Each row of ***A*** and each element of ***b*** provide a constraint.
36
What is the identity matrix?
A matrix that does not change any vector when we mutiply that vector by that matrix: ## Footnote ***I**n*
37
What is the matrix inverse of ***A***?
The matrix inverse is the matrix ***A***-1 such that: ***A***-1***A*** = ***I***n The matrix that when multiplied by ***A*** yields the identity.
38
Solve ***Ax***=***b*** for ***x***
1. ​***Ax*** = ***b*** 2. ***A***-1***Ax*** = ***A***-1***b*** 3. ***I**n**x*** = ***A***-1***b*** because ***A***-1***A***=***I***n 4. ***x*** = ***A***-1***b*** because ***I***n***x***=***x***
39
Should ***A***-1 be used in practice?
Rarely. ***A***-1 can be represented only with limited precision on a digital computer. As a result, making use of the value of ***b*** can usually obtain a more accurate estimate of ***x***.
40
What is the fundamental condition required for ***A***-1 to exist?
The equation ***Ax***=***b*** must have exactly one solution for every value of ***b***.
41
What is a linear combination?
***Ax*** = sum( ***x***i***A***:,i ) A sum of vectors each multiplied by some corresponding scalar coefficient and adding the results.
42
What is the span of a set of vectors?
Span of a set of vectors is the set of all points obtainable by linear combinations of the original vectors. span( v1, v2, ... vn ) = { c1v1 + c2v2 + ... cnvn | Ci∈ℝ 1\<=i\<=n }
43
How is span used to determine if ***Ax***=***b*** has a solution?
This amounts to testing whether ***b*** is in the span of the columns of ***A***. This is the column space or the range of ***A***.
44
In order for the system ***Ax***=***b*** to have a solution for all values ***b***∈ℝ, what must be true of the column space of ***A***?
The column space of ***A*** must be all of ℝm This implies that ***A*** must have at least *m* columns, or *n*≥*m*
45
What is linear independence?
A set of vectors is linearly independent if no vector in the set is a linear cominbation of the other vectors. If we add a vector to a set that is a linear combination of the other vectors in the set, the new vector does not add any points to the set's span.
46
In order for the column space of a matrix to encompass all of ℝ*m* what must be true?
The matrix must contain at least one set of *m* linearly independent columns. (The matrix must contain a coordinate frame that defines a space ℝ*m*.)
47
What are the necessary and sufficient conditions for the system ***Ax***=***b*** to have a solution for all values ***b***∈ℝ discoverable with the matrix inversion method?
***A*** must have exactly *m* linear independent columns. For **A** to have an inverse, **A** must be square (*m*=*n*) and that all of the columns be linearly independent. Therefore, ***A*** must have *m*=*n* linearly independent columns.
48
What is a singular matrix?
A singular matrix is square and has linearly dependent columns.
49