Vector fundamentals and dot product
IB Mathematics: Analysis and Approaches HLΒ· IB AA HL Syllabus 3.12Β· 15 min read
1. Vector Fundamentals in 2D and 3Dβ β ββββ± 4 min
Position Vector
A position vector connects the origin to a point in 3D space, with components equal to the coordinates of the point.
Example:
The position vector of point is .
The magnitude (length) of a vector is calculated using the 3D extension of Pythagoras' theorem:
A unit vector in the direction of oxed{\vec{v}} is found by dividing oxed{\vec{v}} by its own magnitude.
Find the unit vector in the direction of
- 1
First calculate the magnitude of :
- 2
- 3
Divide each component of by the magnitude to get the unit vector:
- 4
2. Algebraic Definition of the Dot Productβ β ββββ± 5 min
Dot Product (Scalar Product)
For two vectors and , the dot product is the sum of the products of corresponding components.
Example:
If and , then .
The dot product follows standard algebraic properties: it is commutative () and distributive over vector addition ().
Calculate where and
- 1
Write out all components, including the zero -component for : ,
- 2
Multiply corresponding components and sum the results:
- 3
3. Geometric Interpretation: Angles Between Vectorsβ β β βββ± 6 min
The geometric definition of the dot product connects it to the angle between two vectors placed tail-to-tail, where :
Rearranging this formula gives us a way to calculate the angle between any two non-zero vectors:
Find the angle between and , to the nearest degree
- 1
Calculate the dot product of the two vectors:
- 2
- 3
Since the dot product is zero and both vectors are non-zero, they are perpendicular:
- 4
Test your understanding:
What is the angle between two non-zero vectors with ?
0Β°
90Β°
180Β°
45Β°
Reveal answer
180Β° βCorrect! Rearranging gives , so , meaning the vectors point in opposite directions.
4. Scalar Projection of Vectorsβ β β βββ± 5 min
Scalar Projection
The scalar projection of onto is the signed length of the component of that lies along the direction of .
A positive projection means the component points in the same direction as , while a negative projection means it points in the opposite direction.
Calculate the scalar projection of onto
- 1
First calculate the dot product and magnitude of :
- 2
- 3
Substitute into the projection formula and rationalize:
- 4
5. Common Pitfalls
Wrong move:
Forgetting to include zero components when calculating the dot product
Why:
Vectors written only with non-zero components still have zero components for missing axes that contribute to the calculation
Correct move:
Always write out all components (including zeros) for 3D vectors before calculating the dot product
Wrong move:
Treating the dot product result as a vector instead of a scalar
Why:
The dot product (scalar product) always outputs a single number, not a multi-component vector
Correct move:
Remember the name: scalar product outputs a scalar, cross product outputs a vector
Wrong move:
Using the wrong calculator angle mode for angle questions
Why:
Calculators output different results for radians vs degrees, leading to incorrect final answers
Correct move:
Always check your calculator's angle mode matches the requirement stated in the question
Wrong move:
Assuming a zero dot product means one vector is the zero vector
Why:
The most common case of a zero dot product is two non-zero perpendicular vectors
Correct move:
If the dot product is zero and both vectors are non-zero, conclude they are perpendicular
6. Quick Reference Cheatsheet
Concept | Formula |
|---|---|
Vector magnitude | |
Unit vector | |
Dot product (algebraic) | |
Dot product (geometric) | |
Angle between vectors | |
Perpendicular condition | |
Scalar projection |
7. Frequently Asked
Is the dot product of two vectors a vector or a scalar?
The dot product (also called the scalar product) always produces a scalar value, unlike the cross product which produces a vector. This is a key distinction you must remember for exams.
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2022 Β· 1
Find angle between two 3D vectors
- 2023 Β· 2
Prove two lines are perpendicular
- 2024 Β· 1
Calculate scalar projection of vector
Going deeper
What's Next
Vector fundamentals and the dot product form the foundation for all further vector topics in IB AA HL. You will use the dot product constantly when working with lines and planes in 3D space, from finding angles between lines to calculating distances from points to planes. These skills also underpin cross product calculations, which are used for finding areas of parallelograms and normals to planes. Mastery of these core concepts will make more advanced vector geometry problems much more manageable, as almost all vector problems rely on correctly calculating dot products and interpreting their results.
