Professional Documents
Culture Documents
Dot Product Workshop PDF
Dot Product Workshop PDF
a b = a1b1 + a2b2
a b = |a||b|cos
or
=
Examples
Find a b:
1. Given |a| = 8, |b| = 4 and = 60
a b = |a||b|cos = (8)(4)cos(60) = 12(1/2)
ab=6
cos =
cos =
cos =
Example
Find the direction angles of the vector a:
Given a = 3i j + 4k
|a| = (9+1+16) = (26)
cos = 3/(26) = cos-1(3/(26)) = 0.94 rad
cos = -1/(26) = cos-1(-1/(26)) = 1.8 rad
cos = 4/(26) = cos-1(4/(26)) = 0.67 rad
Projections
Scalar projection of b onto a:
compa b =
Solution:
F and d are force and displacement vectors
W = F d = |F||d|cos = (25)(50)cos(60)
W = 625 J
Application Example 2
Problem: Given a constant vector field F = 7i + 3j k find the
work done from point P(5,3,-4) to the point Q(1,4,-7)
Solution:
d = <1 5, 4 3, -7 (-4)> = <-4, 1, -3>
W = F d = <7,3,-1> <-4,1,-3>
= (7)(-4) + (3)(1) + (-1)(-3) = -28 + 4 +3
W = -21 J
Vectors
Given a vector in any coordinate system, (rectangular,
cylindrical, or spherical) it is possible to obtain the
corresponding vector in either of the two other coordinate
systems
ax ax ax
ax cos -sin 0
ay sin cos 0
x = cos az 0 0 1
y = sin
z=z
Rectangular to Spherical
Dot products of unit vectors in spherical and rectangular
coordinate systems
ar A a
ax sin cos cos cos -sin
ay sin sin cos sin cos
x = r sin cosa cos -sin 0
z
y = r sin sin
z = r cos
Conversion
Given a rectangular vector A = Axax + Ayay + Azaz , we want to
find the vector in cylindrical coordinates A = Aa + Aa + Azaz
E = a + zaz (cylindrical)
Example 2 (cont.)
Express E in spherical coordinates:
Er = E ar = x(ax ar) + y(ay ar) + z(az ar)
= x(sincos) + y(sinsin) + z(cos)
= rsin2cos2 + rsin2sin2 + rcos2
= rsin2(cos2 + sin2) + rcos2 = rsin2 + rcos2
= r(sin2 + cos2) = r
E = E a = x(ax a) + y(ay a) + z(az a)
= x(coscos) + y(cossin) + z(-sin)
= rsincoscos2 + rcossinsin2 rsincos
= rsincos(cos2 + sin2) rsincos
= rsincos rsincos = 0
Example 2 (cont.)
E = E a = x(ax a) + y(ay a) + z(az a)
= x(-sin)+ y(cos)
= -rsinsincos + rsinsincos = 0
E = r ar (spherical)
References
Calculus Stewart 6th Edition, Section 13.3 The Dot Product