Docsity

Coordinate System and its application, Study notes of Electromagnetism and Electromagnetic Fields Theory

Toggle sidebar
bg1
Chapter 1
Vector Analysis and Coordinate System
1.1 Introduction:
Electromagnetic field theory is a discipline concerned with the study of charges at rest and in
motion. Electromagnetic principles are fundamental to the study of electrical engineering.
Electromagnetic field theory is also indispensable to the understanding, analysis and design of
various electrical, electromechanical and electronic systems. Some of the branches of study
where electromagnetic principles find application are: RF communication, Microwave
Engineering, Antennas, Electrical Machines, Satellite Communication, Atomic and nuclear
research, Radar Technology, Remote sensing, EMI EMC, Quantum Electronics, VLSI
Electromagnetic theory is a prerequisite for a wide spectrum of studies in the field of
Electrical Sciences. Electromagnetic theory can be thought of as generalization of circuit theory.
There are certain situations that can be handled exclusively in terms of field theory. In
electromagnetic theory, the quantities involved can be categorized as source quantities and field
quantities. Source of electromagnetic field is electric charges: either at rest or in motion.
However an electromagnetic field may cause a redistribution of charges that in turn change the
field and hence the separation of cause and effect is not always visible.
Electric charge is a fundamental property of matter. Charge exist only in positive or negative
integral multiple of electronic charge, -e where e = 1.60 × 10-19 coulombs. [It may be noted here
that in 1962, Murray Gell-Mann hypothesized Quarks as the basic building blocks of matters.
Quarks were predicted to carry a fraction of electronic charge and the existence of Quarks have
been experimentally verified.] Principle of conservation of charge states that the total charge
(algebraic sum of positive and negative charges) of an isolated system remains unchanged,
though the charges may redistribute under the influence of electric field. Kirchhoff's Current Law
(KCL) is an assertion of the conservative property of charges under the implicit assumption that
there is no accumulation of charge at the junction.
1.2 Vector Analysis
Electromagnetic theory deals directly with the electric and magnetic field vectors where
as circuit theory deals with the voltages and currents. Voltages and currents are integrated effects
of electric and magnetic fields respectively. Electromagnetic field problems involve three space
variables along with the time variable and hence the solution tends to become correspondingly
complex. Vector analysis is a mathematical tool with which electromagnetic concepts are more
conveniently expressed and best comprehended. Since use of vector analysis in the study of
electromagnetic field theory results in real economy of time and thought, we first introduce the
concept of vector a Vector Analysis:
The quantities that we deal in electromagnetic theory may be either scalar or vectors.
Scalars are quantities characterized by magnitude only and algebraic sign. A quantity that has
direction as well as magnitude is called a vector. Both scalar and vector quantities are function of
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c

Partial preview of the text

Download Coordinate System and its application and more Study notes Electromagnetism and Electromagnetic Fields Theory in PDF only on Docsity!

Chapter 1

Vector Analysis and Coordinate System

1.1 Introduction:

Electromagnetic field theory is a discipline concerned with the study of charges at rest and in

motion. Electromagnetic principles are fundamental to the study of electrical engineering.

Electromagnetic field theory is also indispensable to the understanding, analysis and design of

various electrical, electromechanical and electronic systems. Some of the branches of study

where electromagnetic principles find application are: RF communication, Microwave

Engineering, Antennas, Electrical Machines, Satellite Communication, Atomic and nuclear

research, Radar Technology, Remote sensing, EMI EMC, Quantum Electronics, VLSI

Electromagnetic theory is a prerequisite for a wide spectrum of studies in the field of

Electrical Sciences. Electromagnetic theory can be thought of as generalization of circuit theory.

There are certain situations that can be handled exclusively in terms of field theory. In

electromagnetic theory, the quantities involved can be categorized as source quantities and field

quantities. Source of electromagnetic field is electric charges: either at rest or in motion.

However an electromagnetic field may cause a redistribution of charges that in turn change the

field and hence the separation of cause and effect is not always visible.

Electric charge is a fundamental property of matter. Charge exist only in positive or negative

integral multiple of electronic charge, -e where e = 1.60 × 10

coulombs. [It may be noted here

that in 1962, Murray Gell-Mann hypothesized Quarks as the basic building blocks of matters.

Quarks were predicted to carry a fraction of electronic charge and the existence of Quarks have

been experimentally verified.] Principle of conservation of charge states that the total charge

