2.1 and 2.2

Vector Addition and Scalar Multiplication

  • To add two vectors, they must have the same number of entries (same dimension, i.e., live in the same Rn\mathbb{R}^n!).

    • Coordinate-wise addition: if w=(w1,,wn)\mathbf{w}=(w1,\dots,wn) and v=(v1,,vn)\mathbf{v}=(v1,\dots,vn), then

      w+v=(w1+v1,,wn+vn)\mathbf{w}+\mathbf{v}=(w1+v1,\dots, wn+vn) .

    • Example: a=(2,1,3),b=(1,2,6)a+b=(1,3,9)\mathbf{a}=(2,1,3), \quad \mathbf{b}=(-1,2,6) \Rightarrow \mathbf{a}+\mathbf{b}=(1,3,9) .

  • Scalar multiplication by a real number α\alpha scales every entry of the vector:

    • If v=(v1,,vn)\mathbf{v}=(v1,\dots,vn), then

      αv=(αv1,,αvn)\alpha\mathbf{v}=(\alpha v1,\dots, \alpha vn) .

  • Example: 10(2,3,5)=(20,30,50)-10\,(2,-3,5)=(-20,30,-50) .

  • Note: Later in the course we’ll discuss the dot product and the cross product; for now we focus on addition and scaling.

  • Geometric intuition: vectors are free displacements; addition corresponds to chaining displacements (tip-to-tail or tail-to-tail via parallelogram).

Geometric Perspective: Addition, Scaling, and Subtraction

  • Geometric rule for adding vectors: place the vectors with tails together, or equivalently use the parallelogram rule; the resulting vector goes from the origin to the far corner of the parallelogram.

  • Scaling geometrically means stretching or shrinking the vector:

    • If (k>0), direction stays the same and length scales by k\Vert k\Vert .

    • If (k<0), the direction is flipped (mirror through the origin) and length scales by k\Vert k\Vert .

    • Examples: scale by (1.5)(1.5) (stretch), scale by (0)(0) (collapse to the origin), scale by π\pi (stretch by factor π\pi); negative scale flips direction.

  • Subtraction: vw=v+(w)\mathbf{v}-\mathbf{w} = \mathbf{v}+(-\mathbf{w}).

    • Geometric interpretation: the vector you add to w\mathbf{w} to land at v\mathbf{v} is vw\mathbf{v}-\mathbf{w} . Equivalently, it’s the vector from the tip of w\mathbf{w} to the tip of v\mathbf{v} .

  • Note on drawing: vectors are often drawn from the origin for simplicity, but a vector is a displacement and does not depend on a fixed starting point.

Subtle Practice: Vector algebra vs geometry (example outline)

  • Suppose you want to compute V1V2\mathbf{V}1-\mathbf{V}2 and illustrate geometrically.

    • Algebraic method: subtract components: if V1=(v11,v12)\mathbf{V}1=(v{11},v{12}) and V2=(v21,v22)\mathbf{V}2=(v{21},v{22}), then

      V1V2=(v11v21,  v12v22)\mathbf{V}1-\mathbf{V}2=(v{11}-v{21},\; v{12}-v{22}).

    • Geometric method: compute (V2)(-\mathbf{V}2) (the vector opposite to V2\mathbf{V}2) and add to V1\mathbf{V}1 (i.e., V1+(V2)\mathbf{V}1+(-\mathbf{V}_2)); this gives the same result.

  • Example (illustrative): take V1=(2,1)\mathbf{V}1=(2,1) and V2=(1,3)\mathbf{V}2=(-1,3) .

    • Algebraic: V1V2=(2(1),  13)=(3,2)\mathbf{V}1-\mathbf{V}2=(2-(-1),\;1-3)=(3,-2) .

    • Geometric: (V2=(1,3))(-\mathbf{V}2=(1,-3)); then V1+(V2)=(2,1)+(1,3)=(3,2)\mathbf{V}1+(-\mathbf{V}_2)=(2,1)+(1,-3)=(3,-2) .

  • Important geometric note: you can translate vectors as needed when describing the displacement; the vector itself is the same regardless of where you draw it.

  • Quick encouragement: practice problems on vector addition, subtraction, and scaling to build geometric intuition.

Linear Combinations and the Span (Definition first real in course)

  • Linear combination definition:

    • A vector wRn\mathbf{w}\in\mathbb{R}^n is a linear combination of vectors v1,,vp\mathbf{v}1,\dots,\mathbf{v}p if there exist scalars (c1,,cpR)(c1,\dots, cp\in\mathbb{R}) such that

      w=c1v1++cpvp\mathbf{w}=c1\mathbf{v}1+\cdots+cp\mathbf{v}p .

    • In simpler terms, a linear combination is w=c1v1+c2v2++cpvp\mathbf{w} = c1\mathbf{v}1 + c2\mathbf{v}2 + \dots + cp\mathbf{v}p where each cic_i is a constant (scalar).

    • The idea: w\mathbf{w} can be reached by taking (ci)(ci) steps in the direction of each vi\mathbf{v}i (steps can be positive or negative).

  • We’ll often consider linear combinations of two or three vectors to build intuition.

  • Examples of other linear combinations: v1+v2\mathbf{v}1+\mathbf{v}2, (0v1+1v2)(0\cdot\mathbf{v}1+1\cdot\mathbf{v}2), v1v2\mathbf{v}1-\mathbf{v}2, (0v1+0v2)(0\mathbf{v}1+0\mathbf{v}2) (the zero vector). All of these are linear combinations of v1,v2\mathbf{v}1,\mathbf{v}2 .

