Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This section introduces some important foundational concepts that will be used in later sections.
Consider a set of k real-valued variables x1, x2,..., xk. Suppose that we are given a set of k real-valued weights w1, w2,..., wk. Then, we can define the weighted sum of these variables as s = w1x1 + w2x2 +...+ wkxk. This sum “mixes” the variables in linear proportion to the weights. Therefore, we call s a linear combination of the variables.
We can generalize the notion of linear combination to vectors. Here, each xi is a vector, so that their linear combination, s, is also a vector. Of course, each vector must have the same number of elements. Note that each component of s is a linear combination of the corresponding elements of the underlying vectors.