0% found this document useful (0 votes)
62 views72 pages

Notes Based On Fundamentals of Applied Electromagnetics (Ulaby Et Al) For ECE331, PSU

The document discusses vector analysis concepts including: 1) Vectors are specified by their magnitude and direction using a unit vector. Vectors in Cartesian coordinates are represented by their components along the x, y, and z axes. 2) Two vectors are equal if they have equal magnitudes and identical unit vectors, or equal components in Cartesian coordinates. Vectors can be added by the parallelogram rule or head-to-tail rule, with the sum calculated by adding corresponding components. 3) Position vectors specify the location of a point in space relative to the origin, while distance vectors represent the displacement between two points.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views72 pages

Notes Based On Fundamentals of Applied Electromagnetics (Ulaby Et Al) For ECE331, PSU

The document discusses vector analysis concepts including: 1) Vectors are specified by their magnitude and direction using a unit vector. Vectors in Cartesian coordinates are represented by their components along the x, y, and z axes. 2) Two vectors are equal if they have equal magnitudes and identical unit vectors, or equal components in Cartesian coordinates. Vectors can be added by the parallelogram rule or head-to-tail rule, with the sum calculated by adding corresponding components. 3) Position vectors specify the location of a point in space relative to the origin, while distance vectors represent the displacement between two points.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 72

1

Contents
3 Vector Analysis 3
3.1 Vector Algebra . . . . . . . . . . . . . . . . . . . . . . 3
3.1.1 Vector equality . . . . . . . . . . . . . . . . . . 7
3.1.2 Vector addition and subtraction . . . . . . . . 8
3.1.3 Position and distance vectors . . . . . . . . . . 10
3.1.4 Vector multiplication . . . . . . . . . . . . . . . 13
3.1.5 Triple products . . . . . . . . . . . . . . . . . . 20
3.2 Orthogonal coordinate systems . . . . . . . . . . . . . 22
3.2.1 Cartesian coordinates . . . . . . . . . . . . . . 22
3.2.2 Cylindrical coordinates . . . . . . . . . . . . . 25
3.2.3 Spherical Coordinates . . . . . . . . . . . . . . 31
3.3 Coordinate transformations . . . . . . . . . . . . . . . 37
3.3.1 Cartesian to cylindrical . . . . . . . . . . . . . 37
3.3.2 Cartesian to spherical . . . . . . . . . . . . . . 43
3.3.3 Distance between two points . . . . . . . . . . 47
3.4 Gradient of a scalar field . . . . . . . . . . . . . . . . . 48

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
2

3.4.1 Gradient operator in cylindrical and spherical


coordinates . . . . . . . . . . . . . . . . . . . . 53
3.4.2 Properties of the gradient operator . . . . . . . 55
3.5 Divergence of a vector field . . . . . . . . . . . . . . . 56
3.5.1 Divergence theorem . . . . . . . . . . . . . . . 63
3.6 Curl of a vector field . . . . . . . . . . . . . . . . . . . 64
3.6.1 Vector identities involving curl . . . . . . . . . 70
3.6.2 Stoke’s theorem . . . . . . . . . . . . . . . . . . 70
3.7 Laplacian operator . . . . . . . . . . . . . . . . . . . . 71

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 3

3. Vector Analysis
We had it easy so far: all our quantities were scalar (remember that
some of the quantities were complex, though). From now on, we
need vectors which will describe dependence of various quantities
(primarily electric E and magnetic H fields) in 3-D space. What
follows is a review of vector algebra, coordinate systems and vector
calculus.
Remember, a vector specifies both magnitude and direction of a
quantity. For example, temperature is a scalar (number only) while
velocity is a vector (speed and direction).

3.1. Vector Algebra


A vector is specified by its magnitude A = |A|, and its direction
which can be specified using a unit vector â, as illustrated in Fig. 1

A = â|A| = âA (1)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 4

A
^
A = aA

a^
1

=3-1âA has a magnitude A = |A| and unit vector


Figure 1: Vector AFigure
â = A/A.

A A
â = = (2)
|A| A
In the Cartesian (or rectangular) coordinate system (shown in fig.
2), there are three mutually perpendicular coordinates x, y, z and cor-
responding unit (or base) vectors x̂, ŷ, ẑ. Any vector A can be repre-
sented in terms of its components along different axes, as illustrated
in fig. 2.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 5

3
2
^
1 z
^
y
y
1 1 2 3
2 ^
x
3
x
(a) Base vectors

Az

Az

Ay
y
Ax Ar

x
(b) Components of A

Figure 3-2

Figure 2: Cartesian coordinate system: (a) base vectors x̂, ŷ, and ẑ,
and (b) components of vector A.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 6

A = x̂Ax + ŷAy + ẑAz (3)


