Notes
1P3 Physical Principles of Electronics · Topic 1

Vectors, coordinate systems and Coulomb's law

Lecture 1 · Thu 8 Oct

A teensy bit about vectors…

  • Fields, forces and fluxes have a direction, so in general they need vector notation.
  • In this course the symmetry of the system usually removes the need for vectors.
  • When vectors are used they are printed bold, or handwritten with a hat, arrow or squiggle. For example, the electric field is or .
Explanation Does a hat mean a vector or a unit vector?

In this handout a hat only marks “this is a vector”. In the 1P4 maths course and many textbooks a hat means a unit vector (). This course gives unit vectors their own letters instead: , , .

In handwritten exam answers, underline every vector (the squiggle). Then can never be confused with its magnitude .

Vectors: magnitude, direction and unit vectors

A scalar has only a size. A vector has both magnitude and direction. The magnitude of is a scalar, written or .

Definition Unit vector

The unit vector along has magnitude one () and the same direction as :

The magnitude carries the size and the unit vector carries the direction.

E length E = |E| eE (length 1)

points the same way as but has length 1.

Figure A vector and its unit vector

A vector can be written in any suitable co-ordinate system as a set of components. In Cartesian co-ordinates, is :

Equation Cartesian components and vector addition memorise

Here are the unit vectors along the axes. To add vectors, add them component by component.

Show derivation

Any vector is the sum of its projections along the three perpendicular axes (go along , then along , then along , head to tail). For the sum, write both vectors this way and regroup, which vector addition allows (it is commutative and associative, and ):

Vectors obey the normal algebraic rules. Multiplication is the special case: two vectors can form a scalar (dot) product or a vector (cross) product.

Explanation How do I get the magnitude and unit vector from components?

By Pythagoras in 3D:

You need this whenever you add several vectors (e.g. forces or fields from several charges) and are asked for the size and direction of the total.

  • Vector = magnitude × unit vector: , with .
  • Add vectors component by component; magnitude .
  • There are two vector products: dot (gives a scalar) and cross (gives a vector).

The dot (scalar) product

Equation Dot (scalar) product memorise

is the angle between and . The result is a scalar.

Where it comes from

A definition. It is useful because it gives the component of one vector along another ( is the part of along ). In components it equals (Maths: Scalar product in components; databook maths p16).

  • If then : perpendicular vectors have zero dot product.
  • The dot product tells you how much of lies along : the component of along is .
  • This is the basis of flux: only the part of a field along the chosen direction counts.
Watch out

is measured with the two vectors placed tail to tail. If the drawn vectors don’t start at the same point, extend their lines back until they meet (the handout’s second sketch). Don’t measure the angle tip-to-tail.

Interactive figure

Drag and watch the thick blue bar: it is the component of along . At it vanishes. Beyond it points backwards, so the dot product is negative.

Figure Dot product as a projection
Explanation How do I compute a dot product from components?

For Cartesian components,

Use this when the vectors are given as components and is unknown. Equating it with gives the angle. The product is symmetric: .

Explanation Where does this show up later?

Flux through a surface is (databook p12). points along the surface normal, so the dot product keeps only the part of that actually passes through the surface. Field lying along the surface contributes nothing.

  • is the angle with the vectors tail to tail.
  • Perpendicular vectors give 0. Use the dot product for “how much of is along ” (flux).
  • Components: .

The cross (vector) product

  • Two vectors and (placed tail to tail) span a plane: the parallelogram they form. The handout calls this the plane of incidence (PoI).
  • The cross product is a vector normal to that plane, i.e. orthogonal (at ) to both and .

Cross product: normal to the plane of incidence

Equation Cross (vector) product memorise

is the unit vector normal to the plane of incidence. Its sense is given by the right-hand rule, turning from to .

Where it comes from

A definition (databook maths p16). It is useful because it gives a vector perpendicular to both, with magnitude equal to the area of the parallelogram they span; moments and magnetic forces have exactly this form. Components: Vector product in components.

Watch out

Order matters: . Swapping the order reverses the direction: .

Interactive figure

Drag to rotate. The green parallelogram is the plane of incidence and is its unit normal. Change : the length of the product equals the parallelogram’s area and is largest at . Tick the box to see point the opposite way.

Figure Cross product: normal to the plane of E and H
Right-hand rule

Index finger along , middle finger along : the thumb points along .

Figure Right-hand rule
Explanation How do I compute a cross product from components?

Write it as a determinant and expand along the top row (3 × 3 determinant (top-row expansion)):

Quick check: the result must have zero dot product with both and .

