Vectors Explained: Magnitude, Dot Product and Cross Product
On this page
A vector has a size (magnitude) and a direction, written with components like . Its magnitude is found with Pythagoras. The dot product multiplies matching components and adds, and tells you the angle between vectors. The cross product of two 3D vectors gives a vector perpendicular to both.
Magnitude
.
The dot product
Example: .
The angle between two vectors
For the example: , so .
The cross product (3D only)
Example: .
The result is perpendicular to both vectors, and its length equals the area of the parallelogram they form.
Adding vectors
Add matching components: . Geometrically, place the second vector at the tip of the first.
Common mistakes
- Expecting the dot product to be a vector (it is a number).
- Getting the order wrong in the cross product: .
- Using degrees and radians inconsistently for the angle.
Practice questions
- Are and perpendicular?
Answers: 1) 10 2) 12 3) Yes, the dot product is 0
The vector calculator finds all of these at once and draws 2D vectors tip to tail. Distance between points uses the same idea; see the distance calculator and the Pythagorean theorem.
Frequently asked questions
What is a unit vector?
A vector of length 1, found by dividing a vector by its magnitude.
Can I take the cross product in 2D?
Not as a vector. In 2D, a₁b₂ − a₂b₁ gives the signed area of the parallelogram.
What does a negative dot product mean?
The angle between the vectors is more than 90°.
#vectors#linear algebra
