A vector is a quantity that has both a magnitude and a direction.
Vector and scalar quantities
A scalar quantity is completely specified by a single value with an appropriate unit and has no direction.
A vector quantity is completely specified by a number with an appropriate unit (the magnitude of the vector) plus a direction.
Notation
For representing a vector, the recommended notation is non-bold italic serif accented by a right arrow: v.
In advanced mathematics, vectors are often represented in a simple italic type.
Rectangular vectors
Ordered set notation
A rectangular vector in Rn can be specified using an ordered set of components, enclosed in either parentheses or angle brackets.
v=(v1,v2,...vn)
v=⟨v1,v2,...vn⟩
Matrix notation
A rectangular vector in Rn can be specified as a row or column matrix containing the ordered set of components.
v=[v1v2...vn]=(v1v2...vn)
v=⎣⎡v1v2⋮vn⎦⎤=⎝⎛v1v2⋮vn⎠⎞
Unit vector notation
A rectangular vector in R3 (or fewer dimensions) can be specified as the sum of the scalar multiples of the components of the vector with the members of the standard basis in R3. The basis is represented with the unit vectors i^=(1,0,0), j^=(0,1,0), and k^=(0,0,1).
A three-dimensional vector v can be specified in the following form, using unit vector notation:
v=vxi^+vyj^+vzk^
Where vx, vy, and vz are the scalar components of v.
Vector basics
Vector equivalence
Two vectors are considered equivalent if they have the same magnitude and direction, even if they they do not coincide.
Zero vector (null vector)
A zero vector (null vector) is defined as a vector in space that has a magnitude equal to 0 and an undefined direction.
Position vector
A position vector is a vector that represents the position of a point in space relative to an arbitrary reference origin. If A(x1,y2) and B(x1,y2) are points in a coordinate plane, the unique position vector (standard component form of a vector) of vector AB is given by
AB=(x2−x1,y2−y1)
Vector magnitude
A vector’s magnitude∥v∥ is the distance between its initial point and its terminal point. The magnitude of a vector in any dimension can be found using the distance formula. For example the magnitude of vector v in R2 is given by the formula
∥v∥=v12+v22
The magnitude of a vector is always a positive number.
Unit vector
A unit vector (denoted by a hat symbol ^) is a vector with length 1.
The unit vector components of vector v=⟨v1,v2⟩ is given by
v^=∥v∥v=⟨∥v∥v1,∥v∥v2⟩
Finding a direction vector
The unit vector u in the same direction as v is given by normalizing vector v.
u=v^
The vector aof lengthk with the same direction as v is given by multiplying v’s unit vector by the scalar k.
a=kv^
Vector operations
Vector addition and subtraction
For a=(a1,a2) and b=(b1,b2):
Adding two or more vectors using the addition operation results in a new vector that is equal to the sum of the vectors.
a+b=(a1+b1,a2+b2)
Subtracting two or more vectors using the subtraction operation results in a new vector that is equal to the difference of the vectors.
a−b=(a1−b1,a2−b2)
Scalar multiplication
Multiplying a vector by a scalar changes its magnitude and, if the scalar is negative, changes its direction. Multiply each vector component by the scalar.
For v=(v1,v2) and scalar a
a⋅v=(a⋅v1,a⋅v2)
Dot (scalar) product
The dot product of two vectors results in a scalar quantity. The dot product is the sum of the products of the corresponding components.
a⋅b=⟨a1,a2⟩⋅⟨b1,b2⟩=a1b1+a2b2
Angle between two vectors
The geometric interpretation of dot product states that if θ is an angle between the two nonzero vectors a and b, where 0°≤θ≤180°
If the dot product is zero, the two vectors are said to be orthogonal.
If the dot product is positive, the angle between the two vectors is acute.
If the dot product is negative, the angle between the two vectors is obtuse.
Determining if vectors are orthogonal, parallel, or neither
We can use the dot product to test vectors to see whether they’re orthogonal, and then if they’re not, testing to see whether they’re parallel.
Take the dot product of two vectors
If the dot product is zero, then the vectors are orthogonal
If the dot product is not zero, then extract the common factors of both vectors
If the vectors are equal, then the vectors are parallel
If the vectors are unequal, then the vectors are neither parallel nor orthogonal
Projections
Let v and w be two vectors in R2 drawn so that they have a common initial point. If we drop a perpendicular from the head of v to the line determined by w, we determine a vector called the vector projection of v onto w. The scalar projection of v onto w (also called the component of v along w) is the length of the vector projection.
Vector projection
The vector projection of v onto w
projwv=(∥w∥2v⋅w)w
Scalar projection
The scalar projection of v onto w
compwv=∥w∥v⋅w
Work
Work equals F⋅d where F is a force vector and d is a displacement vector.
Cross (vector) product
The cross product of two vectors results in a vector quantity that is orthogonal to both given vectors.
Properties of the cross product
It is…
Distributive: A×(B+C)=A×B+A×C
Non-commutative: A×B=B×A
Anti-commutative: A×B=−(B×A)
Associative: (A×B)×C=A×(B×C)
Linear: A×(kB)=k(A×B)
Zero when vectors are parallel or anti-parallel: A×B=0 if A and B are parallel or anti-parallel.
It has…
Magnitude: ∥A×B∥=∥A∥∥B∥sin(θ) where θ is the angle between the vectors A and B
Direction: The direction of A×B is perpendicular to the plane formed by A and B, and the direction of the cross product is determined by the “right-hand rule”
Compute cross product using matrix notation
The vector terms can be obtained by using a determinant.
a×b=∣∣ia1b1ja2b2ka3b3∣∣
Cofactor expansion along the first row gives the components of the resulting vector directly.
The cross product result is a vector that is orthogonal to both a and b. We can use the dot product to verify that the cross product is orthogonal to both original vectors: If u⋅(u×v)=0 and v⋅(u×v)=0 then the cross product is orthogonal.
We can use the right hand rule to determine the direction of the orthogonal vector. Taking i, j, k as the unit vector along x, y, z-direction.
sin(0)=0
i×i=0
j×j=0
k×k=0
sin(90)=1
i×j=k
j×k=i
k×i=j
sin(−90)=−1
j×i=−k
k×j=i
i×k=j
Magnitude of a cross product
The magnitude of the cross product of two vectors ∥v×w∥ is equal to the area of the parallelogram having v and w as adjacent sides.
Scalar triple product
The cross product can also be used to compute the volume of a parallelepiped in R3. The scalar triple product is the product of three vectors.
∣(u×v)⋅w∣
Converting between vector components and magnitude & direction
Vector magnitude from components
The magnitude of a=(x,y) is
∥a∥=ax2+ay2
Vector direction from components
The direction of angle a=(x,y) is given by
tanθ=axay∴θ=tan−1axay
Calculators solve for angles between −90° and 90°, so positive angles beyond the first quadrant must be adjusted for.
Quadrant
Adjustment
1
θ
2
θ+180
3
θ+180
4
θ+360
Vector components from magnitude & direction
The components of a vector a with magnitude ∥a∥ and direction θ is derived by computing the unit vector of the given direction angle (cosθ,sinθ) using the definition of sine and cosine given ax is adjacent and ay is opposite the angle and scaling each by the given magnitude.
ax=∥a∥cosθay=∥a∥sinθ
Warning: This association (∥a∥cosθ,∥a∥sinθ) is true only because we measured the angle θ with respect to the x axis, so do not memorize these equations. Think about which side of the triangle containing the components is adjacent to the angle and which side is opposite and then assign the cosine and sine accordingly.
Lastly, adjust the positive and negative signs according to which direction each component points.
Adding vectors in magnitude & direction form
Convert the vector given in magnitude and direction form to vector component form and perform vector addition. The summed vector’s magnitude and direction can be obtained from the resulting component form.