Electromagnetics
Electromagnetics
Leonard Peter Samillano is a practicing electrical engineer and a faculty member at University of Antique
with a deep passion for both the precision of mathematics and the applied brilliance of engineering.
Holding dual undergraduate degrees in BS Mathematics and BS Electrical Engineering, as well as a
Master of Engineering, he brings a powerful interdisciplinary approach to the study of electromagnetics.
This textbook is lovingly written as a tribute to the bright minds he has encountered in his journey
through the University of Antique, College of Engineering and Architecture.
His goal is to inspire and leave behind a legacy of learning. Rooted in experience, enriched by education,
and written with heart. This is his contribution to the field he loves and the students he believes in.
for Nalnie and Altissia
Topic 1 – INTRODUCTION TO ELECTROMAGNETICS
electric and magnetic phenomena. It can be described as the exploration of how electric
charges behave whether they are stationary or in motion and how they interact with one
- Understanding how electric and magnetic fields are generated and how they behave.
- Analyzing how these fields interact with materials and with each other.
- Interpreting the physical meaning of these interactions and how they affect circuits
and systems.
and devices in electrical engineering. Without it, technologies like transformers, antennas,
In physics and engineering, quantities are often described using either scalars or vectors,
depending on whether direction matters.
Scalar Quantities
A scalar is a quantity that has only magnitude meaning it tells you how much of something there
is, but not which direction it's going.
Examples of Scalars:
If it can be described with just a number and a unit, it’s likely a scalar.
Vector Quantities
A vector has both magnitude and direction. That means it tells you how much and where it's
pointing.
Examples of Vectors:
A=(Ax,Ay,Az)
This shows the components of the vector along the x (abscissa), y (ordinate), and z (applicate) axes.
Here, 𝑎𝑥, 𝑎𝑦, and 𝑎𝑧 are unit vectors that point in the direction of the x, y, and z axes, respectively.
While the XYZ (Cartesian) system is common, vectors can also be written using other coordinate systems,
such as:
● Cylindrical: useful when working with circular or spiral structures 𝐴 = 𝐴ρ𝑎ρ + 𝐴ϕ𝑎ϕ + 𝐴𝑧𝑎𝑧
● Spherical: useful for fields that spread in all directions from a point (like gravity or
electromagnetic radiation) 𝐴 = 𝐴𝑟𝑎𝑟 + 𝐴θ𝑎θ + 𝐴ϕ𝑎ϕ
Example 2.1
Given two vectors 𝐻 = 𝑎𝑥 + 4𝑎𝑦 − 3𝑎𝑧 and 𝐽 = 3𝑎𝑥 − 𝑎𝑦 − 𝑎𝑧. Find 𝐻𝐽 and its
magnitude
Solution:
2 2 2
|𝐻𝐽| = (2) + (− 5) + (− 4) = 4 + 25 + 16 = 45 𝑜𝑟 6. 7082 𝑢𝑛𝑖𝑡𝑠
Example 2.2
Given points X(1 ,3, -2), Y(2, 3, 4) and Z(-1, -1, 2). Find 𝑌𝑋, 𝑋𝑌, 𝑌𝑍 and 𝑋𝑍. Also, find the
perimeter of the triangle that points X, Y and Z make.
Notice how 𝑌𝑋 is just the negative of 𝑋𝑌? They are opposite directions.
2 2
|𝑋𝑌| = (1) + (6) = 1 + 36 = 37
2 2 2
|𝑌𝑍| = (− 3) + (− 4) + (− 2) = 9 + 16 + 4 = 29
2 2 2
|𝑍𝑋| = (− 2) + (− 4) + (4) = 4 + 16 + 16 = 36 = 6
The perimeter is
P= 37 + 29 + 6 = 17.468 units
Activity 2.1
Instructions: For each physical quantity listed below, write "Scalar" if it has only magnitude, or "Vector" if
it has both magnitude and direction.
1. Temperature –
2. Time –
3. Mass –
4. Speed –
5. Distance –
6. Displacement –
7. Velocity –
8. Force –
9. Acceleration –
10.30 m/sec, East –
11.Voltage –
12.Pressure –
13.Thrust –
14.Electric Field –
15.Momentum –
Activity 2.1
1. Given two vectors 𝑃 = 2𝑎𝑥 + 3𝑎𝑦 and 𝑄 = 2𝑎𝑥 − 𝑎𝑦 − 2𝑎𝑧, find 𝑃𝑄 and its magnitude.
2. Given points A(1,1,−1), B(2,-1,3) and C(1,−1,-2), find the perimeter of the triangle formed by these
points.
3. Two forces 𝐹1 = 3𝑎𝑥 + 4𝑎𝑦 and 𝐹2 =− 𝑎𝑥 + 2𝑎𝑦 act on an object. Find the resultant force and its
magnitude.
Topic 3- Cartesian Plane
The Cartesian plane is a flat surface used to graph points, lines, and shapes using numbers. It’s
made up of two number lines:
These two lines cross each other at a point called the origin, which is written as (0, 0).
How It Works
Example Points:
In math and science, we often use a 2D plane like a sheet of paper with two axes:
But the world isn’t flat, and many real-world problems need a third direction. That’s where the
3D Cartesian plane comes in. In a three-dimensional coordinate system, we add a z-axis, which comes
out perpendicular to the x–y plane.
These three axes meet at a point called the origin, written as (0, 0, 0).
Naming a Point in 3D
5 units up (z)
x-axis (left/right),
y-axis (front/back),
z-axis (up/down)
I + + + (3, 2, 1)
II - + + (−4, 1, 5)
IV + - + (1, −5, 2)
V + + - (2, 3, −1)
VI - + - (−3, 4, −2)
3. If a point is located at (5, -2), which quadrant or axis does it belong to?
Instructions: Look at the graph. Each point is labeled with a letter. Write the coordinates of each point in
the form (x, y).
Instructions: Plot the following points on a Cartesian plane. Label each point with its corresponding
letter.
1. A (2, 3)
2. B (-4, 5)
3. C (0, -2)
Activity 3.3
Instructions: Make a 3D Cartesian plane and plot the following points on the plane. Label each point with
its corresponding letter.
1. A (2, 3, 4)
2. B (-4, 5, 6)
3. C (0, -2, 3)
4. D (-3, -4, -5)
5. E (5, 0, 2)
6. F (1, -5, -3)
7. G (-2, 2, 1)
8. H (4, -3, -2)
Topic 4 - UNIT VECTOR and THE VECTOR FIELD
A vector that has a magnitude of 1 is a unit vector. For example, vector v = (1, 3, 2) is not a unit
vector, because its magnitude is not equal to 1. Any vector can become a unit vector by dividing it by the
magnitude of the given vector.
Unit vectors are helpful when we want to describe direction only, without worrying about how
long the vector is. They're like a compass: pointing the way, not measuring distance.
Example 4.1
A force vector F = (6, 8, 10) acts on a structure. What is the unit vector F in the direction of F?
6𝑎𝑥 + 8𝑎𝑦 +10𝑎𝑧
𝑎𝐹 = 2 2 2
(6) +(8) +(10)
Given a vector 𝑉 = 4𝑎𝑥 − 3𝑎𝑦 + 2𝑎𝑧 and point P(2, 3, 1). Find the unit vector directed from P toward
V.
Solution:
A vector field assigns a vector to every point in a region of space. Think of it as a map that tells
you which way something is moving and how strongly at every location. Imagine invisible currents
flowing through space like magnetic auras around planets, swirling winds over oceans, or subtle nudges
guiding particles in electric fields. This topic dives into vector fields by treating them as force landscapes,
where every point whispers a direction and strength.
Engineering: Fluid dynamics relies on vector fields to study air and water flow
Computer graphics: Flow fields help animate smoke, wind, or crowd movement
Meteorology: Wind maps are vector fields plotted over weather systems
Example 4.3
2 −𝑧
Given the vector field 𝐹 = (𝑦 − 𝑧)𝑎 + (𝑥𝑧 + 3𝑦)𝑎𝑦 + (𝑒 + 𝑦𝑧)𝑎𝑧. a) Evaluate F
𝑥
at point M(1, 3, -1), b) Find a unit vector specifying the direction of F at M, and c) Describe the
locus of all points for which 𝐹𝑦 = 3.
Solution:
a)
2 −𝑧
Substitute point M to the given equation 𝐹 = (𝑦 − 𝑧)𝑎𝑥 + (𝑥𝑧 + 3𝑦)𝑎𝑦 + (𝑒 + 𝑦𝑧)𝑎𝑧
2 −(−1)
𝐹 = ((3) − (− 1))𝑎𝑥 + ((1)(− 1) + 3(3))𝑎𝑦 + (𝑒 + (3)(− 1))𝑎𝑧
b)
2 2 2
|𝐹| = (10) + (8) + (− 0. 63212) = 12. 8218 𝑢𝑛𝑖𝑡𝑠
10𝑎𝑥 +8𝑎𝑦−0.63212 𝑎𝑧
𝑎𝐹= 12.8218
= 0. 77992𝑎𝑥 + 0. 6239 + 0. 0493 𝑎𝑧
c)
𝐹𝑦 = 3 then,
𝐹𝑦 = 3 = (𝑥𝑧 + 3𝑦)
Activity 4.1
1. A wind velocity vector v = (3, 4, 0) is measured. What is the unit vector av in the direction of v?
2. A robot arm moves along the vector r = (−2, 6, 3). What is the unit vector in that direction?
3. A drone moves along vector d = (5, −3, 2). What is the magnitude of d?
Activity 4.2
2 2
1. For the vector field 𝐴 = (2𝑥 − 𝑦 )𝑎 + (𝑥𝑧 + 3𝑦)𝑎𝑦 + (𝑥 + 𝑦𝑧)𝑎𝑧, determine the unit
𝑥
vector specifying the direction of A at the point J (1, -1, 2).
2 2
2. Given 𝑁 = (𝑥 − 𝑦 + 2𝑧)𝑎 + (3𝑥 − 𝑦𝑧)𝑎𝑦 + (𝑦 + 𝑥𝑧)𝑎𝑧 as a vector, solve for the
𝑥
unit vector specifying the direction of F at the point (-1, 2, 3).
2 2 2 2
3. Given 𝑇 = [𝑙𝑛(𝑥 + 1) − 𝑠𝑖𝑛(𝑦𝑧)𝑎𝑥 + [𝑐𝑜𝑠(𝑥𝑦) + 𝑧 ]𝑎𝑦 + [ 𝑦 + 𝑧 − 𝑡𝑎𝑛 𝑥 ]𝑎𝑧,
solve for the unit vector specifying the direction of T at the point E (2, 1, -1).
Activity 4.3
Tasks:
Tasks:
In electromagnetics, physical quantities like electric field, magnetic flux, force, and current
density are vector quantities, they have both magnitude and direction. Understanding how to add and
subtract vectors correctly is essential for analyzing field interactions and solving real-world engineering
problems.
and
Example 5.1
Problem: Let vector P = (5, −2, 4) and vector Q = (3, 1, −1). Find P − Q
1. Add the vectors A = (2, 3, 1) and B = (4, −1, 2). What is the resultant vector R?
2. Subtract the vectors P = (5, −2, 4) and Q = (3, 1, −1). What is the resultant vector R?
3. Add the vectors A = (3, 4, 5) and B = (−2, 1, 3), then subtract C = (1, −3, 2). What is the resultant vector
R?
4. Given A = (2, 3, 4), B = (−1, 5, 2), and C = (3, −2, 1), find R = A − B + C.
Solve for:
1. 2(L-N)
2. (L+M)-N
3. 3(L+M) - 2(L+N)
4. 5L - (N+M)
5. (N+M)+ (L/6)
Topic 6 - VECTOR MULTIPLICATION
The dot product (also called the scalar product) of two vectors A and B, written as A • B. is defined
geometrically as the product of the magnitudes of A and B and the cosine of the angle between them.
The dot product is found by multiplying the magnitude (length) of vector A, the magnitude (length) of
vector B and the cosine of the angle (θ) between them
𝑎𝑥 • 𝑎𝑦 = 𝑎𝑦 • 𝑎𝑧 = 𝑎𝑧 • 𝑎𝑥 = 0
𝑎𝑥 • 𝑎𝑥 = 𝑎𝑦 • 𝑎𝑦 = 𝑎𝑧 • 𝑎𝑧 = 1
The dot product obeys commutative and distributive law. It tells you how much one vector goes
in the same direction as another. It’s not another vector. It gives you a single number (scalar).
0° (they point the same way), cos(θ) = 1, so the dot product is maximum
180° (they point opposite directions), cos(θ) = −1, so the dot product is negative
The cross product (or vector product) of two vectors A and B. written as A X B. is a vector quantity whose
magnitude is the area of the parallelopiped formed by A and B. ∣A| and ∣B| are the magnitudes of the
two vectors. θ is the angle between them. sin(θ) captures how different their directions are
Also, consider that
𝑎𝑥 𝑥 𝑎𝑦 = 𝑎𝑧
𝑎𝑦 𝑥 𝑎𝑧 = 𝑎𝑥
𝑎𝑧 𝑥 𝑎𝑥 = 𝑎𝑦
When:
A×B=C
The magnitude (length) of C tells you how "spread apart" the vectors are
Given points A(3, 1, 4), B(2, 5, -1) and C(-2, 2, 1). Find a) 𝐵𝐴 • 𝐶𝐵 , b) 𝐵𝐴 𝑥 𝐶𝐵 , c) the angle between 𝐵𝐴
and 𝐶𝐵 , and d) the area of the triangle formed by points ABC.
Solution:
a)
b)
𝐵𝐴 𝑥 𝐶𝐵 =
𝑎𝑥 𝑎𝑦 𝑎𝑧
1 -4 5
4 3 -2
c)
𝐵𝐴 • 𝐶𝐵 = |𝐵𝐴||𝐶𝐵|𝑐𝑜𝑠θ
2 2 2
|𝐵𝐴| = (1) + (− 4) + (5) = 42 𝑢𝑛𝑖𝑡𝑠
2 2 2
|𝐶𝐵| = (4) + (3) + (− 2) = 29 𝑢𝑛𝑖𝑡𝑠
𝐵𝐴 • 𝐶𝐵 =− 18 = 42 29𝑐𝑜𝑠θ
−18
𝑐𝑜𝑠θ =
42 29
−1 −18
θ = 𝑐𝑜𝑠 = 121. 05 𝑑𝑒𝑔𝑟𝑒𝑒𝑠
42 29
d)
1 1 2 2 2
𝐴= 2
|𝐵𝐴 𝑥 𝐶𝐵| = 2
(− 7) + (− 22) + (19) = 14. 9499 𝑠𝑞𝑢𝑎𝑟𝑒 𝑢𝑛𝑖𝑡𝑠
Activity 6.1
1. Given two vectors a= (3, 4, 0) and b= (1, 2, 2), what is their dot product a⋅b?
2. Find the magnitude of the cross product a×b for a= (2, 3, 4) and b= (1, 0, −1).
3. What is the angle between two vectors a= (1, 0, 0) and b= (0, 1, 0)?
4. Given three points A(1, 2, 3), B(4, 5, 6), and C(7, 8, 9), find the area of the triangle formed by these
points.
Given three points in 3D space L (2, -1, 3), M (4, 2, -1) and N (1, 0, 5)
Find/compute:
e) the area of the LMN triangle using the magnitude of the cross product.
Topic 7 - COORDINATE SYSTEMS AND TRANSFORMATION
A vector A in Cartesian coordinates can be written as A = (Ax, Ay, Az) or A = Axax + Ayay + Azaz
where ax, ay, and az are unit vectors along the x-, y-, and z-directions
A vector A in Cylindrical coordinates can be written as A=(Aρ, AΦ, Az) or A=Aρaρ + AΦaΦ + Azaz where
aρ, aΦ, and az are unit vectors in the p-, Φ-, and z-directions
Based on the figure and the x, y, z coordinate system, we can mathematically formulate that,
2 2
ρ= 𝑥 +𝑦
−1 𝑦
Φ = 𝑡𝑎𝑛 𝑥
z=z
To find any component of a vector, we use the dot product. The desired component may be
obtained by taking the dot product of the vector and a unit vector. Hence,
Furthermore,
aρ aΦ az
ax cos Φ -sin Φ 0
ay sin Φ cos Φ 0
az 0 0 1
A vector A in Cylindrical coordinates can be written as A=(Ar, Aθ, AzΦ) or A=Arar + Aθaθ + AΦaΦ where
ar, aθ, and aΦ are unit vectors in the r-, θ-, and Φ-directions
Based on the figure and the x, y, z coordinate system, we can mathematically formulate that,
2 2 2
𝑟= 𝑥 +𝑦 +𝑧
−1 𝑧
θ = 𝑐𝑜𝑠 2 2 2
𝑥 +𝑦 +𝑧
−1 𝑦
Φ = 𝑡𝑎𝑛 𝑥
To find any component of a vector, we use the dot product. The desired component may be obtained by
taking the dot product of the vector and a unit vector. Hence,
Furthermore,
ar aθ aΦ
az cos θ -sin θ 0
AΦ = Ax (-sin Φ) + Ay cos Φ + Az 0
Example 8.1
Solution:
a)
2 2 2 2
ρ= 𝑥 + 𝑦 = 3 +4 = 5
−1 𝑦 −1 4
Φ=𝑡𝑎𝑛 𝑥
= 𝑡𝑎𝑛 3
= 53. 13 𝑑𝑒𝑔𝑟𝑒𝑒𝑠
𝑧=5
𝐴𝑧 = 𝐴⋅𝑎𝑧 = 5
b)
2 2 2 2 2 2
𝑟= 𝑥 +𝑦 +𝑧 = 3 + 4 + 5 = 50 𝑜𝑟 7. 07 𝑢𝑛𝑖𝑡𝑠
−1 𝑧 −1 5
θ = 𝑐𝑜𝑠 𝑟
= 𝑐𝑜𝑠 7.07
= 45 𝑑𝑒𝑔𝑟𝑒𝑒𝑠
−1 𝑦 −1 4
ϕ = 𝑡𝑎𝑛 𝑥
= 𝑡𝑎𝑛 3
= 53. 13 𝑑𝑒𝑔𝑟𝑒𝑒𝑠
Refer to the dot product table
Given the points A (x= -1, y= 2, z= 4) and B (r= 3, θ= 20, ϕ= 95), find a) cylindrical coordinates of
A, b) cartesian coordinates of B and c) the distance from A to B.
Solution:
a)
2 2 2 2
ρ= 𝑥 + 𝑦 = (− 1) + (2) = 2. 2236
−1 𝑦 −1 2
Φ=𝑡𝑎𝑛 𝑥
= 𝑡𝑎𝑛 −1
=− 63. 43 𝑑𝑒𝑔𝑟𝑒𝑒𝑠
𝑧=5
A (ρ = 2.236, φ = 116.57°, z = 4)
b)
c)
2 2 2
𝐷 = (𝑥𝐵 − 𝑥𝐴) + (𝑦𝐵 − 𝑦𝐴) + (𝑧𝐵 − 𝑧𝐴)
2 2 2
𝐷 = (− 0. 089 −− 1) + (1. 021 − 2) + (2. 82 − 4)
2 2 2
𝐷 = (0. 911) + (− 0. 979) + (− 1. 18) = 0. 83 + 0. 96 + 1. 39
𝐷 = 1. 78 𝑢𝑛𝑖𝑡𝑠
Example 8.3
Transform each of the following vectors as specified coordinates at the point specified a)
4ax-2ay-4az at (rho=2, phi=78 degrees, z=3) to cylindrical b) 3ax at (1, 3, 5) to spherical.
Solution:
a)
Let A= 4ax-2ay-4az
𝐴ϕ = 𝐴⋅𝑎ϕ = 4(− 𝑠𝑖𝑛78) − 2(𝑐𝑜𝑠78) − 4(0) = 4(− 0. 9781) − 2(0. 2079) =− 4. 3282
𝐴𝑧 = 𝐴⋅𝑎𝑧 =− 4
b)
2 2 2 2 2 2
𝑟= 𝑥 +𝑦 +𝑧 = 1 + 3 + 5 = 35 𝑜𝑟 5. 9161 𝑢𝑛𝑖𝑡𝑠
−1 𝑧 −1 5
θ = 𝑐𝑜𝑠 𝑟
= 𝑐𝑜𝑠 5.9161
= 32. 31 𝑑𝑒𝑔𝑟𝑒𝑒𝑠
−1 𝑦 −1 3
ϕ = 𝑡𝑎𝑛 𝑥
= 𝑡𝑎𝑛 1
= 71. 57 𝑑𝑒𝑔𝑟𝑒𝑒𝑠
Compute:
1. Given points P(3, 4, 2) and Q(5, 120°, 3). Find a unit vector in cylindrical coordinates at point
Q directed toward point P.
2. Given points A(6, −2, 4) and B(ρ = 4, φ = 45°, z = 1), find a unit vector in cylindrical
coordinates at point B directed toward point A.
3. Given points C(2, 3, 5) in Cartesian coordinates and D(r = 6, θ = 60°, φ = 120°) in spherical
coordinates, find a unit vector in spherical coordinates at point D directed toward point C.
Topic 9 - COULOMB’S LAW AND ELECTRIC FIELD INTENSITY
Everything in the universe with an electric charge either pushes or pulls on everything else that’s
charged. This invisible force is Coulomb’s Law in action. And the way a single charge warps space around
it? That’s an electric field. In this chapter, we’ll explore how two tiny particles can tug at each other
across empty space and how fields help us understand these invisible interactions.
Coulomb’s Law gives us the electric force between two point charges. It’s basically the
gravitational law of electrostatics but instead of mass, we use charge, and the forces can attract or repel.
𝑞1𝑞2
𝐹=𝑘 2
𝑟
𝑞1𝑞2
𝐹=𝑘 2 𝑎𝑣
𝑟
Where:
9 1 −12
k is Coulomb’s constant: 8. 99𝑥10 𝑜𝑟 4πϵ0
, ϵ𝑜 = 8. 8542𝑥10
av is the unit vector in the direction from the source charge to the point of interest
Now, what happens if we just want to know how a single charge affects the space around it even
when no other charges are nearby? That’s where the electric field comes in.
The electric field intensity E at a point in space is the force per unit charge a tiny positive test charge
would feel if placed there:
𝐹
𝐸= 𝑞
Or, for a point charge Q:
𝑞1𝑞2
𝑘
𝑟
2
𝑞
𝐸= 𝑞
=𝑘 2 𝑎𝑣
𝑟
Where:
av is the unit vector in the direction from the source charge to the point of interest
It’s like gravitational field strength, but for electric charges instead of mass.
Engineers use Coulomb’s Law and electric fields to design capacitors, sensors, and electrostatic
equipment. Electric fields explain how charges behave in circuits and insulators. Also, Understanding
field intensity is essential in antenna design, semiconductors, and electromagnetic shielding
Charge Density
Q=∭ρ(x,y,z) dx dy dz
For an electrical engineer, this kind of problem is foundational. Whether you're modeling charge
in a capacitor, analyzing electromagnetic fields, or simulating sensor behavior, understanding how to
integrate spatially varying quantities is key.
In electromagnetics, streamlines offer a powerful way to visualize how particles move through a
field. They represent paths that are tangent to the vector field at every point, meaning they show the
direction a particle would follow if placed in the field. A streamline is not a physical object—it’s a
mathematical construct that helps us understand flow behavior. If you imagine placing a tiny particle in a
velocity field, the path it traces out (assuming steady flow) is a streamline.
𝑑𝑥 𝑑𝑦
𝐹𝑥
= 𝐹𝑦
This differential equation ensures that the particle’s movement aligns with the field’s direction at every
point.
Example 9.1
A 3 mC positive charge is located in vacuum at Q1 (4, 1, -3), and a 6 μC negative charge is placed
at Q2 (0, -2, 1). Find a) the vector force on the negative charge due to the positive charge, b) the
magnitude of the force on the charge at Q1?, c) the electric field at point Q2 due to the charge at Q1.
Solution:
𝑅12 = 𝑄2 − 𝑄1 = (0 − 4, − 2 − 1, 1 − (− 3)) = (− 4, − 3, 4)
2 2 2
|𝑅12| = (− 4) + (− 3) + 4 = 41 (𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒 𝑏𝑒𝑡𝑤𝑒𝑒𝑛 𝑡ℎ𝑒 𝑐ℎ𝑎𝑟𝑔𝑒𝑠)
𝑞1𝑞2
𝐹=𝑘 2 𝑎12
𝑟
−3 −6
9 (3𝑥10 )(−6𝑥10 )
= 8. 98755𝑥10 2 (− 0. 6247𝑎𝑥 − 0. 4685𝑎𝑦 + 0. 6247𝑎𝑧)
( 41)
b)
The magnitude of the force on Q1 is the same as on Q2
2 2 2
|𝐹1| = |𝐹2| = (2. 4649) + (1. 848586) + (− 2. 4649) = 3. 9457
c)
−3
9 3𝑥10
𝐸 = 8. 98755𝑥10 2 (− 0. 6247𝑎𝑥 − 0. 4685𝑎𝑦 + 0. 6247𝑎𝑧)
41
3 3 3
= (− 410. 82𝑥10 𝑎𝑥 − 308. 1𝑥10 𝑎𝑦 + 410. 82𝑥10 𝑎𝑧)
Example 9.2
2
Given a charge density ρ(𝑥, 𝑦, 𝑧) = 8𝑧 𝑐𝑜𝑠(π𝑥𝑦). The volume is defined by,
0 ≤ 𝑥 ≤ 1, 0 ≤ 𝑦 ≤ 2 𝑎𝑛𝑑 1 ≤ 𝑧 ≤ 3. Find the total charge
Solution:
3 2 1
2
𝑄 = ∫ ∫ ∫ 8𝑧 𝑐𝑜𝑠(π𝑥𝑦) 𝑑𝑥 𝑑𝑦 𝑑𝑧
𝑧=1 𝑦=0 𝑥=0
3 2 1 3 1 2
2 2
= ∫ 8𝑧 ∫ ∫ 𝑐𝑜𝑠(π𝑥𝑦) 𝑑𝑥 𝑑𝑦 𝑑𝑧 = ∫ 8𝑧 ∫ ∫ 𝑐𝑜𝑠(π𝑥𝑦) 𝑑𝑦 𝑑𝑥 𝑑𝑧
𝑧=1 𝑦=0 𝑥=0 𝑧=1 𝑥=0 𝑦=0
3 1 3 1 3
2 𝑠𝑖𝑛(π𝑥𝑦) 2 2 𝑠𝑖𝑛(2π𝑥) 2
= ∫ 8𝑧 ∫ ⎡ ⎤ 𝑑𝑥 𝑑𝑧 = ∫ 8𝑧 ∫ ⎡ ⎤ 𝑑𝑥 𝑑𝑧 = ∫ 8𝑧 (𝑠𝑖𝑛(2π)) 𝑑𝑧
𝑧=1 𝑥=0
⎣ π𝑥 ⎦0 𝑧=1 𝑥=0
⎣ π𝑥 ⎦ 𝑧=1
3 3 3
𝑧 2 26
=𝑠𝑖𝑛 (2π) ∫ 8𝑧 𝑑𝑧 = (8) 𝑠𝑖𝑛 (2π)⎡⎢ 3 ⎤⎥ = 3
𝐶𝑜𝑢𝑙𝑜𝑚𝑏𝑠
𝑧=1 ⎣ ⎦1
Example 9.3
Obtain the equation of the streamline that passes through the point Q(1,2,0) in the vector field:
V=x2ax+ yay
Solution:
𝑑𝑥 𝑑𝑦
2 = 𝑦
𝑥
𝑑𝑥 𝑑𝑦
∫ 2 =∫ 𝑦
𝑥
1
− 𝑥
= 𝑙𝑛 𝑦 + 𝐶
@Q(1,2,0)
𝐶 =− 1 − 𝑙𝑛(2)
1
− 𝑥
= 𝑙𝑛 𝑦 − 1 − 𝑙𝑛(2)
1
𝑥
+ 𝑙𝑛 𝑦 = 1 + 𝑙𝑛(2)
Topic 10 - ELECTRIC FLUX DENSITY, GAUSS’S LAW AND DIVERGENCE
The electric flux density, also known as the electric displacement field D, tells us how electric
field lines behave when there's charge present in a medium.
𝐷 = ϵ𝐸
Where:
If E is the direction and strength of the electric breeze, then D tells us how that breeze carries
electric charges through space.