Application of Pythagorean theorem, gives

q A x̂Ax + ŷAy + ẑAz


A = |A| = +
A2x + A2y + A2z , â = = q (4)
A +
A2x + A2y + A2z

You will also see vectors denoted â = (Ax , Ay , Az ).

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 7

• Vector equality
Given two vectors

A = âA = x̂Ax + ŷAy + ẑAz (5)


B = b̂B = x̂Bx + ŷBy + ẑBz (6)

they will be equal, i.e. A = B, if they have equal magnitudes and


identical unit vectors, i.e. A = B and â = b̂, or Ax = Bx , Ay = By ,
and Az = Bz . It’s interesting that two vectors can be equal but not
identical. That is, they might have the same magnitude and direction
but displaced from each other (think about parallel vectors).

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 8

• Vector addition and subtraction


The sum of two vectors is given by,
C=A+B=B+A (7)
where the order of addition does not matter. Graphical interpretation:
parallelogram rule or head-to-tail rule (Fig. 3).
For rectangular coordinate system we have
C = A+B
= (x̂Ax + ŷAy + ẑAz ) + (x̂Bx + ŷBy + ẑBz )
= x̂(Ax + Bx ) + ŷ(Ay + By ) + ẑ(Az + Bz ) (8)
i.e. summation is done by components.
Subtraction is done the same way as addition, but the negative
vector’s direction is changed,
D = A − B = A + (−B)
= x̂(Ax − Bx ) + ŷ(Ay − By ) + ẑ(Az − Bz ) (9)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 9

A C

B
(a) Parallelogram rule
C
A

B
(b) Head-to-tail rule

Figure 3-3

Figure 3: Vector addition by (a) the parallelogram rule and (b) the
head-to-tail rule.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 10

• Position and distance vectors


A position vector of the point P is defined as a vector starting from
the origin and ending at P . Fig. 4 shows two position vectors, R1
and R2 .

