Lectures On Vector Algebra
Lectures On Vector Algebra
Lectures On Vector Algebra
Kar Gupta 1
Lecture-1
Books to be consulted:
1. Vector Analysis
- Murray R. Spiegel (Schaum Series, McGraw Hill)
2. Mathematical Methods
- Merle C. Potter, Jack Goldberg (Prentice Hall of India)
3. Introduction to Mathematical Physics
- Charlie Harper (PHI)
4. Mathematical Methods for Physicists
- G. Arfken (Academic Pub., Prism Books Pvt. Ltd.)
5. Mathematical Physics
- H. K. Dass (S. Chand & Company Ltd.)
We have to know the coordinates of the starting point, the coordinates of the end point
with respect to a fixed coordinate system. The arrow (in the picture) indicates the
direction and the length of it (measured in the coordinate system) is the magnitude of the
vector.
A
Unit Vector: uˆ =
| A|
)
Null Vector: Ο , having magnitude zero.
B
A
C = A+ B
Resultant Vector
The resultant vector (sum of all vectors) always starts from the starting point of the 1st
vector and ends at the end of the last vector. This is the end-to-end distance of a series of
‘walks’ (as directed by the vectors).
B
4. m(n A) = (mn) A (Associative law for distribution) A
5. (m + n) A = m A + n A (Distributive law for addition)
6. m( A + B ) = m A + m B (Distributive law for multiplication).
Lecture-2
)
k
)
j Y
)
i
Lecture-2
Suppose a vector A makes angles α , β and γ with respect to x-, y- and z-axes
respectively.
We can write:
A Ay Az
cos α = x , cos β = , cos γ = .
| A| | A| | A|
A
γ
β
Z
α
X
Therefore, we find
2 2 2
Ax + Ay + Az | A |2
cos α + cos β + cos γ =
2 2 2
= = 1.
| A |2 | A |2
P( x0 , y 0 , z 0 )
r0
Q ( x, y , z )
O r
Y
Note: a ‘position vector’ is such that its tip denotes the position of a point and the
starting point is at the centre of the coordinate system.
Let the position vectors are
OP ≡ r0 = x0 iˆ + y 0 ˆj + z 0 kˆ
OQ ≡ r = xiˆ + yˆj + zkˆ
∴ The vector
PQ = r − r0
= ( xiˆ + yˆj + zkˆ) − ( x0 iˆ + y 0 ˆj + z 0 kˆ)
= ( x − x0 )iˆ + ( y − y 0 ) ˆj + ( z − z 0 )kˆ
The magnitude of the vector PQ is
| PQ |= ( x − x0 ) 2 + ( y − y 0 ) 2 + ( z − z 0 ) 2 .
Now if the magnitude of | PQ | is = a (constant) then we can write
( x − x0 ) 2 + ( y − y 0 ) 2 + ( z − z 0 ) 2 = a 2 .
This is an equation of a circle with the centre at ( x0 , y 0 , z 0 ) and radius ‘ a ’.
Problem # 2
Equation of a straight line passing through the points P ( x1 , y1 , z1 ) and
Q ( x 2 , y 2 , z 2 ).
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 6
P ( x1 , y1 , z1 )
R ( x, y , z )
r1
r Q( x2 , y 2 , z 2 )
O r2
Y
1 1 1 2 − x1 )iˆ + ( y 2 − y1 ) ˆj + ( z 2 1
( x − x1 ) = m( x 2 − x1 )
( y − y1 ) = m( y 2 − y1 )
( z − z1 ) = m( z 2 − z1 ) .
x − x1 y − y1 z − z1
= = .
x 2 − x1 y 2 − y1 z 2 − z1
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 7
Y
Y′
X′
X
φ
Let us consider the vector r with respect to the orthogonal Cartesian coordinate system;
the components are x and y .
Now, keeping r fixed we can rotate the coordinate system so that the new system rotates
by an angle φ with respect to the old one.
Resolving the vector r into the components in the new system we get,
x ′ = x cos φ + y sin φ
y ′ = − x sin φ + y cos φ
x ′ cos φ sin φ x
=
y ′ − sin φ cos φ y
Here in this example, the matrix M is called a Rotational matrix. This is also called an
orthogonal matrix whose determinant is unity.
The magnitude of the vector r and that of r ′ (in the new coordinate system) are same.
This means that the magnitude of a vector is an invariant quantity under rotation.
θ A
Example:
Work, W = F ⋅ ∆ r (Product of Force and displacement).
Also,
A ⋅ B = ( Ax iˆ + Ay ˆj + Az kˆ) ⋅ ( B x iˆ + B y ˆj + B z kˆ) = Ax B x + Ay B y + Az B z ,…….(2)
where the unit vectors iˆ , ĵ , k̂ satisfy the following relations
iˆ ⋅ iˆ = ˆj ⋅ ˆj = kˆ ⋅ kˆ = 1 and
iˆ ⋅ ˆj = iˆ ⋅ kˆ = ˆj ⋅ kˆ = 0 .
Where the three unit vectors are mutually perpendicular. The above relations are called
orthogonality conditions.
δ mn = 1 for m = n
=0 for m ≠ n
Example:
1 2 1
The kinetic energy, E = mv = m(v ⋅ v) .
2 2
Application:
Proof of the Law of Cosines
C
B
φ
θ
A
C = A + B
( )(
C ⋅C = A + B ⋅ A + B )
= A ⋅ A + B ⋅ B + 2A ⋅ B
∴ C = A 2 + B 2 + 2 AB cos θ = A 2 + B 2 + 2 AB cos(π − φ )
2
∴ C 2 = A 2 + B 2 − 2 AB cos φ .
C = A× B
The vector C will be perpendicular to the plane of A and B .
The magnitude
| C | = | A | | B | sin θ .
Also the vector C is such that A , B and C form a right-handed system.
With the above choice,
A × B = −B × A .
iˆ × iˆ = ˆj × ˆj = kˆ × kˆ = 0
iˆ × ˆj = kˆ , ˆj × kˆ = iˆ , kˆ × iˆ = ˆj
ˆj × iˆ = − kˆ , kˆ × ˆj = −iˆ , iˆ × kˆ = − ˆj .
Cross product of two vectors is also defined in the following and more useful way:
iˆ ˆj kˆ
C = C x iˆ + C y ˆj + C z kˆ = A × B = Ax Ay Az , a 3× 3 determinant.
Bx By Bz
= iˆ( Ay BZ − B y AZ ) − ˆj ( Ax B z − B x Az ) + kˆ( Ax B y − B x Ay ) .
In the above, the components ( C x , C y , C z ) of the product vector C are easily identified.
Home Work: If A × B = B × A , what is the relation between the two vectors (assume
that they are nonzero vectors)?
Lecture-3
Angular Momentum : L = r × p ,
r is position vector, p is linear momentum.
Relation between Linear and Angular velocity:
V =ω×r
A ⋅ B = 1 ⋅ 2 + 0 ⋅ (−1) + (−1) ⋅ 1 = 2 − 1 = 1
Therefore, A ⋅ B = | A | . | B | cos θ = 1
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 11
We have,
| A | = 12 + 0 2 + (−1) 2 = 2 and
|B| = 2 2 + (−1) 2 + 12 = 6
1 1 11
∴ cos θ = = ⇒ sin θ = 1 − cos 2 θ = .
2. 6 12 12
Now we can also write the cross product of the two vectors,
11
∴ A × B = | A | . | B | sin θ = 2 . 6 . = 11 ………………….(2)
12
The above exercise shows that the definitions of cross products of two vectors in two
different ways in (1) and in (2) yield the same result.
Home-Work Problems
2. Verify that if you have two set of vectors A , B , C and A′ , B ′ , C ′ such that
A′ ⋅ A = B ′ ⋅ B = C ′ ⋅ C = 1 ,
A′ ⋅ B = A′ ⋅ C = B ′ ⋅ A = B ′ ⋅ C = C ′ ⋅ A = C ′ ⋅ B = 0
then
B×C C× A A× B
A′ = , B′ = , C′ = .
A⋅ B×C A⋅ B×C A⋅ B×C
Note:
A′ , B ′ and C ′ are called Reciprocal set of vectors.
Product of three vectors can also be either a vector or a scalar. This can be
a combination of dot and cross products or only cross products.
Triple Scalar Product:
A ⋅ ( B × C ) = Ax ( B y C z − B z C y ) + Ay ( B z C x − B x C z ) + Az ( B x C y − B y C x )
= B x (C y Az − C z Ay ) + B y (C z Ax − C x Az ) + B z (C x Ay − C y Ax )
= B ⋅ (C × A)
Thus we can show A ⋅ ( B × C ) = B ⋅ (C × A) = C ⋅ ( A × B ) .
C
B Cyclically…
If C = A × B then
A ⋅ C = A ⋅ ( A × B)
= Ax ( Ay B z − Az B y ) + Ay ( Az B x − Ax B z ) + Az ( Ax B y − Ay B x ) = 0
Similarly, B ⋅ C = B ⋅ ( A × B ) = 0 .
Physical Example:
A C
B
A ⋅ B × C = Volume of the Parallelepiped by the three vectors A , B and C (taken in
proper order)
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 13
Now if A ⋅ B × C = 0 then we can say that the three vectors are coplanar (lie in the same
plane).
A × B × C = B( A ⋅ C ) − C ( A ⋅ B)
The above can be proved in a straight forward way, taking A = Ax iˆ + Ay ˆj + Az kˆ etc. and
iˆ ˆj kˆ
using the rule A × B = Ax Ay Az and so on.
Bx By Bz
Home-Work Problems
2. Show that
(A × B )× (C × D ) = (A ⋅ B × D )C − (A ⋅ B × C )D
Lecture-4
Vector Operator
GRADIENT:
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 14
Suppose we have a scalar quantity φ (x) , then the differentiation of this with respect to
dφ
the only variable x is .
dx
Now if φ ( x, y, z ) is scalar function whose value depends on the values of the coordinates
( x, y, z ) then the dependence of φ on each coordinate separately can be expressed
through partial differentiation:
∂φ ( x, y, z ) ∂φ ∂φ ( x, y, z ) ∂φ ∂φ ( x, y, z ) ∂φ
≡ , ≡ , ≡ .
∂x y, z ∂x ∂y x,z ∂y ∂z x, y ∂z
∂φ ˆ ∂φ ∂φ
A ≡ ∇φ = iˆ + j + .
∂x ∂y ∂z
∂ ∂ ∂
Here ∇ is an ‘operator’ (a vector differential operator) which is ∇ = iˆ + ˆj + .
∂x ∂y ∂z
∂ ∂ ∂
[ Note: , , are also operators; they are ordinary differential operators.]
∂x ∂y ∂z
∇φ is called the GRADIENT of the scalar φ .
Applications:
Let us take the magnitude of the position vector φ = | r | = x2 + y2 + z2 .
∂φ ˆ ∂φ ∂φ
∴ ∇φ = iˆ + j + ,
∂x ∂y ∂z
∂φ ∂ 2 x x
where = ( x + y 2 + z 2 )1 / 2 = 2 = .
∂x ∂x (x + y + z )
2 2 1/ 2
φ
∂φ y ∂φ z
Similarly, = and = .
∂y φ ∂z φ
1 r r
∴ ∇φ = (iˆx + ˆjy + kˆz ) = = = n̂ .
φ φ |r|
Here n̂ is a unit vector in the positive direction of the position vector. We have here
φ =| r |= r .
So we can write r = n̂ | r | = r ∇φ = φ ∇φ in this case.
Also note that ∇φ ⋅ r = nˆ ⋅ nˆ r = r . Product of the vector on its own unit vector =
magnitude of the vector itself.
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 15
∂φ ∂f (r ) ∂r df x
In general, if φ = f (| r |) = f (r ) then = ⋅ = ⋅
∂x ∂r ∂x dr r
r df df dφ
∴ ∇φ = = n̂ = nˆ .
r dr dr dr
Interpretation of ∇φ :
So, the above gives an estimate of the change in the scalar function φ due to the change
in position r .
Z
φ = constant ∇φ
dr
r
r + dr
If r be the position vector of a point on a surface (as shown in the figure) then the
infinitesimal change, d r is on the surface.
We can write
dφ = 0 = ∇φ ⋅ d r .
∴ ∇φ is perpendicular to the vector d r . That means ∇φ is a vector perpendicular to the
surface at the point ( x, y, z ) . If φ is some kind of potential (electrical or something), the
surface is called equipotential surface.
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 16
The DIVERGENCE:
If we have a vector V = iˆV x + ˆjV y + kˆV z differentiable at each point ( x, y, z ) in some
region of space, we can define a scalar quantity called Divergence:
∂ ∂ ∂
(
∇ ⋅ V = iˆ + ˆj + kˆ ⋅ iˆV x + ˆjV y + kˆV z = + )
∂V x ∂V y ∂V z
+
∂x ∂y ∂z ∂x ∂y ∂z
Examples:
•
∂ ∂ ∂
(
∇ ⋅ r = iˆ + ˆj + kˆ ⋅ iˆx + ˆjy + kˆz = )
∂x ∂y ∂z
+ + =3
∂x ∂y ∂z ∂x ∂y ∂z
∂
• ∇ ⋅ r f (r ) = [xf (r )] + ∂ [ yf (r )] + ∂ [zf (r )]
∂x ∂y ∂z
x 2 df y 2 df z 2 df df
= 3 f (r ) + + + = 3 f (r ) + r
r dr r dr r dr dr
[Q r 2
= x2 + y2 + z2 ]
• If we have a combination of a vector ( V ) and a scalar ( φ ) such that A = φV ,
then
∂ ∂ ∂
∇⋅ A = (φV x ) + (φV y ) + (φV z )
∂x ∂y ∂z
∂φ ∂V ∂φ ∂V y ∂φ ∂V
∴ ∇ ⋅ (φV ) = Vx + φ x + V y + φ + Vz + φ z
∂x ∂x ∂y ∂y ∂z ∂z
∂φ ∂φ ∂φ ∂V ∂V y ∂V z
= V x + V y + V z + φ x + +
∂x ∂y ∂z ∂x ∂y ∂z
( )
= ∇φ ⋅ V + φ ∇ ⋅ V ( Combination of ‘Divergence’ and ‘Gradient’)
∂ ∂ ∂ ∂φ ˆ ∂φ ˆ ∂φ
∇ ⋅ A = ∇ ⋅ ∇φ = iˆ + ˆj + kˆ ⋅ iˆ + j +k
∂x ∂y ∂z ∂x ∂y ∂z
∂ 2φ ∂ 2φ ∂ 2φ
= + 2 + 2 = ∇ 2φ (as it is denoted)
∂x 2
∂y ∂z
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 17
Interpretation:
The CURL:
For the vector V we can define Curl as
iˆ ˆj kˆ
∂ ∂ ∂ ∂ ∂ ˆj ∂ V x − ∂ V z + kˆ ∂ V y − ∂ V x
∇ ×V = = iˆ V z − V y +
∂x ∂y ∂z ∂y ∂z ∂z ∂x ∂x ∂y
Vx V y Vz
Example:
If V = r f (r ) then we have
[ ]
∇ × V = f (r )∇ × r + ∇ f (r ) × r Note: ∇ × (φ A) = φ ∇ × A + ∇φ × A
df (r )
Also we derived earlier, ∇ f (r ) = nˆ .
dr
df
Therefore, ∇ × r f (r ) = nˆ × r = 0. [ n̂ is the unit vector along r ]
dr
Interpretation:
The curl signifies the circulation or rotation of ‘something’ around a loop.
If ∇ × V = 0, then the vector V is called Irrotational.
Home-Work Problem
Lecture-5
∇ ⋅ E = 0 ………………………………(1)
∇ ⋅ H = 0 ………………………………(2)
∂H
∇× E = − …………………………(3)
∂t
∂E
∇× H = ……………………..…….(4)
∂t
( )
∇× ∇× E = ∇×−
∂H
∂t
.
Now, ∇ × (∇ × E ) = −∇ E + ∇(∇ ⋅ E ) = −∇ E
2 2
[using equation (1)]
Also we can write
∂H
(
)
= − ∂ ∇ × H = − ∂ ∂E = − ∂ E
2
∇×− [using equation (4)]
∂t ∂t ∂t ∂t ∂t 2
∂2 E
∴ ∇2 E = ……………………….(I)
∂t 2
………………………(II)
∂2 H
∇ H=
2
∂t 2
The relations (I) and (II) are called wave equations. Each component of E ( E x , E y , E z )
and that of H ( H x , H y , H z ) satisfy above equations.
Therefore, we can write for example,
∂ 2 Ex ∂ E y ∂ 2 Ez ∂ 2 Ex
2
+ + = and so on.
∂x 2 ∂y 2 ∂z 2 ∂t 2
That means, in general if φ is any scalar which is any if the components ( E x , E y , E z ) or
∂ 2φ ∂ 2φ ∂ 2φ ∂ 2φ
( H x , H y , H z ) then + + = .
∂x 2 ∂y 2 ∂z 2 ∂t 2
This is a wave equation.
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 19
Additional problems:
(i) Express iˆ , ĵ , k̂ in terms of a gradient operator.
(ii) Express iˆ , ĵ , k̂ in terms of two gradient operators.
Hints: (i) Put φ = x in the expression of the gradient operator and see.
(ii) Use the relation iˆ × ˆj = kˆ and then use the result of (i).
Vector Integration
We can sum up several vectors and get a new resultant vector. Therefore, we may also
integrate a vector which is defined at every point ( x, y, z ) on a line or on a surface or in a
volume.
Line Integrals:
curve C .
P1
C
P2
P2
∫ A ⋅ d r = ∫ A ⋅ d r = ∫ (A dx + A dy + A dz ) .
P1
C C
x y z
This represents the integral of the tangential component of A along C from P1 and P2 .
If C is a closed curve (simple curve, no intersection by itself), the integral is denoted by
∫ A ⋅ d r = ∫ (A dx + A dy + A dz ) .
C
x y z
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 20
Example:
The work done by a force along a path
P2 P2
W = ∫ F ⋅dr =
P1
∫ F dx + F dy + F dz .
P1
x y z
The work done along a path going from point P1 to the point P2 is then
1,1 1 1
W = ∫ (− ydx + xdy) = − ∫ ydx + ∫ xdy .
0,0 0 0
(1, 1) 1 1
∴ W = − ∫ 0.dx + ∫ 1.dy = 1.
0 0
X
(0, 0) (1, 0)
(0, 1) (1, 1) 1 1
W = 0 − ∫ 1 / 2.dx + ∫ 1.dy = 0.
0 1/ 2
X
(0, 0)
Therefore, we see that this choice of force, the work done depends on the choice of path.
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 21
two points P1 and P2 , the force F is called the Conservative force (For any arbitrary
vector A , this is called Conservative vector).
P2 P2
∴ ∫ A⋅dr
P1
= ∫ dφ
P1
= φ ( P1 ) − φ ( P2 ).
Thus the value of the above integral depends only on the end points P1 and P2 and not on
the choice of path connecting them.
Now, as A = ∇φ , we have
∇× A = 0
Lecture-6
d2r
We can write F = m a = m .
dt 2
m d d r d r m d 2
∴ F⋅
dr
dt
d 2r dr
=m 2 ⋅
dt
= ⋅
2 dt dt dt
=
2 dt
v ( )
dt
m
∴ F ⋅ d r = d (v 2 )
2
Therefore, Work done along any arbitrary path from a point A to the point B is
B B
m m 2B 1 1
W = ∫ F ⋅ d r = ∫ d (v 2 ) =
2 2
v = mvB − mv A .
A
2A 2 A 2 2
On the other hand,
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 22
B B B
∫ F ⋅ d r = − ∫ ∇φ ⋅ d r = − ∫ dφ = φ ( A) − φ ( B) .
A A A
1 1
∴ φ ( A) − φ ( B) =
2 2
mvB − mv A .
2 2
Therefore, we can identify φ ( A) as the potential energy at A and φ ( B) as that at B . So,
the negative sign in F = − ∇φ is also explained in the sense of conservation of total
energy:
1 1
φ ( A) + mv A 2 = φ ( B) + mvB 2 = constant.
2 2
A Standard Problem:
φ = f1 ( x, y, z ) + c1 ( y, z )
φ = f 2 ( x, y , z ) + c 2 ( x, z )
φ = f 3 ( x , y , z ) + c 3 ( x, y )
Choose the integration constants c1 , c 2 and c3 such that φ turns out to be the same in all
the expressions.
Example:
A = (2 xy + z 3 )iˆ + x 2 ˆj + 3 xz 2 kˆ
Here we have,
∂φ
= 2 xy + z 3 ………………………………………(1)
∂x
∂φ
= x 2 ……………………………………………… (2)
∂y
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 23
∂φ
= 3xz 2 ……………………………………………..(3)
∂z
Integrating (1), (2) and (3) respectively,
φ = x 2 y + xz 3 + c1 ( y, z )
φ = x 2 y + c 2 ( x, z )
φ = xz 3 + c3 ( x, y )
So, we choose c1 ( y, z ) = 0 , c 2 ( x, z ) = xz 3 and c3 ( x, y ) = x 2 y such that
φ ( x, y, z ) = x 2 y + xz 3 .
One may also add some arbitrary constant (independent of x, y, z) with it.
Surface Integrals:
Consider the area element dS . This area element can be treated as a vector d S ≡ nˆ dS ,
where n̂ is a unit normal vector to indicate the positive direction.
Z
dS
X
There are two conventions:
X
If a vector A is defined on the surface, the surface integral ∫ A⋅dS can be interpreted as
a flow or flux through the given surface.
Suppose, we have an arbitrary surface S . If we can project the surface S over any plane,
and the area of the projected surface is R , then the integration of a vector A over S is
equal to the integration of A over R .
Z
A dS
D
B
C
R
X
∫ A⋅dS is the flow of “something” through the surface S . So, if we consider ABCD be
an imaginary pipe, then the flow through S must be equal to the flow through R or any
other cross-section in that.
In this example, to calculate the flow of A through R , we need to estimate the projected
area of dS on R , which is dxdy .
We can write,
k̂
dxdy
Therefore,
dxdy
∫∫ A ⋅ nˆdS = ∫∫ A ⋅ nˆ (nˆ ⋅ kˆ)
S R
[ Note: Double integrals have been used as we have to integrate over two variables ]
Lecture-7
z=5
n̂
ĵ
R
xz-plane
Y
x=0
x=4 z=0
X
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 26
Area element on the xz -plane is dxdz . The entire area of the 1st quadrant of the cylinder
can be projected onto the xz -plane, where x ranges from x = 0 to x = 4 and z ranges
from z = 0 to z = 5 .
So, the area element dS of the given surface is related to corresponding area element
dxdz on xz -plane by
dxdz
dS = .
( )
nˆ ⋅ ˆj
Therefore,
dxdz
∫∫S A ⋅ nˆdS = ∫∫R A ⋅ nˆ nˆ ⋅ ˆj
( )
The normal vector to the surface x 2 + y 2 = 16 at any point ( x, y ) is
∇( x 2 + y 2 ) = 2 xiˆ + 2 yˆj . [Consider this is a equipotential surface.]
The unit normal is
2 xiˆ + 2 yˆj
nˆ =
1
( )
= xiˆ + yˆj .
4
(2 x) + (2 y )
2 2
1 2
∴ A ⋅ nˆ = (x + y 2 ) = 1
16
xiˆ + yˆj ˆ y
nˆ ⋅ ˆj = ⋅j =
4 4
∴ The Integral of the vector A over the entire surface of the cylinder is
∫∫ A ⋅ nˆdS
S
= 4 × 10π = 40π .
There are other different kinds of surface integrals which we encounter very
commonly: ∫ φd S , ∫ A × d S .
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 27
Homework Problems:
1. Evaluate ∫∫ A ⋅ nˆdS
S
over the entire surface S of the region bounded by the cylinder
2. Evaluate ∫∫
R
x 2 + y 2 dxdy over the region R in the xy -plane bounded by
x + y = 36 .
2 2
Volume Integrals:
Area of a Circle: x 2 + y 2 = a 2
a2 − x2
a a
π
A = ∫∫ dxdy = ∫ ∫ dy dx = 2 ∫ a 2 − x 2 dx = 2. a 2 . = πa 2 .
x =− a y =− a 2 − x 2
2
−a
Volume of a Sphere: x 2 + y 2 + z 2 = a 2
a2 − x2 a2 − x2 − y2
a a a2 − x2
V = ∫ ∫ dz dy dx =
∫ ∫ ∫2 2
− − dx
2 2 2
2 a x y dy
−a
− a −x
x =− a y =− a 2 − x 2 z =− a 2 − x 2 − y 2
1 ˆ ˆ
# Let us take a vector A = ( xi + yj + zkˆ) to evaluate ∫∫ A ⋅ nˆdS over a sphere
a S
Hints:
• Solve the problem either directly or by applying Gauss’ Divergence theorem.
• To solve the integral directly one has to calculate the unit normal vector to the surface
S (the hemisphere above the XY-plane).
∇φ
Unit normal, n̂ = .
| ∇φ |
Here,
∇φ = ∇( x 2 + y 2 + z 2 ) = 2 xiˆ + 2 yˆj + 2 zkˆ .
∴ n̂ =
2 xiˆ + 2 yˆj + 2 zkˆ
=
a
(
1 ˆ ˆ
xi + yj + zkˆ)
(2 x) + (2 y ) + (2 z )
2 2 2
z
∴ A ⋅ nˆ = 1 , nˆ ⋅ kˆ =
a
The projection of the infinitesimal area dS onto the xy-plane is dxdy . k̂ is the unit normal
vector to the xy-plane.
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 29
∫∫ A ⋅ nˆdS = ∫∫ (A ⋅ nˆ ) (nˆ ⋅ kˆ )
dxdy
Therefore, [ as shown earlier in Lecture-6]
S R
1
= a ∫∫ dxdy
z
a a2 − x2
1
=a ∫ ∫
x =− a y =− a 2 − x 2 a2 − x2 − y2
dydx .
Lecture-8
GREEN’S FORMULA:
Let C be a simple closed curve in the XY-plane. R is the region bounded by the closed
curve. Suppose, M ( x, y ) and N ( x, y ) are two differentiable functions in the region R.
We can then evaluate the following integral,
∂M ( x, y )
b y2 ( x ) ∂M
I 1 = ∫∫ dxdy = ∫ y = y∫ ( x ) ∂y dy dx
R
∂y x=a
1
Here y = y1 ( x) represents the lower portion APB of the closed curve C and y = y 2 ( x)
represents the upper portion AQB of the curve.
y 2 ( x) Q
C
q
B
A R
p
P y1 ( x)
X
a b
b y2 ( x ) b
∴ I1 = ∫ [M ( x, y)]
x=a
dx = ∫ [M ( x, y 2 ) − M ( x, y1 )]dx
y = y1 ( x ) a
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 30
b a
= − ∫ M ( x, y1 )dx − ∫ M ( x, y 2 )dx = − ∫ M ( x, y )dx
a b C
∂M ( x, y )
∴ ∫ M ( x, y)dx = − ∫∫ dxdy …………………………….(1)
C R
∂y
Similarly,
∂N ( x, y )
q
x2 ( y ) ∂N
I 2 = ∫∫ dxdy = ∫ x= x∫( y ) ∂x dxdy
R
∂x y= p
1
Here x = x1 ( y ) represents the left portion PAQ of the closed curve C and x = x 2 ( y )
represents the right portion PBQ of the curve.
q x2 ( y ) q
∴ I2 = ∫ [N ( x, y)]
y= p
dy = ∫ [N ( x
p
2 , y ) − N ( x1 , y )]dy
x = x1 ( y )
q p
= ∫ N (x
p
2 , y )dy + ∫ N ( x1 , y )dy =
q
∫ N ( x, y)dy
C
∂N ( x, y )
∴ ∫ N ( x, y)dx = ∫∫
C R
∂x
dxdy …………………………….(2)
Here A = M ( x, y )iˆ + N ( x, y ) ˆj
d r = iˆdx + ˆjdy
iˆ ˆj kˆ
∂ ∂ ∂
Then ∇ × A = on a plane
∂x ∂y ∂z
M N 0
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 31
∂N ˆ ∂M ˆ ∂N ∂M
= − iˆ+ j + k −
∂z ∂z ∂x ∂y
( ) ∂N ∂M
∴ ∇ × A ⋅ kˆ = − .
∂y
∂x
Therefore, formula (3) can be written as
where dR = dxdy .
The above formula (4) when generalized for an arbitrary surface S bounded by a simple
curve C (both sides of the surface are open) can be written as
∫ A ⋅ d r = ∫∫ (∇ × A)⋅ nˆdS
C S
……….This is Stoke’s Formula.
--------------------------------------------------------------------------------------------------------
Problems:
(To solve by using Green’s Formula and Stokes Formula)
#1. Use Green’s Theorem to evaluate ∫ ( x 2 + xy )dx + ( x 2 + y 2 )dy where C is the Square
C
Solution
∂N ∂M
∫ (Mdx + Ndy)
C
= ∫∫ ∂x −
∂y
dxdy
1 1
∂ ∂ 2 1 1 1 1
∂x
(
= ∫ ∫ x2 + y2 −
∂y
)
x + xy ( )
dxdy = ∫ ∫ xdxdy = ∫ xdx ∫ dy = 0.
−1 −1 −1 −1 −1 −1
∫ [(2 x − y)dx − yz ]
dy − y 2 zdz , where C is a
2
#2. Using Stoke’s Theorem to evaluate
C
Solution
Here we identify the vector, A = (2 x − y )iˆ − yz 2 ˆj − y 2 zkˆ and ∇ × A = kˆ .
dxdy
∴ ∫ A ⋅ d r = ∫∫ kˆ ⋅ nˆ dS = ∫∫ dS = ∫∫ = ∫∫ dxdy = π .
C (nˆ ⋅ kˆ)
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 32
#3. Use Stoke’s Theorem to evaluate ∫ [( x + 2 y)dx + ( x − z )dy + ( y − z )dz ] where C is the
C
boundary of the triangle with vertices (2,0,0), (0,3,0) and (0,0,6) oriented in the anti-
clockwise direction.
Solution
Z
C
(0,0,6)
B
O
Y
A (0,3,0)
(2,0,0)
[ ][
= ∫ ( x + 2 y )iˆ + ( x − z ) ˆj + ( y − z )kˆ ⋅ iˆdx + ˆjdy + kˆdz ]
C
x y z
+ + = 1.
The equation of the plane ABC (a triangle) is
2 3 6
∇φ x y z
The normal vector n̂ = , where φ = + + .
∇φ 2 3 6
1 ˆ 1
∇φ = (3i + 2 ˆj + kˆ) , ∴ n̂ = (3iˆ + 2 ˆj + kˆ)
6 14
5
∴ (∇ × A) ⋅ nˆ =
14
PBC Lecture Notes in Physics – Vector Algebra & Vector Analysis/ A. Kar Gupta 33
∫ A ⋅ d r = ∫∫ (∇ × A)⋅ nˆdS
5 5 dxdy
C S
=
14
∫∫ dS
S
= ∫∫
14 (nˆ ⋅ kˆ)
R
5 dxdy
=
14
∫∫ ˆ 1
R k⋅ (3iˆ + 2 ˆj + kˆ)
14
= 5∫∫ dxdy = 5 × projection of the area ABC on the XY-plane
R
1
= 5 × Area of triangle OAB = 5 × × (2 × 3) =15.
2