A progressive guide to representing vectors, performing vector operations, measuring length and angles, and using vectors to describe lines and planes in two and three dimensions.
Representing and Operating on Vectors
Vectors can be understood in two equivalent ways: geometrically as directed arrows and algebraically as ordered lists of numbers. A vector from P=(p1,p2) to Q=(q1,q2) is found by subtracting the initial point from the terminal point:
PQ=Q−P=⟨q1−p1,q2−p2⟩.
In three dimensions, the same process gives
PQ=⟨q1−p1,q2−p2,q3−p3⟩.
An algebraic vector in Rn is an ordered tuple v=⟨v1,v2,…,vn⟩. The zero vector is 0=⟨0,0,…,0⟩. A can be moved without changing its identity as long as its direction and magnitude stay the same.
Componentwise operations
For vectors u=⟨u1,u2,u3⟩ and v=⟨v1,v2,v3⟩, add and subtract corresponding components:
u+v=⟨u1+v1,u2+v2,u3+v3⟩,
u−v=⟨u1−v1,u2−v2,u3−v3⟩.
Scalar multiplication also acts componentwise:
cv=⟨cv1,cv2,cv3⟩.
If c>0, the direction is preserved; if c<0, the direction is reversed; and the magnitude is multiplied by ∣c∣. For example, if u=⟨2,−1,3⟩ and v=⟨−1,4,2⟩, then
u+v=⟨1,3,5⟩
and
2u−v=⟨5,−6,4⟩.
Takeaway: Subtracting points gives a displacement vector, and vector arithmetic is performed coordinate by coordinate.
Linear Combinations, , and Independence
A linear combination is formed by multiplying vectors by scalars and adding the results:
c1v1+c2v2+⋯+ckvk.
For example, with u=⟨1,2⟩ and v=⟨3,−1⟩,
2u−v=2⟨1,2⟩−⟨3,−1⟩=⟨−1,5⟩.
The is the complete set of vectors obtainable from all allowed linear combinations. A single nonzero vector spans a line through the origin. Two nonparallel vectors in R3 a plane through the origin. If one vector is a scalar multiple of another, they only a line.
Linear independence describes whether any vector in a collection can be produced from the others. The vectors v1,…,vk are when
c1v1+⋯+ckvk=0
forces every coefficient to be zero. Otherwise, the vectors are linearly dependent.
The number of independent directions determines the geometric object described by a linear combination:
one independent direction gives a line;
two independent directions give a plane;
three independent directions in R3 can generate three-dimensional space.
Takeaway: Linear combinations connect algebra to geometry: coefficients control movement along available directions, while independence determines how many genuinely different directions are present.
Length, Distance, Angles, and Orthogonality
The measures the length of a vector. For v=⟨v1,v2,…,vn⟩,
∥v∥=v12+v22+⋯+vn2.
For example,
∥⟨3,−4,12⟩∥=32+(−4)2+122=13.
The distance between points P and Q is the norm of their difference:
d(P,Q)=∥Q−P∥.
For a nonzero vector, normalization produces a in the same direction:
v=∥v∥v.
The combines components by multiplication and addition:
u⋅v=u1v1+u2v2+⋯+unvn.
It also links components to the angle θ between nonzero vectors:
u⋅v=∥u∥∥v∥cosθ.
Therefore,
cosθ=∥u∥∥v∥u⋅v.
The is positive for an acute angle, zero for a right angle, and negative for an obtuse angle. For example, if u=⟨1,2,2⟩ and v=⟨2,1,−2⟩, then
u⋅v=1(2)+2(1)+2(−2)=0,
so the vectors are .
The same operation models work: if a constant force F produces displacement d, then
W=F⋅d.
Takeaway: The norm measures size, while the measures alignment and provides a test for perpendicularity.
Projections and Vector Components
Projection separates a vector into a part parallel to a chosen direction and a part perpendicular to that direction. For a nonzero vector u, the of v onto u is
projuv=∥u∥2v⋅uu.
The scalar projection, or signed component, is
compuv=∥u∥v⋅u.
The decomposition is
v=projuv+(v−projuv).
For v=⟨3,4⟩ and u=⟨1,0⟩,
v⋅u=3,∥u∥2=1,
so
projuv=3⟨1,0⟩=⟨3,0⟩.
The perpendicular component is
v−projuv=⟨0,4⟩.
Thus, ⟨3,4⟩ is decomposed into a component along the horizontal direction and a component perpendicular to it.
Takeaway: Projection extracts the amount of a vector that lies along a specified direction; subtracting that projection leaves an remainder.
Lines, Planes, and Normal Directions
A line is determined by one point and one nonzero direction vector. If it passes through a point with position vector r0 and has direction d=0, its vector equation is
r(t)=r0+td,t∈R.
If P0=(x0,y0,z0) and d=⟨a,b,c⟩, then
⟨x,y,z⟩=⟨x0,y0,z0⟩+t⟨a,b,c⟩,
which gives
x=x0+at,y=y0+bt,z=z0+ct.
For the line through P=(1,−2,3) and Q=(4,0,−1), the direction is
PQ=Q−P=⟨3,2,−4⟩.
Therefore,
r(t)=⟨1,−2,3⟩+t⟨3,2,−4⟩,
or equivalently
x=1+3t,y=−2+2t,z=3−4t.
A plane is determined by a point and a . If the plane passes through P0=(x0,y0,z0) and has n=⟨A,B,C⟩, then every point P=(x,y,z) on it satisfies
n⋅(P−P0)=0.
In coordinates, this becomes
A(x−x0)+B(y−y0)+C(z−z0)=0.
After expansion, the equation has the form
Ax+By+Cz=D.
For example, the plane through P0=(1,2,−1) with n=⟨2,−3,4⟩ is
2(x−1)−3(y−2)+4(z+1)=0,
which simplifies to
2x−3y+4z+8=0.
If three noncollinear points P,Q,R are given, form two in-plane vectors, u=Q−P and v=R−P. Their n=u×v is perpendicular to the plane, so the plane can be written as
n⋅(X−P)=0.
Takeaway: One direction parameterizes a line, while two independent directions parameterize a plane; a plane equation is most naturally built from a point and a perpendicular direction.