The Span of a Set of Vectors

  • Span notation and meaning:

    • For vectors v1,,vp\mathbf{v}1,\dots,\mathbf{v}p in Rn\mathbb{R}^n, the span is

      \mathrm{Span}{\mathbf{v}1,\dots,\mathbf{v}p}=\left{x1\mathbf{v}1+\cdots+xp\mathbf{v}p\;\middle|\;x_i\in\mathbb{R}\right} .

    • This is the set of all linear combinations of the given vectors.

  • Examples:

    • If Spanv1\mathrm{Span}{\mathbf{v}1}: all scalar multiples of v1\mathbf{v}1, i.e.,

      Spanv1=λv1    λR\mathrm{Span}{\mathbf{v}1}={\lambda\mathbf{v}1\;|\;\lambda\in\mathbb{R}}.

      Geometrically: a line through the origin in the direction of v1\mathbf{v}_1 .

    • The span always contains the zero vector (take all coefficients as zero).

  • In the plane R2\mathbb{R}^2:

    • If v1\mathbf{v}1 and v2\mathbf{v}2 are not multiples of each other (not co-linear), then

      Spanv1,v2=R2\mathrm{Span}{\mathbf{v}1,\mathbf{v}2}=\mathbb{R}^2 .

      Intuition: you can reach any point in the plane by appropriate linear combinations.

    • If v1\mathbf{v}1 and v2\mathbf{v}2 are parallel (collinear), the span is a line through the origin.

    • If both are the zero vector, the span is {0} (the origin only).

  • In three dimensions (or higher):

    • The span of two non-parallel vectors is a plane through the origin (a 2D subspace).

    • The span of three vectors can be all of R3\mathbb{R}^3 if they are not all contained in a single plane through the origin (i.e., they are not coplanar or, equivalently, not all linear combinations lie in a 2D subspace).

    • More generally, the span of a set of vectors is the subspace consisting of all linear combinations; its dimension is at most the number of vectors and the ambient space dimension.

  • Connection to the origin: every span is a subspace that passes through the origin; hence the origin is always included.

Span vs. Solving Linear Systems (algebra \Leftrightarrow geometry)

  • Consider a system of equations that can be written in vector form as

    xv1+yv2=bx\mathbf{v}1 + y\mathbf{v}2 = \mathbf{b} ,

    where v1,v2\mathbf{v}1,\mathbf{v}2 are fixed vectors and (x,y)(x,y) are unknowns, with b\mathbf{b} the right-hand side.

  • This vector equation is consistent exactly when the right-hand side b\mathbf{b} lies in the span of v1\mathbf{v}1 and v2\mathbf{v}2:

    • i.e., when there exist scalars (x,y)(x,y) such that

      b=xv1+yv2\mathbf{b}=x\mathbf{v}1+y\mathbf{v}2 .

    • In other words, the system has a solution if and only if bSpanv1,v2\mathbf{b}\in\mathrm{Span}{\mathbf{v}1,\mathbf{v}2} .

  • Example outline (illustrative, not from a specific numeric problem):

    • Take v1=(1,2,6)\mathbf{v}1=(1,2,6), v2=(1,2,1)\mathbf{v}2=(-1,-2,-1), and b=(8,16,3)\mathbf{b}=(8,16,3) .

    • Row-reduce the augmented matrix (or solve the equation) to find scalars (x,y)(x,y) with

      xv1+yv2=bx\mathbf{v}1 + y\mathbf{v}2 = \mathbf{b} .

    • One solution is (x=1,y=9)(x=-1, y=-9), which shows that b\mathbf{b} lies in the span of v1,v2\mathbf{v}1,\mathbf{v}2 .

    • Therefore, solving the vector equation is the same as solving the corresponding system of equations; the two perspectives are equivalent.

  • Takeaways for exams:

    • Be able to state definitions exactly (linear combination, span).

    • Understand that solving a linear system can be viewed as asking whether a target vector lies in the span of certain vectors (columns of the coefficient matrix).

    • Expect word-for-word definitions or precise articulation of these concepts.

Quick Practical Connections and Takeaways

  • The span is a subspace containing the origin, generated by all linear combinations of a given set of vectors.

  • Geometrically:

    • Span of one nonzero vector: a line through the origin.

    • Span of two noncolinear vectors in Rn\mathbb{R}^n: a plane through the origin.

    • Span of three vectors in R3\mathbb{R}^3: could be all of R3\mathbb{R}^3 if they are not coplanar; otherwise a plane or a line or {0} depending on dependence.

  • Algebraically:

    • A vector is a linear combination of a set if it can be formed by a finite linear combination of those vectors with real coefficients.

    • The span is the set of all such linear combinations; it is the collection of all points you can reach by those displacements starting from the origin.

  • In practice:

    • The vector equation $$(x1\mathbf{v}1+\