Explanation When is a cross product zero, and what does its size mean?
  • is the area of the parallelogram spanned by and .
  • Parallel or antiparallel vectors ( or ) give zero. In particular .
  • Compare the dot product, which is largest when the vectors are parallel and zero when they are perpendicular. The cross product does the opposite.
  • The cross product is a vector normal to the plane containing both vectors. Its direction comes from the right-hand rule (index , middle , thumb ).
  • Its magnitude is the parallelogram area. Parallel vectors give 0.
  • Components: use the determinant with in the top row.

The true skill of an engineer is to avoid vectors…

Choose the geometry so that symmetry fixes the direction of the field. A vector problem then becomes a scalar one: one magnitude, depending on one co-ordinate.

Introduction to co-ordinates

  • The key to any electromagnetic problem: use the correct symmetry to simplify the maths (and avoid vectors).
  • This is done by choosing the right co-ordinate system to match the geometry.
geometry co-ordinate system
planes (sheets, parallel plates) Cartesian
wires, lines of charge, rods, tubes circular cylindrical
balls, point charges, spheres spherical
  • Match co-ordinates to geometry: planes → Cartesian; wires/lines/tubes → cylindrical; points/balls/spheres → spherical.
  • Aim: symmetry leaves one field component that depends on one co-ordinate.

Cartesian co-ordinates (x, y, z)

Definition Cartesian co-ordinates

Also called rectangular co-ordinates. , , form a right-handed orthogonal set about the origin . The unit vectors along the axes are , also written .

z y x ez ey ex

Axes from the origin with their unit vectors (, , ).

Figure Right-handed Cartesian axes

“Right-handed” means by the right-hand rule. Cartesian co-ordinates suit problems built from planes.

  • Right-handed: ; are the same as .
  • Use for planar geometry (sheets, parallel plates).

Circular cylindrical co-ordinates (r, φ, z)

Used for problems built around wires or single lines of charge. A point is fixed by:

  • : its distance from the -axis (the radius vector gives distance and direction out from the axis);
  • : the azimuthal angle, measured in the -plane from the -axis;
  • : its height, as in Cartesian.
Equation Cylindrical ↔ Cartesian memorise
Show derivation

Drop a perpendicular from the point to the -plane. Its foot is a distance from the -axis at angle from the -axis, so by right-angled-triangle trigonometry and ; the height is the same in both systems. Inverting: , and . (Choose the quadrant of from the signs of and .)

Interactive figure

Drag to rotate. is measured from the -axis, at the height of . Change : and stay the same and slides up the dashed cylinder. Push past and compare with .

Figure Cylindrical co-ordinates of a point
Explanation Distance from the origin or from the axis?

In cylindrical co-ordinates is the perpendicular distance from the -axis, not from the origin. The distance from the origin is .

So the same letter means different things in cylindrical and spherical co-ordinates. Always check which system a question is using.

Explanation Why does tan⁻¹(y/x) sometimes give the wrong φ?

only returns angles between and . The point gives , but its true azimuth is .

Always sketch the point and pick the quadrant from the signs of and . Add when .

  • = distance from the -axis (not the origin); = azimuth from the -axis; as in Cartesian.
  • Use for wires and lines of charge.
  • is wrong by when : check the quadrant with a sketch.

Spherical co-ordinates (r, θ, φ)

Used for balls, point charges and spheres. A point is fixed by:

  • : its distance from the origin (the radius vector points from the origin to );
  • : the zenithal angle, measured down from the -axis;
  • : the azimuthal angle, the same as in cylindrical co-ordinates.
Equation Spherical ↔ Cartesian memorise
Show derivation

The point is a distance from O, at angle from the -axis. In the vertical plane through the -axis and the point: the height is and the distance from the -axis is . That distance plays the role of the cylindrical in Cylindrical ↔ Cartesian, so and .

Inverting: ; ; as before.

Interactive figure

Drag to rotate. The green arc is , measured from ; the orange arc is , measured in the -plane. Take past (): the formula then gives a negative angle instead of .

Figure Spherical co-ordinates of a point
Explanation Which angle is which, and what range does each cover?
  • runs from (on the -axis) to (on the -axis).
  • runs from to around the -axis.
  • is the distance from the -axis: it is the cylindrical . That is why and both contain .

For use rather than the form, which gives a negative angle there.

  • is measured from the -axis (zenithal, to ); is the azimuth as in cylindrical.
  • here is the distance from the origin; is the distance from the axis.
  • Use for point charges, balls and spheres.

Balls 101 (how to draw)

To sketch a sphere so that it reads as 3D:

  • draw a circle;
  • add a dotted equator (the front half of an ellipse);
  • add a dotted meridian (half an ellipse from pole to pole);
  • add a small highlight (the “dink”).
dink