(algebraic sum of positive and negative charges) of an isolated system remains unchanged,

though the charges may redistribute under the influence of electric field. Kirchhoff's Current Law

(KCL) is an assertion of the conservative property of charges under the implicit assumption that

there is no accumulation of charge at the junction.

1.2 Vector Analysis

Electromagnetic theory deals directly with the electric and magnetic field vectors where

as circuit theory deals with the voltages and currents. Voltages and currents are integrated effects

of electric and magnetic fields respectively. Electromagnetic field problems involve three space

variables along with the time variable and hence the solution tends to become correspondingly

complex. Vector analysis is a mathematical tool with which electromagnetic concepts are more

conveniently expressed and best comprehended. Since use of vector analysis in the study of

electromagnetic field theory results in real economy of time and thought, we first introduce the

concept of vector a Vector Analysis:

The quantities that we deal in electromagnetic theory may be either scalar or vectors.

Scalars are quantities characterized by magnitude only and algebraic sign. A quantity that has

direction as well as magnitude is called a vector. Both scalar and vector quantities are function of

time and position. A field is a function that specifies a particular quantity everywhere in a region.

Depending upon the nature of the quantity under consideration, the field may be a vector or a

scalar field. Example of scalar field is the electric potential in a region while electric or magnetic

fields at any point is the example of vector field.

1.3 Representation of a Vector :

A vector is graphically represented by an arrow- the length (AB) of the arrow is the magnitude of

the vector and arrow-head (

AB) indicates the direction.

Mathematically, a vector

A

can be written as

A=
^

a A

, where, A=

|

A

| is the magnitude and ^ a=

A/ A

is the unit vector which has unit magnitude

and same direction as that of

A

. Two vector

A

and

B

are added together to give another vector

C

. We have

C =
A+
B

Scaling of a vector is defined as

C =α

B

, where

C

is scaled version of vector

B

and α is a scalar.

Some important laws of vector algebra are:

i)

A+
B=
B+

A Commutative Law

ii)

A+(

B+

C )=(

A+

B ) +

C

Associative Law

iii) α

A+
B

=α

A+α

B

Distributive Law

1.4 Representation of vector in Cartesian co-ordinate system :

The vector

R is directed from the

origin O to the point P(x, y, z). The unit

vector along the positive direction of X,

Y and Z-axis are

^

a

x

^

a

y

^

a

z

respectively.

Then the vector

R= a^

x

x + ^a

y

y + a^

z

z. This

is proved as below.

From fig 1.1, we get OA = x, OB

= y and OC = z. Hence the vectors

OA= ^a

x

x ,

OB= a^

y

y∧

OC = ^a

z

z .

Applying Parallelogram law, the

resultant of

OA∧
OB

is

OD=
OA+
OB=
^

a

x

x +

^

a

y

y

Adding

OC with

OD we get

OP=
R=
OD+

OC = a^

x

x + a^

y

y + ^a

z

z

This is the component wise representation of the vector

R

1.5 Position vector & Distance vector :

A B
X
Y
Z

P (x,y,z)

O
A
B
C
D
O
P
Q

Fig. 1.1 Representation of position vector

Addition / subtraction of vectors can be done either by using the Triangular and

Parallelogram law or by simple algebraic addition when the vectors are given in component

form. The Triangular and Parallelogram law can add two vectors at a time, whereas several

numbers of vectors are added in a single operation when the vectors are in component form.

Let us consider two vectors

A∧
B

acting

in different direction. If we form a

parallelogram with these two vectors are two

adjacent sides, then the diagonal vector

R

a

originating from the intersecting point (O) of

A∧
B

, represents the resultant of the two

vectors (Fig. 1.3) i.e

R

a

A+

B. This is the

parallelogram law of vector addition.

Now subtraction of vector

A

from vector

B

is nothing but the addition of (−

A) with

vector

B. By parallelogram law, we get the resultant as

R

s

B−

A (see Fig. 1.3)

If the head of vector

B is connected with tail of vector

A

, then the third arm of the triangle from tail of vector

B

to head

of vector

A

represents the resultant of

A∧
B

i.e.

R

a

A+

B (see fig. 1.4). This is the triangular law of vector

addition.

For subtraction the head of vector

B

is connected with tail of

