0 - Special Topic: Gram-Schmidt Process Flashcards

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

What does normalizing a vector do, and how do we calculate it?

A

Normalizing a vector shrinks or scales it to its unit vector form. This is done by normalizing or dividing the vector’s components by its magnitude. The magnitude is found by taking the square root of the squares of the components.

ex) u1 = v1 / ||v1||

= v1 / sqrt( a2 + b2 )

…where a and b are vector v’s components

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

Define the “dot” product”.

A

Dot Product = “Scalar” Product

= “Sum of Products”

= component-wise multiplication, then add them all up

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

How do you calculate a…

…projb(a) = projection onto b of a?

…proja(b) = projection onto a of b?

A

projb(a) = projection onto b of a

= some scaled value of the vector b

= ( scalar ) x vector b

= (dot product of a • b) x vector b

= (a • b) x b

…and the reverse for proja(b)

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

What is the Gram-Schmidt Process in math terms?

A

The Gram-Schmidt Process is a method of turning a given set of vectors into a set of orthonormal vectors that spans the original entire set.

You can think of it as a 3 part process:

  1. Pick any arbitrary vector to be our first vector and then normalize that vector by its magnitude. This will give us our first unit vector, u1
    u1 = v1 / ||v1||
  2. Then take our next vector and subtract out its projection onto the first vector of this second vector. Then normalize this vector by its magnitude.
    u2 = ( v2 - proju1(v2) ) / ||v2||
  3. Take our next vector and subtract out its projections onto the first and second vectors. Then normalize this by its magnitude.
    u3 = ( v3 - proju1(v3) - proju2(v3) ) / ||v3||
  4. Repeat step 3 for the rest of the vectors.
    u4 = ( v4 - proju1(v4) - proju2(v4) - proju3(v4) - … ) / ||v<span>4</span>||
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the Gram-Schmidt Process ​in words?

A

The Gram-Schmidt Process is a method of turning a given set of vectors into a set of orthonormal vectors that spans the original entire set.

You can think of it as a 3 part process:

  1. Pick any arbitrary vector to be our first vector and then normalize that vector by its magnitude.
  2. Then take our next vector and subtract out its projection onto the first vector of this second vector. Then normalize this vector by its magnitude.
  3. Take our next vector and subtract out its projections onto the first and second vectors. Then normalize this by its magnitude.
  4. Repeat step 3 for the rest of the vectors.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When you have two vectors a, b with their tails glued at the origin and pointing in different directions, how do you calculate the vertical component of vector a?

A

= vertical component of a

= entire vector a - the horizontal component of a

= a - projb(a)

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

What does it mean to be orthogonal?

What does it mean to be orthonormal?

A

Orthogonal = vectors are 90 degrees from each other = perpendicular

Orthonormal = vectors are orthogonal AND normalized

(ie - they are the unit vectors making up the fundamental directions)

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