−−→
R1 = O P1 = x̂x1 + ŷy1 + ẑz1 (10)
−−→
R2 = O P2 = x̂x2 + ŷy2 + ẑz2 (11)
The vector connecting P1 and P2 is called the distance vector:
−−−→
R12 = P1 P2 = R2 − R1
= x̂(x2 − x1 ) + ŷ(y2 − y1 ) + ẑ(z2 − z1 ) (12)
To find the distance between two points, calculate the magnitude of:
R12
d = |R12 |
= [(x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2 ]1/2 (13)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 11

z2
P1(x1, y1, z1)

z1 R12 P2(x2, y2, z2)

R1 R2

y1 y2
O y
x1
x2

Figure 3-4
Figure 4: Position vector R12 = P1 P2 = R2 − R1 .

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 12

The first subscript of R12 denotes the location of its tail and the
second subscript the location of its head (see Fig. 4).

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 13

• Vector multiplication
There are three kinds of vector products:
• Simple product is a product between a scalar and a vector

B = kA = âkA = x̂(kAx ) + ŷ(kAy ) + ẑ(kAz ) (14)

This multiplication preserves direction, but changes the magni-


tude
• Scalar (dot) product is denoted by A · B and is defined as

A · B = AB cos θAB (15)

where θAB is the angle between vectors A and B, as shown in


Fig. 5.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 14

θAB B

(a)

A B
θAB

(b)

Figure 3-5
Figure 5: The angle θAB is the angle between A and B measured
from A to B between vector tails. The dot product is positive if
0 ≤ θAB < 90◦ , as in (A), and it is negative if 90◦ < θAB ≤ 180◦ , as
in (b).

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 15

Interpretation: A cos ΘAB is the projection of vector A along


the direction of vector B. Given,
A · B = (x̂Ax + ŷAy + ẑAz ) · (x̂Bx + ŷBy + ẑBz ) (16)
and
x̂ · x̂ = ŷ · ŷ = ẑ · ẑ = 1 (17)
x̂ · ŷ = ŷ · ẑ = ẑ · x̂ = 0 (18)
we get
A · B = Ax Bx + Ay By + Az Bz (19)
Some properties of the dot product are:
A·B = B · A (commutative property) (20)
A · (B + C) = A · B + A · C (distributive property)(21)
Also, the dot product of a vector with itself gives,
A · A = |A|2 = A2 (22)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 16

and √
+
A = |A| = A·A (23)

The angle between vectors can be determined from,


 
−1 A·B
θAB = cos √
+
√ (24)
A·A+B·B

• Vector or cross product is defined as

A × B = n̂AB sin θAB (25)

wher θAB is the angle between A and B is measured from the


tail of A to the tail of B (direction is important!).
Interpretation: cross product is equal (in magnitude) to the
area of a parallelogram defined by two vectors and its direction
is given by the right-hand rule (Fig. 6).

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 17

z
A×B =^
n AB sin θAB

^
n B
θAB
y

x A
(a) Cross product
(b) Right-hand rule
A×B

A
Figure 3-6

Figure 6: Cross product A × B points in the direction n̂, which is


perpendicular to the plane containing A and B and defined by the
right-hand rule.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 18

Some properties:
A × B = −B × A (anticommutative) (26)

A × (B + C) = A×B+A×C (distributive) (27)


A×A = 0 (28)

From the definition, we observe that


x̂ × ŷ = ẑ, ŷ × ẑ = x̂, ẑ × x̂ = ŷ (29)
x̂ × x̂ = ŷ × ŷ = ẑ × ẑ = 0 (30)
If we write out the product
A×B = (x̂Ax + ŷAy + ẑAz ) × (x̂Bx + ŷBy + ẑBz )
= x̂(Ay Bz − Az By ) + ŷ(Az Bx − Ax Bz )
+ ẑ(Ax By − Ay Bx ) (31)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 19

but it is simpler to remember this



x̂ ŷ ẑ

A × B = Ax Ay Az
(32)
Bx By Bz

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 20

• Triple products
Not all combinations of vector products are meaningful, e.g. A × (B ·
C). What about A(B · C)?

• Scalar triple product is a dot product of vector with a cross


product of two other vectors, and it obeys cyclic order

A · (B × C) = B · (C × A) = C · (A × B) (33)

The result can be written in the form of a determinant



Ax Ay Az

A · (B × C) = Bx By Bz (34)
Cx Cy Cz

• Vector triple product involves cross product of a vector with a


cross product of two other vectors:

A × (B × C) (35)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 21

It does not obey associative law, i.e.

A × (B × C) 6= (A × B) × C (36)

i.e. order of multiplication must be specified with parenthesis.


Furthermore,

A × (B × C) = B(A · C) − C(A · B) (37)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 22

3.2. Orthogonal coordinate systems


Why do we care about coordinate systems other than the familiar
Cartesian? Solving specific problems can be simplified greatly if the
right coordinate system is chosen. Orthogonal coordinate systems
means the coordinates are mutually perpendicular.

• Cartesian coordinates
We’ve already worked with this one in the previous section. Its vector
properties are summarized in Table 3.1 in Ulaby.
Let’s look at some differential quantities, illustrated in Fig. 7:

Length:

dl = x̂ dlx + ŷ dly + ẑ dlz = x̂ dx + ŷ dy + ẑ dz (38)

Surface: This vector has magnitude equal to the product of two dif-
ferential lengths and the direction is along the third axis.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 23

z dsz = z^ dx dy

dy
dx
^ dx dz
dsy = y
dz
dz
dl d = dx dy dz
^ dy dz
dsx = x

dy
y
dx
x

Figure 3-8

Figure 7: Differential length, area, and volume in Cartesian coordi-


nates.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 24

dsx = x̂ dly dlz = x̂ dy dz (y-z plane) (39)


dsy = ŷ dx dz (x-z plane) (40)
dsz = ẑ dx dy (x-y plane) (41)

Volume : Scalar and equal to the product of the three differential


lengths,
dν = dx dy dz (42)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 25

• Cylindrical coordinates
What are Cylindrical coordinates used for? Think about coaxial lines.
Cylindrical coordinates use three variables: r, φ, z, shown in Fig. 8.

• r = radial distance in the x − y plane. Range of values: 0 ≤


r < ∞.
• φ = azimuth angle measured from the positive x−axis. Range
of values: 0 ≤ φ < 2π
• z — same as Cartesian system. Range of values: −∞ < z < ∞

Point P is located at the intersection of:


1. Cylindrical surface defined by r = r1 ,
2. Vertical half-plane defined by φ = φ1

3. Horizontal plane defined by z = z1

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 26

z = z1 plane

z1 P(r1,φ1,z1)

R1

r = r1 cylinder O y
φ1 r ^z
1
φ^ φ = φ1 plane
r^
x

Figure3-9

Figure 8: Point P (r1 , φ1 , z1 ) in cylindrical coordinates; r1 is the radial


distance from the origin in the x-y plane, φ1 is the angle in the x-
y plane measured from the x-axis toward the y-axis, and z1 is the
vertical distance from the x-y plane.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 27

Mutually perpendicular base vectors:


• r̂ — points away from the origin along r
• φ̂ — pointing tangentially to the cylindrical surface
• ẑ — points along vertical axis.
Some properties:
• r̂ · r̂ = φ̂ · φ̂ = ẑ · ẑ = 1 and cross product with itself = 0.
• Base unit vectors obey right-hand cyclic relations

r̂ × φ̂ = ẑ, φ̂ × ẑ = r̂, ẑ × r̂ = φ̂ (43)

• Components of a vector are expressed as

A = â|A| = r̂Ar + φ̂Aφ + ẑAz (44)

where components are along their respective axis directions.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 28

• Magnitude of a vector is obtained from



+
q
|A| = A · A = + A2r + A2φ + A2z (45)

Look at Fig. 8: that position vector has components only along r


and z.
−−→
R1 = O P = r̂r1 + ẑz1 (46)
and its dependence on φ1 is only implicit through r̂.
How about differential elements (shown in Fig. 9):

Length: along axis we have:

dlr = dr, dlφ = r dφ, dlz = dz (47)

and in general:

dl = r̂ dlr + φ̂ dlφ + ẑ dlz = r̂ dr + φ̂r dφ + ẑ dz (48)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 29

Surface: different surfaces:

dsr = r̂ dlφ dlz = r̂r dφ dz (φ-z cylindrical surface) (49)


dsφ = φ̂ dlr dlz = φ̂ dr dz (r-z plane) (50)
dsz = ẑ dlr dlφ = ẑr dr dφ (r-φ plane) (51)

Volume:
dν = dlr dlφ dlz = r dr dφ dz (52)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 30

dz dsz = ^
zr dr dφ
dr ^ dr dz
dsφ = φ
r dφ

dz d = r dr dφ dz

^ r dφ dz
dsr = r

O y
φ
r
x
dr r dφ

Figure 3-10

Figure 9: Differential areas and volume in cylindrical coordinates.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 31

• Spherical Coordinates
Position specified by variables R, θ, φ, shown in Fig. 10.
• Range coordinate R. Range of values: 0 ≤ R < ∞.

• Zenith angle θ, measured from the positive z− axis; it de-


scribes a conical surface with apex at the origin. Range of val-
ues: 0 ≤ θ ≤ π.
• Azimuth angle — same as in cylindrical system. Range of
values: 0 ≤ φ < 2π
Some properties:
• Right-hand cyclic relations are:
R̂ × θ̂ = φ̂, θ̂ × φ̂ = R̂, φ̂ × R̂ = θ̂ (53)

• Vector components are written:


A = â|A| = R̂AR + θ̂Aθ + φ̂Aφ (54)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 32

^
R
^
φ
^ P(R1, θ1, φ1)
R1 θ
θ = θ1
conical θ1
surface
y
φ1

^
φ

Figure 3-13
Figure 10: Point P (R1 , θ1 , φ1 ) in spherical coordinates.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 33

• The vector magnitude:



+
q
|A| = A·A= +
A2R + A2θ + A2φ (55)

• The position vector of the point P (R1 , θ1 , φ1 ),


−−→
R1 = O P = R̂R1 (56)

but remember that R̂ is implicitly dependent on θ1 , φ1 .


The differential lengths (shown in fig. 11):
Length:
dlR = dR, dlθ = R dθ, dlφ = R sin θ dφ (57)

dl = R̂ dlR + θ̂ dlθ + φ̂ dlφ


= R̂ dR + θ̂R dθ + φ̂R sin θ dφ (58)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 34

R sin q df
d = R2 sin q dR dq df

dR Rdq
R
q dq
y
f df

Figure 3-14

Figure 11: Differential volume in spherical coordinates.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 35

Surface:

dsR = R̂ dlθ dlφ = R̂R2 sin θ dθ dφ (θ-φ spherical surface)


(59)
dsθ = θ̂ dlR dlφ = θ̂R sin θ dR dφ (R-φ conical surface)(60)
dsφ = φ̂ dlR dlθ = φ̂R dR dθ (R-θ plane) (61)

Volume:
dν = dlR dlθ dlφ = R2 sin θ dR dθ dφ (62)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 36

30° 60°

y
3c
m

Figure 12: Spherical strip of Example 3-5.


Figure 3-15

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 37

3.3. Coordinate transformations


Positions and vectors are the same no matter what coordinate system
we use ⇒ we can transform one set of coordinates to another.

• Cartesian to cylindrical
Take point P in Fig. 13. Its Cartesian coordinates are (x, y, z), and
cylindrical are (r, φ, z). Note that z coordinate is shared; the other two
can be determined from the geometry, so that cartesian to cylindrical
coordinate transformation is:
p y
r = + x2 + y 2 , φ = tan−1 (63)
x
and cylindrical to cartesian,

x = r cos φ, y = r sin φ (64)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 38

P(x, y, z)
z
y
φ r x = r cos φ
y = r sin φ
x
Figure 3-16

Figure 13: Interrelationships between Cartesian coordinates (x, y, z)


and cylindrical coordinates (r, φ, z).

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 39

φ φ^
r
^
y
φ ^r
φ^

^x
x

Figure 14: Interrelationships between base vectors (x̂, ŷ) and (r̂, φ̂).
Figure 3-17

How about the relationship between base vectors? Refer to Fig. 14.
The procedure involves realizing, from the geometry that,

r̂ · x̂ = cos φ, r̂ · ŷ = sin φ (65)


φ̂ · x̂ = − sin φ, φ̂ · ŷ = cos φ (66)

(Maybe easier to see if we let α = π/2 − φ so φ = π/2 − α and


cos(α) = sin(π/2 − α) = sin(φ))

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 40

We can write r̂ in terms of x̂ and ŷ

r̂ = x̂a + ŷb (67)

where we don’t yet know the values for a and b. Use the dot product
to solve for a,
r̂ · x̂ = x̂ · x̂a + ŷ · x̂b = a (68)
and recall, r̂ · x̂ = cos φ so, a = cos φ. Similarly, b = r̂ · ŷ = sin φ.
The same can be done for φ̂ leading to,

r̂ = x̂ cos φ + ŷ sin φ (69)


φ̂ = −x̂ sin φ + ŷ cos φ (70)

remember that ẑ is the same in cylindrical and cartesian. For the


inverse relations we can solve the above simultaneously to get,

x̂ = r̂ cos φ − φ̂ sin φ (71)


ŷ = r̂ sin φ + φ̂ cos φ (72)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 41

These are useful for converting vectors from one coordinate system
to another. Remember that in Cartesian coordinates is A = x̂Ax +
ŷAy + ẑAz and in cylindrical A = r̂Ar + φ̂Aφ + ẑAz . Using,

x̂ = r̂ cos φ − φ̂ sin φ (73)


ŷ = r̂ sin φ + φ̂ cos φ (74)
we can write A as,
h i h i
A = Ax r̂ cos φ − φ̂ sin φ + Ay r̂ sin φ + φ̂ cos φ + ẑAz (75)

and collect the terms for Ar and Aφ ,


Ar = Ax cos φ + Ay sin φ (76)
Aφ = −Ax sin φ + Ay cos φ (77)
and conversely, using
r̂ = x̂ cos φ + ŷ sin φ (78)
φ̂ = −x̂ sin φ + ŷ cos φ (79)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 42

Ax = Ar cos φ − Aφ sin φ (80)


Ay = Ar sin φ + Aφ cos φ (81)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 43

• Cartesian to spherical
Use Fig. 15 as a starting point. From it we obtain:

p
+
R = x2 + y 2 + z 2 (82)
"p #
−1
+
x2 + y 2
θ = tan (83)
z
y
φ = tan−1 (84)
x
and inversely (recognizing that r = R sin θ),

x = R sin θ cos φ (85)


y = R sin θ sin φ (86)
z = R cos θ (87)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 44

θ
^z
^
R
(π/2 - θ)
R r^
θ
z = R cos θ
y
φ x = r cos φ
r
φ^
y = r sin φ
^r
x
Figure3-18

Figure 15: Interrelationships between (x, y, z) and (R, θ, φ).

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 45

R̂ is always some combination of r̂ and ẑ so,

R̂ = r̂a + ẑb (88)

R̂ · r̂ = a (89)
R̂ · ẑ = b (90)

Also, note that R̂ · ẑ = cos θ = b and R̂ · r̂ = cos(π/2 − θ) = sin θ = a.


Also, recall,

r̂ = x̂ cos φ + ŷ sin φ (91)

So we obtain the following base vector transformation:

R̂ = x̂ sin θ cos φ + ŷ sin θ sin φ + ẑ cos θ (92)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 46

The other base vectors transform similarly to give:

R̂ = x̂ sin θ cos φ + ŷ sin θ sin φ + ẑ cos θ (93)

θ̂ = x̂ cos θ cos φ + ŷ cos θ sin φ − ẑ sin θ (94)


φ̂ = −x̂ sin φ + ŷ cos φ (95)
The inverse operations are obtained from:

x̂ = R̂ sin θ cos φ + θ̂ cos θ cos φ − φ̂ sin φ (96)


ŷ = R̂ sin θ sin φ + θ̂ cos θ sin φ + φ̂ cos φ (97)
ẑ = R̂ cos θ − θ̂ sin θ (98)

To transform components, just replace unit vectors with their respec-


tive component values, i.e. x̂ → Ax , R̂ → AR .

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 47

• Distance between two points


We know how to find distance between two points in Cartesian system:
d = |R12 |
= [(x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2 ]1/2 (99)
Utilizing the transformations in eq. 64, for cylindrical coordinates
this becomes
d = [(r2 cos φ2 − r1 cos φ1 )2
+(r2 sin φ2 − r1 sin φ1 )2 + (z2 − z1 )2 ]1/2
= [r22 + r12 − 2r1 r2 cos (φ2 − φ1 ) + (z2 − z1 )2 ]1/2 (100)
(cylindrical)
Similarly, for spherical coordinates use eq. 85 -87
d = {R22 + R12 − 2R1 R2 [cos θ2 cos θ1
+ sin θ1 sin θ2 cos (φ2 − φ1 )]}1/2 (101)
(spherical)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 48

3.4. Gradient of a scalar field


Things are simple if we have a scalar that depends on only one quan-
tity ⇒ finding the rate of change is simply df (z)/dz. What do we do
about 3-D (scalars and vectors)? For 3-D we can do partial deriva-
tives, but how do we combine them? We use gradient , divergence
and curl operators. Gradient operates on scalars, the others operates
on vectors.
Take temperature T1 (x, y, z) as an example, shown in Fig. 16.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 49

z P2(x+dx, y+dy, z+dz)


dy
dx
dz
dl
P1(x, y, z)

x
Figure 3-19

Figure 16: Differential distance vector dl between points P1 and P2 .

• The differential distance dl has components

dl = x̂ dx + ŷ dy + ẑ dz (102)

• The differential temperature dT = T2 − T1 is


∂T ∂T ∂T
dT = dx + dy + dz (103)
∂x ∂y ∂z

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 50

• We have by definition, dx = x̂ · dl, dy = ŷ · dl and dz = ẑ · dl to


get,

∂T ∂T ∂T
dT = x̂ · dl + ŷ · dl + ẑ · dl
∂x ∂y ∂z
 
∂T ∂T ∂T
= x̂ + ŷ + ẑ · dl (104)
∂x ∂y ∂z
which is the change in temperature corresponding to a vector
change in position dl.
• This is called the gradient of T or grad T or ∇T .

∂T ∂T ∂T
∇T = grad T , x̂ + ŷ + ẑ (105)
∂x ∂y ∂z
• We can now plug this into eq. 104
dT = ∇T · dl (106)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 51

where ∇ is called del or gradient operator, defined as

∂ ∂ ∂
∇ , x̂ + ŷ + ẑ (Cartesian) (107)
∂x ∂y ∂z

• Quote from Ulaby (in blue print in the text): “whereas the
gradient operator has no physical meaning by itself, it attains a
physical meaning once it operates on a scalar physical quantity,
and the result of the operation is a vector whose magnitude is
equal to the maximum rate of change of the physical quantity
per unit distance and whose direction is along the direction of
maximum increase.”
• Define a unit vector in the direction of dl as dl = âl dl so that
the directional derivative of T along direction of âl is
dT
= ∇T · âl (108)
dl

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 52

• Finally, if ∇T is a known 3-D function, the difference T2 − T1


(see Fig. 16) is calculated from,
Z P2
T2 − T1 = ∇T · dl (109)
P1

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 53

• Gradient operator in cylindrical and spherical coordinates


We derived the previous using Cartesian coordinates but we should
have an equivalent operation in any orthogonal coordinate system,
namely, cylindrical and spherical. So what do we do in cylindrical
and spherical coordinate systems? We have to express ∇ in these
coordinate systems. Recall that in the cylindrical system we get,
p y
r = + x2 + y 2 , tan φ = (110)
x
and we can use the chain rule,
∂T ∂T ∂r ∂T ∂φ ∂T ∂z
= + + (111)
∂x ∂r ∂x ∂φ ∂x ∂z ∂x
and the derivatives,
∂r x
=p = cos φ (112)
∂x x2 + y 2

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 54

∂φ sin φ
=− (113)
∂x r
Note, this one is a bit trickier— you have to remember some calculus.
−1
−y/x2
φ = tan−1 (y/x) and d tan dx(y/x) = d(y/x)/dx
1+(y/x)2 , so you get 1+(y/x)2 =
−y −y
x2 +y 2 = r 2 = − sin φ/r. So we get,

∂T ∂T sin φ ∂T
= cos φ − (114)
∂x ∂r r ∂φ
which can be used in,
∂T ∂T ∂T
∇T = x̂ + ŷ + ẑ (115)
∂x ∂y ∂z
We get a simlar expression for for ∂T /∂y. (what about ∂T /∂z?). We
also need to express unit vectors; for that use,

x̂ = r̂ cos φ − φ̂ sin φ (116)


ŷ = r̂ sin φ + φ̂ cos φ (117)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 55

So that we get,
∂T 1 ∂T ∂T
∇T = r̂ + φ̂ + ẑ (118)
∂r r ∂φ ∂z
or
∂ 1 ∂ ∂
∇ = r̂+ φ̂ + ẑ (cylindrical) (119)
∂r r ∂φ ∂z
In spherical coordinates we get
∂ 1 ∂ 1 ∂
∇ = R̂ + θ̂ + φ̂ (spherical) (120)
∂R R ∂θ R sin θ ∂φ

• Properties of the gradient operator

(1) ∇(U + V ) = ∇U + ∇V (121)


(2) ∇(U V ) = U ∇V + V ∇U (122)
(3) ∇V n = nV n−1 ∇V for any n (123)

Note that gradient of a vector is meaningless.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 56

3.5. Divergence of a vector field


First a little background. We’ve already seen how electric charge
introduces an electric field around it, as illustrated in Fig. 17. This
vector field is represented by field lines (little arrows). The field itself
does not move but it can move charge introduced into that field, so
we think of field lines as flux lines and define their flux density as
amount of outward flux crossing a unit surface ds, i.e.
E · ds E · n̂ ds
Flux density of E = = (124)
|ds| ds

where n̂ is the outward surface normal of ds.


The total flux crossing a closed surface is simply a surface integral
I
Total flux = E · ds (125)
S

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 57

^
n

+q

Imaginary
spherical
surface

Figure 3-20
Figure 17: Flux lines of the electric field E due to a positive charge q.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 58

Let’s now look at Fig. 18 and try to calculate the total flux.
• We start with a parallelepiped such as the cube shown
• There are six faces — we sum up fluxes over all of them. Start
by defining E.
E = x̂Ex + ŷEy + ẑEz (126)

• Note that the outward normal vector on surface 1 is in the neg-


ative x direction, i.e. n̂1 = −x̂, so that
Z
F1 = E · n̂1 ds
ZFace 1
= (x̂Ex + ŷEy + ẑEz ) · (−x̂) dy dz
Face 1
= −Ex (1) ∆y ∆z (127)

where we’ve assumed E(x) to be constant over the face and


equal to the value at the center of the face.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 59

E
^4
n
E
(x, y+∆y, z) ∆x
Face 4
∆z
E
Face 1 Face 2
^1
n ^2
n
∆y (x, y, z) (x+∆x, y, z)
Face 3
y
(x, y, z+∆z)
^3
n x
z

Figure 18: Flux lines of a vector field E passing through a differential


rectangular
Figure 3-21parallelepiped of volume ∆v = ∆x ∆y ∆z.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 60

• On face 2 we get
F2 = Ex (2) ∆y ∆z (128)
• By using Taylor’s expansion, we can express (approximately)
the value on one face in terms of the other face value, i.e.

∂Ex
Ex (2) = Ex (1) + ∆x (129)
∂x
so that  
∂Ex
F2 = Ex (1) + ∆x ∆y ∆z (130)
∂x
and
∂Ex
F1 + F2 = ∆x ∆y ∆z (131)
∂x
∂Ey
F3 + F4 = ∆x ∆y ∆z (132)
∂y
∂Ez
F5 + F6 = ∆x ∆y ∆z (133)
∂z

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 61

• The grand total is then:


I  
∂Ex ∂Ey ∂Ez
E · ds = + + ∆x ∆y ∆z
S ∂x ∂y ∂z
= (div E)∆ν (134)
where ∆ν is the volume and div E is a differential function called
divergence of E and is defined as
∂Ex ∂Ey ∂Ez
div E = + + (135)
∂x ∂y ∂z
• By using the usual trick of reducing the dimensions to zero, we
get divergence of E at a point
H
E · ds
div E , lim S (136)
∆ν→0 ∆ν
• In alternative notation,
∂Ex ∂Ey ∂Ez
∇ · E , div E = + + (137)
∂x ∂y ∂z

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 62

Interpretation: from,
H
S
E · ds
div E , lim (138)
∆ν→0 ∆ν
the field E has positive divergence if the net flux out of surface S is
positive ⇒ some source of flux is present within the volume. If it is
negative ⇒ there is a sink present.

• If E is uniform ⇒ the same amount of flux enters and leaves ⇒


divergence is zero (divergenceless field).
• Divergence operates only on vectors and the result is scalar. It
can also be applied in cylindrical and spherical systems.
• Divergence is distributive

∇ · (E1 + E2 ) = ∇ · E1 + ∇ · E2 (139)

• If ∇ · E = 0 ⇒ solenoidal field.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 63

• Divergence theorem
Extending
I  
∂Ex ∂Ey ∂Ez
E · ds = + + ∆x ∆y ∆z
S ∂x ∂y ∂z
= (div E)∆ν (140)

from differential volume ∆ν to a volume integral,


Z I
∇ · Edν = E · ds (divergence theorem) (141)
ν S

which is known as the divergence theorem . The closed surface in


the integral on the right is the surface that bounds the volume that
is integrated over on the left.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 64

3.6. Curl of a vector field


So, why do we need yet another operator? There is an additional
property of fields called circulation , which is defined as a line integral
of the field around a closed contour.
I
Circulation = B · dl (142)
C

To illustrate, have a look at Fig. 19. For case a) we observe that


the circulation= 0, or mathematically,

Z b Z c
Circulation = x̂B0 · x̂ dx + x̂B0 · ŷ dy
a b
Z d Z a
+ x̂B0 · x̂ dx + x̂B0 · ŷ dy
c d
= B0 ∆x − B0 ∆x = 0 (143)
where ∆x = b − a = c − d and recall, x̂ · ŷ = 0.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 65

y
a d

∆x ∆x

b c

B
x
(a) Uniform field

Current I

φ^

C
y
r
φ
B

(b) Azimuthal field

Figure 3-22
Figure 19: Circulation is zero for the uniform field in (a), but it is not
zero for the azimuthal field in (b).

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 66

⇒ circulation of a uniform field is zero.


Case b) shows magnetic filed induced by current I (what is the
best coordinate system to use?). Field lines are concentric circles
around the current source.
µ0 I
B = φ̂ (144)
2πr
Suppose we have a circular contour of radius r then the differential
length vector is dl = φ̂rdφ so that circulation of B around the contour
is

