Vector Spaces, Span and Basis, Null Space, Eigen Vectors and Inner Product Flashcards

1
Q

What is cofactor expansion? Explain shortly how it works?

A

You take the first value and you multiply it by the determinant of the values that are in the rows below the row where the value is and the columns to the right of where the value is.

You take the second one and you follow the same judgement. you take the determinant of everything but the column and row that the value is on.

Same with the third one.

Then you do first computation - second one + third, for some reason that is unknown to me to this day :(

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

Is the cofactor expansion efficient?

A

No, as in general, it requires n! multiplications.

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

When a square matrix is in echelon form, there is a simple way to calculate the determinant. How?

A

The determinant of a matrix in echelon form is triangular so the determinant will be the product of the diagonal values.

But, there is one more thing to add. you multiply this result to (-1)ˆr, r meaning the number of interchanges you made to reach the echelon form.

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

Reminder:

When a square matrix is in echelon form and one row is 0, the matrix a is not invertible. True or false?

A

True. Because an invertible square matrix in echelon form has pivot positions on the main diagonal. a pivot cannon be 0.

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

When two rows in a matrix are equal, then the determinant of the matrix is __.

A

0

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

The vector space is subject to 10 axioms. Name some.

A
  1. the sum of u + v is in V
  2. u + v = v + u
  3. (u + v) + w = u + (v + w)
  4. There is a zero vector 0 in V such that u + 0 = u
  5. For each u in V, there is a vector -u in V such that u + (-u) = 0
  6. The scalar multiple of u by c, denoted cu, is in V
  7. c(u + v) = cu + cv
  8. (c + d)u = cu + du
  9. c(du) = (cd)u
  10. 1u = u
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a vector space?

A

A vector space is a nonempty set V of objects, called vectors, on which are defined two operations, addition and multiplications by scalars.

Maybe a better definition:
A vector space is a set of objects called vectors, which may be added together and multiplied (“scaled”) by numbers, called scalars.

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

A subspace of a vector space V is a subset H of V that has three properties:

A
  1. The zero vector of V is in H
  2. H is closed under vector addition. That is, for each u and v in H, the sum u + v is in H
  3. H is closed under multiplication by scalars. That is, for each u in H and each scalar c, the vector cu is in H.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The space Rˆn consists of …

A

… all column vectors v with n components

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

Define span.

A

The span is the set of all linear combination of v1, …, vp
and is called the subset of Rˆn spanned (or generated) by v1, …, vp.

SO, Span{v1, …, vp} is the collection of all vectors that can be written in the form

  c1 v1 + c2 v2 + ... + cp vp

Maybe watch some YT videos on span to get a better sense of what it is.

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

How many vectors are in Span{}?

A

Only one. The zero vector.

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

How many vectors are in Span{[2,3]} over R?

A

An infinite number

{aplha[2,3], alpha in R}

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

Is the span of k vectors always k-dimensional?

A

No.

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

What is the span of the following?

a. {[0,0]}
b. {[1,3], [2,6]}
c. {[1,0,0], [0,1,0], [1,1,0]}

A

a. 0 dimensional because it only has the 0 vector so {}
b. 1-dimensional because one is a multiple of the other
c. 2 - dimensional because first + second = third

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

It would be useful to know what trivial and nontrivial solutions are. Click

A

The system of equation in which the determinant of the coefficient matrix is zero is called non-trivial solution.

And the system of equation in which the determinant of the coefficient matrix is not zero but the solution are x=y=z=0 is called trivial solution.

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

What is linear dependence?

A

Vectors v1, …, vn are linearly dependent if the zero vector can be written as a nontrivial linear combination of the vectors:

0 = a1 v1 + … + an vn

e.g., 2[1,0,0] + 2[0,2,0] - 1[2,4,0] = [0,0,0]

17
Q

If the only linear combination that equals the 0 vector is the trivial linear combination, then v1, …, vn …

A

… are linearly independent

we had this example for linear dependency
e.g., 2[1,0,0] + 2[0,2,0] - 1[2,4,0] = [0,0,0]

if you can only multiply by 0 all the vectors to get the zero vector, then the vectors v1, …, vn are linearly independent.

18
Q

For which 2-vector v over R does Span{v} consists of a finite number of vectors?

A

The [0,0] vector

Any other vector would have infinite span.

19
Q

If a set contains more vectors than there are entries in each vector, then the set is linearly ____.

A

dependent.

e. g., [2 3], [3 4], [7 8] are linearly dependent

20
Q

If the set {v1, …, vp} in Rˆn contains the zero vector, then the set is linearly ____.

A

dependent.

21
Q

H is a subspace of a vector space V. A set of vectors B = {b1, …, bp} in V is a basis for H if:

A
  1. B is a linearly independent set, and
  2. the subspace spanned by B coincides with H

that is, H = SpanB

22
Q

What is the column space of M?

A

The column space is the vector space spanned by the columns of M.

23
Q

What is the row space of M?

A

The row space is the vector space spanned by the rows of M.

24
Q

What is the null space of M?

A

The null space of M is the set of all solutions of the homogeneous equation Mx=0, that is the set of x’s.

25
Q

What is the dimension of a nonzero subspace H? (dimH)

A

The dimension of a nonzero subspace H is the number of vectors in any basis for H.

Remember: THE DIMENSION OF NULL SPACE OF A MATRIX IS THE NUMBER OF FREE VARIABLES IN THE EQUATION Ax= 0.

26
Q

What is the dimension of the zero subspace {0}?

A

0

27
Q

What is the rank of a matrix?

A

The rank of the matrix is the dimension of the column space of that matrix.

Remember: The pivot columns of a matrix form a basis for the column space, so
THE RANK OF THE MATRIX IS THE NUMBER OF PIVOT COLUMNS IN THE MATRIX

28
Q

What is an eigenvector?

A

An eigenvector of a n x n matrix is a nonzero vector x such that Ax = qx, for some scalar q.

The scalar is called an eigenvalue of the matrix if there is nontrivial solution to x of Ax = qx; such x is called eigenvector corresponding to q.

29
Q

Take some time now to go through the steps of calculating eigenvalues, eigenvectors and basis for the corresponding eigenspace.

A

Are you sure you took enough time?

30
Q

The eigenvalues of a triangular matrix are …

A

… the entries on its main diagonal.

BTW: A triangular matrix is a matrix that has only 0s under the main diagonal.

31
Q

A square matrix is invertible if and only if it does not have a zero eigenvalue. Why?

A

(I think) it is because when you bring a square matrix to a triangular form, then the eigenvalues are on the main diagonal. At the same time, when calculating the determinant of a triangular matrix, you compute the product of the values on the main diagonal.

If there is a 0 eigenvalue on the main diagonal, then the determinant is 0, which makes the matrix non-invertible.

32
Q

If v1, …, vr are eigenvectors that correspond to distinct eigenvalues q1, …, qn, then the set {v1, …, vn} is linearly ____.

A

independent

33
Q

Let A be an n x n matrix. Then A is invertible if and only if:

a. the number 0 is not an eigenvalue of A
b. _____

A

The determinant of A is not 0.

34
Q

What is inner product?

A

It’s dot product.

35
Q

How do you calculate the length of a vector?

A

||v|| = sqrt(v v) = sqrt(v1ˆ2 +…+ vnˆ2)

It’s based on the Pythagorean Theorem, and it makes more sense when you think of that. Google an example, the pictures are pretty self-explanatory.

36
Q

When are two vectors orthogonal?

A

When u * v = 0

There is this very long example in the slides of Lectures 13 + 14. Check it out.