Professional Documents
Culture Documents
EE2011 Lecture 1 - Review of Vector Calculus
EE2011 Lecture 1 - Review of Vector Calculus
Calculus – Part I
• Basic Vector Algebra
– Vector Addition and Subtraction
– Position and Distance Vectors
– Vector Multiplications
– Scalar and Vector Triple Products
• Orthogonal Coordinate Systems
– Cartesian Coordinates
– Cylindrical Coordinate
– Spherical Coordinates
• Coordinate System Transformations
– Cartesian to Cylindrical Transformations
– Cartesian to Spherical Transformations
– Cylindrical to Spherical Transformations
Prof Joshua Le-Wei Li, EM Research Group 2 EE2011: Engineering Electromagnetics
Basic Vector Algebra
• Vectors: Magnitude and Direction
A A
A aˆ | A | aˆ A where aˆ .
|A| A
A xˆ Ax yˆ Ay zˆ Az so that
A |A| Ax2 Ay2 Az2 ;
A xˆ Ax yˆ Ay zˆ Az
aˆ .
A 2
A A A
x
2
y
2
z
A pair of vectors A and B shown in (a) are added by the head-to-tail method (b) and
by completing the trapezoid (c). In (d), the vector B is subtracted from A.
A u B n̂AB sin T AB
xˆ yˆ zˆ
Au B B u A Ax Ay Az
Bx By Bz
Au A 0
A u (B C ) Au B Au C
A BuC B Cu A C AuB
Ax Ay Az
A BuC Bx By Bz
Cx Cy Cz
Au BuC B A C C A B
Au BuC z AuB uC
³ F dl ³ F
A A
A dl ³ FB dl ³ FC dl
B C
FA A FB B FC C
F vector field FA FB FC
y
A vector line ABC
FC
C
x
B
A FB
FA
15a
Example
FA 4xˆ A 3xˆ
FB 2yˆ B 4yˆ
FC 7 zˆ C zˆ
³ F dl ³ F
A A
A dl ³ FB dl ³ FC dl
B C
FA A FB B FC C
12 8 7
27
15b
The previous example is a very simple one. In
general, F and Ɛ will not be constant but changing
with position (x, y, z). This will require us to do the
real integration for each segment. More exercises
will be given in the tutorial questions.
15c
Vector Surface Integrals
Definition of a vector area:
Surface area = S
15d
³ F ds ³ F
S SA
A ds ³ FB ds ³ FC ds
SB SC
FA S A FB S B FC SC
S AFA aˆ S B FB bˆ SC FC cˆ
S vector area z
S A S B SC ĉ
S Aaˆ S B bˆ SC cˆ FC SC
y
SB b̂
SA F
FA
B
x â
15e
Example
SA 4xˆ m 2
FA 2xˆ
FB 3yˆ SB 2yˆ m 2
FC zˆ Sc 5zˆ m 2
³ F ds ³ F
S SA
A ds ³ FB ds ³ FC ds
SB SC z
ẑ
2xˆ 4xˆ 3yˆ 2yˆ 1zˆ 5zˆ
8 6 5 19 FC S C
y
SB ŷ
SA F
F A
B
x x̂
15f
The previous example is a very simple one. In
general, F and S will not be constant but changing
with position (x, y, z). This will require us to do the
real integration for each surface area. More exercises
will be given in the tutorial questions.
15g
Gradient of a Scalar Field
• Basic Concept of the Gradient
– Let us assume a temperature T as a function of space
parameters
– Gradient is an extension of the
derivative dT/dz
– However, if the T is a function
of 3-D position (x, y, z), then
we need to use Gradient to
describe the increase if the
temperature T as a function
of (x, y, z)
dl xˆ dx yˆ dy zˆ dz
wT wT wT
dT dx dy dz
wx wy wz
wT wT wT § wT wT wT ·
xˆ dl yˆ dl zˆ dl ¨¨ xˆ yˆ zˆ ¸¸ dl
wx wy wz © wx wy wz ¹
T dl
wT wT wT w w w
T xˆ yˆ zˆ or xˆ yˆ zˆ
wx wy wz wx wy wz
dT T dl T aˆ dl or dT T aˆ l directional derivative
l dl
F1 F2 F3 F4 F5 F6
F1 ³³ E ds ³³ E nˆ ds
Face 1 Face 1
1
³³ xˆ E x yˆ E y zˆ E z xˆ 1 dydz ³³ E ds wE x wE y wE z
Face 1
E lim S
E x ,1'y'z 'v o0 'v wx wy wz
§ wE x · wE x
F2 E x , 2 'y'z E
¨ x ,1 'x ¸ 'y'z so F2 F1 'x'y'z
© wx ¹ wx
§ wE x wE y wE z ·
Total flux ³³S E ds ¨¨© wx wy wz ¸¸¹'x'y'z E 'v
Prof Joshua Le-Wei Li, EM Research Group 22 EE2011: Engineering Electromagnetics
Divergence of a Vector Field
• Example 1
³³³ Edv ³³ E ds
V S
• Solenoidal, if ·E = 0
• Distributive, because of ·(E1+E2) = ·E1+· E2
• For a constant E, the entering and leaving fluxes are
the same and the divergence is zero, the field is thus
divergenceless.
B xˆ Bx yˆ B y zˆ Bz
xˆ yˆ zˆ
uB w w w
wx wy wz
Bx By Bz
§ wB · § wB ·
ˆx¨ wBz y ¸ yˆ §¨ wBx wBz ·¸ zˆ ¨ y wBx ¸
© wy wz ¹ © wz wx ¹ © wx wy ¹
³³ u B ds ³ B dl
S C
© wx wy wz ¹
• Laplacian Operator in Cylindrical Coordinates
1 w § wV · 1 w 2V w 2V
2V ¨r ¸ 2 2
2
r wr © wr ¹ r wI wz
• Laplacian Operator in Spherical Coordinates
1 w § 2 wV · 1 w § wV · 1 w 2V
2V 2 ¨R ¸ 2 ¨ sin T ¸ 2 2
R wR © wR ¹ R sin T wT © wT ¹ R sin T wI 2