Reading a Linear Combination
Suppose several vectors are available and each is assigned a scalar amount. Scaling each vector by its assigned amount and adding the resulting vectors produces a new vector. This is a linear combination. The phrase “weighted sum” gives a useful mental picture: the scalars are the weights, the vectors are what is being weighted, and the sum is the result. The picture is only an analogy, however. Coefficients may be negative or zero, and they do not have to add to one.
Throughout this tutorial, the scalars are real numbers and the vectors belong to \(\mathbb{R}^n\). Vectors are columns. We will use the vector addition and scalar multiplication rules for \(\mathbb{R}^n\): scaling a vector produces another vector in the same space, and vectors in that space can be added.
The order of the list makes the matching explicit: \(c_i\) is attached to the vector \(\mathbf{v}_i\). A list may include the same vector more than once, and each position still has its own coefficient. For example, in the list \((\mathbf{v}_1,\mathbf{v}_2,\mathbf{v}_3)\), a coefficient \(c_2\) multiplies the second vector, not whichever vector happens to have a particular value.
The definition describes an expression and its parts, not a special kind of vector. Once the scalar multiples have been added, the result is simply another vector in \(\mathbb{R}^n\). When reading an expression, it helps to mark four things: the specified vectors, the scalar attached to each one, the individual scaled terms, and the final sum.
What the Coefficients Do
A coefficient changes the contribution of its associated vector. A coefficient of \(1\) leaves the vector unchanged. A coefficient of \(0\) makes that term the zero vector, so it contributes nothing to the sum. A negative coefficient reverses direction as well as scaling magnitude: for example, \(-2\mathbf{v}\) is the opposite of \(2\mathbf{v}\). These statements follow from the ordinary rules for scaling and adding vectors.
Proof. For any vector \(\mathbf{v}\), scalar multiplication gives \(0\mathbf{v}=\mathbf{0}\), \(1\mathbf{v}=\mathbf{v}\), and \((-1)\mathbf{v}=-\mathbf{v}\), where \(-\mathbf{v}\) denotes the additive inverse of \(\mathbf{v}\). Substituting any of these equalities for its term in a sum gives the stated contribution. \(\square\)
Coefficients are not required to be positive, and their sum is not required to be \(1\). A weighted average is a more restricted kind of weighted sum: it uses nonnegative weights whose total is \(1\). A linear combination has no such restriction. This distinction matters because a negative coefficient is perfectly valid in a linear combination.
Worked Example: Identifying Two Vectors and Their Coefficients
Consider \(3\mathbf{v}_1-2\mathbf{v}_2\), where \(\mathbf{v}_1=\begin{bmatrix}2\\-1\end{bmatrix}\) and \(\mathbf{v}_2=\begin{bmatrix}-1\\3\end{bmatrix}\). Identify the vectors, coefficients, terms and resulting vector.
The specified vectors are \(\mathbf{v}_1\) and \(\mathbf{v}_2\). Their coefficients are \(3\) and \(-2\), respectively. Thus the two terms are \(3\mathbf{v}_1\) and \((-2)\mathbf{v}_2\). Scale each vector:
Add the two terms component by component:
The resulting vector is \(\begin{bmatrix}8\\-9\end{bmatrix}\). Check: the two scaled terms add to \(\begin{bmatrix}8\\-9\end{bmatrix}\), since their first entries sum to \(8\) and their second entries sum to \(-9\). The negative coefficient on \(\mathbf{v}_2\) is part of the scalar multiplication; it does not mean that the vector is omitted.
Zero and Unit Coefficients
Some coefficient choices make the meaning of a combination especially direct. If all coefficients are zero, every term is \(\mathbf{0}\), so the result is \(\mathbf{0}\). If one coefficient is \(1\) and all the others are zero, the result is just the vector in the position with coefficient \(1\). These are valid combinations of the specified list, even when they are not the only possible choices of coefficients.
Proof. If every coefficient is zero, then every term \(c_i\mathbf{v}_i\) equals \(\mathbf{0}\). Adding these zero vectors gives \(\mathbf{0}\). Now fix a position \(k\), set \(c_k=1\), and set \(c_i=0\) for each \(i\ne k\). The \(k\)th term is \(1\mathbf{v}_k=\mathbf{v}_k\), while every other term is \(\mathbf{0}\). Adding \(\mathbf{v}_k\) to zero vectors leaves \(\mathbf{v}_k\). Both claims follow for any positive integer \(p\), including a list with just one vector. \(\square\)
Worked Example: A Zero Coefficient
Let \(\mathbf{u}_1=\begin{bmatrix}1\\2\\0\end{bmatrix}\), \(\mathbf{u}_2=\begin{bmatrix}0\\-1\\2\end{bmatrix}\), and \(\mathbf{u}_3=\begin{bmatrix}3\\1\\-1\end{bmatrix}\). Interpret the linear combination \(-\mathbf{u}_1+2\mathbf{u}_2+0\mathbf{u}_3\) and find its result.
The specified list has three vectors, with respective coefficients \(-1\), \(2\) and \(0\). The terms are \(-\mathbf{u}_1\), \(2\mathbf{u}_2\) and \(0\mathbf{u}_3\). Calculate each term:
Add the first two terms, then add the zero term:
The result is \(\begin{bmatrix}-1\\-4\\4\end{bmatrix}\). Check: the first two terms sum to \(\begin{bmatrix}-1\\-4\\4\end{bmatrix}\), and adding \(0\mathbf{u}_3=\begin{bmatrix}0\\0\\0\end{bmatrix}\) leaves that vector unchanged. The third vector is still part of the specified list; its zero coefficient simply gives it no contribution in this particular combination.
Negative Weights and the Resulting Vector
A negative coefficient does not make an expression cease to be a linear combination. Its effect is handled within the scalar multiple: first form the term, then add that term to the others. This order of interpretation helps prevent a common sign error. The sign of a coefficient belongs to its vector’s term, not to a different term later in the sum.
Worked Example: One Positive and One Negative Contribution
Let \(\mathbf{a}=\begin{bmatrix}2\\0\end{bmatrix}\) and \(\mathbf{b}=\begin{bmatrix}0\\4\end{bmatrix}\). Identify and evaluate \(\tfrac12\mathbf{a}-\tfrac12\mathbf{b}\).
The vectors are \(\mathbf{a}\) and \(\mathbf{b}\), and their coefficients are \(\tfrac12\) and \(-\tfrac12\). The corresponding terms are:
Now add the terms:
The resulting vector is \(\begin{bmatrix}1\\-2\end{bmatrix}\). Check: its first entry comes from \(\tfrac12\mathbf{a}=\begin{bmatrix}1\\0\end{bmatrix}\), and its second entry comes from \(-\tfrac12\mathbf{b}=\begin{bmatrix}0\\-2\end{bmatrix}\); adding those terms gives exactly \(\begin{bmatrix}1\\-2\end{bmatrix}\). The coefficients sum to zero, which is allowed: a linear combination does not require its coefficients to total \(1\).
Common Mistakes in Reading the Expression
Do not attach a coefficient to the wrong vector. In \(2\mathbf{v}_1-3\mathbf{v}_2\), the coefficient of \(\mathbf{v}_1\) is \(2\), and the coefficient of \(\mathbf{v}_2\) is \(-3\). Reversing them changes the expression.
Do not drop a negative sign before scaling. For example, if \(\mathbf{v}_1=\begin{bmatrix}1\\2\end{bmatrix}\) and \(\mathbf{v}_2=\begin{bmatrix}3\\1\end{bmatrix}\), then a wrong calculation of \(\mathbf{v}_1-2\mathbf{v}_2\) might use \(2\mathbf{v}_2\) instead of \(-2\mathbf{v}_2\), producing \(\begin{bmatrix}1\\2\end{bmatrix}+\begin{bmatrix}6\\2\end{bmatrix}=\begin{bmatrix}7\\4\end{bmatrix}\). The correction is to scale by the full coefficient: \(-2\mathbf{v}_2=\begin{bmatrix}-6\\-2\end{bmatrix}\). Therefore the correct sum is \(\begin{bmatrix}1\\2\end{bmatrix}+\begin{bmatrix}-6\\-2\end{bmatrix}=\begin{bmatrix}-5\\0\end{bmatrix}\).
Do not assume that “weighted sum” means “weighted average.” A linear combination allows any real coefficients. In the example \(\tfrac12\mathbf{a}-\tfrac12\mathbf{b}\), the second coefficient is negative and the two coefficients total \(0\), yet the expression is a valid linear combination.
When identifying a combination, keep the roles separate. The vectors are the listed inputs; the coefficients say how those inputs are scaled; the terms are the scaled vectors; and the result is their sum. This vocabulary applies whether the coefficients are positive, negative, zero, whole numbers or fractions.
Check Your Understanding
For each expression, name the specified vectors and coefficients before interpreting or evaluating it.
- In \(4\mathbf{p}-\mathbf{q}\), what is the coefficient of each vector?
- What does a coefficient of \(0\) do to its term? Explain using scalar multiplication.
- For \(-2\mathbf{r}+\tfrac12\mathbf{s}\), identify the two terms and state which coefficient is negative.
- Must the coefficients in a linear combination add to \(1\)? Explain.
- Let \(\mathbf{x}=\begin{bmatrix}1\\-1\end{bmatrix}\) and \(\mathbf{y}=\begin{bmatrix}2\\3\end{bmatrix}\). Find and check \(2\mathbf{x}-\mathbf{y}\).