Let's illlustrate the concept of basis using a simple example. You can create any (two-dimensional) vector, (x,y) by adding multiples of the vectors (1,0) and (0,1):
In this example, we say that the vector (x,y) is in the space spanned by the vectors (1,0) and (0,1). The most convenient basis vectors are perpendicular or orthogonal to each other, which is true of (1,0) and (0,1). Two vectors are orthogonal if their scalar product is zero, which means they are at right angles. Likewise, two functions are orthogonal if their inner product is zero. Sine and cosine are orthogonal functions because
Any square integrable function (for example a musical recording) can be represented by a sum of sines and cosines of various amplitudes and frequencies. This is termed the function's continuous Fourier transform. In this example, the sines and cosines are the basis functions. Note that while the two-dimensional plane is spanned by only two basis vectors, a function space is spanned by an infinite number of basis functions, because the function space is infinite-dimensional.
The basisfunction for the "terrain" in this image is a "sombrero" function that has been displaced vertically by a noise function.
The grooves are made by subtracting the function for the "tubes" from the function for the "hills" with the help of a "blobbing" function; the hyperbolic tangent function.
The fourth function, which is given as the minor radius to the torus function, also controls the colour of the pigment.
The feeling function picks up on the over-all sense of the situation as a whole, and emotion is thus conceived as 'the positive or negative after-effect' of the general attitude that one has toward a situation (or event), apprehended as a whole.
Propensities toward attraction and avoidance form the basis of the subject's 'evaluation' of any given object; they are closely connected to 'pain' and 'pleasure' as subjective reactions to the presence of various types of object.
the well-known 'emergency' function of emotion in fulfilling a 'homeostatic' requirement as part of the 'wisdom of the body' is widely presented and discussed in detail in the literature.