Circle, dotted equator, dotted meridian and a highlight.

Figure How to draw a sphere

Basic recipe for success…

Most electromagnetic problems are very similar. There are few rules to remember; the difficulty is usually hidden in the geometry. Once that is decoded, the rest is just maths.

Result Recipe for electromagnetic problems memorise
  1. Read the problem carefully. What are they asking for? Work backwards to a known chain. For example, to find capacitance: charge → Gauss → → → → capacitance.
  2. Evaluate the geometry: line, sphere, tube, mirror symmetry.
  3. Choose the relevant relationship: Coulomb, Gauss, virtual work, Biot–Savart, Ampère.
  4. Choose the material properties: vacuum (air), dielectric or metal.
  5. Solve the maths.
Explanation Why does the capacitance chain go that way round?

Capacitance is . You cannot measure without knowing the field. So:

  1. assume a charge ;
  2. use Gauss (with the symmetry from step 2) to get ;
  3. use the material to get ;
  4. integrate between the conductors to get ;
  5. divide: .

The hint appears because, for a line of charge, . Integrating it gives a logarithm.

  • Steps: what is asked → geometry/symmetry → law (Coulomb, Gauss, virtual work, Biot–Savart, Ampère) → material (vacuum/air, dielectric, metal) → maths.
  • Capacitance: Gauss .
  • .

Charges and Coulomb’s law

Definition Electrostatics

Electrostatics deals with charges that are fixed: stationary or trapped. Charge that moves is current.

  • Charge and charge movement (current) are among the most important ideas in electromagnetics.
  • One simple picture: charge is an imbalance in the electronic structure of a material.
  • Charges play a role similar to mass in gravity: they are the source of a force between bodies.
Equation Charge of the electron databook p.4

The electron charge is the natural unit of charge. The lecturer rounds it to C.

Where it comes from

A measured constant (first measured by Millikan’s oil-drop experiment, 1909): every charge found in nature is a whole multiple of C. The value is in the databook (electrical p4).

Explanation Why is e negative here?

The databook (like this handout) gives as the electron’s charge, which is negative. Many other sources use for the positive elementary charge.

When you need a magnitude (e.g. the force on an electron), use C. Put the sign in by thinking about attraction or repulsion.

  • Electrostatics: charges fixed (stationary or trapped). Charges moving = current.
  • C (databook); use for magnitudes.

Charge in insulators and conductors

  • Insulators (e.g. dielectrics): charge motion is restricted within the material. An imbalance of electrons across the molecules can still give a net overall charge. An asymmetric charge arrangement within the material is called polarisation.
  • Conductors: charges are free to move throughout the material, leading to currents.
  • In electrostatics we always assume that all the charges have finished moving.
  • Insulator: charges cannot move far. Conductor: charges move freely (current).
  • Electrostatics = the final state, after all charges have stopped moving.

Forces between charges: repel and attract

Interacting charges produce forces and force fields, such as and .

Result Like charges repel, unlike charges attract memorise
  • Charges of the same sign repel.
  • Charges of opposite sign attract.
Where it comes from

An experimental observation (e.g. two rubbed glass rods push each other away, a rubbed glass rod and a rubbed amber rod pull together). Coulomb's law builds it in: gives a positive (repulsive) force, a negative (attractive) one.

Same sign: repel − − Opposite sign: attract − +

The force on each charge acts along the line joining them.

Figure Repulsion and attraction

These forces would normally make charges move. In electrostatics the charges are assumed stationary (or trapped). Once they move, we have current.

Charge distribution in insulating materials

In an insulator (e.g. plastics, most ceramics), charge is spread throughout the volume of the material.

  • We normally assume it is uniformly distributed through the volume.
  • This may not always be the case; the question will say if it isn’t.
  • Insulator: charge throughout the volume, usually assumed uniform.

Charge distribution on conductors

Result Charge on a conductor memorise

In a conductor (e.g. a metal), the charge is assumed to be uniformly distributed on the surface. There is no charge inside, whether the conductor is solid or hollow.

Show derivation

In a conductor charges are free to move. Like charges repel (Like charges repel, unlike charges attract), so any excess charge pushes itself as far apart as it can, which means onto the outer surface. Once nothing moves any more there can be no field inside the metal (a field would push the free charges along). Then Gauss's law (next lecture) on any closed surface inside the metal encloses no net charge: there is no charge inside, solid or hollow. (“Uniformly” is exact for a sphere; on other shapes the charge gathers more at sharp points.)

  • Static metal sphere or ball: the charge sits on its outer surface.
  • Metal rod, tube or cylinder: the charge sits on its outer surface.
  • Conducting sheet: half the charge sits on the top face, half on the bottom face.
