Content for this platform is still under development by Cal Poly Pomona Professors. Please check back soon.
Tap to browse classes and lessons
Video
Vector Operations
~10 min read·Updated Jun 25, 2026
Disclaimer: This lesson content is provided for testing and demonstration. It is intended to check typography, mathematical rendering, page layout, scrolling, and navigation.
Vector Operations
Vectors describe quantities that have both magnitude and direction. A two-dimensional vector can be written as v=⟨vx,vy⟩, and a three-dimensional vector can be written as v=⟨vx,vy,vz⟩.
Magnitude of a Vector
The magnitude of a vector measures its length. For v=⟨vx,vy⟩, the magnitude is:
∥v∥=vx2+vy2.
For a three-dimensional vector, the magnitude includes the z-component:
∥v∥=vx2+vy2+vz2.
For example, if v=⟨3,4⟩, then:
∥v∥=32+42=25=5.
Direction of a Vector
The direction angle of a two-dimensional vector can be found from its components:
θ=atan2(vy,vx).
For v=⟨3,4⟩, the direction angle is:
θ=tan−1(34)≈53.1∘.
Vector Addition
Vectors are added component by component. If a=⟨ax,ay⟩ and b=⟨bx,by⟩, then:
a+b=⟨ax+bx,ay+by⟩.
For example, if a=⟨2,5⟩ and b=⟨4,−1⟩, then:
a+b=⟨2+4,5−1⟩=⟨6,4⟩.
Vector Subtraction
Vector subtraction is also performed component by component:
a−b=⟨ax−bx,ay−by⟩.
This can also be understood as adding the opposite of the second vector:
a−b=a+(−b).
Scalar Multiplication
Multiplying a vector by a scalar changes its magnitude and may reverse its direction if the scalar is negative. For scalar k and vector v:
kv=⟨kvx,kvy⟩.
If v=⟨3,−2⟩, then:
2v=⟨6,−4⟩.
Unit Vectors
A unit vector has magnitude 1. The unit vector in the direction of a nonzero vector v is:
v=∥v∥v.
For v=⟨3,4⟩, the unit vector is:
v=⟨53,54⟩.
The standard Cartesian unit vectors are:
i=⟨1,0,0⟩,j=⟨0,1,0⟩,k=⟨0,0,1⟩.
Using these unit vectors, a three-dimensional vector can be written as:
v=vxi+vyj+vzk.
Resolving a Vector Into Components
If a vector has magnitude V and direction angle θ, its rectangular components are:
Vx=Vcosθ.
Vy=Vsinθ.
For a force of 100 N acting at 30∘ above the horizontal:
Fx=100cos30∘≈86.6 N.
Fy=100sin30∘=50 N.
Therefore, the force vector is:
F=⟨86.6,50⟩ N.
Resultant Vectors
The resultant vector is the sum of two or more vectors:
R=i=1∑nvi.
In component form:
Rx=i=1∑nvx,i,Ry=i=1∑nvy,i.
The magnitude of the resultant is:
∥R∥=Rx2+Ry2.
The direction of the resultant can be found using:
θR=atan2(Ry,Rx).
Dot Product
The dot product combines two vectors to produce a scalar. For vectors in three dimensions:
a⋅b=axbx+ayby+azbz.
The dot product can also be written in terms of the angle between the vectors:
a⋅b=∥a∥∥b∥cosθ.
For a=⟨2,3⟩ and b=⟨4,−1⟩:
a⋅b=(2)(4)+(3)(−1)=5.
Two nonzero vectors are perpendicular when their dot product is zero:
a⋅b=0.
Angle Between Two Vectors
For two nonzero vectors, the angle between them is:
θ=cos−1(∥a∥∥b∥a⋅b).
A positive dot product indicates an acute angle. A zero dot product indicates a right angle. A negative dot product indicates an obtuse angle.
Vector Projection
The scalar projection of a onto b is:
compba=∥b∥a⋅b.
The vector projection of a onto b is:
projba=∥b∥2a⋅bb.
Cross Product
The cross product applies to three-dimensional vectors and produces a vector perpendicular to the two original vectors:
a×b=iaxbxjaybykazbz.
Expanding the determinant gives:
a×b=⟨aybz−azby,azbx−axbz,axby−aybx⟩.
The magnitude of the cross product is:
∥a×b∥=∥a∥∥b∥sinθ.
This magnitude is also the area of the parallelogram formed by the two vectors:
Aparallelogram=∥a×b∥.
The area of the corresponding triangle is half that value:
A△=21∥a×b∥.
Equilibrium of a Particle
A particle is in equilibrium when the sum of all forces acting on it is zero:
∑F=0.
In two dimensions, this gives two scalar equations:
∑Fx=0.
∑Fy=0.
In three dimensions, a third equation is also required:
∑Fz=0.
Motion and Displacement
Displacement is the change between final and initial position vectors:
Δr=rf−ri.
Average velocity is displacement divided by elapsed time:
vavg=ΔtΔr.
Average acceleration is change in velocity divided by elapsed time:
aavg=ΔtΔv.
Summary
Vector operations provide a systematic way to analyze quantities with magnitude and direction. The most important operations include addition, subtraction, scalar multiplication, normalization, dot products, cross products, and projections.
Three core relationships are:
a+b=⟨ax+bx,ay+by⟩.
a⋅b=∥a∥∥b∥cosθ.
∥a×b∥=∥a∥∥b∥sinθ.
Lesson recap
You finished “Vector Operations”
Chapter 1 · Force Vectors - 1 of 6 lessons complete.