Let us now consider an arbitrary function represented by its Fourier
decomposition. This function, denoted F(x), is a linear combination
of sinusoids as in Equation~#eqn:fourier#2999>
Since we have a way to solve for the quadratic bound for a canonical
sinusoid
Figure~#fig:parabolascaltran#3029>
Using Equation~#eqn:property6#3043>
Since it is necessary to now maximize the above sum of bounds, we can
merely do so by taking the derivative of the sum with respect to x
and setting that to 0. Maximizing the sum of quadratic terms thus
merely reduces to the solution of a linear system. This is not quite
as trivial as <#3055#>choosing<#3055#> the y locus as the maximum for a single
parabola but it is still extremely efficient. This operation is
depicted in Equation~#eqn:fourierMax#3056>
Since we are able to optimize any combination of sinusoids with the
above, and any arbitrary (<#3093#>l<#3093#>2-bounded) analytic function can be
approximated by sinusoids (even in multiple dimensions), it is
possible in principle to use the above derivation to optimize a wide
variety of functions. These functions could also be non-analytic
functions which are only sampled and approximated by sinusoids using
least-squares. In addition, the above derivations for the canonical
sinusoid sin(x) function could have been done for another function
such as radial basis functions, exp(x), and so on and then
generalized to linear combinations of this canonical functions. One
small caveat exists when using linear combinations of arbitrary
bounded functions: the negative of the function is bounded differently
from the function itself. Thus, for arbitrary linear combinations, one
needs to have a bound for canonical f(x) <#3094#>and<#3094#> -f(x) (since a
bound flips from lower to upper bound due to the negative sign).