Vector Analysis Sample Problem
Vector Analysis Sample Problem
Vector Analysis Sample Problem
Coordinate System.
Cartesian, or Rectangular,
Coordinate System.
Example
• A vector rP pointing from the origin to point
P(1, 2, 3) is written as rP = ax + 2ay + 3az.
And another vector rQ pointing from the
origin to point Q(2, -2, 1) is written as rQ =
2ax - 2ay + az. Find the distance from P to
Q.
Solution
RPQ rQ rP
RPQ (2 1)a x (2 2)a y (1 3)a z
RPQ a x 4a y 2a z
Cartesian, or Rectangular,
Coordinate System.
Example:
Given the vectors A 10a x 4a y 8a z
and B 8a x 7a y 2a z , find: (a) the
component of B along az, (b) a unit
vector along the direction of A 2 B , (c)
magnitude of 5a x A 3B , (d) A 2 B ( A B)
A 10a x 4a y 8a z
( A B) (10a x 4a y 8a z ) (8a x 7a y 2a z )
( A B) 2a x 11a y 10a z
Answer:
r=3.742,θ=74.5,Φ=146.3;x=0.585,y=-
1.607,z=4.698;6.288
Solution
(a)
x 3, y 2, z 1
r x 2 y 2 z 2 (3) 2 2 2 12 14 3.742
z 1
cos 1
cos 1
74.5 0
r 3.742
1 y 1 2
tan tan 33.69 0 180 0 146.30
x 3
Solution
(b)
r 5, 20 0 , 70 0
x r sin cos 5 sin 20 0 cos 70 0 0.585
y r sin sin 5 sin 20 0 sin 70 0 1.607
z r cos 5 cos 20 0 4.698
Solution
(c )
RCD (0.583 (3))a x (1.607 2)a y (0.4698 1)a z
RCD 3.585a x 0.393a y 3.698a z
| RCD | 3.585 2 (0.393) 2 3.698 2 5.165
Example
Given point P(-2,6,3) and vector A = yax + (x
+ z) ay, express P and A in cylindrical and
spherical coordinates. Evaluate A at P in the
cartesian, cylindrical and spherical
coordinate systems.
Solution
po int P : x 2, y 6, z 3
(2) 2 6 2 6.32
6
tan1
71.56 0 180 0 108.430
2
z3
r (2) 2 6 2 3 2 7
3
cos 1
64.62 0
7
P(2,6,3) P(6.32,108.430 ,3) P(7,64.62 0 ,108.430 )
Solution
• Cartesian coordinate
A ya x ( x z )a y , P(2,6,3)
A at P 6a x (2 3)a y 6a x a y
Solution
• Cylindrical coordinate
A cos sin 0 y
A sin cos 0 x z
Az 0 0 1 0
A y cos ( x z ) sin
A y sin ( x z ) cos
Az 0
but : x cos , y sin
A sin cos cos sin z sin
A sin sin cos cos z cos
Az 0
Solution
• Cylindrical coordinate
A A a A a Az a z
A ( sin cos cos sin 3 sin )a
( sin sin cos cos 3 cos )a ; P(6.32,108.430 ,3)
A (6.32 sin 108.430 cos108.430 6.32 cos108.430 sin 108.430 3 sin 108.430 )a
(6.32 sin 108.430 sin 108.430 6.32 cos108.430 cos108.430 3 cos108.430 )a
A 0.9487a 6.008a
Solution
• Spherical coordinate
Ar sin cos sin sin cos y
x z
A
cos cos cos sin sin
A sin cos 0 0
Ar y sin cos ( x z ) sin sin
A y cos cos ( x z ) cos sin
A y sin ( x z ) cos
but : x r sin cos , y r sin sin , z r cos
Ar r sin sin sin cos (r sin cos r cos ) sin sin
A r sin sin cos cos (r sin cos r cos ) cos sin
A r sin sin sin (r sin cos r cos ) cos
A Ar ar A a A a
Solution
• Spherical coordinate
A (r sin sin sin cos (r sin cos r cos ) sin sin )ar
( r sin sin cos cos (r sin cos r cos ) cos sin )a
(r sin sin sin (r sin cos r cos ) cos ) a ; P (7,64.620 ,108.430 )
A (7 sin 64.620 sin 108.430 sin 64.620 cos 108.430 (7 sin 64.620 cos108.430 7 cos 64.620 ) sin 64.620 sin 108.430 )ar
( 7 sin 64.620 sin 108.430 cos 64.620 cos108.430 (7 sin 64.620 cos108.430 7 cos 64.620 ) cos 64.620 sin 108.430 )a
(7 sin 64.620 sin 108.430 sin 108.430 (7 sin 64.620 cos108.430 7 cos 64.620 ) cos108.430 ) a
A 0.8571ar 0.4066a 6.008a