Orthogonality
The term orthogonal means “at right angles.” The
concept comes from geometry, but it is not too much of a stretch to
see how it comes to be applied to functions.
An easy way to determine whether or not two vectors are orthogonal
is to take their inner product (also called the dot product). The inner
product has two equivalent definitions. On the one hand, it is the product
of the lengths of the vectors multiplied by the cosine of the angle
between them,

On the other hand, if we know the decomposition of these vectors into
the unit basis vectors, then the dot product is the sum of the products
of the corresponding coefficients,

The first definition gives the inner product meaning. The second makes
it easy to calculate. From the first definition, we can use the inner
product to decide whether or not two vectors are orthogonal: They are
orthogonal if and only if their inner product is 0.
We can also use it to find the norm or length
of any vector. Since the angle between any vector and itself is 0,
we have that

Functions are like vectors in that the sum of two functions is another
function, and any constant multiple of a function is a function. If
we can define a natural inner product on functions, then we can use
it to find the norm of a function (analogous to the length of a vector),
and we can use it to define orthonality of functions.
A natural inner product for functions is given by the integral of their
ordinary product. This is the limit of a sum of products, and so really
is analogous to the inner product of vectors. We denote this inner product
by

It follows that the norm or “length”
of a function is

Two functions are orthogonal if and only
if
|