Fix a positive integer n. As a set, Rn is the collection of all ordered n-tuples of real numbers:
Rn={(v1,v2,…,vn):v1,…,vn∈R}.
The word ordered carries weight: (1,2) and (2,1) are different elements of R2. Two elements of Rn are equal if and only if they agree in every position, so one vector equation is n scalar equations at once. This last remark is used in almost every calculation that follows.
As a space, R2 is the coordinate plane and R3 is coordinate three-space. For n≥4 no picture is available, but every algebraic statement below holds verbatim for all n, and that is exactly why the algebra is set up carefully rather than left to the diagram.
Columns, and the transpose
Convention. An element of Rn is a column:
v=v1v2⋮vn.
The real numbers v1,…,vn are the components (or entries) of v, and vi is the i-th component. Vectors are set in bold; scalars, which here always means real numbers, are not.
Columns consume vertical space, so running text uses the transpose. For any rectangular array of numbers, the transpose is the array obtained by interchanging its rows with its columns, and is written with a superscript T. For a column v this gives the single row
vT=[v1v2⋯vn].
Hence (3,−1,4)T denotes the column of R3 with entries 3, −1 and 4, and this is how vectors are written inline from here on. Transposing twice returns the original: (vT)T=v.
Points and displacement vectors
The tuple (3,2)T admits two readings, and both are in constant use.
As a point: the location in the plane reached from the origin by moving 3 units in the x-direction and 2 units in the y-direction. A point has position and no direction.
As a displacement vector: the instruction move 3 units in the x-direction and 2 in the y-direction, carried out from wherever one currently is. A displacement has magnitude and direction and no position.
Nothing in the symbols distinguishes the two; the reader supplies the interpretation from context. Because that is an unsatisfactory state of affairs, the convention is fixed now and relied on for the rest of the course.
Convention. A point P of Rn is identified with its position vectorp, the displacement from the origin O to P. Under this identification, points and displacement vectors are both elements of Rn and may be combined by the operations defined below. Where the distinction matters it will be stated in words.
Consequence. If P and Q are points with position vectors p and q, then the displacement from P to Q is
PQ=q−p,
because travelling from P to O and then from O to Q is the net displacement −p+q. The order matters: QP=−PQ.
The two operations
Definition (addition). For u,v∈Rn, the sum u+v∈Rn is defined componentwise: (u+v)i=ui+vi for i=1,…,n. Addition is defined only between vectors with the same number of components.
Definition (scalar multiplication). For c∈R and v∈Rn, the scalar multiple cv∈Rn is defined by (cv)i=cvi.
Geometric readings. Addition is tip-to-tail: draw u, then draw v starting where u ended; the arrow from the start of u to the end of v is u+v. Drawing both from a common start point instead gives the parallelogram reading: u+v is the diagonal from that common start. The two pictures agree, which is a geometric statement of commutativity. Scalar multiplication by c stretches a vector by the factor ∣c∣, keeping its direction when c>0 and reversing it when c<0; multiplying by 0 collapses it to a point.
Two distinguished elements. The zero vector0=(0,0,…,0)T satisfies v+0=v for every v; it is the displacement that goes nowhere, and it is the only vector with no direction. The negative of v is −v=(−1)v, the vector of the same magnitude pointing the opposite way; it satisfies v+(−v)=0.
Definition (subtraction).u−v:=u+(−v), so componentwise (u−v)i=ui−vi. Geometrically u−v is the displacement from the tip of vto the tip of u when both are drawn from a common start: it is the unique vector x with v+x=u.
Worked example. Let u=(4,−1,2)T and v=(0,3,−5)T. Then
Each component was handled separately; no component ever interacts with another under these two operations.
The algebraic laws
The following hold for all u,v,w∈Rn and all scalars c,d∈R.
u+v=v+u (commutativity of addition)
(u+v)+w=u+(v+w) (associativity of addition)
v+0=v (additive identity)
v+(−v)=0 (additive inverse)
c(u+v)=cu+cv (distributivity over a vector sum)
(c+d)v=cv+dv (distributivity over a scalar sum)
c(dv)=(cd)v (compatibility of scalar products)
1v=v (the scalar 1 acts trivially)
These are not assumptions. Each is a consequence of the corresponding law for real numbers, applied one component at a time. For law 5, the i-th component of the left-hand side is c(ui+vi), the i-th component of the right-hand side is cui+cvi, and these are equal because multiplication distributes over addition in R; since the two vectors agree in every component, they are equal. The remaining seven are established the same way, and a reader who has not done so should verify at least laws 2, 6 and 7 in this manner.
Law 8 looks vacuous but is not: it rules out a scalar multiplication that scales by c and also does something else, and without it the list would not pin the structure down. Note also a derived fact worth recording: 0v=0 for every v, since 0v=(0+0)v=0v+0v by law 6, and adding −(0v) to both sides gives 0=0v. The scalar 0 on the left and the vector 0 on the right are different objects; the notation is standard and the context disambiguates.
Looking ahead. In Section 5 this list is read backwards. Rather than proving the eight laws about Rn, they are imposed as axioms on an arbitrary set with an addition and a scalar multiplication, and any such set is called a vector space. The point of that move is that sets other than Rn satisfy the same eight laws: polynomials of degree at most 3, 2×2 matrices, continuous functions on an interval. Every theorem proved from the eight laws alone then applies to all of them at once. Nothing further is needed about this here; the objects of this section are arrows and tuples.
Magnitude, unit vectors, and the standard notation ei
In R2 the vector v=(v1,v2)T is the hypotenuse of a right triangle with legs ∣v1∣ and ∣v2∣, so Pythagoras gives its length as v12+v22. In R3, apply Pythagoras twice: the horizontal shadow of (v1,v2,v3)T has length v12+v22, and this shadow is perpendicular to the vertical rise ∣v3∣, giving (v12+v22)2+v32=v12+v22+v32.
Definition (magnitude / norm). For v∈Rn,
∥v∥=v12+v22+⋯+vn2.
For n≤3 this is a theorem about lengths; for n≥4 it is the definition of length, chosen because it preserves every property the n≤3 case enjoys. Note that ∥v∥ is a scalar, never a vector, and ∥v∥≥0 always, with ∥v∥=0 if and only if v=0.
Proposition (scaling).∥cv∥=∣c∣∥v∥ for every scalar c. Proof.∥cv∥=∑i(cvi)2=c2∑ivi2=c2∑ivi2=∣c∣∥v∥. The absolute value cannot be dropped: with c=−3 and ∥v∥=7 the magnitude is 21, not −21, since a magnitude is never negative. □
Definition (unit vector, normalisation). A vector u is a unit vector if ∥u∥=1. For v=0, the vector
v^=∥v∥1v
is a unit vector pointing the same way as v; forming it is called normalisingv. It is a unit vector because ∥v^∥=1/∥v∥∥v∥=1 by the proposition. The hypothesis v=0 cannot be dropped: 0 has no direction and 1/∥0∥ is undefined. Consequently the vector of length L in the direction of v is Lv^.
Example.v=(6,−8)T has ∥v∥=36+64=10, so v^=(3/5,−4/5)T, and indeed (3/5)2+(4/5)2=9/25+16/25=1.
Notation. Write ei∈Rn for the vector whose i-th component is 1 and whose other components are 0; thus in R3, e1=(1,0,0)T, e2=(0,1,0)T, e3=(0,0,1)T. Each ei is a unit vector, and (v1,…,vn)T=v1e1+⋯+vnen. These are commonly called the standard basis vectors, but basis is a technical term defined in Section 5; until then ei is notation only, and no property of a basis is being claimed.
Theorem (triangle inequality). For all u,v∈Rn,
∥u+v∥≤∥u∥+∥v∥,
with equality if and only if one of u,v is a non-negative scalar multiple of the other, that is, when they point the same way (or one is 0). A proof is given in Section 3, where the inner product supplies the tool; the geometric content is that going directly is never longer than going by way of an intermediate point.
Concrete instance of strict inequality. Take u=(1,0)T and v=(0,1)T. Then u+v=(1,1)T and ∥u+v∥=2≈1.414, whereas ∥u∥+∥v∥=2. So ∥u+v∥ and ∥u∥+∥v∥ are genuinely different quantities. Instance of equality. Take u=(1,0)T and v=(3,0)T: then ∥u+v∥=4=1+3.
Corollary (reverse triangle inequality).∥u+v∥≥∥u∥−∥v∥. Proof.∥u∥=∥(u+v)+(−v)∥≤∥u+v∥+∥v∥, so ∥u∥−∥v∥≤∥u+v∥; interchanging u and v gives ∥v∥−∥u∥≤∥u+v∥, and together these bound the absolute value. □ So for ∥u∥=5 and ∥v∥=9, the only possible values of ∥u+v∥ are those in [4,14].
Distance. The distance between points P and Q with position vectors p,q is ∥q−p∥, the magnitude of the displacement between them. This is the same formula as the coordinate distance formula, restated in vector language.
Let u=(3,−1,4)T and v=(−2,5,1)T in R3, and put w=2u+v. Enter the second component w2.
Compute ∥v∥ for v=(−5,12)T∈R2.
Compute ∥v∥ for v=(2,−3,6)T∈R3.
Let v=(0,−3,4)T. Normalise v to obtain the unit vector v^=v/∥v∥, and enter its second component as an exact decimal.
Four arrows in the plane are described by their start and end points. Three of them represent the same displacement vector. Which one does not?
Let v=(2,−5,0,4)T∈R4. Compute −3v and enter its fourth component.
Points P and Q in R3 have position vectors p=(2,−1,3)T and q=(4,3,−1)T. Find the distance between P and Q.
Let a=(1,−2)T, b=(3,4)T and c=(7,6)T. Find the scalar t for which a+tb=c.
Let u=(3,5)T and v=(1,2)T. Compute ∥2u−3v∥.
Let w=(3,−4)T. Find the vector of length 10 pointing in the same direction as w, and enter its second component.
Points P and Q have position vectors p=(−3,4)T and q=(7,−2)T. The point M is defined by the geometric condition that the displacement from P to M is half the displacement from P to Q. Find the position vector of M and enter it in the form (a,b).
Suppose v∈R5 satisfies ∥v∥=7. Compute ∥−3v∥.
Asked for ∥v∥ where v=(−6,3,−2)T, a reader reports the value −5. Which statement correctly identifies the mistake and gives the correct value?
For every scalar c and all u,v∈Rn the identity c(u+v)=cu+cv holds. Name the algebraic law that this identity states. One word is sufficient.
For which value of k is w=(k,6,−2k)T a scalar multiple of v=(2,−3,−4)T?
Vectors u,v∈R3 satisfy ∥u∥=5 and ∥v∥=9. Which of the following is a possible value of ∥u+v∥?
Consider the claim: if u,v∈Rn are non-zero and ∥u∥=∥v∥, then u=v or u=−v. Must this be true?
The following argument is offered.
Claim. For v=(3,−4,12)T, ∥v∥=11. Step 1. The components of v are 3, −4 and 12. Step 2. The magnitude of v is the total of its components, so ∥v∥=3+(−4)+12. Step 3.3+(−4)+12=11, so ∥v∥=11. Step 4. Hence the unit vector in the direction of v is 111v.
At which step does the argument first fail, and why?