Up to this point, most of the course has studied linear structure: span, independence, basis, eigenvectors, and diagonalization. Inner products add geometry. They let you talk about length, perpendicularity, and angle inside the same vector spaces.
The key idea is that geometry can be encoded algebraically by one scalar-valued operation.
Why this section matters
When you write
you are not introducing a new symbol for decoration. You are introducing the operation that later controls orthogonality, projection, orthonormal bases, and the inequalities that make Euclidean geometry work in .
Definition
Standard inner product
For vectors , the inner product of v and w is
It is also called the dot product.
Worked example
Compute inner products directly
If
then
If
then
Basic inner-product properties
Theorem
Linearity, symmetry, and positivity
For vectors and scalars , the standard inner product satisfies:
and equality holds if and only if .
The first two properties say the inner product is linear. The third says it is symmetric. The fourth says the inner product measures genuine size rather than an arbitrary signed quantity.
Proof
Why positivity is the key structural axiom
Norm and unit vectors
Definition
Norm
For , the norm of v is
So the norm is the length induced by the inner product.
Theorem
Basic properties of the norm
For every and every scalar :
and if and only if ;
Definition
Unit vector
A vector v is a unit vector if
If , then
is the normalization of v to a unit vector.
Worked example
Compute a norm and normalize
Let
Then
So the corresponding unit vector is
Inner product and norm determine each other
The inner product determines the norm immediately through . The reverse relationship is also important.
Theorem
Conversion formulas
For vectors :
- the polarization identity is
- the parallelogram identity is
These formulas explain why inner-product geometry is so rigid: once you know how length behaves, the inner product can be recovered from it.
Angles between vectors
In and , the inner product can be rewritten in the familiar geometric form
where is the angle between the nonzero vectors x and y.
So
In particular, x and y are perpendicular exactly when
This observation becomes the definition of orthogonality in arbitrary .
Common mistake
Common mistake
The inner product is a number, not a vector
Students sometimes see and think the result is another vector because it comes from multiplying vectors. It is not. The inner product always produces a single scalar. That is why it can be used to measure angle and length.
Quick check
Quick check
What is ?
Multiply matching coordinates and add.
Solution
Answer
Quick check
If , what must v be?
Use the positivity theorem for the norm.
Solution
Answer
Quick check
If , why is v/\|v\| a unit vector?
Apply the scalar rule for norms.
Solution
Answer
Exercises
Quick check
Compute the norm of .
Use .
Solution
Guided solution
Quick check
Normalize to a unit vector.
First compute its norm.
Solution
Guided solution
Quick check
Suppose nonzero vectors x and y satisfy . What can you say about their angle in or ?
Use the cosine formula.
Solution
Guided solution
Related notes
Continue with 9.2 Orthogonal sets and orthonormal bases, where inner products are used to build useful bases and coordinate formulas.
Later inequalities in 9.4 Cauchy-Schwarz and triangle inequalities depend directly on the definitions introduced here.
This chapter also continues the geometric thread opened in 6.5 Basis and dimension.