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

Dot Product (Inner Product in R^n)

College Depth 76 in the knowledge graph ☐ I know this ☆ Set as goal
6,049topics build on this
313prerequisites beneath it
See this on the map →
Scalar Multiplication of VectorsVector Addition and Subtraction+4 more→→Ampère's LawAttention Mechanisms+19 more
dot-product inner-product angle projection

Core Idea

The dot product of two vectors u and v is the sum of products of corresponding components: u · v = u₁v₁ + u₂v₂ + ... + uₙvₙ. It measures alignment between vectors and connects to angle via cos(θ) = (u · v)/(‖u‖‖v‖). The dot product is zero precisely when vectors are orthogonal.

Explainer

You already know how to add vectors component-by-component and scale them by scalars. The dot product is a new kind of operation: it takes two vectors and returns a single number (a scalar), not another vector. The formula is straightforward — multiply corresponding components and add all the products: u · v = u₁v₁ + u₂v₂ + … + uₙvₙ. What makes this operation important is not the arithmetic but what the resulting number means.

The dot product measures how much two vectors "agree in direction." The key relationship is the angle formula: cos(θ) = (u · v) / (‖u‖ ‖v‖), where θ is the angle between u and v and ‖u‖, ‖v‖ are their lengths (magnitudes). This lets you interpret the sign and size of the dot product geometrically. If u · v > 0, the angle is acute — the vectors point roughly the same way. If u · v = 0, the angle is exactly 90°, meaning the vectors are orthogonal (perpendicular). If u · v < 0, the angle is obtuse — the vectors point more away from each other than toward each other.

Orthogonality deserves special attention because it comes up constantly in linear algebra. Two vectors are orthogonal if and only if their dot product is zero. This is a purely algebraic test for a geometric property: no trigonometry required. From your work with vector addition, you know that vectors can be decomposed and recombined; orthogonal vectors are the cleanest building blocks because they carry zero "overlap" with each other.

The dot product also connects directly to projections. The scalar projection of u onto v — how much of u lies along v's direction — is exactly (u · v) / ‖v‖. If you have been thinking of u as a force and v as a direction of motion, this projection is the component of the force doing useful work. That physical interpretation is why the dot product appears throughout mechanics, electromagnetism, and signal processing.

Practice Questions 3 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)

Longest path: 77 steps · 313 total prerequisite topics

Prerequisites (6)

Leads To (21)