Vector Operations and Linear Combinations

Vector Operations
There are two main operations we perform on vectors:
- Scalar multiplication
- Vector addition
Scalar Multiplication
For any scalar k, scalar multiplication of a vector v∈Rn is defined as:
kv = kv1v2⋮vn = kv1kv2⋮kvn∈Rn
Geometrically, this is represented by stretching (or shrinking) the vector v by a factor of k without changing its direction.
Below we see that 2v is twice as long as v while still pointing in the same direction:

Collinear Vectors
Vectors v and u are collinear or parallel if there is a scalar k such that kv=u.

Opposite Vectors
u and v point in opposite directions if one vector is a negative scalar multiple of the other.
Here we see that −31u points in the opposite direction of u since we multiplied by a negative number:
Negative Vectors
−v=−1v is the negative of v: it has the same length as v, but points in the opposite direction.

Vector Addition
For any two vectors u=⟨u1,u2,…,un⟩∈Rn and v=⟨v1,v2,…,vn⟩∈Rn, vector addition is defined as:
u+v = u1u2⋮un+v1v2⋮vn = u1+v1u2+v2⋮un+vn∈Rn
Geometrically, u+v works by moving v so that its tail is at the tip (arrowhead) of u:
Vector subtraction is based on addition. It is defined as:
u−v=u+(−v)

Vector Between Two Points
The vector that starts at point P and ends at point Q is given by:
Example
Given the points P(1,2,−3) and Q(−2,0,4), find the position vector PQ.

PQ=Q−P=−204−12−3=−2−10−24−(−3)=−3−27
Linear Combinations
Let u, v∈Rn be vectors and let a, b∈R be scalars.
A linear combination of u and v can be written:
The result is also a vector in Rn.

Example: Vector Operations
Given u=10−2, v=−284, w=5−2−1∈R3 , find the resulting vector of the linear combination:
w − 2u + 21v =5−2−1−210−2+21−284=5−2−1−2×12×02×(−2)+21×(−2)21×821×4=5−2−1−20−4+−142=5−2+(−1)−2−0+4−1−(−4)+2=225

Example: Vector Operations
Which of the following statements are true?
- If u, v ∈R2 , then the operation 4v−21u is well-defined.
- If u, v ∈R2 and w ∈R4, then the operation 2(v+u)−w is well-defined.
- If v=−u, then u and v are collinear.
- u=⟨−1, 2, −3, −4⟩ and v=⟨1, −2, 3, −4⟩ are parallel and opposite vectors.
1. TRUE: Scalar multiplication is always valid. Since the two vectors are in the same space, R2, vector addition/subtraction is also well-defined.
2. FALSE: Vector addition/subtraction between vectors in different spaces is never valid.
3. TRUE: If one vector is the negative of another vector, that means they are a scalar multiples of one another (factor k=−1), hence they are collinear.
4. FALSE: The first three components are indeed scalar multiples of one another (by a factor of -1); however, the last component fails to follow this rule. The vectors are therefore not scalar multiples of one another, thus they are neither parallel nor opposite vectors.

Example: Vector Operations
P(1,1), Q(−3,5), and R(x,y) are points in R2, and QR=−21QP.
Find the coordinates of the point R(x,y).
Since we know both P and Q:
QP=[1−(−3)1−5]=[4−4]
Now we can use the relationship between QR and QP:
QR=−21QP=−21[4−4]=[−22]
And by the formula for a vector between two points, we can also write:
QR=[x−(−3)y−5]=[x+3y−5]
The boxed expressions are both representations of QR so they must be equal:
[x+3y−5]=[−22]
This gives us two equations (one for each component):
x+3=−2⟹x=−5
y−5=2 ⟹y=7
∴ R(−5,7)
Practice: Collinear Vectors
Given u=⟨2,−5,6⟩, v=⟨−4,10,−12⟩, and w⃗=⟨−2,5,−6⟩, select all statements that are true.
Practice: Vector Operations
A parallelogram has sides AB, BC, CD and DA.
The following coordinates are known: A(2,0,1), C(6,0,0), and M(3,1,0), where M is the midpoint between A and B.
Find the vector BD.