Linear Algebra Flashcards

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
Q

Is matrix multiplication commutative?

A

No, the condition AB = BA does not always hold.

26
Q

Is the dot product of two vectors commutative?

A

Yes

xTy = yTx

27
Q

What is the transpose of a matrix product?

A

(AB)T = BTAT

28
Q

Derive the commutative rule for the dot product of two vectors.

A

xTy = (xTy)T = yTx using the rule (AB)T = BTAT

29
Q

What is the dot product of two perpendicular vectors and why?

A

The dot product is 0 because the projection of one vector onto the other is a point.

30
Q

What is the sign of the dot product of two vectors that point away from each other?

A

Negative

31
Q

What is the dual of a vector?

A

The linear transformation that it encodes.

32
Q

What is the dual of a linear transformation to one dimension from some space?

A

A vector in that space.

33
Q

What is the most common use of the dot product?

A

Testing if two vectors point in the same direction, or are perpendicular. It is also used for understanding projections.

34
Q

What is the conceptual nature of a vector?

A

As encoding a linear transformation in some space.

As if the vector was shorthand for a linear transformation.

35
Q

What equation describes a system of linear equations?

A

Ax = b

( Am,1x1 + Am,2x2 + … + Am,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
Q

What is the identity matrix?

A

A matrix that does not change any vector when we mutiply that vector by that matrix:

In

37
Q

What is the matrix inverse of A?

A

The matrix inverse is the matrix A-1 such that:

A-1A = In

The matrix that when multiplied by A yields the identity.

38
Q

Solve Ax=b for x

A
  1. Ax = b
  2. A-1Ax = A-1b
  3. I**n**x = A-1b because A-1A=In
  4. x = A-1b because Inx=x
39
Q

Should A-1 be used in practice?

A

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
Q

What is the fundamental condition required for A-1 to exist?

A

The equation Ax=b must have exactly one solution for every value of b.

41
Q

What is a linear combination?

A

Ax = sum( xiA:,i )

A sum of vectors each multiplied by some corresponding scalar coefficient and adding the results.

42
Q

What is the span of a set of vectors?

A

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
Q

How is span used to determine if Ax=b has a solution?

A

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
Q

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?

A

The column space of A must be all of ℝ<em>m</em>

This implies that A must have at least m columns, or nm

45
Q

What is linear independence?

A

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
Q

In order for the column space of a matrix to encompass all of ℝm what must be true?

A

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
Q

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

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
Q

What is a singular matrix?

A

A singular matrix is square and has linearly dependent columns.

49
Q
A