A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Dot Product

College Depth 78 in the knowledge graph ☐ I know this ☆ Set as goal
316prerequisites beneath it
See this on the map →
Vector Operations: Addition, Subtraction, and Scalar MultiplicationDot Product and Projections+1 more→
vectors dot-product orthogonality

Core Idea

The dot product of two vectors u = (u1, u2) and v = (v1, v2) is u * v = u1*v1 + u2*v2, a scalar (not a vector). Geometrically, u * v = |u| |v| cos(theta), where theta is the angle between them. The dot product measures how much two vectors point in the same direction. It is zero when vectors are perpendicular (orthogonal), positive when they point similarly, and negative when they point oppositely.

How It's Best Learned

Compute dot products algebraically, then verify with the geometric formula. Use the dot product to find angles between vectors, check orthogonality, and compute projections. Connect to work in physics (W = F * d) and to the Law of Cosines.

Common Misconceptions

Explainer

From vector operations, you know how to add vectors and scale them, but those operations always return another vector. The dot product does something different: it takes two vectors and returns a single number. That number encodes something geometrically meaningful — how much the two vectors "agree" in direction.

The algebraic definition is straightforward: for u = (u₁, u₂) and v = (v₁, v₂), the dot product is u · v = u₁v₁ + u₂v₂. Multiply corresponding components, then add. For example, (3, 4) · (1, 2) = 3·1 + 4·2 = 3 + 8 = 11. This formula extends naturally to any number of dimensions: just multiply matching components and sum. The result is always a scalar — a plain number with no direction.

The geometric formula u · v = |u| |v| cos θ reveals what that scalar measures. Here θ is the angle between the vectors. When the vectors point in the same direction, θ = 0 and cos θ = 1, giving the maximum possible dot product. When they are perpendicular (θ = 90°), cos θ = 0 and the dot product is exactly zero — this is the test for orthogonality. When they point in opposite directions, θ = 180° and the dot product is negative. The dot product's sign alone tells you whether two vectors point toward the same half-space (positive), are perpendicular (zero), or oppose each other (negative).

You can connect this to the Law of Cosines you may have seen. The law of cosines says c² = a² + b² − 2ab cos θ for a triangle with sides a, b, c. If you set up the triangle with two sides as vectors u and v, then c = u − v, and expanding |u − v|² = |u|² − 2(u · v) + |v|² recovers the law of cosines exactly — with u · v playing the role of ab cos θ. This is more than a coincidence; it shows that the dot product is the algebraic encoding of angle, connecting the abstract component formula to the familiar geometry of triangles. This connection becomes the foundation for projection — decomposing one vector along the direction of another — which you will use extensively in calculus and linear algebra.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Vectors in Two Dimensions → Vector Operations: Addition, Subtraction, and Scalar Multiplication → Dot Product (Inner Product in R^n) → Dot Product and Projections → Dot Product

Longest path: 79 steps · 316 total prerequisite topics

Prerequisites (3)

Leads To (0)

No topics depend on this one yet.