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 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)Dot Product and ProjectionsDot Product

Longest path: 79 steps · 316 total prerequisite topics

Prerequisites (3)

Leads To (0)

No topics depend on this one yet.