Insulator + + + + + + + + + + + + + + + charge throughout volume Conductor no charge inside − − − − − − − − charge on surface only Metal sheet (side view) + + + + + + + + + + + + half on top, half on bottom

Insulator: charge spread through the volume. Conductor (solid or hollow sphere, rod, tube): charge only on the surface. Metal sheet: half on each face.

Figure Where the charge sits: insulator vs conductor
Van de Graaff generator

A belt carries charge up into the metal dome. The charge spreads over the dome’s outer surface. Charge passed onto a person makes their hairs carry like charge, so they repel and stand apart.

Figure Van de Graaff generator
Explanation Why does the charge end up on the surface?

Like charges repel, so free charges in a metal push each other as far apart as they can: out to the surface.

Equally, in electrostatics nothing is still moving. If there were any field inside the metal, the free charges would feel a force and move. So in the final state the field inside is zero, and therefore there is no net charge inside.

For the symmetric shapes used in this course (sphere, long cylinder, large sheet), symmetry also makes the surface charge uniform. For the isolated sheet, symmetry is why the charge splits equally between the two faces.

  • Conductor: charge uniform on the surface, none inside (solid or hollow).
  • Isolated metal sheet: half the charge on each face.

Priestley’s hollow sphere and the inverse square law

The presence of charge can be measured through the forces it produces (empirical proof). Priestley’s experiment (1767) used a hollow metal sphere:

  • charge sits on the outer surface of a hollow metal sphere;
  • a small charge hung inside feels no force.

A hollow shell of mass exerts no gravitational force on a mass inside it, and gravity is inverse-square. Priestley argued by analogy that the electric force must also obey an inverse square law.

Result Inverse square law memorise

The force between two charges is proportional to the inverse square of their separation :

Where it comes from

An experimental law, measured by Coulomb (1785) with a torsion balance: halving the distance between two charged spheres quadrupled the force. Later experiments confirm the power 2 to better than one part in .

q no force on q − − − − − − − − − charge Q on surface Hollow metal sphere r F F +Q1 +Q2 like charges repel

Left: no force on a charge inside a charged hollow conductor. Right: two like charges repel, with .

Figure Priestley’s hollow sphere; force between two charges
Explanation Why does ‘no force inside’ prove 1/r²?

Take a point inside a uniformly charged thin shell. Draw a thin double cone through ; it cuts out two small patches of shell, at distances and on opposite sides.

  • The patch areas grow as and , so their charges are in the ratio .
  • With an inverse-square law, each patch pushes on with a force .
  • So the two pushes are equal and opposite, and they cancel. Pairing up the whole shell this way gives zero net force.

With any other power of the near and far patches would not cancel. So measuring zero force inside confirms the exponent is exactly 2. This is the same argument as for a gravitational shell.

  • Charge on a hollow conductor exerts no force on a charge inside it. This is the evidence for (same as gravity).

Coulomb’s experiment and the permittivity of free space

Coulomb’s experiment (1785, with a torsion balance) measured the force between two charges directly:

Equation Coulomb’s law memorise

is the force between point charges and a distance apart, in vacuum or air.

Where it comes from

An experimental law: the force is proportional to each charge and to (Inverse square law). The constant is written on purpose: the (the area of a unit sphere) then disappears from Gauss's law, which is used far more often.

Equation Permittivity of free space databook p.4

The constant is found experimentally and is called the dielectric permittivity of free space (vacuum).

Where it comes from

A measured constant (databook electrical p4). It is tied to two other constants: , with H m⁻¹ (Permeability of free space) and m s⁻¹. Check: ✓.

  • The same value of is used for problems involving air.
  • Charge is measured in coulombs ().
Interactive figure

Move : doubling the separation quarters the force. Change the sign of one charge: changes sign, meaning the charges attract instead of repel.

Figure Coulomb force against separation
Try now
Explanation What does the sign of F mean, and what is the vector form?

Put the signed charges into the formula. (like charges) means repulsion; (unlike charges) means attraction.

In vector form, the force on due to is

where is the unit vector pointing from to . The force on is equal and opposite.

With several charges, the forces add as vectors, component by component.

Explanation Why write k as 1/(4πε₀)?

is the surface area of a sphere of radius . Writing this way puts the in Coulomb’s law, which has spherical geometry. It then disappears from formulas with flat geometry, e.g. .

Handy numbers and units:

  • .
  • Units check: , so is in newtons.
  • Scale: two 1 nC charges 1 cm apart feel N.
  • is positive for repulsion (like charges) and negative for attraction; it acts along the line joining the charges.
  • : doubling the distance quarters the force.
  • Use for air too; is in the databook, Coulomb’s law is not.