Week 3 Flashcards

1
Q

What are the four fundamental subspaces?

A
  1. Column Space C(A)
  2. Null Space N(A)
    3.Row Space R(A)
    4.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is column space?

A

Column Space C(A) is the span of columns of a matrix (u1,….,un) - all linear combination of vectors {u1,u2…,un}

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

where is column space used?

A

Used in solving equations of the form Ax=b. i.e., for what b does Ax=b have solution? Ans: for all b belongs to C(A)

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

What is a null space?

A

N(A) = {x | Ax=0}

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

What are the two conditions for subspace?

A

1) if x1 and x2 belongs to Null Space of A then x1+x2 also should be in null space of A

  1. If x belongs to N(A) and alpha is a scalar then A(alpha.x)=alpha.A.x =0
    So, alpha.x belongs to N(A)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how to find an x such that Ax=0

A

It is synonymous to ask for a linear combination of the columns of A should result in the zero vector.

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

If A is invertible, then what can we say about the null space of A i.e., N(A)?

A

N(A) has “Zero” only and C(A) is the whole space.

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

How to find Null Space of a matrix A?

A

we can use Guassian elimination to find the Null space of matrix A

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

What is Rank and Nullity?

A

Rank is the number of Pivot Columns and Nullity is the number of free variables.

Rank = dim(C(A)
Nullity = dim (N(A))

If A has n columns ? then Rank + Nullity = n (Rank Nullity theorem)

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

What is Row Space?

A

Row Space is column space of AT (A Transposed) = span of rows of A.

R(A) = C(A Transpose)

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

What is Column Rank ?

A

Column Rank = dim (C(A))

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

What is row rank?

A

row-rank = dim(R(A))

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

What is the left Null SPace?

A

Left Null Space N(A-Transpose) = {y | A-Transpose.y =0 }
= {y| y-Transpose .A =0}

For a mxn matrix A,
[y1… ym] [A] = [0….0]

it is the linear combination of rows leading to zero vector.

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

how are row space and left null space related?

A

dim (C(A-Transpose) + dim(N(A-Transpose)) = Number of rows =m

we know dim(C(A) =r
therefore r+ dim(N(A-Transpose)) = m

=> dim(N(A-Transpose)) =m-r

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

what is length of a vector?

A

Length of vector is the distance of the vector from origin. alias norm of the vector which is square root of squares of the coordinates of the vector.

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

What are orthogonal vectors?

A

Two vectors are orthogonal when their inner product is zero.

17
Q

What is inner product?

A

if x and y are 2 vectors then x-Transpose.y=0 i.e., coordinate wise multiplication

18
Q

Which vector is orthogonal to all vectors?

A

zero vector is orthogonal to every vector x

19
Q

What is the relation between orthogonality and linear independence?

A

If {v1,v2,….,vk} are mutually orthogonal “non-trivial” set of vectors, then {v1,…vk} is a linearly independent set.

On the contrary, if 2 vectors are linearly dependent, then they are not orthogonal (perpendicular) (rather parallel.)

20
Q

What are orthonormal vectors?

A

vectors {u,v} is orthonormal if u-Transpose.v =0 and ||u|| and ||v||=1

21
Q

What are orthogonal subspaces?

A

U, V are orthogonal subspaces if x-Transpose.y=0, for all x belongs to U and y belongs to V.

22
Q

What are the orthogonality relations w.r.t. four fundamental subspaces of a matrix A?

A
  1. R(A) is orthogonal to N(A)
    Note : If Ax=0 where A is mxn matrix then it means that row 1 of matrix A is orthogonal to x and row 2 is orthogoanl to x and all the way to row m orthogonal to x. Not only rows but any linear combination of the rows are also orthogonal to x. therefore R(A) is also orthogonal to N(A)
  2. C( A-Transpose) is orthogonal to N(A)
  3. C(A) is orthogonal to N(A-Transpose)
23
Q

What are projections?

A

finding the shadow of one vector on the other normally incident at 90 degrees.

Remark: we want to project vector b onto vector x which will be incident at point p on vector x.

24
Q

Why do we need projection?What are inconsistent system?

A

A system of equations which does not have any solution is called “Inconsistent”
In terms of Matrix, Ax=b, Inconsistent systems means b does not belong to C(A). In such situations, it makes sense to project b onto C(A)

25
Q

What is project on to a line?

A

b is a vector which needs to be projected onto a at point P which is perpendicular to x. the length of the projection c=b-p
c is perpendicular to a
project p = x-hat .a
c=b-p=b-x-hat.a
(b-x-hat.a) perpendicular to a
a(b-x-hat.a)=0 leading to x-hat = a-Transpose b divided by a-Transpose.a

p= x-hat.a= ((a-Transpose / a-Transpose.a).a

26
Q

what are cauchy -Schqarz inequality?

A

|a-Transpose.b| <= ||a|| . ||b||

27
Q

What is a projection matrix?

A

P= a.a-Transpose / a-Transpose.a .

then, projection of b onto a is Pb.

To project any vector b, just left multiply by Proj matrix P.

Observe: P is symmetric
P^2 =P ie., P^2b = Pb (Idea: Pb is already on the line through a. So, another round of projection wont change it)

28
Q

what is least squares method? where is it used?

A

Taking derivative and finding the minima turns out to be the same as performing a projection

29
Q
A