vector −

A

and the resultant is obtained as

R

s

B−
A

When the vectors are given in the component form,

then vector addition/subtraction is simply algebraic

addition/subtraction. Example-

Let

A= a^

x

x 1 + ^a

y

y 1 + a^

z

z 1 and

B= a^

x

x 2 + ^a

y

y 2 + ^a

z

z 2

Then

A+
B=
^

a

x

x 1 + x 2

^

a

y

y 1 + y 2

^

a

z

( z 1 + z 2 )

A−

B= a^

x

( x 1 − x 2 ) + a^

y

( y 1 − y 2 ) + ^a

z

( z 1 − z 2 )

Example 1.2: Three vectors are given in a rectangular co-ordinate system as

A= 2
^

a

x

^

a

y

^

a

z

B=− a^

x

  • 2 a^

y

  • 3 a^

z

C = ^a

x

− ^a

y

  • 4 a^

z

. Determine (a)

A+
B−
C

, (b)

A+ 2
B− 3
C

, (c) a unit vector

pointing from

A

to

C

, (d) a unit vector pointing in the direction of

A−
B

Solution:

Given

A= 2 a^

x

− 3 ^a

y

  • a^

z

O
A
B

a

R

s

R
A

A

⃗

O

B

⃗

a

R

⃗

s

R

⃗

A

⃗

Fig. 1 .3 Parallelogram law

Fig. 1.4 Triangular law

B=− a^

x

  • 2 a^

y

  • 3 a^

z

C = ^a

x

− ^a

y

  • 4 a^

z

a)

A+
B−
C =
^

a

x

^

a

y

^

a

z

^

a

x

^

a

y

^

a

z

^

a

x

^

a

y

^

a

z

b)

A+ 2
B− 3
C =

2 ^a

x

− 3 a^

y

  • ^a

z

− ^a

x

  • 2 ^a

y

  • 3 ^a

z

a^

x

− a^

y

  • 4 a^

z

^

a

x

^

a

y

^

a

z

c)

C −
A=

a^

x

− a^

y

  • 4 a^

z

2 a^

x

− 3 a^

y

  • a^

z

− a^

x

  • 2 a^

y

  • 3 a^

z

Unit vector pointing from

A

to

C

is

a ^

CA

− a^

x

  • 2 ^a

y

  • 3 ^a

z

√

2

2

2

− a^

x

  • 2 a^

y

  • 3 a^

z

√

−0.27 ^a

x

+0.53 a^

y

+0.8 a^

z

d)

A−
B=

2 a^

x

− 3 a^

y

  • a^

z

− a^

x

  • 2 a^

y

  • 3 a^

z

3 ^a

x

− 5 a^

y

− 2 a^

z

Unit vector in the direction of

A−

B is

a ^

AB

3 a^

x

− 5 ^a

y

− 2 ^a

z

√

2

2

2

3 ^a

x

− 5 ^a

y

− 2 a^

z

√ 38

^

a

x

^

a

y

^

a

z

1.7 Product of Vectors:

When two vectors

A

and

B

are multiplied, the result is either a scalar or a vector depending

how the two vectors are multiplied. The two types of vector multiplication are:

Scalar product (or dot product):

The dot product between two vectors is a scalar and is defined as

A.

B=|

A||

B|cosθ, where θ

is the angle between the two vectors. The dot product is commutative i.e.,

A.
B=
B.
A

and

distributive i.e.,

A.
B+
C
A.
B+
A.
C

As the unit vectors in the three directions are mutually perpendicular to each other, the dot

product relations for the unit vector are

^a

x

. a^

x

^

a

y

^

a

y

a ^

z

. a^

z

1.8 Co-ordinate Systems

In order to describe the spatial variations of

the quantities, we require using appropriate co-

ordinate system. A point or vector can be

represented in a coordinate system that may be

orthogonal or non-orthogonal. An orthogonal system

is one in which the co-ordinates are mutually

perpendicular. Non-orthogonal co-ordinate systems

are also possible, but their usage is very limited in

practice.

Let us consider three surfaces in an

orthogonal coordinate system (the surfaces are

curved surfaces in general) as

u = constant surface

v = constant surface and

w = constant surface

Three surfaces are mutually perpendicular to each other at each and every point in space. These

surfaces intersects at a point P(u,v,w) that is the generalized coordinate in orthogonal coordinate

