Vectors
Vectors are lists of points that represent a linear combination of basis vectors... but that's a topic for linear algebra. In two dimensions, they're "arrows" from the origin to a point. So, the vector represents "3 units across and two up."
There are some nontrivial operations we can do with vectors (I'm sure you can figure out how to do vector addition and multiplication by scalars).
Dot Product ()
This is the "multiplication" of vectors. Essentially, it gives us a scalar value representing how much aligns with in terms of magnitude and direction.
There are two ways to calculate it: and
Projection
The projection of a vector onto another vector gives us the actual vector:
See if you can figure out why this makes sense given what you know about the dot product (and the diagram above).
Cross Product ()
In three dimensions, the cross product of and returns a vector that is perpendicular to both — that is, the normal vector to the plane defined by and The magnitude of is the area of the parallelogram with and for sides. Calculating it is somewhat tedious, but it looks like:
So... I hope and pray that you don't have to calculate this manually in any of your classes, ever.