Phys202 em 3
Phys202 em 3
Electromagnetism
Lecture 3: Gradient; cylindrical coordinates
Z r
0 0
V (r) ⌘ E(r ) · dl
O
• Note: d𝑞 = 𝜆 d𝑦
Z ??
dy 2x dq
Eline = 2 2 3/2
x̂
? 4⇡✏0 (x + y )
0 1
0
q 2 @hA
Enet =
4⇡✏0 (x2 + h2 )3/2
Continuous Charge Distribution Formula for two charges
0
• The reason that this is possible is that electric field component are related to
each other (we will find that the curl is zero)
✓ ◆ ✓ ◆ ✓ ◆
@T @T @T
dT = dx + dy + dz
@x @y @z
Nabla Operator
• Also called del operator (Griffith) or gradient operator or “grad”
∇ nabla
Greek: harp
<latexit sha1_base64="9XCxUFipRKVuWEdOgo4Xoyq1Skk=">AAACeHicdVHLSsNAFJ3EV62vqstuBquom5IUUTdC0Y1LBdsKTSk305s6OJmEmUmxhn6D/+bOD3Hjykkt4vPCwOGc+5pzw1RwbTzvxXHn5hcWl0rL5ZXVtfWNyuZWWyeZYthiiUjUbQgaBZfYMtwIvE0VQhwK7IT3F4XeGaHSPJE3ZpxiL4ah5BFnYCzVrzwFEkIB9IwGIQ65zNMYjOIPExpEClgepKAMBzH5RLTQAhqMdAoMc6/us3hS/jd7XGT/Lz/aUpSDz7H9Ss2re9Ogv4E/AzUyi6t+5TkYJCyLURomQOuu76WmlxftmUDbPdNoF72HIXYtlBCj7uVT4yZ0zzIDGiXKPmnolP1akUOs9TgObabd707/1AryL62bmei0l3OZZgYl+xgUZYKahBZXoAOukBkxtgCY4nZXyu7AemTsrcrWBP/nl3+DdqPuH9f966Na83xmR4lUyQ45ID45IU1ySa5IizDy6lSdXWfPeXOpu+8efqS6zqxmm3wLt/EOf2TCjw==</latexit>
0 @
1
@x
@ @ @
<latexit sha1_base64="uGPCs7MkO3Tdbwa/fZNpr4aPps8=">AAACcHicfVFbS8MwGE3rfd6qexFUjA5BFEYror4IQ198VHAqrGN8zdItmKYlScVa9uz/880f4Yu/wHSO4ZzsQOBwzvlyOQkSzpR23Q/LnpqemZ2bXygtLi2vrDpr6/cqTiWhdRLzWD4GoChngtY105w+JpJCFHD6EDxdFf7DM5WKxeJOZwltRtARLGQEtJFazpsvIOCAL7DfBZ37QYhfetgPJZDcT0BqBrw3ZIV3hEvDaDYhmo1GXydEjddyKm7V7QOPE29AKmiAm5bz7rdjkkZUaMJBqYbnJrqZFzsSTnslP1U0AfIEHdowVEBEVTPvF9bD+0Zp4zCWZgmN++rviRwipbIoMMkIdFf99QrxP6+R6vC8mTORpJoK8nNQmHKsY1y0j9tMUqJ5ZggQycxdMemCqUWbPyqZEry/Tx4n98dV77Tq3Z5UapeDOubRJtpDB8hDZ6iGrtENqiOCPq2ytWVtW1/2hr1j7/5EbWswU0YjsA+/Ado0vWI=</latexit>
B@C
r = x̂ + ŷ + ẑ r= @ @y A
@x @y @z @
@z
@T @T @T
rT ⌘ x̂ + ŷ + ẑ
@x @y @z Wikipedia
Gradient Using the Nabla Operator
@T @T @T
rT ⌘ x̂ + ŷ + ẑ
@x @y @z
• Calculate:
rT · dl with dl = dx x̂ + dy ŷ + dz ẑ
Gradient: Geometric Interpretation
✓ ◆ ✓ ◆ ✓ ◆
@T @T @T
dT = dx + dy + dz
@x @y @z
dT = rT · dl = |rT ||dl| cos ✓
• Fix step size |dl|: Maximum when 𝜃 = 0; i.e. maximum change in T if we step
in same direction as ∇𝑇
• The magnitude |∇𝑇| gives slope along that direction of maximum increase
Examples
And now?
Saddle point
Examples
𝑓 𝑥, 𝑦, 𝑧 = 𝑥 + 𝑦 + 𝑧 Find the gradient of the magnitude
of the position vector:
The gradient ∇𝑓 is: 𝑟 = 𝑥! + 𝑦! + 𝑧!
(A) (0, 0, 0)
(B) (x, y, z)
(C) (1, 1, 1)
(D) (2, 2, 2)
(E) Nothing of the above
Gradient of the Potential: Point charge
Compute ∇𝑉:
1 Q
V =
4⇡✏0 R
Gradient of the Potential: Point charge
Compute ∇𝑉:
1 Q
1
<latexit sha1_base64="Q26Ct6fs9b9cqoC5/lyuQrckQYE=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Jp8Igd3IZAHAjwl0pn0PIx4UPb4cQ0ttPvguGu730XS896XePDpo4WuQleUXekJTskyPymRyTAeHRYXQRiegy/hBjLGN1PRpHjecF+afi738Au1zXFw==</latexit>
0 1
x
1 Q @ A 1 Q 1 Q
rV = 3
y = 3
R= 2
R̂ = E
4⇡✏0 R 4⇡✏0 R 4⇡✏0 R
z
Electric Potential and Electric Field Z r
V (r) ⌘ E(r0 ) · dl0
• In general: O
Z b
V (b) V (a) = E · dl
a
• And: Z b
Fundamental theorem
V (b) V (a) = (rV ) · dl for gradients
a
! !
U12 = − ∫ F12 ⋅ dl
Dependent on charge
configuration
! !
F12 = q1E2 U12 = q1V2
• Orthonormality not needed, but good choice if possible (sometimes not, e.g. in
general relativity)
Cylindrical Coordinates
• Coordinates s, 𝜃, 𝑧
s
https://brilliant.org/wiki/cylindrical-coordinates/
Cylindrical Coordinates
• Coordinates s, 𝜃, 𝑧
s
✓ˆ = ↵x̂ + ŷ
p
• With ✓ˆ · ✓ˆ = 1 ) ↵2 + 2 = 1 s = x2 + y 2
x = s cos ✓ ⇣y⌘
• With ✓ˆ · ŝ = 0 ) ↵ cos ✓ + sin ✓ = 0
y = s sin ✓ ✓ = tan 1
↵ sin ✓ x
=
cos ✓
ŝ = cos ✓ x̂ + sin ✓ ŷ
• Solved with ↵ = sin ✓ ; = cos ✓
• Finally,
✓ˆ = sin ✓x̂ + cos ✓ŷ
Gradient in
Cylindrical Coordinates
We want to find a similar expression for s
rf = fx x̂ + fy ŷ + fz ẑ p
@f @f @f s = x2 + y 2
x = s cos ✓ ⇣y⌘
= x̂ + ŷ + ẑ
@x @y @z y = s sin ✓ ✓ = tan 1
x
ŝ = cos ✓ x̂ + sin ✓ ŷ
𝑧 𝑥, 𝑦, 𝑧 = 𝑧
=1
Gradient in Cylindrical Coordinates:
The Hard Way
@f @f @f
rf = x̂ + ŷ + ẑ
@x @y @z
x = s cos
y = s sin
p
s = x2 + y 2
⇣y⌘
= tan 1
x
Gradient in Cylindrical Coordinates:
The Hard Way rf =
@f
@x
x̂ +
@f
@y
ŷ +
@f
@z
ẑ
x = s cos
y = s sin
p
s = x2 + y 2
⇣y⌘
= tan 1
x
Gradient in Cylindrical Coordinates:
The Hard Way rf =
@f
@x
x̂ +
@f
@y
ŷ +
@f
@z
ẑ
x = s cos
y = s sin
p
s = x2 + y 2
⇣y⌘
= tan 1
x
Gradient in Cylindrical Coordinates:
The Hard Way rf =
@f
@x
x̂ +
@f
@y
ŷ +
@f
@z
ẑ
x = s cos
y = s sin
p
s = x2 + y 2
⇣y⌘
= tan 1
x
cos ✓ sin 1 1
sin cos
s s ŝ = cos x̂ + sin ŷ
ŝ
1ˆ ˆ= sin x̂ + cos ŷ
✓
s
Gradient in Cylindrical Coordinates
Quick Check
What is the gradient of 𝑓 = 𝑠 cos 𝜙?
(A) (1, 0, 0)
(B) (1, 𝑠 sin 𝜙)
(C) (cos 𝜙, 𝑠 sin 𝜙)
(D) (cos 𝜙, sin 𝜙)
(E) Something else
Summary
• Gradient allows to calculate electric field/force from electric potential/potential
energy
• Change of coordinate system can be helpful to use symmetry of problem
• In electrodynamics, we often encounter cylindrical (wires) or spherical symmetry
(point charges, spherical charge distributions)
• Cylindrical coordinates were introduced
• Derivation of gradient in cylindrical coordinates
Course Overview (first 6 weeks)
• Electrostatics Vector Analysis:
o Coulomb law
o Electric forces, fields, potential and potential energy • Gradient
o Continuous charge distributions, dipoles • Cylindrical and spherical
o Gauss Law; differential form coordinates
o Poisson and Laplace equations • Line, surface and volume
• Electric Fields in Matter integrals
o Polarization and displacement vector • Divergence
• Magnetostatics • Product rules
o Continuity equation • Divergence theorem
o Biot-Savart law • Dirac delta-function in 1
o Ampère’s law
and 3 D
o Curl and div of magnetic fields
• Curl
• Electrodynamics • Stokes theorem
o EM inductance
• Helmholtz theorem
o Lenz’s law
o Maxwell equations
Questions?
Next Time
• Spherical coordinates
• Gauss Law