Orthogonality#
In geometry, vectors are considered orthogonal if they are perpendicular to each other, which is determined by their dot product being zero (i.e., the sum of the products of their corresponding elements equals zero).
This means that the
Consequently, the measure of similarity of two orthogonal discrete-time signals equals zero:
Orthogonality in the context of functions extends the concept of orthogonality in vectors. For continuous functions, orthogonality is determined by an inner product, where the functions are treated as if they had infinitely many components. In the "continuous world," the sum operator becomes an integral. The inner product of two functions is found by multiplying the functions together and integrating the product over a given interval.
Two real non-zero functions
Sine and cosine are among the most well-known and widely used orthogonal functions. Their orthogonality plays a crucial role in various mathematical, engineering, and scientific applications, including Fourier analysis.
As we will see later, sine and cosine functions form the basis of the Fourier series, which decomposes periodic functions into sums of sines and cosines. This decomposition is essential for analyzing and synthesizing periodic signals.
To prove the orthogonality of sine and cosine functions, we must show that their inner product over one period is zero. This is typically done over the interval
Let us use the trigonometric identity:
Let us work through examples with sampled (discrete) sine and cosine functions.
Assume sine and cosine functions sampled at

The table below shows the sampled values:
n | Angle ( |
|||
---|---|---|---|---|
0 | ||||
1 | ||||
2 |
In the discrete domain, the integral becomes a summation.
Geometric Interpretation
In this example, the sine and cosine functions are sampled at three equally spaced points, resulting in two 3-dimensional vectors:
As shown in the figure, the angle between these two vectors is

Now, let’s increase the sampling rate to 8 samples per period.

The table below shows the sampled values:
n | Angle ( |
|||
---|---|---|---|---|
0 | ||||
1 | ||||
2 | ||||
3 | ||||
4 | ||||
5 | ||||
6 | ||||
7 |
The dot product is:
As observed, the sine and cosine functions remain orthogonal even with increased sampling density.
Geometric Interpretation
In this example, the sine and cosine functions are sampled at eight equally spaced points, producing two 8-dimensional vectors:
These vectors, although hard to visualize due to their 8-dimensional nature, can be mathematically analyzed. The key point is that in the space defined by these eight dimensions, the angle between these vectors is
This example illustrates how mathematical abstraction extends beyond our physical intuition, enabling us to analyze properties in higher-dimensional spaces. The concept of multiplying two vectors and obtaining a zero result is generalized in mathematics as orthogonality.
Orthogonal Functions in Fourier Transform#
The following functions are integral expressions that demonstrate the orthogonality of sine and cosine functions over a period
Where
The derivations for the above integrals are provided in Appendix B.
The integrals show that sine and cosine functions of different frequencies (
On the other hand, the integrals for
These orthogonal relationships are fundamental to the Fourier transform.
Other orthogonal functions#
Orthogonal functions are essential in many areas of science and engineering due to their unique properties and applications.
In communication systems, orthogonal codes are utilized in the Code-Division Multiple Access (CDMA) technique, allowing multiple signals to share the same channel or frequency band without causing mutual interference.
Orthogonal Frequency Division Multiplexing (OFDM) is another communication technique that leverages orthogonality. OFDM uses closely spaced orthogonal sub-carrier signals to carry data. The orthogonality ensures that even though the sub-carriers overlap in the frequency domain, they have no mutual interference. This allows for efficient use of the available spectrum.