system. This generalized orthogonal coordinate system is also known as curvilinear system.

Each pair of surfaces intersect at a line (may be straight line or curvature) in the direction

of unit vector of the coordinate axes as shown in fig. 1.7. The intersecting line of v = constant

surface and w = constant surface is in the

^a

u

direction, intersecting line of u = constant surface

and w = constant surface is in the

a^

v

direction and intersecting line of u = constant surface and v

= constant surface is in the

a^

w

direction , where

^a

u

, a^

v

∧ a^

w

be the unit vectors along the three

coordinate axes respectively.

For the co-ordinate system to be right handed orthogonal the axes are in the sequence

u → v → w in the anti-clockwise direction such that if the four fingers (little finger to fore finger)

of right hand is placed along u-axis and rotated towards v-axis, then thumb finger will be along

w-axis.

In a general right handed orthogonal coordinate system, the vectors satisfy the following

relations:

a ^

u

× ^a

v

= a^

w

a ^

v

× a^

w

= ^a

u

a ^

w

× a^

u

= a^

v

These equations are not independent and specification of one will automatically imply the other

two. Furthermore, the following relations hold

a ^

u

. ^a

v

= a^

v

. a^

w

= a^

w

. a^

u

a ^

u

. a^

u

a

u

a

v

a

w

u = co n st

v = co n st

w = co n st

P ( u , v, w )

Fig. 1.7: Orthogonal coordinate system

a ^

v

. a^

v

^

a

w

^

a

w

A vector can be represented as sum of its orthogonal components as

A= A

u

^

a

u

+ A

v

^

a

v

+ A

w

^

a

w

Where A u

, A

v

and A w

are components of

A

along

a^

u

, a^

v

∧ ^a

w

respectively.

In general u, v and w may not represent length. We multiply differential changes in

coordinate variables du, dv and dw by conversion factors h 1

, h 2

and h 3

to convert corresponding

changes in length dl 1

, dl 2

and dl 3

i.e.

dl

1

=h

1

du

dl

2

=h

2

dv

dl

3

=h

3

dw

h 1

, h 2

and h 3

are also called metric coefficient. So the differential length vector can be

written as

d

l =dl

1

^

a

u

+dl

2

^

a

v

+dl

3

^

a

w

¿ h

1

du a^

u

+h

2

dv ^a

v

+h

3

dw a^

w

A surface is a vector whose direction is normal to the surface. On a surface there may be normals

in two directions. The normal away from the volume bounded by that surface indicates the

surface direction for a closed surface, but open surface may have either direction. In the same

manner, differential areas normal to

^a

u

, a^

v

∧ a^

w

is given by

ds

u

=dl

2

dl

3

^

a

u

=h

2

h

3

dvdw

^

a

u

ds

v

=dl

1

dl

3

^a

v

=h

1

h

3

dudw a^

v

ds

w

=dl

1

dl

2

a^

w

=h

1

h

2

dudv a^

w

And differential volume dV can be written as

dV =dl

1

dl

2

dl

3

=h

1

h

2

h

3

dudvdw

1.9 Cartesian Co-ordinate System:

In Cartesian co-ordinate system, the coordinate variables (u, v, w) change to (x, y, z). A

point P(x 0

, y 0

, z 0

) in Cartesian co-ordinate system is represented as intersection of three planes

