BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Fields: scalar, vector, gravitational and electric

Electricity and magnetism are described by fields: a quantity at every point of space, created by one object and felt by another. A scalar field gives a number at each point (a temperature), a vector field a vector (a wind velocity). Fluid flows show the two basic patterns, sources and sinks (divergence) and circulation (curl). Vector fields are drawn as arrows on a grid, as field lines, or as 'grass seeds'. The gravitational field of a mass M is g = −GM r̂/r², and a mass m in it feels mg. In the same way a charge q creates the electric field E = k_e q r̂/r² (Coulomb's law), a charge q₀ in it feels q₀E, and the fields of several charges add.

You need this first

Full reading path (23 pages)
  1. Vectors (8.01)
  2. Position and velocity in one dimension (8.01)
  3. Acceleration in one dimension (8.01)
  4. Motion in two dimensions and projectiles (8.01)
  5. Newton's laws of motion (8.01)
  6. The universal law of gravitation (8.01)
  7. Vectors and the dot product (18.02)
  8. Determinants and the cross product (18.02)
  9. Planes through three points, and matrices (18.02)
  10. Equations of planes and square systems (18.02)
  11. Parametric equations of lines and the cycloid (18.02)
  12. Velocity, acceleration and Kepler's second law (18.02)
  13. Functions of two variables and partial derivatives (18.02)
  14. Tangent planes, critical points and least squares (18.02)
  15. The second derivative test (18.02)
  16. Differentials and the chain rule (18.02)
  17. The gradient and directional derivatives (18.02)
  18. Lagrange multipliers (18.02)
  19. Non-independent variables (18.02)
  20. Double integrals (18.02)
  21. Double integrals in polar coordinates, and their uses (18.02)
  22. Change of variables in double integrals (18.02)
  23. Vector fields and line integrals (18.02)
On this page · 8 sections
  1. Action at a distance and fields
  2. Scalar fields
  3. Vector fields and fluid flow
  4. Drawing vector fields
  5. The gravitational field
  6. Electric charge and Coulomb's law
  7. The electric field
  8. Summary

8.02 (Electricity and Magnetism) is taught at MIT in the "TEAL" studio format: groups at tables, desktop experiments and visualizations instead of large lectures (slides 8–11). It uses the mathematics of 18.02, gradients, line, surface and volume integrals, but the concepts matter more than the techniques (slides 19–22). Of the four fundamental forces, gravity (8.01) is long-range, the strong and weak forces are short-range, and the slides place electromagnetism in the middle ("mid range"; strictly its reach is unlimited too, but matter is usually neutral, so it rarely acts over large distances). 8.02 is about electromagnetism, and about a new way of thinking: fields (slides 24–25).

Action at a distance and fields#

Newton's gravity and Coulomb's electric force were first understood as action at a distance: two bodies attract or repel simply because they are there, instantly, through empty space (course notes, Section 1.1, p. 1). In field theory each body instead changes the space around it, and that "field" passes the force along, point by point and at a finite speed, to the other body (Section 1.1, pp. 1–2). The theory took its classic form in Maxwell's Treatise on Electricity and Magnetism of 1873, built on Faraday's ideas; classical electromagnetism was the first field theory (Section 1.1, pp. 1–2).

Scalar fields#

A scalar field gives one number at every point of space, for example a temperature T(x,y,z)T(x, y, z) (course notes, Section 1.2, p. 3; slides 27, 29). A map of night-time temperatures on Mars shows such a field on a surface, but a scalar field really lives in three dimensions: the atmosphere's temperature also changes with height (Section 1.2, pp. 2–3; slide 29).

Since three dimensions are hard to draw, one fixes a coordinate, say z=0z = 0, and shows the rest as a contour map (curves of equal value), a colour map, or a relief map, with the value as height (Section 1.2.1, pp. 4–6; slide 28).

Vector fields and fluid flow#

A vector field gives a vector, a size and a direction, at every point: the wind velocity is an example (course notes, Section 1.3, pp. 6–7; slide 30). In components (Section 1.4, p. 7):

A vector field
F⃗(x,y,z)=Fx(x,y,z) i^+Fy(x,y,z) j^+Fz(x,y,z) k^\vec F(x, y, z) = F_x(x, y, z)\,\hat i + F_y(x, y, z)\,\hat j + F_z(x, y, z)\,\hat k
In words

vector F (x, y, z) equals F sub x (x, y, z) i hat plus F sub y (x, y, z) j hat plus F sub z (x, y, z) k hat

Each component is itself a scalar field. Fluid flows are the easiest vector fields to picture (Section 1.4, p. 7; slide 31). Two kinds of behaviour appear:

  • Sources and sinks: fluid appears at a point and flows away (a diverging flow), or flows in and disappears. In 18.02 language, the divergence is positive at a source and negative at a sink; a flow with zero divergence is incompressible (Section 1.4, pp. 7–9; slides 32–33).
  • Circulation: fluid going round in circles, with nothing created or destroyed: non-zero curl and zero divergence (Section 1.4, pp. 9–10; slide 34).

The course notes state the plan for the whole course (Section 1.4, p. 10): static electric fields will turn out to be curl-free, like sources and sinks, and magnetic fields divergence-free, like circulations; only fields that change in time give electric fields with both, while magnetic fields stay divergence-free. In general any vector field is the sum of a curl-free part and a divergence-free part.

Electric and magnetic fields are not flows of anything. We still borrow the words, the "flux" of the electric field through a surface, the "circulation" of the magnetic field around a loop, because they help intuition; the analogy has limits (Section 1.4.1, p. 11).

Drawing vector fields#

There are three ways (course notes, Section 1.8, pp. 15–18; slide 35):

  1. Arrows on a grid, pointing along the field, with length or colour showing its size (or showing direction only).
  2. Field lines, which Faraday called lines of force: start anywhere and keep moving a short step along the local field. A field line is tangent to the field at every point, and two field lines never cross, since the field would then have two directions at one point (Section 1.8.2, pp. 16–17; slide 36).
  3. "Grass seeds" (for magnetic fields, "iron filings"): a texture of short streaks along the field, the way grass seeds line up in a strong electric field. It gives the densest picture of the field's shape, but shows only the line of the field, not which way along it the field points (Section 1.8.3, pp. 17–18; slide 38).

What is between the field lines? More field lines that were not drawn: the field fills the space continuously (Section 1.8.3, p. 18).

The gravitational field#

Newton's law of gravitation for masses MM and mm a distance rr apart, with r^\hat r the unit vector from MM towards mm (course notes, Section 1.5, pp. 11–12; slide 42):

Newton's law of gravitation
F⃗g=−G Mmr2 r^\vec F_g = -G\,\frac{Mm}{r^2}\,\hat r
In words

vector F sub g equals minus capital G capital M m over r squared, times r hat

with G=6.67×10−11G = 6.67 \times 10^{-11} N m²/kg². The gravitational field of MM is the force per unit mass on a small test mass (Section 1.5, p. 12; slides 42–43):

Gravitational field
g⃗=F⃗gm=−G Mr2 r^\vec g = \frac{\vec F_g}{m} = -G\,\frac{M}{r^2}\,\hat r
In words

vector g equals vector F sub g over m equals minus capital G capital M over r squared, times r hat

Source: 8.02T Course Notes, Chapter 1: Introduction to Fields (Liao, Dourmashkin and Belcher), Sections 1.1–1.6, 1.8, Eq. (1.5.2), p. 12; slide 42

It points towards MM. The field is created by MM and felt by mm, as the force F⃗g=mg⃗\vec F_g = m\vec g (slide 43). Near the Earth's surface it is nearly constant, of size g=GM/RE2≈9.8g = GM/R_E^2 \approx 9.8 m/s² (Section 1.5, p. 12). A mass does not have to move along the field: thrown sideways, it follows a parabola (Section 1.5, p. 13).

Electric charge and Coulomb's law#

Electric charge plays the part of mass, with differences (slides 46–47; course notes, Section 1.6, p. 13):

  • There are two kinds, positive and negative; like charges repel, opposite charges attract.
  • Charge is measured in coulombs (C). The electron has charge −e-e and the proton +e+e, with e=1.602×10−19e = 1.602 \times 10^{-19} C; every charge is a whole multiple of ee (charge is quantized), and the total charge never changes (charge is conserved).

The force of a charge q1q_1 on a charge q2q_2, with r^\hat r the unit vector from q1q_1 to q2q_2 (slide 48):

Coulomb's law
F⃗12=ke q1q2r2 r^,ke=14πε0≈8.99×109 N m2/C2\vec F_{12} = k_e\,\frac{q_1 q_2}{r^2}\,\hat r, \qquad k_e = \frac{1}{4\pi\varepsilon_0} \approx 8.99 \times 10^9\ \text{N m}^2/\text{C}^2
In words

vector F one two equals k e q one q two over r squared, times r hat, k e equals 1 over the quantity 4 pi epsilon nought, is approximately 8.99 times 10 to the power 9 newton metres squared over coulombs squared

It is an inverse-square law like gravity, but it can attract or repel (Section 1.6, p. 13). With several charges, the force on one of them is the vector sum of the forces from all the others: the superposition principle (slide 50).

The electric field#

The electric field at a point is the force on a small test charge q0q_0 placed there, divided by q0q_0. For a point charge qq (course notes, Section 1.6, p. 13; slide 51):

Electric field of a point charge
E⃗=F⃗eq0=ke qr2 r^\vec E = \frac{\vec F_e}{q_0} = k_e\,\frac{q}{r^2}\,\hat r
In words

vector capital E equals vector F e over q nought equals k e q over r squared, times r hat

Source: 8.02T Course Notes, Chapter 1: Introduction to Fields (Liao, Dourmashkin and Belcher), Sections 1.1–1.6, 1.8, Eq. (1.6.2), p. 13; slide 51

measured in newtons per coulomb. It points away from a positive charge and towards a negative one (Section 1.6, p. 13). The charge qq creates E⃗\vec E; another charge q0q_0 feels the force F⃗=q0E⃗\vec F = q_0\vec E (slide 53). And by superposition, the field of many charges is the vector sum of their fields (slide 52):

Superposition
E⃗total=E⃗1+E⃗2+⋯=∑i=1NE⃗i\vec E_{\text{total}} = \vec E_1 + \vec E_2 + \cdots = \sum_{i=1}^{N} \vec E_i
In words

vector capital E total equals vector capital E one plus vector capital E two plus and so on equals the sum from i equals 1 to N of vector capital E initial

Worked example

Two fields with numbers

(a) Find gg at the Earth's surface from G=6.67×10−11G = 6.67 \times 10^{-11} N m²/kg², M=5.97×1024M = 5.97 \times 10^{24} kg and RE=6.37×106R_E = 6.37 \times 10^6 m. (b) A charge q1=+2 μq_1 = +2\ \muC sits at the origin and q2=−1 μq_2 = -1\ \muC at (0.3,0)(0.3, 0) m. Find the electric field at P=(0,0.4)P = (0, 0.4) m.

(a) Gravity

g=GM/RE2=(6.67×10−11)(5.97×1024)/(6.37×106)2≈9.81g = GM/R_E^2 = (6.67 \times 10^{-11})(5.97 \times 10^{24})/(6.37 \times 10^6)^2 \approx 9.81 m/s².

(b) The field of each charge

q1q_1 is 0.4 m below PP, so E⃗1\vec E_1 points straight up: keq1/r2=(8.99×109)(2×10−6)/0.16≈1.12×105k_e q_1/r^2 = (8.99 \times 10^9)(2 \times 10^{-6})/0.16 \approx 1.12 \times 10^5 N/C. q2q_2 is 0.32+0.42=0.5\sqrt{0.3^2 + 0.4^2} = 0.5 m away; its field points towards it, along ⟨0.6,−0.8⟩\langle 0.6, -0.8\rangle, with size (8.99×109)(10−6)/0.25≈3.60×104(8.99 \times 10^9)(10^{-6})/0.25 \approx 3.60 \times 10^4 N/C.

(b) Adding

E⃗=⟨0,1.124⟩×105+⟨2.16,−2.88⟩×104≈⟨2.16×104, 8.36×104⟩\vec E = \langle 0, 1.124\rangle \times 10^5 + \langle 2.16, -2.88\rangle \times 10^4 \approx \langle 2.16 \times 10^4,\ 8.36 \times 10^4\rangle N/C, of size about 8.6×1048.6 \times 10^4 N/C.

Summary#

Symbols on this page

Show the 44 symbols used here
ε\varepsilon epsilon.
Written ε₀: the electric constant. Say it: “epsilon”.
μ\mu mu.
The prefix micro, one millionth: 1 μC = 10⁻⁶ C. Say it: “mu” (sounds like “myoo”).
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⟨\langle angle brackets.
The average (mean value) of what is inside, ⟨…⟩. Say it: “the average of”.
∑\sum sum.
Sum: add up the terms over the range written below and above. Say it: “the sum of”.
v⃗\vec v vector arrow.
A vector: a quantity with a size and a direction. Say it: “vector”.
zz z.
The z coordinate. Say it: “z”.
GG G.
Newton's gravitational constant, G ≈ 6.674 × 10⁻¹¹ m³ kg⁻¹ s⁻². Unit: m³/(kg·s²). Say it: “capital G”.
TT T.
Temperature, as a scalar field T(x, y, z). Unit: K. Say it: “T”.
xx x.
The x coordinate. Say it: “x”.
yy y.
The y coordinate. Say it: “y”.
ee e.
The elementary charge, 1.602 × 10⁻¹⁹ C: the charge of a proton, minus that of an electron. Unit: C. Say it: “e”.
mm m.
A small mass placed in a gravitational field. Unit: kg. Say it: “m”.
gg g.
The gravitational field (force per unit mass); g is its size near the Earth's surface, about 9.8 m/s². Say it: “g”.
FF F.
A vector field; also a force. Say it: “F”.
vv v.
A velocity field. Say it: “v”.
rr r.
The distance between two masses or two charges. Unit: m. Say it: “r”.
PP P.
The point where the field is computed. Say it: “P”.
qq q.
An electric charge that creates a field. Unit: C. Say it: “q”.
NN N.
The number of charges. Say it: “N”.
MM M.
The mass that creates the gravitational field, such as the Earth. Unit: kg. Say it: “capital M”.
FgF_{g} gravitational force.
The gravitational force on the mass m. Unit: N. Say it: “F sub g”.
FxF_{x} F x.
The x component of the vector field F, itself a scalar field. Say it: “F sub x”.
RER_{E} radius of the Earth.
The radius of the Earth. Unit: m. Say it: “capital R sub E”.
EE E.
The electric field: force per unit charge on a small test charge. Unit: N/C. Say it: “capital E”.
i^\hat{i} i hat.
Unit vector in the x direction: length 1, pointing towards increasing x. Say it: “i hat”.
j^\hat{j} j hat.
Unit vector in the y direction: length 1, pointing towards increasing y. Say it: “j hat”.
k^\hat{k} k hat.
Unit vector in the z direction: length 1, pointing towards increasing z. Say it: “k hat”.
r^\hat{r} r hat.
The radial unit vector: length 1, pointing away from the origin. Say it: “r hat”.
E1E_{1} E one.
The electric field of the first charge. Unit: N/C. Say it: “capital E one”.
E2E_{2} E two.
The electric field of the second charge. Unit: N/C. Say it: “capital E two”.
FyF_{y} F y.
The y component of the vector field F. Say it: “F sub y”.
FzF_{z} F z.
The z component of the vector field F. Say it: “F sub z”.
EiE_{i} E i.
The electric field of the i-th charge. Unit: N/C. Say it: “capital E initial”.
ε0\varepsilon_{0} epsilon nought.
The electric constant (vacuum permittivity), with k_e = 1/(4πε₀). Say it: “epsilon nought”.
F12F_{12} F one two.
The force of charge q₁ on charge q₂. Unit: N. Say it: “F one two”.
kek_{e} k e.
Coulomb's constant, about 8.99 × 10⁹ N m²/C². Unit: N m²/C². Say it: “k e”.
q1q_{1} q one.
The first charge. Unit: C. Say it: “q one”.
q2q_{2} q two.
The second charge. Unit: C. Say it: “q two”.
FeF_{e} F e.
The electric force on a test charge. Unit: N. Say it: “F e”.
q0q_{0} q nought.
A small test charge used to measure the electric field. Unit: C. Say it: “q nought”.
EtotalE_{\text{total}} E total.
The total electric field of several charges. Unit: N/C. Say it: “capital E total”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 37 words used here

New here

action at a distance.
The old idea that bodies push or pull each other instantly across empty space, with nothing in between passing the force along.
field theory.
A description of nature in which forces travel from point to point through fields, at a finite speed, instead of jumping across empty space.
scalar field.
A quantity that has a single number, with no direction, at every point of space, such as the temperature in a room.
contour map.
A flat map of a function of two variables, drawing the curves along which it keeps one value, like height lines on a hiking map.
vector field.
A rule that attaches an arrow, with a size and a direction, to every point of space, such as the wind velocity at each place.
circulation.
How much a field or flow goes round a closed loop: the part of the field along the loop, added up all the way round.

Also used

MIT.
Massachusetts Institute of Technology: the university in Cambridge, USA, whose free courses this site rewrites.
gradient.
The vector of a function's partial derivatives; it points the way the function increases fastest, and its length is that fastest rate. Explained in Graphs, straight lines and slope.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
field.
Something that has a value at every point of space, such as the temperature, the wind velocity or the electric field at each place. Explained in Newton's law of gravitation.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
dimension.
The number of independent directions in a space: one for a line, two for a plane, three for ordinary space. Explained in Position and velocity in one dimension.
vector.
A quantity with both a size and a direction, such as a velocity or a force, drawn as an arrow. Explained in Vectors.
velocity.
How fast and in which direction something moves: the change in position in each unit of time. Explained in Speed and velocity.
diverge.
To spread out or move apart from one another, as lines leaving a point or paths that start close together. Explained in Flux and the normal form of Green's theorem.
divergence.
A measure of how much a vector field spreads out from each point: the amount flowing out of a tiny region per unit size. Explained in Flux and the normal form of Green's theorem.
incompressible.
Of a fluid: one whose volume cannot be squeezed smaller, so a given mass always takes up the same space, as water nearly does. Explained in The divergence theorem, its proof and the diffusion equation.
electric field.
The electric push or pull at each point of space, given as the force on each coulomb of charge placed there. Explained in The electric field.
magnetic field.
The field made by magnets and moving charges, which pushes sideways on other moving charges and turns compass needles. Explained in Magnetic fields and magnetic force.
flux.
How much of a field, or of a flow of matter or energy, passes through a surface (per second, for a flow). Explained in Towards the universe: what starlight tells us.
field lines.
Curves drawn so that at every point they run along the field; where they crowd together the field is strong. Explained in The electric field.
tangent.
A straight line that touches a curve at a point and runs in the same direction as the curve there. Explained in Angles, radians and trigonometry.
continuous.
Without breaks, gaps or jumps: a continuous graph can be drawn without lifting the pen; a continuous quantity can take every value in a range. Explained in The rocket equation.
unit vector.
A vector of length one, used only to point in a direction. Explained in Newton's law of gravitation.
gravitational field.
The pull of gravity at each point of space, given as the force on each kilogram of mass placed there. Explained in The electric field.
test body.
An idealised body so small and light that it does not disturb the gravity around it, with no charge, size or spin. Explained in Tensor densities, covariant divergences and the geodesic equation.
parabola.
The U-shaped curve of y = ax² + bx + c, also the path of a thrown ball when air resistance is ignored. Explained in Quadratics and power laws.
coulomb.
The SI unit of electric charge: the charge carried past a point in one second by a current of one ampere. Explained in Electric charge.
quantized.
Coming only in whole-number multiples of a smallest amount, or in a set of separate allowed values, never anything in between. Explained in Electric charge.
conserved.
Keeping the same total value as time passes, as energy and momentum do when nothing outside changes them. Explained in Conservation of energy.
inverse-square law.
A rule in which an effect falls off as one over the distance squared: twice as far gives a quarter of the effect. Explained in Newton's law of gravitation.
superposition.
Adding effects: the total force, field or wave from several sources is the sum of what each would give alone. Explained in Superposition and standing waves.
galaxy.
A huge system of stars, gas and dust, from thousands to over a trillion stars, held together by gravity inside a dark matter halo. Explained in Towards the universe: weighing the Sun and the Galaxy with orbits.

Academic

theory.
An organised body of ideas, laws and methods about a subject: a tested explanation of nature, or a branch or method of mathematics.
treatise.
A long, formal written work covering a subject in full.
intuition.
A feeling for what should be true, built from experience, before working it out.
analogy.
A comparison that explains one thing by pointing to a similar, better-known one.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

31 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. Which of these is a vector field?
  2. Why can two field lines never cross?
  3. The electric field of a charge qq at distance rr is E⃗=keq r^/r2\vec E = k_e q\,\hat r/r^2. At twice the distance it is…
0 of 3 answered

Flashcards

1 / 3