Vectors, Linear Combinations and Vector-Matrix Notation
Vectors and Linear Combinations
A vector is an ordered list of components. In R3, write v=[v1v2v3]T; the order matters because each component describes a particular coordinate direction. Two vectors can be added only when they have the same number of components, and addition is componentwise. Scalar multiplication changes every component by the same factor.
A linear combination of vectors v1,…,vk has the form
where the ci are scalars. Geometrically, vector addition can be drawn head-to-tail or as the diagonal of a parallelogram. A negative scalar reverses a vector's direction, while a scalar with magnitude greater than one stretches it.
Parallelogram construction for adding two vectors; the three directed segments are identified only by letters.
Matrix-vector shorthand
If the vectors are placed as columns of A=[v1⋯vk] and the coefficients form c=[c1⋯ck]T, then Ac is exactly the same linear combination. The dimensions provide a useful check: an m×k matrix multiplies a vector with k entries and produces a vector with m entries.
For example, take a=(2,−1,3), b=(−1,4,0), and coefficients 3 and −2. Then 3a−2b=(6,−3,9)+(2,−8,0)=(8,−11,9). In matrix form, the same calculation is 2−13−140[3−2]=8−119.
A common mistake is to multiply only one component by a scalar or to treat a row of a matrix as the vector being weighted. In Ac, each entry of c weights an entire column of A. Expanding the product as a column combination is the safest way to verify signs and dimensions.
Components along a parameterized vector path
Let u=(2,−1,4) and v=(−3,5,1). What is −2u+3v?
Let A=[13−2405] with columns a1,a2,a3. Which expression equals Apqr?