A linear combination is a sum of scaled vectors, . Writing a given that way means finding the weights, and finding the weights means solving a linear system.
| Step | On , , | |
|---|---|---|
| 1 | Write the vector equation. One unknown weight per vector (the vector equation form). | |
| 2 | Turn it into a system, one equation per component. The given vectors become the columns of the coefficient matrix. | , |
| 3 | Solve the system. Small systems by substitution; larger ones by Gaussian elimination on . | : , so , |
| 4 | Read the answer. A contradiction such as means is not a linear combination of the vectors. Free variables mean many choices of weights. | |
| 5 | Check by computing the combination. Scale each vector and add.Component-wise addition ↗ | ✓ |