Mathwords logoMathwords

Linear Combination

Linear Combination

A sum of multiples of each variable in a set.

For example, one possible linear combination of the variables {x, y, z} is 2x – 3y + z. Another possible linear combination is –5x + 3z.

Key Formula

a1v1+a2v2++anvna_1 v_1 + a_2 v_2 + \cdots + a_n v_n
Where:
  • v1,v2,,vnv_1, v_2, \ldots, v_n = The elements (variables, vectors, etc.) being combined
  • a1,a2,,ana_1, a_2, \ldots, a_n = Scalar coefficients — any real numbers, including zero

Worked Example

Problem: Vectors u = (1, 0, 2) and v = (0, 3, −1) are given. Write the linear combination 4u + (−2)v and compute the resulting vector.
Step 1: Multiply each vector by its coefficient.
4u=4(1,0,2)=(4,0,8)4\mathbf{u} = 4(1,\,0,\,2) = (4,\,0,\,8)
Step 2: Compute the second scaled vector.
2v=2(0,3,1)=(0,6,2)-2\mathbf{v} = -2(0,\,3,\,-1) = (0,\,-6,\,2)
Step 3: Add the two scaled vectors component by component.
4u+(2)v=(4+0,  0+(6),  8+2)=(4,6,10)4\mathbf{u} + (-2)\mathbf{v} = (4+0,\; 0+(-6),\; 8+2) = (4,\,-6,\,10)
Answer: The linear combination 4u − 2v equals the vector (4, −6, 10).

Another Example

Problem: Use a linear combination to solve the system: x + y = 10 and x − y = 4.
Step 1: Form a linear combination of the two equations by adding them (coefficients 1 and 1).
(x+y)+(xy)=10+4(x + y) + (x - y) = 10 + 4
Step 2: Simplify. The y-terms cancel.
2x=14    x=72x = 14 \implies x = 7
Step 3: Substitute back to find y.
7+y=10    y=37 + y = 10 \implies y = 3
Answer: By taking a linear combination of the two equations, we find x = 7 and y = 3.

Frequently Asked Questions

Can a coefficient in a linear combination be zero?
Yes. Any coefficient may be zero. For example, 0x + 5y is still a valid linear combination of x and y; it simply means x does not contribute to that particular combination.
What is the difference between a linear combination and a linear equation?
A linear combination is an expression — a sum of scaled terms like 3x + 2y. A linear equation sets a linear combination equal to a value, such as 3x + 2y = 12. Every linear equation contains a linear combination, but a linear combination by itself is not an equation.

vs.

Every linear combination is a linear expression, but 'linear combination' emphasizes the idea of choosing specific coefficients to scale and then sum a given set of objects (variables, vectors, equations). 'Linear expression' is a broader label that describes the form of any first-degree algebraic expression.

Why It Matters

Linear combinations are one of the most frequently used operations in algebra, linear algebra, and applied mathematics. Solving systems of equations, spanning vector spaces, and performing transformations in computer graphics all rely on forming and manipulating linear combinations. Understanding this concept gives you a unifying framework that connects equation-solving in algebra class to advanced topics like machine learning and physics.

Common Mistakes

Mistake: Thinking every term must appear with a nonzero coefficient.
Correction: A coefficient can be zero. The expression −5x + 0y + 3z is a perfectly valid linear combination of x, y, and z, even though y effectively drops out.
Mistake: Including products of variables (like xy) or powers (like x²) and still calling the result a linear combination.
Correction: In a linear combination, each term is a constant times a single variable (or vector) raised only to the first power. Terms like xy or x² make the expression nonlinear.

Related Terms

  • SumA linear combination is a specific kind of sum
  • VariableThe objects being scaled and added
  • SetThe collection from which terms are drawn
  • CoefficientThe scalar multipliers in each term
  • System of Linear EquationsSolved by combining equations linearly
  • VectorVectors are commonly combined linearly
  • Linear EquationSets a linear combination equal to a constant