14 Functors, Bilinear Forms, and Inner Products
Interlude: the language of categories
(Then we’ll return to (bi)linear algebra.)
Definition 14.1. A category is a collection of objects, plus for each pair of objects a collection of morphisms
- every object
has an identity morphism such that for all , ; - composition is associative:
.
Example 14.2.
- The category of sets,
= all maps . : finite-dimensional vector spaces over , linear maps.- Groups, group homomorphisms.
- Topological spaces, continuous maps.
Definition 14.3.
Check:
- the inverse of
, if it exists, is unique; is an isomorphism; iso iso; isos iso.
So the automorphisms of
- Isomorphic objects have isomorphic automorphism groups: an isomorphism
determines an isomorphism of groups , .
Example 14.4.
- In Sets,
a finite set with elements . an -dimensional vector space over , the invertible matrices.
Category theory language can be used to formalize the common features of sums, products, quotients of objects in different categories. E.g. a product object
We won’t study this further.
Functors
Definition 14.5. Let
- to each object
in , of an object in ; - to each morphism
, of a morphism ,
such that
; .
Example 14.6.
- The forgetful functor taking a group, a topological space, … to the underlying set.
- On vector spaces: given a vector space
, . If is linear, then the induced map is This gives a functor (denoted ). - Complexification,
: on objects, ; on morphisms, (seen last time).
A contravariant functor is the same except the direction of morphisms is reversed:
Example 14.7. On
There’s one more layer to this, if you love category theory: given 2 functors
Example 14.8. On
Bilinear forms
Definition 14.9. A bilinear form on a vector space
This is not a linear map
Definition 14.10. We say
Example 14.11.
- The usual dot product on
, , is symmetric. , is skew-symmetric.
Given a bilinear map
Definition 14.12. The rank of
For a given vector space
Given a basis
Remark (Skip this remark if your head hurts). The isomorphism
Notes not reached in this lecture, covered at the start of {{LINK:L15}}
Definition 14.13. If
Warning: this is most intuitive if
Lemma 14.14. If
Proof.
Example 14.15.
with the standard dot product : then , the “usual” orthogonal complement, because (see below) and .- But for
, if is the 1-dimensional subspace spanned by any nonzero vector , then !! (Because .)
Inner product spaces
Definition 14.16. An inner product space is a vector space
Symmetric:
This definition only makes sense over an ordered field, so that “
- Let
, , be the linear map corresponding to . Then definite positive is injective (since for all , ! ) (assuming ) is an iso , i.e. is nondegenerate. (The converse is false: nondegenerate positive.)
Proposition 14.17.
Proof.
- We’ve seen:
is nondegenerate, so . - Since
is positive definite, . So . Since the dimensions add up to , this implies .
∎
Definition 14.18.
- The norm of a vector is
. are orthogonal if .
Observe:
- If
and are orthogonal then (Pythagorean theorem). - In general, by analogy with the law of triangles, we define the angle between 2 vectors,
This only makes sense if ?
Theorem 14.19 (Cauchy–Schwarz inequality). For all
Proof. The inequality is unaffected by scaling, so we can assume