Professional Documents
Culture Documents
Lecture 1: Revision of Vector Analysis: 1.1.1 Vectors and Scalars
Lecture 1: Revision of Vector Analysis: 1.1.1 Vectors and Scalars
Lecturer: Scribes:
A vector is a quantity which has both magnitude and direction. Ex: Displacement, velocity. Geometrically
vectors can be represented using arrows, where the length represents the magnitude and the arrow head
represent the direction
A scalar only has a magnitude and can be represented by a single real number. Ex: Distance, speed
This course is mainly concerned on scalar and vector fields. The mathematical definition of a field: Some
function that connects an arbitrary origin to a general point in space.
Generally, we associate a physical effect with a field. Eg: electric field, magnetic field, gravitational field.
Fields are always related to a region. Physically, both scalar and vector fields exist. The temperature at
any point on earth, density of the air at a given point are examples of scalar fields. The gravitational and
magnetic fields of the earth are examples of vector fields. In general, the value of a field varies with the
position and time.
Scalar multiplication of a vector A by α just scales the vector when α > 0, otherwise in addition to scaling
the magnitude, it reverses the direction. In order to obtain the unit vector of a given vector A, we multiply
1
the vector by the inverse of its magnitude (Â = kAk A).
Vector addition can be performed by constructing a parallelogram which has two given vectors as its edges.
Then the main diagonal of the parallelogram represents the resultant vector. Vector addition follows com-
mutative property and associative property.
Scalar product multiplies two vectors and results in a scalar. The scalar product or the Dot product between
two vectors A and B is defined as follows, where θ is the angle between the two vectors.
1-1
1-2 Lecture 1: Revision of Vector Analysis
Vector product also multiplies two vectors but it results in a new vector which is perpendicular to the
multiplied vectors. This direction is obtained by the right hand rule. The equation for the magnitude of the
product vector is :
A × B = −B × A (1.3)
A · (B × C) = B · (C × A) = C · (A × B) (1.4)
The double vector product has the following identity and it is not associative.
A × (B × C) = (A · C) B − (A · B) C (1.5)
Vector transformation is the mapping from one reference frame to another or one coordinate system to
another. A transformation matrix transforms a vector in one reference frame to the other. If vector A is
transformed from coordinate system c to C. The representation of A changes to A0 . Let us assume that
matrix T does this transformation. Then the following relationships are true.
A0 = TA (1.6)
A = TT A0 (1.7)
The cylindrical coordinate system has the angle between the x-axis and the projection of the vector on the
x-y plane φ, the length of the projection of the vector on the x-y plane, ρ and the projection of the vector
on the z axis.
The relationship between the variables of the rectangular coordinate system and the cylindrical coordinate
system can be expressed as follows.
x = ρ cos φ
y = ρ sin φ (1.8)
z = z
Lecture 1: Revision of Vector Analysis 1-3
Figure 1.1: Cylindrical coordinates (Engineering Electromagnetics 8th Edition William H. Hayt Mc Graw-
Hill)
p
ρ = x2 + y 2
y
φ = tan−1 (1.9)
x
z = z
Dot product of unit vectors in the rectangular and the cylindrical systems are given by:
aρ aφ az
ax . cos φ − sin φ 0
ay . sin φ cos φ 0
az . 0 0 1
In the spherical coordinate system θ is the angle between the z axis and the vector. φ is the angle the
projection of the vector on x − y plane has with the x axis. r is the length of the vector from the origin.
Dot product of unit vectors in the rectangular and the spherical systems are given by:
ar aθ aφ
ax . sin θ cos φ cos θ cos φ − sin φ
ay . sin θ sin φ cos θ sin φ cos φ
az . cos θ − sin θ 0
Exercise 1: Given the two vectors A = 3ax − 2ay + 4az and B = 2ax + 1ay − 2az , propose two methods
to find the angle between the two vectors. Which method creates an ambiguity about the angle?
Exercise 2: Express the unit vector ax in spherical components at the point: (a) r = 2, θ = 1rad,
φ = 0.8rad; (b) x = 3, y = 2, z = 1; (c) ρ = 2.5, φ = 0.7rad, z = 1.5.
1-4 Lecture 1: Revision of Vector Analysis
∂φ ∂φ ∂φ
grad φ = ∇φ = ax + ay + az (1.10)
∂x ∂y ∂z
∂ ∂ ∂
∇= ax + ay + az (1.11)
∂x ∂y ∂z
Cylindrical coordinates
∂ 1 ∂ ∂
∇= aρ + aθ + az (1.12)
∂ρ ρ ∂θ ∂z
Spherical coordinates
∂ 1 ∂ 1 ∂
∇= ar + aθ + aφ (1.13)
∂r r ∂θ r sin θ ∂φ
The gradient of a scalar field points in the direction of the greatest change in the scalar field. Therefore it
results in a vector field.
Properties of the grad operator:
• The gradient of a scalar field in a particular direction can be calculated using the dot product.
• At any point p, grad φ points at the greatest rate of change of φ at p, and has the magnitude of the
rate of change of you with respect to distance in that direction.
Lecture 1: Revision of Vector Analysis 1-5
Distributive laws
∇ · (A + B) = ∇ · A + ∇ · B (1.14)
∇ × (A + B) = ∇ × A + ∇ × B (1.15)
Product laws
∇ · (φA) = φ∇ · A + A · ∇φ (1.16)
∇ × (φA) = φ (∇ × A) + ∇φ × A (1.17)
∇ · (A × B) = B · (∇ × A) − A · (∇ × B) (1.19)
∇ × (∇ × A) = ∇(∇ · A) − ∇2 A (1.23)
1.4.1 Divergence
Divergence of a vector field results in a scalar field since it is the dot product of the ∇ operator with the
vector field. In mathematical notation the divergence of a vector field f~(x, y, z) is given by ∇ · f~.
1-6 Lecture 1: Revision of Vector Analysis
If F is a vector field and S is a closed surface covering region R, the following identity is true.
¨ ˚
F · dA = ∇ · FdV (1.24)
S R
Curl of a vector field A = ax~i + ay~j + az~k is the cross product between the ∇ and the vector field. The curl
can be calculated using the same way we calculate the determinant of a matrix as shown below:
~i ~j ~k
∂ ∂
∂
∇ × A = ∂x ∂y ∂z
(1.25)
a ay a
x z
S is an oriented, piecewise smooth surface. C is a simple closed, piecewise smooth curve that bounds the
surface S. Oriented in this case implies that, if the thumb of the right hand points towards the normal vector
of surface S near the boundary, the other fingers should point in the direction of C.Let F be a vector field
having continuous derivatives in an open region of R3 containing S. Then Stokes’ theorem says:
˛ ¨
F · dr = curlF · dS (1.26)
C S
Example
Suppose S is that part of the plane x + y + z = 1 in the first octant, oriented with the upward-pointing
normal, and let C be its boundary, oriented counter-clockwise when viewed from above. If F = (x2 − y 2 )~i +
¸ ˜
(y 2 − z 2 )~j + (z 2 − x2 )~k, verify Stokes’ theorem by computing both Fdr and curlF · dS.
C S
Lecture 1: Revision of Vector Analysis 1-7
References
[William2012] W. H. Hayt and J. A. Buck, “Engineering Electromagnetics 8th Edition,” Mc Graw-Hill,
2012, ISBN 978-0-07-338066-7.
[web1] “Vector Operators: Grad, Div and Curl ”, https://www.cse.iitb.ac.in/ cs749/spr2016/handouts/
jem graddivcurl.pdf
[web2] “Vector operator identities” http://www2.ph.ed.ac.uk/ mevans/mp2h/VTF/lecture15.pdf