Professional Documents
Culture Documents
Vector Math
Vector Math
Vectors
A vector is a mathematical object consisting of a magnitude (size) and a direction.
direction of arrow =
direction of vector
G
Ay A In 2D, we need 2 numbers to specify a vector A :
θ • magnitude A and angle θ
x
or
Ax • components Ax and Ay (more on components later)
Addition of Vectors
y G G G
A+B = C
B B
C
A
A
C
S B
b =3 bA c = −2 cB
A 3 times as negative c
B flips direction
long as A
Vector subtraction:
K K K K
A − B = A + (−B) ← "substract" means "add negative of"
K K K
Graphically: D = A − B A B −B
−B B
A
D D D
A A
B
K K K K K K K K K
D = A−B is the same as D +B = A is same as B+D = A
Components of a Vector
K
y A = A x xˆ + A y ŷ
( x̂ = "x-hat" is the unit vector, explained below)
Ay A
Ax = A cos θ = x-component = "projection of A onto x-axis"
θ
Ay = A sin θ = y-component = "projection of A onto y-axis"
Ax x
Ax
A cos θ = ⇒ A x = A cos θ
Ay A
θ A
sin θ = y ⇒ A y = A sin θ
Ax A
Ay
A = Ax 2 + A y2 tan θ =
Ax
G
Magnitude A = | A | is positive always, but Ax and Ay can be + or − .
Unit Vectors
A unit vector is a vector with magnitude = 1 (unity). Notation: a unit vector is always written
ˆ and zˆ , also written ˆi , ˆj, and kˆ , are the unit vectors
with a caret (^) on top. The unit vectors xˆ , y,
that point along the positive x-direction, y-direction and z-direction, respectively.
K
Example of vector math: A = 2 ˆi − 3 ˆj , meaning Ax = +2, Ay = −3 What is the magnitude
A, and the angle α of the vector with the positive x-direction ?
y
x A = Ax 2 + A y2 = 22 + 32 = 4+9 = 13 3.6
α
3 ⎛ 3⎞
3 tan α = ⇒ α = tan −1 ⎜⎜ ⎟⎟⎟ = 56.3o
A 2 ⎜⎝ 2 ⎠
Bx x
Ax
Cx
Velocity is a vector quantity; it has a magnitude, called the speed, and a direction, which is the
direction of motion. Position is also a vector quantity. Huh? What do we mean by the
magnitude and direction of position? How can position have a direction?
If the object is moving, the position vector is a function of time r = r(t). Consider the position
vector at two different times t1 and t2, separated by a short time interval ∆t = t2 – t1. (∆t is read
"delta-t") The position vector is initially r1, and a short time later it is r2. The change in
position during the interval ∆t is the vector ∆r = r2 – r1. Notice that, although r1 and r2 depend
on the choice of the origin, the change in position ∆r = r2 – r1 is independent of choice of origin.
Also, notice that change in something = final something – initial something.
K
K ∆r
In 2D or 3D, we define the velocity vector as v = lim .
∆t → 0 ∆ t y
As ∆t gets smaller and smaller, r2 is getting closer and closer to
r1, and ∆r is becoming tangent to the path of the object. Note that ∆r
the velocity v is in the same direction as the infinitesimal ∆r , r2
since the vector v is a positive number (1/∆t) times the vector ∆r. r1
Therefore, the velocity vector, like the infinitesimal ∆r, is always
tangent to the trajectory of the object. x
v
y path of object y v
∆r
∆r
r2 r2 r
r v
r1
r
x x
K
K ∆r
The vector equation v = lim has x- and y-components. The component equations are
∆t → 0 ∆ t
∆x ∆y K K K
v x = lim , v y = lim . Any vector equation, like A = B + C , is short-hand
∆t → 0 ∆ t ∆t → 0 ∆ t
The change in velocity between two times t1 and t2 is ∆v = v2 – v1 (remember that change is
K
K ∆v
always final minus initial). We define the acceleration vector as a = lim . As we
∆t → 0 ∆ t
mentioned in the chapter on 1D motion, the direction of the acceleration is the same as the
direction of ∆v. The direction of the acceleration is NOT the direction of the velocity, it is the
“direction towards which the velocity is tending”, that is, the direction of ∆v.
We will get more experience thinking about the velocity and acceleration vectors in the next few
chapters.