Dot and Cross Product of Two Vectors
Core Titles
Key headlines and terms for quick recall- Dot (scalar) product
- Component form
- Cross (vector) product
- Magnitude
- Direction: right-hand rule, perpendicular to both
- Triple product — volume of parallelepiped
Basic Idea
What it is, why it matters, how it worksDot product (scalar)
Returns a scalar. Measures how much and point in the same direction.
Key results.
- Angle:
- Work done by force over displacement is .
Cross product (vector)
Returns a vector perpendicular to both and , with magnitude and direction by the right-hand rule.
Key results.
- (anti-commutative)
- Useful for normals to planes, torque (), angular momentum.
Scalar triple product
Equals the signed volume of the parallelepiped with edges . Zero iff the three vectors are coplanar.
Why this matters in Data Science
Dot product is used in cosine similarity, neural-network forward passes, kernels. Cross product appears in 3D geometry — important for graphics, robotics and physics-based ML.
Mind Map
Visual structure of the conceptDOT vs CROSS
├── DOT a·b (scalar)
│ ├── = ‖a‖‖b‖ cos θ
│ ├── = Σ aᵢbᵢ
│ ├── a·a = ‖a‖²
│ └── a⊥b ⇔ a·b = 0
├── CROSS a×b (vector)
│ ├── Magnitude: ‖a‖‖b‖ sin θ
│ ├── Direction: right-hand rule
│ ├── Perpendicular to both
│ ├── Anti-commutative
│ └── ‖a×b‖ = area of parallelogram
└── Triple product a·(b×c)
└── Volume of parallelepiped
Exam Q&A
Part A (2 marks) and Part B (20 marks) style questionsPart A (2 marks each)
Q1. State the dot product formula. .
Q2. State the magnitude of the cross product. , equal to the area of the parallelogram formed by the two vectors.
Q3. Find the angle between and . , , .
Q4. What does imply? The three vectors are coplanar.
Part B (20 marks)
Q. Define dot and cross product of vectors. Derive expressions in component form and give geometrical meaning. Given and , find , , the angle between them, and the area of the parallelogram they span.
Dot product. Component form. Write etc. Using , : Geometric meaning. Scalar projection times magnitude — measures alignment. Zero ⇒ perpendicular.
Cross product. where is the unit normal by the right-hand rule. Component form: Geometric meaning. The magnitude is the area of the parallelogram with sides and ; the direction is perpendicular to both.
Computations.
Dot product: .
Cross product:
Angle. . .
Area of parallelogram. .