Week-3_Class Material@Vectors
Week-3_Class Material@Vectors
PH1000
Class Day Time
1 Monday 9:00-9:50 AM
2 Wednesday 10:00-10:50 AM
3 Friday 11:00-11:50 AM
Textbooks:
1. Introduction to Electrodynamics, David J. Grifiths, Prentice Hall, 2007.
2. Electromagnetic Field Theory Fundamentals, Bhag Singh Guru, Huseyin R. Hiziroglu, Cambridge
University Press; 2nd edition, 2009.
2
Integral Calculus PH1000
IIITDM
Volume Integrals:
A volume integral is an expression of the form:
Td
where, T is a scalar function and
dƬ is an infinitesimal volume element
For example, if T is the density of a substance (which might vary from point to
point), then the volume integral would give the total mass.
3
PH1000
Volume Integrals IIITDM
Solution:
We can do the three integrals in any order.
Let’s do ‘x’ first: It runs from 0 to (1 - y)
then ‘y’: It goes from 0 to 1,
x+y=1
and finally ‘z’: It goes from 0 to 3
x=1-y
x2
xdx 2
1 y
x2
if limits substitute
2 0
z3
z dz 3
2
z3
3
if limits substitute
3
0
4
PH1000
Volume Integrals IIITDM
Problem: Let F = 2xz î - x ĵ + y2k̂ . Evaluate F dV where V is the region bounded by
the surfaces x=0, x=2, y=0, y=6, z=x2, z=4?
Solution: The region V is covered (a) by keeping x & y fixed and integrating from z = x2 to z = 4
(base to top of column PQ),
(b) then by keeping ‘x’ fixed and integrating from y = 0 to y= 6 (R to S in the slab),
(c) finally keeping ‘y’ fixed and integrating from x = 0 to x = 2 (where z = x2 meets z = 4).
5
PH1000
Line, Surface and Volume Integrals Comparison IIITDM
6
Integral Calculus PH1000
IIITDM
7
PH1000
Differential Calculus IIITDM
Del operator:
The gradient has the formal appearance of a vector, ∇, “multiplying” a scalar T:
1. By a scalar ‘a’: Aa
9
Concept of Vector Fields Potentials PH1000
IIITDM
Curl-less (irrotational) fields: The following conditions are equivalent
i.e., F satisfies one if and only if it satisfies all the others:
a) F 0 everywhere
b
b) F .dI is independent of path, for any given end points
a
A solenoidal vector field satisfies ∇.F = 0 for every vector F, where ∇ . F is the
divergence.
If this condition is satisfied, there exists a vector A, known as the vector potential,
such that F = ∇ × A , where ∇ × A is the curl.
If A is an irrotational field, ∇ × A = 0 so ∇. (A × r) = r. (∇ × A) – A. (∇ × r) = 0 – 0 = 0.
So A × r is solenoidal.
The quantity (∇u) × (∇v) where ∇u & ∇v is the gradient, is always solenoidal.
11
PH1000
Differential Calculus IIITDM
Basics of Gradient:
We know that the ∇ operator can be represented as:
We can use this ∇ operator in gradient, divergence, and curl.
Basics of Divergence:
We know that the ∇ operator can be represented as:
We can use this ∇ operator in gradient, divergence, and curl.
.F 0
.F 0
.F 0
16
PH1000
Differential Calculus Divergence IIITDM
Problem: Suppose the functions are va = xx̂ + yŷ + zẑ, vb = yŷ , and vc = yŷ + z ẑ. Calculate their
divergences?
Solution:
17
Differential Calculus Divergence PH1000
IIITDM
= 2xy + xz
= 2xy + 0 + 0
= 2xy
18
Differential Calculus Divergence PH1000
IIITDM
2nd part:
19
Integral Calculus: Gauss’s theorem PH1000
IIITDM
.v d v . da
s
v
20
Integral Calculus PH1000
IIITDM
v . da .v d
s
v
flux entering
This theorem has three special names: Gauss’s theorem, or Green’s theorem, or
divergence theorem.
It states that the integral of the normal component of any vector field over a
closed surface is equal to the integral of the divergence of this vector field
throughout the volume enclosed by the closed surface.
23
PH1000
Fundamental Theorem for Divergences: Gauss’s theorem IIITDM
Geometrical Interpretation:
If, we have a bunch of faucets/sources in a region filled with incompressible fluid,
an equal amount of liquid will be forced out through the boundaries of the region.
There are two ways that we could determine of how much is being produced:
(a) We could count up all the faucets, recording how much each puts out, or
(b) We could go around the boundary, measuring the flow at each point, and add it
all up.
24
PH1000
Fundamental Theorem for Divergences IIITDM
Problem: Verify the Gauss theorem for the vector function F = 4xz î - y2 ĵ + yz k̂ taken
over the cube bounded by x =0, x=1, y=0, y=1, z=0, z=1?
Solution:
25
PH1000
Fundamental Theorem for Divergences IIITDM
F = 4xz î - y2 ĵ + yz k̂
x =0, x=1, y=0, y=1, z=0, z=1
Solution: dƬ = dxdydz
= 0 + 2x + 2y = 2(x + y)
27
PH1000
Fundamental Theorem for Divergences: Gauss’s theorem IIITDM
28
PH1000
Fundamental Theorem for Divergences: Gauss’s theorem IIITDM
v = y2x̂ + (2xy + z2)ŷ + (2yz)ẑ
So, =
In fact, the question “How fast does T vary?” has an infinite number
of answers, one for each direction we might choose to explore.
A theorem on partial derivatives states that
This tells us how T changes when we alter all three variables by the
infinitesimal amounts dx, dy, dz.
30
PH1000
Differential Calculus Gradient IIITDM
Notice that we do not require an infinite number of derivatives, just three (3)
will enough: Partial derivatives along each of the three coordinate directions
31
Differential Calculus Gradient PH1000
IIITDM
Gradient of a scalar fields in different coordinate systems:
Let V be the scalar fields whose gradient is to be calculated.
Gradient operator in Cartesian coordinate:
32
Differential Calculus Gradient PH1000
IIITDM
Solution: (a) The gradient is just the vector of partial derivatives. The partial derivatives of ‘f’
Solution:
33
Differential Calculus Gradient PH1000
IIITDM
Problem: Find a normal vector to the surface x3 + y3z = 3 at the point (1,1,2)?
Solution:
To find a normal vector to a surface, observe that the surface as a level set of
some function g(x, y, z)
We identify the surface as the level curve of the value c = 3 for g(x, y, z)=x3 + y3z
34
PH1000
Differential Calculus Gradient IIITDM
35
PH1000
Fundamental Theorem for Gradients IIITDM
In this manner, going by infinitesimal steps, we make the journey to point ‘b’.
At each step, we compute the gradient of T (∇T) and dot it into the displacement
dl and this gives us the change in T.
Geometrical Interpretation:
b
Solution:
38
PH1000
Fundamental Theorem for Gradients IIITDM
Slope of line (iii)=dy/dx=1/2 dy=1/2dx T = xy2, and take point ‘a’ to be the origin (0,0,0) and
‘b’ the point (2,1,0)
Integrate on both sides: y=1/2x
Other way,
Since, slope, y=mx+c
Then Eqn of line (iii) is y=1/2x
T = xy2
39
PH1000
IIITDM
Curl:
The curl of a vector field captures the idea of how a fluid may rotate i.e., it
measures the tendency of particles at P to rotate about the axis.
In vector calculus, the curl is a vector operator that describes the infinitesimal
circulation of a vector field in 3-D Euclidean space.
The curl at a point in the field is represented by a vector whose length and
direction denote the magnitude and axis of the maximum circulation.
40
Differential Calculus Curl PH1000
IIITDM
• The curl of a field is formally defined as the circulation density at each point of the
field.
• A vector field, v is called irrotational if curl of that vector (v) is zero i.e. v 0 .
This means, in the case of a fluid flow, that the flow is free from rotational motion,
i.e., no whirlpool.
• If v 0 then v in a rotational (non-conservative) vector field, i.e., whirlpool.
• For a 2-D flow with v represent the fluid velocity, v is perpendicular to the
motion and ῶ represent the direction of axis of rotation.
41
Differential Calculus Curl Rotational & Irrotational field PH1000
IIITDM
Problem: Show that curl of a vector A = ρsinφρ̂- ρcosφφ̂ +2zẑ at a given point
P(2,π/2,3) has irrotational field.
Sol: Given A = ρsinφρ̂- ρcosφφ+2zẑ, at P (2, π/2, 3)
ˆ ˆ zˆ
1
A
z
A A Az
1
ˆ
(A z ) (A ) ˆ (A z ) (A ) (A ) (A ) zˆ
z z
Here, A sin , A cos , A z 2z
1
ˆ
A (2z) (. cos ) ˆ (2z) ( sin ) (. cos ) ( sin ) zˆ
z
z
1 1
0 0 ˆ 0 0 ˆ 2 cos cos zˆ 3 cos zˆ 3cos zˆ
At the po int P 2, , 3 2, , z 3 then, A 3cos ẑ 0
2 2 2
Hence, the curl of a given vector A has irrotational field at a point P (2, π/2, 3).
42
PH1000
Differential Calculus Curl IIITDM
Geometrical Interpretation:
• The name curl is also well chosen, for v is a measure of
how much the vector v spins around the point in question.
Imagine you are standing at the edge of a pond.
Float a small paddlewheel (or a cork with toothpicks pointing out radially);
if it starts to rotate, then you placed it at a point of nonzero curl.
v 0
A whirlpool would be a region of large curl.
43
PH1000
Differential Calculus Curl IIITDM
44
PH1000
Differential Calculus Curl IIITDM
45
Differential Calculus Curl PH1000
IIITDM
46
PH1000
Differential Calculus IIITDM
Some properties of Curl, Divergence, and Gradient: If A and B are differentiable
vector functions; φ and ψ are differentiable scalar functions of position (x, y, z), then
47
Differential Calculus Curl PH1000
IIITDM
Problem: Find the curl of F = yz2î̂ + xy ĵ + yz k̂
Solution: F
1
Problem: If v r , prove v where, w is a constant vector?
2
Solution:
48
Integral Calculus PH1000
IIITDM
Fundamental Theorem for Curls:
This theorem also known as Stokes’ theorem, written as
Line integration over the entire surface Surface with respect to function
Source: https://www.youtube.com/watch?v=D2eHgZ4kMHU 50
Integral Calculus PH1000
IIITDM
51
Integral Calculus PH1000
IIITDM
Physical significance of Stokes Theorem:
If we consider a flow of fluid on the surface,
Anti-Clockwise: Curl of the function is positive Clockwise: Curl of the function is negative
Here, we can identify the torque on the body.
Based on the torque, we can identify the line integration of the system.
Hence, we can determine how much force acting on the system.
This will helpful in electrodynamics: Maxwell equations
Uses of Stokes Theorem:
It is used in application of fluid mechanics
It is used to understand electromagnetics
It is used to understand flow of fields (Gravitational, Electric & Magnetic fields)
Used in aerodynamics
52
PH1000
Fundamental Theorem for Curls: Stoke’s theorem IIITDM
Geometrical Interpretation:
Now, there are plenty of surfaces (infinitely many) that share any given boundary
line.
Twist a paper clip into a loop, and dip it in soapy water.
The soap film forms as a surface, with the wire loop as its boundary.
If you blow on it, the soap film will expand, making a larger surface, with the same
boundary.
54
PH1000
Fundamental Theorem for Curls: Stoke’s theorem IIITDM
Problem: Suppose v = (2xz + 3y2)ŷ + (4yz2)ẑ. Check Stokes’ theorem for the square surface?
Solution:
55
PH1000
Fundamental Theorem for Curls IIITDM
Problem: Verify Stokes' theorem for A = (2x - y) î - yz2 ĵ - y2 z k̂ , where S is the upper half
surface of the sphere x2 + y2 + z2 = 1 and C is its boundary?
Solution:
57
PH1000
Laplacian IIITDM
Scalar Laplacian:
The Laplacian of a scalar field V, written as 2V is the divergence of the gradient
of V.
Laplacian of V:V = 2V
59
Laplacian PH1000
IIITDM
60
Laplacian PH1000
IIITDM
61
Laplacian PH1000
IIITDM
Problem: Find the Laplacian of the scalar field f = xz y = x1/2 z1/2 +y?
Solution: ∇2f = ∂2/∂x2 (x1/2 z1/2 +y) + ∂2/∂y2 (x1/2 z1/2 +y) + ∂2/∂z2 (x1/2 z1/2 +y)
= ∂/∂x (1/2 x( 1/2 −1) z1/2) + ∂/∂y (1) + ∂/∂z (1/2 x1/2 z( 1/2 −1))
= 1/2 (− 1/2 ) x(− 1/2 −1) z1/2 + 1/2 (− 1/2 ) x1/2 z(− 1/2 −1)
62
Integral Calculus PH1000
IIITDM
Continuity Equation:
• Continuity equation is simply conservation of mass of the flowing fluid.
• Consider fluid flowing through the pipe. It is impossible that fluid entering from
one end of pipe vanishes while coming out of other end of the pipe.
• This is a same thing which continuity equation tells us that mass of flowing fluid is
conserved.
Let 'm' be the mass of the fluid, ‘v' be the volume of the fluid, and 'ρ' be the
density of the fluid, then as we know density is equal to mass/volume,
Therefore, ρ = m/v , then mass becomes, m = ρ x v
Volume can be written as area times thickness i.e., v = A x t
where, 'A' is Cross section area of pipe and 't' is thickness of fluid column in pipe
Then, mass becomes, m = ρ x A x t
To find of mass flow rate, differentiation above equation with respect to time be
the mass flow rate: dm
dt
63
Integral Calculus Continuity Equation PH1000
IIITDM
dm
Hence, = ρ x A x v (Differentiation of t with respect to time gives velocity of the fluid).
dt
Considering mass flow rate for small section of fluid, need to find mass flow rate for entire
fluid, then we will write mass flow rate in integral form:
We know that m = ρ x V
Taking Elemental volume ‘∀’ (for all) instead of 'V’, m = ρ x ∀
To find mass flow rate integrating above equation with respect to time, we get:
64
Integral Calculus Continuity Equation PH1000
IIITDM
Since the volume ‘∀’ does not change with time, the sequence of
differentiation and integration in the first term of can be interchanged.
Therefore,
65
Vector Analysis Important Formulas/Concepts
PH1000
IIITDM
66
Vector Analysis Important Formulas/Concepts
PH1000
IIITDM
Cylindrical
Rectangular
a cos sin 0 a
x
a sin cos 0 a ρ2=x2+y2, tanφ = y/x and z=z
y
0 a
z
a 0 1 z
67
Vector Analysis Important Formulas/Concepts
PH1000
IIITDM
Rectangular
v .dI
b
from point a to b:
a
v .dI & in closed path case:
Surface Integrals: A surface integral is an expression of the form of
69
Vector Analysis Important Formulas/Concepts
PH1000
IIITDM
b
Fundamental theorem for gradient: T .dI T (b) T(a)
a
70
Vector Analysis Important Formulas/Concepts
PH1000
IIITDM
Divergence:
“Divergence is scalar quantity and it is applied on vector quantity”
72
Vector Analysis Important Formulas/Concepts
PH1000
IIITDM
Curl: The curl of a vector field is a vector.