3- Vectors and Linear Combinations Flashcards

1
Q

What is a vector?

  • What is R^n? How is it usually written?
  • What is R^2? And so…?
  • What is R^3? And so…?
A
  • it is an ordered pair of n values.
  • R^n is the set of all the n-vectors over R, usually written as a nx1 matrices.
  • R^2 is the set of all vectors with 2 entries, it represents all points in the plane.
  • R^3 is the set of all vectors with 3 entries, I represent all points in the 3d space.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  • Vector addition;
  • scalar multiplication.
A
  • addition of the corresponding entries of xvector and yvector.
  • multiplication of each entry in vector v by the scalar alfa.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Linear combination of vector v and w:
- what does it represent?
- notation

A
  • the vector obtained by adding two or more vectors which are multiplied by scalar values (that can also be 0)
    -av(vector) + bw(vector)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a span of vector v and vector w?
And so…

What happen if we are in R^2 and we use 2 linearly independent vectors?

A

A span is a set of all the linear combinations between vectors v and w.
All the possible vectors that you can reach using vector addition and scalar multiplication.

We can access any vector in the 2d space.

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

Linearly dependent vectors:
- when?
- what does it mean? What do we have?

A
  • when one vector can be expressed as a linear combination of the others: u= av. * bw.
  • it means that we have vectors that do not add dimensions to the span and so they can be removed without losing information, we have redundant vectors.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Linearly independent vectors:
- when?
- what does it mean?

A
  • a vector can not be expressed as the linear combination of the others.
  • each vector adds another dimension to the span (new informations).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a basis of the vector space?

A

Set of linearly independent vectors that span the full space.

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

Dot product on vectors:
- also called
- what is it?
- notation
-example

A
  • scalar product
  • the mathematical operation that takes 2 vectors and returns a scalar.
  • v. * w. = v1w1 + … + vnwn
  • (1,2) * (3,4) = 13 + 24 = 3+8= 11
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

L1 and L2 Norms:
- how are also called L1 and L2?
- What is L1 and its notation.
- What is L2 and its notation.

A
  • L1 is the Manhattan distance and L2 is the Euclidean distance.
  • L1 is the sum of the absolute values of the vector’s components.
    ||v.||1 = |v1| + … + |vn|
  • L2 is the square root of the sum of the squares of the vector’s components.
    ||v.||2 = sqrt( v1^2 + … + vn^2)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Line segments between 2 vectors:
- what is it? notation?

A
  • it is the set of points between the vectors:
    { alfav. + betaw. :
    alfa, beta belong to R;
    between 0 and 1;
    and alfa+beta = 1 }
How well did you know this?
1
Not at all
2
3
4
5
Perfectly