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 moreAmpè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 ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewVectors in Two DimensionsVector Operations: Addition, Subtraction, and Scalar MultiplicationDot Product (Inner Product in R^n)

Longest path: 77 steps · 313 total prerequisite topics

Prerequisites (6)

Leads To (21)