Orthogonal Functions
Orthogonal Functions: Perpendicularity in a Function Space
Functions can be treated like vectors once an inner product is defined. On an interval, a common choice is <f,g> = integral f(x)g(x) dx; a weighted problem uses <f,g>_w = integral w(x)f(x)g(x) dx.
Two nonzero functions are orthogonal when their specified inner product is zero. The interval and weight are part of the definition, so the same two formulas can be orthogonal in one setting and not in another.
An orthogonal set has the key projection property. If f is approximated by a sum of orthogonal basis functions phi_n, the coefficient of phi_n is <f,phi_n> divided by <phi_n,phi_n>.
The denominator is the squared norm and cannot be silently replaced by one unless the basis is orthonormal. Orthogonality removes cross terms and makes each coefficient isolate one component of f.
The trigonometric functions used in Fourier series are a familiar example: different sine modes have zero inner product over a full compatible interval, as do matching cosine modes of different index.
Orthogonality is not the same as pointwise nonoverlap, equal area, or zero values at endpoints. It is an integral statement about signed product over the declared domain and weight.
On 0 < x < 1 with weight w(x) = 1, let f(x) = 1 and g(x) = x - 1/2. Which statement is correct?
For functions on [0,1] with inner product <u,v> = integral from 0 to 1 of u(x)v(x) dx, let f(x) = 3x and phi(x) = x. What is the coefficient of phi in the orthogonal projection of f onto the span of phi?