x = constant (x

0

y = constant (y 0

) and

z = constant (z 0

The axes are in the sequence x → y → z in

the anti-clockwise direction for right handed

orthogonal co-ordinate system and

a^

x

, a^

y

∧ ^a

z

be the

unit vectors along the three coordinate axes

respectively.

The axes are in the sequence ρ → ɸ → z in the anti-clockwise direction for right handed

orthogonal co-ordinate system and

a^

ρ

, a^

ɸ

∧ ^a

z

be the unit vectors along the three coordinate axes

respectively.

In cylindrical

coordinate

system, the unit vectors satisfy the following relations:

a ^

ρ

× ^a

ɸ

= a^

z

a ^

ɸ

× a^

z

= a^

ρ

a ^

z

× a^

ρ

= a^

ɸ

^a

ρ

. a^

ɸ

= a^

ɸ

. ^a

z

= a^

z

. a^

ρ

^

a

ρ

^

a

ρ

a ^

ɸ

. a^

ɸ

a ^

z

. a^

z

A vector

A

can be written as

A= A

ρ

^

a

ρ

+ A

ɸ

^

a

ɸ

+ A

z

^

a

z

Where A ρ

, A

ɸ

and A z

are components of

A

along

a^

ρ

, ^a

ɸ

∧ a^

z

respectively.

The differential length is expressed as

d

l =dρ

^

a

ρ

  • ρdɸ
^

a

ɸ

+dz

^

a

z

Hence the conversion factors are

h 1

=1, h 2

=ρ h 3

Differential areas normal to

a^

ρ

, ^a

ɸ

∧ a^

z

are shown in fig. 1.9 and given by

ds

ρ

= ρdɸdz ^a

ρ

ds

ɸ

=dρdz a^

ɸ

ds

z

= ρdρdy a^

z

Fig. 1.9 Cylindrical co-ordinate system and Differential Element in Cylindrical Coordinate System

And differential volume dV can be written as

dV = ρdρdɸdz

From diagram 1.9, the following relations are found:

x= ρcosɸ

y= ρsinɸ

z= z

Example 1.3: Determine the surface area of a sector of a cylinder of radius 5 unit extending Φ =

30˚ to Φ = 60˚ and z = 0 to z = 3 directly and by integration.

Solution:

Differential surface area along

^a

ρ

direction

ds= ρdΦdz a^

ρ

Given, radius of the cylinder = 5 unit, Φ is extending from 30˚ to 60˚ and z is extending from 0

to 3.

Directly, the area will be

¿ 2 π × 5 ×

2

1

×

z

2

− z

1

π∗ 5 ∗ 60 − 30

¿ 2.5 π

By integration: The surface area of the sector is

∫

Φ

∫

z

ρdΦdz

¿ ρ

∫

Φ= 30

0

60

0

∫

z= 0

3

dΦdz

¿ 2.5 π

1.11 Spherical Polar Coordinates:

For spherical polar coordinate system, the coordinate variables (u, v, w) change to (r, θ,

ɸ). A point P (r 0

, θ 0

0

) is represented as the intersection of

(i) Spherical surface r = r 0

(ii) Conical surface θ = θ 0

, where θ is varying between 0 andπ

(iii) Half plane containing z-axis making angle ɸ = ɸ

0

with the x-z plane as shown in the

fig. 1.10 (a), where ɸ varies between 0 and 2π

Table1.1: Relation between different types of co-ordinate system

Generalized orthogonal Cartesian Cylindrical Spherical Polar

u x ρ r

v y ɸ θ

w z z ɸ

h 1

h 2

1 ρ r

h 3

1 1 r.sinθ

1.12 Conversion between co-ordinate systems

Sometime it is found that analysis of field system is more conveniently done in a specific

co-ordinate system, but field is specified in other co-ordinate system. So we need to transform

one co-ordinate into other co-ordinate. For example, field analysis of spherical system is more

convenient in spherical polar co-ordinate system. The conversion could be done from one co-

ordinate to another or from one system of vector to another.

1.12.1 Conversion between Cartesian and Cylindrical co-ordinate system:

Conversion of co-ordinates

If (x, y, z) is a co-ordinate in Cartesian co-ordinate system and the same co-ordinate is

represented as (ρ, ɸ, z) in cylindrical co-ordinate system, then from section 1.10 with reference

to fig. 1.9, we have found that

x= ρcosɸ

y= ρsinɸ

z= z

And inverse relationships are

ρ=√ x

2

  • y

2

Fig 1.11 Differential volume in spherical coordinates and its exploded view

ɸ=tan

− 1

y

x

z= z

Conversion of vectors

Let us consider a vector

A= A

ρ

^a

ρ

+ A

ɸ

a^

ɸ

+ A

z

^a

z

is to be expressed in Cartesian co-

ordinate as

A= A

x

a^

x

+ A

y

a^

y

+ A

z

a^

z

. In doing so we note that

A

x

A.
^

a

x

A

ρ

^

a

ρ

+ A

ɸ

^

a

ɸ

+ A

z

^

a

z

^

a

x

From the diagram (fig. 1.12) above it is clear that

^a

ρ

. a^

x

=cosɸ

a ^

ρ

. a^

y

=sinɸ

a ^

ɸ

. a^

x

=cos

π

=−sinɸ

a ^

ɸ

. a^

y

=cosɸ

∴ A

x

A.
^

a

x

= A

ρ

cosɸ− A

ɸ

sinɸ

Similarly we get

A

y

A.
^

a

y

= A

ρ

sinɸ+ A

ɸ

cosɸ

A

z

A. ^a

z

= A

z

These relations can be conveniently written in the

matrix form as

[

A

x

A

y

A

z

]

[

cosɸ −sinɸ 0

sinɸ cosɸ 0

]

[

A

ρ

A

ɸ

A

z

]

Where

cosɸ=

x

√ x

2

  • y

2

sinɸ=

y

√

x

2

  • y

2

Similarly we can transform a vector in Cartesian co-ordinate into that in cylindrical co-ordinate

as below:

A

ρ

A. a

ρ

= A

x

cosɸ+ A

y

sinɸ

A

ɸ

A. a

ɸ

=− A

x

sinɸ+ A

y

cosɸ

A

z

A. a

z

= A

z

Or in the matrix form

[

A

ρ

A

ɸ

A

z

]

[

cosɸ sinɸ 0

−sinɸ cosɸ 0

]

[

A

x

A

y

A

z

]

Fig. 1.12 Coordinate relation of cylindrical &

Cartesian

¿ 2 ^a

x

  • 7 a^

y

  • 8 a^

z

b) If

a^

B

is the unit vector along

B, the component of

A along

B is

A. ^a

B

A.
B

|

B|

a^

x

  • 2 a^

y

  • 5 ^a

z

a^

x

  • 5 ^a

y

  • 3 ^a

z

√ 1

2

2

2

√

√

Example 1.6: A vector field is given by

A= ρcosɸ a^

ρ

  • ρzsinɸ a^

z

Transform this vector into rectangular co-ordinates and calculate its magnitude at P (1,0,1).

Solution:

Given,

A= ρcosɸ a^

ρ

  • ρzsinɸ a^

z

The components of the vector in Cartesian coordinates can be computed as follows:

[

A

x

A

y

A

z

]

[

cosɸ −sinɸ 0

sinɸ cosɸ 0

][

ρcosɸ

ρzsinɸ

]

Hence,

A

x

= ρ cos

2

√

x

2

  • y

2

×

x

√

x

2

  • y

2

2

x

2

√ x

2

  • y

2

A

y

= ρsinɸcosɸ= √

x

2

  • y

2

×

y

√ x

2

  • y

2

×

x

√ x

2

  • y

2

xy

√ x

2

  • y

2

A

z

= ρzsinɸ= √

x

2

  • y

2

× z ×

y

√

x

2

  • y

2

¿ yz

A=

x

2

√

x

2

  • y

2

a^

x

xy

√

x

2

  • y

2

a^

y

  • yz a^

z

The magnitude of the vector at P(1,0,1) is

|

A|=

|

1 × a^

x

  • 0 × a^

y

  • 0 × ^a

z

|

|

a^

x

|

Example 1.7: The coordinates of a point P in cylindrical co-ordinates is given by ( 4 ,

π

, 3 ). Find

the volume of the sphere that has centre at the origin and on which P is a point. If O represents

the origin, what angle OP subtends with z-axis?

Solution:

The coordinates of a point P in cylindrical co-ordinate system are

ρ= 4 ,ɸ=

π

∧ z= 3

So the coordinates of the point P in Cartesian coordinate system are

x= ρcosɸ= 4 × cos

(

π

)

√

y= ρsinɸ= 4 × sin

(

π

)

√

z= 3

∴ P ( x , y , z )=P ( 2 √ 2 , 2 √ 2 , 3 )

The radius of the sphere on which P is a point is given by

r=OP= √

2 √ 2 − 0

2

2 √ 2 − 0

2

2

¿ √ 25 = 5 m

Therefore, the volume of the sphere

v=

π r

3

π × 5

3

=523.6 m

3

The position vector of P is given by

OP= 2 √ 2

^

a

x

  • 2 √ 2
^

a

y

^

a

z

So the angle (θ) subtended by OP with the z-axis is given by

cosθ=

|

OP

|

¿ θ=cos

− 1

0

Example 1.8: Transform the given vector

A( x , y , z )= z a^

x

  • xy a^

y

  • x ^a

z

to cylindrical co-

ordinates. If this vector is defined at P [1, 2, 1], determine its length by using the expressions in

rectangular and cylindrical co-ordinates.

Solution:

Given vector,

A( x , y , z )= z a^

x

  • xy ^a

y

  • x a^

z

The vector

A

at P [1, 2, 1] is

A( 1 , 2 , 1 )= 1 a^

x

  • 1 × 2 a^

y

  • 1 a^

z

¿ 1 a^

x

  • 2 a^

y

  • 1 a^

z

Length of the vector in Cartesian form is equal to

|

A

|

√

2

2

2

√

[

B

x

B

y

B

z

]

[

cosɸ −sinɸ 0

sinɸ cosɸ 0

]

[

B

ρ

B

ɸ

B

z

]

[

cosɸ −sinɸ 0

sinɸ cosɸ 0

][

]

[

− 5 cosΦ−sinΦ

− 5 sinΦ+cosΦ

]

At P(0,2,-5)

Φ=tan

− 1

y

x

=tan

− 1

0

So

B

in Cartesian coordinate is

B=− ^a

x

− 5 a^

y

− 3 ^a

z

A+

B= 2 ^a

x

  • 4 ^a

y

  • 10 ^a

z

− a^

x

− 5 ^a

y

− 3 a^

z

^

a

x

^

a

y

^

a

z

The angle between

A∧
B

can be obtained as

Φ=cos

− 1

A∙
B

|A||B|

¿ cos

− 1

2 a^

x

  • 4 a^

y

  • 10 a^

z

− a^

x

− 5 a^

y

− 3 a^

z

√

4 + 16 + 100 ×

√

¿ cos

− 1

√

120 ×

√

0

The unit vector along

B is

a ^

B

− a^

x

− 5 ^a

y

− 3 a^

z

√

So the scalar component of

A

along

B

at P is

2 a^

x

  • 4 a^

y

  • 10 a^

z

(− a^

x

− 5 ^a

y

− 3 a^

z

√

√

1.12.2 Conversion between Cartesian and Spherical-polar co-ordinate system:

Conversion of co-ordinates

If (x, y, z) is a co-ordinate in Cartesian co-ordinate system and the same co-ordinate is

represented as (r, θ, ɸ) in spherical co-ordinate system, then from fig. 1.13, we have found that

x=rsinθcosɸ

y=rsinθsinɸ

z=rcosθ

And inverse relationships can be found as below

x

2

  • y

2

  • z

2

=r

2

sin

2

θ cos

2

ɸ+r

2

sin

2

θ sin

2

ɸ+r

2

cos

2

θ

¿ r

2

sin

2

θ

cos

2

ɸ+sin

2

+r

2

cos

2

θ

¿ r

2

∴ r= √

x

2

  • y

2

  • z

2

cosθ=

z

r

z

√

x

2

  • y

2

  • z

2

∴ sinθ=

√ x

2

  • y

2

√ x

2

  • y

2

  • z

2

¿ , θ=tan

− 1

(

√

x

2

  • y

2

z

)

Now ,

y

x

rsinθsinɸ

rsinθcosɸ

=tanɸ

∴ ɸ=tan

− 1

(

y

x

)

So to summarize,

r= √

x

2

  • y

2

  • z

2

θ=tan

− 1

(

√

x

2

  • y

2

z

)

ɸ=tan

− 1

(

y

x

)

Conversion of vectors

Let us consider a vector

A= A

r

a^

r

+ A

θ

a^

θ

+ A

ɸ

a^

ɸ

is to be expressed

in Cartesian co-ordinate as

A= A

x

^

a

x

+ A

y

^

a

y

+ A

z

^

a

z

. In doing so we

note that

From the diagram 1.13 it is clear

that the component of

a^

r

along X-Y plane

(contains

a^

x

and

^a

y

) is

a^

r

sinθ and

perpendicular to X-Y plane (contains

^a

x

and

^a

y

) is

a^

r

cosθ

. So

^a

r

. a^

x

=sinθcosɸ

^

a

r

^

a

y

=sinθsinɸ

X

Y

Z

r

rsinθ

rsinθ

rcos θ

x

y

z

r

a

ˆ

aˆ

aˆ

a

ˆ

a

ˆ

x

aˆ

y

a

ˆ

z

a

ˆ

Fig. 1.13 Coordinate relation of Spherical & Cartesian