Vectors Flashcards

(10 cards)

1
Q

What is a vector?

A

A data structure that represents a size and a magnitude, made up of at least 2 components.

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

How can vectors be represented?

A
  • List of numbers
  • Functions
  • Geometric point in space pointed to by an arrow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can a vector with n components from the set of reals be written?

A

Rn

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

How can a vector be represented using a dictionary?

A
  • Key: The value in the domain
  • Value: The image in the codomain
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can we express a vector as a function?

A

f:S —> R where S is the set of values that the function can be applied to (domain) and R is the potential outputs of the function (co-domain)

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

What is the dot product of 2 vectors?

A

The single value result when applying one vector’s magnitude and direction to another

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

How do you calculate the dot product?
U = [u1, u2, … , un]
V = [v1, v2, … , vn]

A

U x V = u1v1 + u2v2 + … unvn

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

What are the uses of the dot product?

A

Can be used to find the angle between them using the formula:
ab = |a||b|cosx

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

What is a convex combination of two vectors?

A

A vector that lies on the line between two vectors

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

When is D a convex combination where:
D = aA + bB
Where A, B are vectors and a,b are scalars

A

If a and b are both greater than or equal to 0 and a + b = 1

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