Inner Products, Norms & Angles
An inner product turns two vectors into a single scalar, and from it we build the norm — unlocking length, distance, the Cauchy–Schwarz inequality, orthogonality, the Pythagorean theorem, and the angle between vectors.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
True or false: the vectors and are orthogonal.
Find the unit vector in the direction of . Give the components as decimals (to 3 places).
What you’ll be able to do
- State the four axioms of an inner product (Definition 8.1) — additivity and homogeneity in the first slot, symmetry, and positive definiteness — and recognise that symmetry forces linearity in the second slot too, making the map bilinear.
- Apply the Cauchy–Schwarz inequality (Lemma 8.1) , equivalently , and know that equality holds exactly when and are parallel.
- State the norm axioms (Definition 8.2) and use Theorem 8.1 to form the induced norm , specialising to the dot product (Definition 8.3) and the Euclidean norm (Definition 8.4).
- Use Definition 8.5 to test orthogonality (), measure length and distance , and normalise a nonzero vector to the unit vector (Remark 8.2).
- Apply the Pythagorean theorem (Theorem 8.3) and compute the angle between vectors via (Definition 8.6).
In your course
· MATH2015 · Linear Algebra & Probability- Definition 8.1Inner productA map that is additive and homogeneous in the first slot, symmetric, and positive definite (, with ).
- Lemma 8.1Cauchy–Schwarz inequality, equivalently ; equality holds iff and are parallel.
- Definition 8.2NormA map with , the triangle inequality , and .
- Theorem 8.1Norm induced by an inner productIf is a real inner product space, then is a norm on .
- Definition 8.3Dot product on.
- Theorem 8.2The dot product is an inner productThe dot product on satisfies the four inner-product axioms.
- Definition 8.4Euclidean norm, the norm induced by the dot product (also written ).
- Remark 8.1Not every norm comes from an inner productThe taxicab norm and the maximum norm are norms not induced by any inner product.
- Definition 8.5Orthogonality, length, unit vector, distance; length ; is a unit vector iff ; distance .
- Theorem 8.3Pythagorean theoremFor , .
- Definition 8.6Angle between vectorsThe unique angle with .
Inner products: multiplying two vectors into a scalar
Let be a real vector space. An inner product (or scalar product) is a map that assigns a real number to a pair of vectors and satisfies four axioms for all and all (Definition 8.1): (1) additivity in the first slot, ; (2) homogeneity in the first slot, ; (3) symmetry, ; and (4) positive definiteness, with . A space carrying such a map is an inner product space. Because of symmetry, linearity in the first slot automatically yields linearity in the second ( and ), so an inner product is bilinear. Inner products need not be the dot product: on the weighted formula is a genuine inner product (Example 8.1), since it is bilinear, symmetric, and whenever .
From inner products to norms: Cauchy–Schwarz and the Euclidean norm
A norm measures length. By Definition 8.2 it satisfies (scaling), the triangle inequality , and . Theorem 8.1 says every inner product induces a norm by which is well defined because positive definiteness makes . The only delicate axiom is the triangle inequality, and it follows from the Cauchy–Schwarz inequality (Lemma 8.1), which in norm notation reads . The central example is the dot product on , (Definition 8.3), which is an inner product (Theorem 8.2); its induced norm is the Euclidean norm (Definition 8.4), sometimes written . Not every norm comes from an inner product, however: the taxicab norm and the maximum norm are perfectly good norms with no underlying inner product (Remark 8.1).
Geometry: orthogonality, length, unit vectors, and distance
With the dot product in hand, Definition 8.5 imports the familiar Euclidean geometry into . Two vectors are orthogonal (perpendicular), written , exactly when their dot product vanishes: The length (or magnitude) of is , and is a unit vector when its length is , equivalently . The distance between two vectors is the length of their difference, . Two facts are worth memorising (Remark 8.2): the zero vector is orthogonal to every vector, since ; and any nonzero can be normalised into a unit vector pointing the same way, For instance has , so its unit vector is .
The Pythagorean theorem and the angle between vectors
Expanding a squared norm with bilinearity gives . The cross term disappears precisely when , which is the Pythagorean theorem (Theorem 8.3): Cauchy–Schwarz also lets us define angles. For nonzero it guarantees , so there is a unique angle with (Definition 8.6); orthogonal vectors meet at , where the cosine is . For example and give and , so and . Remark 8.3 cautions that both length and angle depend on the chosen inner product — switch to a weighted inner product and the same two vectors generally subtend a different angle.
In a real inner product space , every satisfy , equivalently . Equality holds if and only if and are parallel.
If is a real inner product space, then defines a norm on .
The dot product on (Definition 8.3) satisfies all four inner-product axioms; the norm it induces is the Euclidean norm (Definition 8.4).
For , if and only if (that is, ).
Worked examples
Let and in . Find the dot product , the Euclidean norms and , and the angle between and (in degrees).
- 1
Dot product (Definition 8.3): .
- 2
Euclidean norms (Definition 8.4): and .
- 3
Angle (Definition 8.6): .
- 4
Invert the cosine: .
Let and in . (a) Find . (b) Find the unit vector in the direction of . (c) Show and are orthogonal. (d) Find the distance .
Equip with the weighted inner product (Example 8.1). For and , compute , the induced norms and , and verify the Cauchy–Schwarz inequality.