I
Circulation = B · dl
C
Z 2π
µ0 I
= φ̂ · φ̂r dφ = µ0 I (145)
0 2πr
• This circulation is not zero, but what about other contours?
Any contour in planes that are perpendicular to the x − y plane

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 67

would have = 0 (because the differential length would not have


a φ component).
• Also, the direction of contour determines the sign of circulation
• The curl operator is used to describe the circulation of a vector
field. It is denoted as curl B or ∇ × B.
 I 
1
∇ × B = curl B , lim n̂ B · dl (146)
4s→0 4s C max

• curl B is the circulation of B per unit area, with the area ∆s


of the contour C being oriented such that the circulation is
maximum.
• The direction of curl B is n̂, which is normal to ∆s using the
right hand rule.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 68

• So, how do we get something out of eq. 146? In Cartesian


coordinates,
B = x̂Bx + ŷBy + ẑBz (147)
we get (omitting the long derivation),

   
∂Bz ∂By ∂Bx ∂Bz
∇ × B = x̂ − + ŷ −
∂y ∂z ∂z ∂x
 
∂By ∂Bx
= + ẑ −
∂x ∂y

x̂ ŷ ẑ
∂ ∂ ∂
= ∂x ∂y ∂z (148)
Bx By Bz

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 69

^ ds
ds = n
^
n

