Electrostatics
Electrostatics
Magnetism
(PHYS2)
L1-S2 - IAESB
February 2, 2024
Contents
1 Electrostatics 5
1.1 Electric charge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1.1 Properties of electric charge . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1.2 Material classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.1.3 Coulomb’s law . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.1.4 Vector formulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.1.5 Note: Comparison of electric force with other forces of nature . . . . 14
1.1.6 The principle of superposition of forces . . . . . . . . . . . . . . . . . . 15
1.2 Electric field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.2.1 The electric field created by a distribution of discrete charges . . . . . 16
1.2.2 The electric field created by a distribution of continuous charges . . . 25
1.2.3 The principle of superposition of the field . . . . . . . . . . . . . . . . 26
1.3 Electric field created by a discrete distribution of charges . . . . . . . . . . . . 27
1.3.1 Application 1: The electric dipole (Case of 2 charges (-q) and (+q)) . . 27
1.3.2 Application 2: Case of 2 charges (+q) and (+q) . . . . . . . . . . . . . . 31
2
Contents
3
Contents
4
1 Electrostatics
We observe electric and magnetic phenomena everywhere in nature and in everyday life:
electrical appliances, electric heating, communications, computers, lightning, chemical
reactions, nervous system, brain, ...
We will distinguish in the rest of this course:
- electrostatics which is the study of electrical effects created by charges at rest,
- electrokinetics which is interested in the movements of these charges,
- electromagnetism which is the study of electrical and magnetic phenomena (magnetic
phenomena generally involve moving electric charges).
5
1 Electrostatics
1. Positive charges are produced, for example, on the surface of glass by friction with
a silk cloth.
2. Negative charges are produced for example on the surface of ebonite by friction with
fur.
6
1 Electrostatics
B. Conservation of charge
The electrical charge is always conserved in an isolated system.
For example, the total electric charge is the same before the beginning and after the end
in a chemical (or nuclear) reaction.
7
1 Electrostatics
A. Conductors
The charge is free to flow in the material: metals.
A conductor is a material containing a certain concentration of free electrons capable of
moving easily under the effect of an electric field (to create a current, for example). Metals
(copper, iron, aluminum, etc.) and ionic solutions (acidic or basic) are conductive media.
An ionized gas can also be considered a conductive medium.
B. Insulators
The charge is localized.
In an insulator, there are very few free electrons. They are strongly bound to given
molecular sites (unlike a good conductor) and they must be given a lot of energy to
release them and generate an electric current. Rubber, plastics, glass, silk and wood are
insulators.
8
1 Electrostatics
C. Semiconductors
A semiconductor behaves like an insulator when it is very pure, but its conductive power
can be modified by doping it, that is, by adding impurities in well-determined propor-
tions. Germanium, carbon and silicon are semiconductors. These materials form the basis
of electronics (diodes, transistors, microprocessors, etc.).
D. Superconductors
Superconducting materials are characterized by the absence of electrical resistance, which
manifests itself at very low temperatures, close to absolute zero: R ∼ 0, when T = 0o K.
Superconductivity makes it possible to transport electricity without loss of energy.
9
1 Electrostatics
⃗F = k q1 q2 u⃗r
d2
Its modulus is proportional to the absolute value of the product of the two electric charges,
and is inversely proportional to the square of the distance d which separate them.
The direction is that of the right which connects the two charges.
The direction of this force depends on the sign of the charges.
10
1 Electrostatics
We can compare this force with Newton’s gravitational force between two masses m1
and m2 , which is always an attractive force:
⃗g = − G m1 m2 u⃗r
F
r2
where G is Newton’s universal constant.
11
1 Electrostatics
12
1 Electrostatics
k q1 q2 k q1 q2 (⃗r2 − ⃗r1 ) kq q
F⃗2/1 = (⃗r2 − ⃗r1 ) = · = 12 2 · u⃗r
||⃗r2 − ⃗r1 ||3 ||⃗r2 − ⃗r1 ||2 ||⃗r2 − ⃗r1 || d
Similarly, the opposing electric force acting on q1 created by the charge q2 is given by:
k q1 q2
F⃗1/2 = − F⃗2/1 = (⃗r − ⃗r2 )
||⃗r1 − ⃗r2 ||3 1
k is Coulomb’s universal constant:
ϵ0 = 8.85418782 · 10−12 SI
13
1 Electrostatics
ke2
Fe = = 8.1 · 10−8 N
r2
and the gravitational force to:
Gme m p
Fe = = 3.7 · 10−47 N
r2
hence:
Fe ke2
= ∼ 1039
Fg Gme m p
• Let us also note that the ratio between the electric force and the nuclear force (short
range force, d ∼ 10−15 m) between two protons in a nucleus is approximately:
FN
∼ 1040
Fe
It is the nuclear force that holds the nucleus of the atom together (between protons
and neutrons). At greater distances, it is the electrical force that dominates.
14
1 Electrostatics
with:
⃗ = k Q qi
FQ/i (⃗R − ⃗ri )
⃗
|| R − ⃗ri ||3
15
1 Electrostatics
16
1 Electrostatics
17
1 Electrostatics
Example
We place 3 electric charges (q, q, −2 q) on 3 vertices of a square as shown in the figure.
The length of one side of the square is a.
• Calculate the electric field created by these three charges at the fourth vertex of the
square (which is taken as the origin O of the coordinate system).
• We place a charge Q at the point O, calculate the Coulomb force acting on it.
Make the numerical application with:
k = 8.98 · 109 N · m2 /C2 , q = 1 nC (nanoCoulomb) , a = 1 m , Q = 1 µC(microCoulomb)
18
1 Electrostatics
19
1 Electrostatics
> restart:
> with(VectorCalculus):
> assume(a>0):
>
Données: valeurs des charges et leurs positions le repère Oxyz
> q1:=+q;
r1 := <0,a,0>;
q1 := q
r1 := a~ e
y
> q2:=+q;
r2 := <a,a,0>;
q2 := q
r2 := a~ e + a~ e
x y
> q3:=-2*q;
r3 := <a,0,0>;
q3 := −2 q
r3 := a~ e
x
> R:=<0,0,0>;
R := 0 e
x
Champs électriques créés par chaque charge à l'origine de repère O
> E1:=simplify(k*q1*(R-r1)/ DotProduct(R-r1,R-r1)^(3/2));
kq
E1 := − 2 e
a~ y
> E2:=simplify(k*q2*(R-r2)/ DotProduct(R-r2,R-r2)^(3/2));
2 kq 2 kq
E2 := −
e − e
4 a~2 x 4 a~2 y
> E3:=simplify(k*q3*(R-r3)/ DotProduct(R-r3,R-r3)^(3/2));
2kq
E3 := e
a~2 x
Champ résultant au point O
> E:=E1+E2+E3;
⎛ 2 k q 2 k q ⎞⎟ ⎛ kq 2 k q ⎞⎟
E := ⎜⎜ − + ⎜
⎟ e + ⎜− − ⎟e
⎝ 4 a~2 a~2 ⎠ x ⎝ a~2 4 a~2 ⎠ y
> evalf(E,4);
1.646 k q 1.354 k q
e − e + 0. e
a~2 x a~2 y z
Angle entre l'axe Ox et le vecteur champ électrique résultant au point O
> arctan(1.354/1.646); ## en radians
evalf(%*180/Pi); ## en degrés
0.6883704661
20
1 Electrostatics
39.44072244
> AN:={k=8.98*10^9,q=10^(-9),a=1,Q=10^(-6)}; # en unités SI
1 1
AN := { Q = , a~ = 1, k = 0.8980000000 1010, q = }
1000000 1000000000
Vecteur champ électrique résultant au point O
> evalf(subs(AN,E)); ## en Newtons/Coulomb(N/C) ou en
Volt/mètre(V/m)
14.78509055 e − 12.15490945 e + 0. e
x y z
Force de Coulomb agissant sur une charge Q placé au point O
> F:=Q*E;
⎛ 2 k q 2 k q ⎞⎟ ⎛ kq 2 k q ⎞⎟
F := Q ⎜⎜ − + ⎜
⎟ e + Q ⎜− 2 − ⎟e
⎝ 4 a~2 a~2 ⎠ x ⎝ a~ 4 a~2 ⎠ y
> evalf(subs(AN,F)); ## en Newtons
0.00001478509055 e − 0.00001215490945 e + 0. e
x y z
>
21
1 Electrostatics
22
1 Electrostatics
23
1 Electrostatics
24
1 Electrostatics
25
1 Electrostatics
If these charge densities are independent of the point in space where they are calculated,
we will say that the distribution of charges is uniform: ρ, σ and λ will then be constants.
Their respective units are C/m3 , C/m2 and C/m.
Examples of electric field calculations will be given in the following.
26
1 Electrostatics
27
1 Electrostatics
⃗R = x⃗ı (1.1)
28
1 Electrostatics
hence:
⃗E = k (+q) k (−q)
( x⃗ı − a⃗ȷ) + 2 ( x⃗ı + a⃗ȷ)
( x2 2
+a ) 3/2 ( x + a2 )3/2
⃗E = − 2kaq
⃗ȷ
( x2 + a2 )3/2
29
1 Electrostatics
Note 1: We can use l = ( x2 + a2 )1/2 which is the distance between the point P and one
of the charges, and the angle α such that sin α = a/l (see figure), to write:
⃗E = − 2 k q sin α⃗ȷ
l2
Note 2: By definition, the dipole moment of a dipole is given by:
p = charge × distance = 2 a q
⃗E = − k p⃗ȷ
l3
Note 3: When x is very large, the electric field which tends to zero behaves as 1/x3 :
⃗E = − k p⃗ȷ
x3
where p is the ”dipole moment”.
Note 4: In the case where P is not on the bisector of the segment which joins the two
charges, the calculation must be redone with ⃗R = x⃗ı + y⃗ȷ.
30
1 Electrostatics
⃗E = k (+q) k (+q)
( x⃗ı − a⃗ȷ) + 2 ( x⃗ı + a⃗ȷ)
( x2 2
+a ) 3/2 ( x + a2 )3/2
⃗E = 2kqx 2 k q cos(α)
⃗ı = ⃗ı
( x2 2
+a ) 3/2 l2
31
1 Electrostatics
Note 1: When x is very large, the electric field which tends to zero behaves as 1/x2 :
⃗E = 2 k q⃗ı
x2
This makes sense, because at very large distances, the two charges (+q and +q) can no
longer be distinguished. They will be considered as a single charge of value equal to
(+2 q).
Note 2: If we place 2 n charges, on a circle of radius a and center O. The charges being
pairwise symmetric with respect to O, then the electric field will be written:
⃗E = k (2 n q) x ⃗ı = kQx
⃗ı
( x2 + a2 )3/2 ( x2 + a2 )3/2
with Q = 2 n q the total charge placed on the circle. This formula will remain valid even
in the case where the charges will be distributed continuously (see section 1.4.1).
32
1 Electrostatics
Using polar coordinates in the yOz plane, the position M of an elementary charge dQ is
33
1 Electrostatics
dQ = λadα
34
1 Electrostatics
2π 2π 2π
= ⃗ı(...) dα +⃗ȷ(...) cos αdα +⃗k (...) sin αdα
0 0 0
kQx
= ⃗ı
l3
√ x
If we call l = x2 + a2 and α the angle such that cos α = ( x2 + a2 )1/2
, we will have for ⃗E:
⃗E = k cos α · Q⃗ı
l2
√
Note: When x is very large (l = x2 + a2 ∼ x), the electric field which tends towards
zero behaves as 1/x2 (Coulomb behavior):
⃗E = Q⃗ı
x2
which makes sense, because at very large distances, a charged ring will be considered a
point charge.
35
1 Electrostatics
The total electric field created by this disk can be obtained by taking the integral of the
formula from the previous section for a circular ring:
R R
⃗E( x ) = kxdQ k x (2πr dr ) σ
d⃗E( x ) = ⃗ı = ⃗ı
0 ( x2 + r2 )3/2 0 ( x2 + r2 )3/2
36
1 Electrostatics
37
1 Electrostatics
Note 1:
Depending on the position of the point P on the axis Ox, x can be positive or negative,
depending on the case √x 2 = +1 if x > 0 and √x 2 = −1 if x < 0.
x x
Note 2:
When x tends towards zero, we approach the center of the disk, the electric field then
tends towards:
⃗E( x ) = 2kπσ⃗ı if x > 0
−2kπσ⃗ı if x < 0
Note 3:
When the radius of the disk R tends to infinity, we obtain an infinite charged plane. The
electric field tends in this case towards:
⃗E( x ) = ±2kπσ⃗ı = ± σ ⃗ı
2ϵ0
38
1 Electrostatics
39
1 Electrostatics
The elementary electric field d⃗E at the point P created by the elementary charge dQ is
written:
k dQ
d⃗E = ( x⃗ı − y⃗ȷ)
H3
The elementary charge dQ is obtained by an elementary variation dy of its position on
the axis Oy:
dQ = λdy
The resulting electric field at the point P will be obtained by integrating y between y A
and y B :
yB
⃗E( P) = k λdy
d⃗E = ( x⃗ı − y⃗ȷ)
yA ( x2 + y2 )3/2
using:
x dy y
= p
( x2 2
+y ) 3/2
x x 2 + y2
40
1 Electrostatics
y dy 1
= −p
( x2 + y2 )3/2 x + y2
2
We finally obtain:
Hdα kλ kλ
cos α = , d⃗E = (sin α⃗ı − cos α⃗ȷ) = d(cos α⃗ı + sin α⃗ȷ)
dy x x
Note: For a rod that is infinite on both sides, we have α1 = −π/2 and α2 = π/2, the
resulting electric field is then:
⃗E( P) = 2kλ⃗ı
x
41
1 Electrostatics
⃗
⃗r = OP/OP
• if P is outside the sphere with OP = R and u
⃗E = kQ/R2 · u⃗r
exactly as if all the charge is a point electric charge placed in the center of the sphere.
We will find this rather remarkable result later using Gauss’ law.
42
1 Electrostatics
Let’s calculate the resulting electric field created by the charges at point O.
The position of the point where the field is calculated (point O) is identified by the
vector ⃗R = ⃗0.
The position M of an elementary charge dQ = λ dx is identified by the vector ⃗r = x⃗ı.
We have MO ⃗ = ⃗R −⃗r = − x⃗ı and ||⃗R −⃗r || =x.
The elementary electric field d⃗E created by the elementary charge dQ is written:
k λdx
d⃗E = − 2 ⃗ı
x
43
1 Electrostatics
The behavior of the electric field when R is very large compared to L is compatible with
Coulomb’s law:
⃗E = −k Q⃗ı
R2
44
1 Electrostatics
45
1 Electrostatics
⃗F ( M) = Q · E(⃗M)
The charge (+ Q) can be moved in space from one point A to point B, following a fixed
path.
46
1 Electrostatics
Let’s calculate the work of the electric force during this movement:
B B
WA→ B (⃗F ) = d⃗l · ⃗F ( M) = Q d⃗l · ⃗E( M)
A A
B
kq
= Q ur · d⃗l )
(⃗
A r2
47
1 Electrostatics
B
1 r =r B
kq
= Q =
dr kqQ −
A r2 r r =r A
1 1
= kqQ − +
rB rA
which can be written in the form of a potential energy difference between the points A
and B:
WA→ B (⃗F ) = − E p (r B ) + E p (r A )
Note that the dot product (⃗ ur · d⃗l ) corresponds to the projection of the displacement
⃗
vector dl on the vector unitary radial, so it is equal to the variation dr of the radius when
moving.
48
1 Electrostatics
kq
E p (r ) = Q · = Q · V (r )
r
V (r ) is called the electric potential created by the charge (+q) at the point in space indicated
by the vector ⃗r = OM. ⃗
The potential at infinity is equal to zero by a good choice of former constant.
49
1 Electrostatics
The work of the electric force can therefore be written as the product of the charge Q
times the electric potential difference between the points A and B:
The unit used in the International System (IS) to measure the electric potential is the
Volt (V).
50
1 Electrostatics
The notations are the same as those used for the calculation of the electric field (see section
1.2):
• the vector ⃗R = X⃗ı + Y⃗ȷ + Z⃗k indicates the position where the potential is calculated,
• the vector ⃗r = x⃗ı + y⃗ȷ + z⃗k indicates the position of the charge which creates the
potential
51
1 Electrostatics
52
1 Electrostatics
Notes:
• The electric potential keeps the same value for any point that is at the same distance
r from the charge.
The potential is therefore constant on the surface of any sphere surrounding the
charge q.
These surfaces where the potential keeps a constant value are called equipotential
surfaces.
• The electric field, at any point on one of these equipotential surfaces, is always
perpendicular to this surface.
k (+q) k (−q)
V ( P) = V1 + V2 = + =0
( x2 + a2 )1/2 ( x2 + a2 )1/2
53
1 Electrostatics
2 k (+q)
V ( P) =
( x2 + a2 )1/2
kq q2
E p = −W∞→ P2 (⃗F ) = E p ( P2 ) − E p (∞) = q2 −V (∞) + V ( P2 ) = 1
r12
B - 3 electric charges
Now suppose that we want to bring back three electrical charges initially at infinity to
place them one next to the other, the total potential energy will be the sum of three
potential energies: E p (q1 ) = 0 to place q1 at a point in space, E p (q2 ) to place q2 in the
54
1 Electrostatics
electric field created by q1 and E p (q3 ) to place q3 in the electric field created by q1 and q2 :
E p ( q1 ) = 0
k q1 q2
E p ( q2 ) = r12 q2 in the field of q1
k q1 q3 k q2 q3
E p ( q3 ) = r13 + r23 q3 in the field of q1 and q2
k q1 q2 kq q kq q
E p = E p ( q1 ) + E p ( q2 ) + E p ( q3 ) = + 1 3+ 2 3
r12 r13 r23
55
1 Electrostatics
1
2∑
Ep = qi V ( qi )
i
56
1 Electrostatics
57
1 Electrostatics
which gives:
B B
V ( B) − V ( A) = dV = − d⃗l · ⃗E(⃗r )
A A
dV = −d⃗l · ⃗E(⃗r )
dV = −d⃗l · ⃗E(⃗r ) = − Ex dx − Ey dy − Ez dz
∂V ∂V ∂V
Ex = − , Ey = − , Ez = −
∂x ∂y ∂z
which gives
⃗E(⃗r ) = − ∂V⃗i − ∂V⃗j − ∂V⃗k
∂x ∂y ∂z
58
1 Electrostatics
⃗ · = ∂ · ⃗i + ∂ · ⃗j + ∂ · ⃗k
∇
∂x ∂y ∂z
∂ 1 x − xi
=− ,···
∂x ||⃗r − ⃗ri || ||⃗r − ⃗ri ||3
and using the definitions of electric field and potential.
In conclusion, we have the following relations:
B
V ( B) − V ( A) = − d⃗l · ⃗E(⃗r )
A
⃗ V (⃗r )
⃗E = −∇
59
1 Electrostatics
60
1 Electrostatics
Field lines and equipotential surfaces are shown in the following figure:
61
1 Electrostatics
62
1 Electrostatics
63
1 Electrostatics
64
1 Electrostatics
65
1 Electrostatics
66
1 Electrostatics
67
1 Electrostatics
68
1 Electrostatics
69
1 Electrostatics
70
1 Electrostatics
it somehow quantifies the ”number” of field lines which crosses this surface.
71
1 Electrostatics
The integration element d⃗S = ⃗n dS represents a vector normal (i.e. perpendicular) to the
surface S. The module dS of this vector represents the area of the associated elementary
surface. The vector ⃗n represents a unit vector normal to the surface, it is by convention
oriented towards the outside of the total surface S.
Example: Consider a uniform electric field ⃗E in the space. The flux of this field through
the next closed surface is:
ΦE = dS n⃗Lat · ⃗E + dS n⃗1 · ⃗E + dS n⃗2 · ⃗E
Lat S1 S2
= dS E cos(π/2) + dS E cos(0) + dS E cos(π ) = 0
Lat S1 S2
72
1 Electrostatics
θ = L/r
It is measured in radians.
For a circle viewed from its center, the associated angle is 2πr/r = 2π.
In infinitesimal form, we can write dθ = dl/r.
Solid angle
We can generalize this notion in space, by defining the solid angle associated with a
surface seen from a point O:
Ω = S/r2
which is measured in steradians.
For a sphere, the closed surface seen from the center is equal at 4πr2 , the solid angle
associated is therefore:
Ω = 4πr2 /r2 = 4π
This also remains true for any closed surface whatever its shape.
In infinitesimal form, we can write dΩ = dS′ /r2 = dS cos θ/r2 :
73
1 Electrostatics
74
1 Electrostatics
kq dS cos θ
= dS 2 cos θ = kq
r r2
Closed surface
q
= kq dΩ = 4πkq =
Closed surface ϵ0
We can therefore state Gauss’s law, for a point charge, in the following form:
q
Φ= d⃗S · ⃗E =
Closed surface ϵ 0
75
1 Electrostatics
We only consider in the sum the charges which are inside the closed surface.
76
1 Electrostatics
Φ= d⃗S · ⃗E = d⃗S · ⃗E − d⃗S · ⃗E = 0 (1.4)
Closed surface S1 S2
77
1 Electrostatics
78
1 Electrostatics
79
1 Electrostatics
80
1 Electrostatics
( )
kQ
r2
if r > R
E=
0 if r < R
Exercise: In the case of a sphere of radius R charged in its volume with a uniform
volume charge density ρ, show that the electric field is given by:
( )
kQ
r2
if r > R
E=
constant · r if r < R
81
1 Electrostatics
82
1 Electrostatics
83
1 Electrostatics
84