Linear AlgebraLinear AlgebraCollege
Vectors
Vector arithmetic, dot and cross products, unit and orthogonal vectors.
A vector has both size and direction and is written in components such as . Vectors add tip to tail, component by component, and scalar multiplication stretches or shrinks them. The magnitude is the length.
The dot product measures how aligned two vectors are and equals , so a zero dot product means the vectors are perpendicular. In three dimensions the cross product gives a vector perpendicular to both, with length equal to the area of the parallelogram they span.
Key terms
- Dot product
- Sum of products of components; zero exactly when nonzero vectors are orthogonal.
- Unit vector
- A vector divided by its length.
Key ideas
- Unit vector: .
- Angle between vectors: .
- Projection of onto : .
- Cross product is anti-commutative: .
Worked example
Find the angle between and .
- Dot product: .
- Magnitudes: , .
- .
- .
Answer: about
Common mistakes
- Multiplying magnitudes instead of components for the dot product.
- Forgetting the square root in the magnitude.
- Expecting the dot product to be a vector.
Practice questions
Try each one, then open the answer. Numerical answers on this page are verified by an automated calculation check.
1.Find .
Show answer
2.Find .
Show answer
3.For which is perpendicular to ?
Show answer