ds
S
dl
C
Figure 3-23
Figure 20: The direction of the unit vector x̂ is along the thumb when
the other four fingers of the right hand follow d l.

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 70

• Vector identities involving curl

(1) ∇ × (A + B) = ∇ × A + ∇ × B (149)
(2) ∇ · (∇ × A) = 0 for any vector A (150)
(3) ∇ × (∇V ) = 0 for any scalar function V (151)

• Stoke’s theorem
Using this theorem we can convert the surface integral of the curl of
a vector over an open surface S into a line integral of the vector along
the contour C bounding the surface S.

Z I
(∇ × B) · ds = B · dl (Stokes’s theorem) (152)
S C

If ∇ × B = 0 the field is said to be conservative or irrotational

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 71

3.7. Laplacian operator


Another combination of operators: divergence of a gradient of a scalar
(or vector). In Cartesian coordinates
∂V ∂V ∂V
∇V = x̂ + ŷ + ẑ
∂x ∂y ∂z
= x̂Ax + ŷAy + ẑAz = A (153)
and divergence of it is
∂Ax ∂Ay ∂Az
∇ · (∇V ) = ∇ · A = + +
∂x ∂y ∂z
∂2V ∂2V ∂2V
= + + (154)
∂x2 ∂y 2 ∂z 2

and we call it Laplacian of V and is denoted by ∇2 V

∂2V ∂2V ∂2V


∇2 V , ∇ · (∇V ) = + + (155)
∂x2 ∂y 2 ∂z 2

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.
Electromagnetics I: Vector Analysis 72

which is a scalar
We can also define a Laplacian of a vector

E = x̂Ex + ŷEy + ẑEz (156)

such that
∂2 ∂2 ∂2
 
2
∇ E = + + E
∂x2 ∂y 2 ∂z 2
= x̂ ∇2 Ex + ŷ ∇2 Ey + ẑ ∇2 Ez (157)

or, in Cartesian coordinates the Laplacian of a vector is a vector whose


components are equal to the Laplacians of the vector components.
The following also holds:

∇2 E = ∇(∇ · E) − ∇ × (∇ × E) (158)

Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy