# Physics equations/Integrals for Maxwell's equations

Wright State University Lake Campus/2019-9

A great deal of insight into electrodynamics can be obtained using surface, volume and line integrals so simple they are often not even mentioned in a calculus course. These integrals assume an a priori knowledge of the field, except for an unknown constant. For our purposes, we shall denote these constants with the zero subscript for electric and magnetic fields, respectively. If the same integral is useful for both electric and magnetic fields, we denote this constant as .

In all cases, the field is constrained by symmetries that render the integrals so trivial that one can visualize the answer. It will be assumed that the reader is familiar with the circumference and area of a circle respectively, as well as the surface area and volume of a sphere The student needs to fully understand how these pairs for the circle and sphere are related via #Onion_proof and #Surface_area

## Line integrals

edit### Circular line integral with axymuthal symmetry

editThis line integral is first encountered in Ampere's Law as applied to a long straight wire. The field lines are circles centered on an infinite line and depend only on the distance to the z axis. The path is any arc of a circle that is centered on the z axis, provided the circle is aligned so that its surface is perpendicular to the z axis:

Define to be a unit vector that points in the direction of increasing . Both the field and the differential are parallel to this unit vector:

- where is constant at , where R is the radius of the circle defined by the arc's path.
- , since the (in radians) is defined so that the arclength and angle are defined so that .

Since , we have:

and,

Integrating all the way around the circle leads to:

provided the closed loop is a circle of radius R, centered on the z-axis.

It is important to appreciate that this result depends only on the value of on the circle of radius R. This is depicted in the top figure to the right with a circle at the center. Conditions inside this circle are important, but only because electromagnetism dictates that this line integral is related to currents and/or fields that exist inside the circle. The evaluation of the line integral as 2πRF_0 involves only the field on the circle of radius R.

### Discontinuity between two uniform fields

editIn the first figure, the field is uniform and in the direction. We use to denote the constant magnitudes of the field in the two regions. The minus sign in the contribution from arises from the fact that is antiparallel to .

Note that the line integral vanishes along the paths bc and da because the . The field is uniform and parallel to the path along ab and cd.

If the solenoid is not infinitely long, the line integral deviates from this simple formula because the field is not uniform inside the solenoid. And, the field is not exactly parallel to the axis everywhere inside the solenoid due to end effects.

## Simple integrals of a vector field over a closed surface

editFor more information about open and closed surfaces, visit #Closed_surfaces.

### Sphere with spherical symmetry

editThe surface area of a sphere of radius is . If the charge distribution is spherically symmetric, then

### Cylindar with field lines pointing away from the axis

editThe same figure (shown to the right) can be used to calculate the flux through a cylinder if the electric field points away from the z axis and varies in magnitude only by the distance from the z axis (no dependence on z or θ is permitted.) In that case, the figure to the right displays a top-down view of a Gaussian surface that is a cylinder of length L. And, the integral of the electric flux is:

.

### Pillbox for one-dimensional (slab) geometry

editThe pillbox is a useful Gaussian surface for infinite or very large slabs of charge. An important example is the parallel plate capacitor where each linear dimension of the plates is much larger than the plate separation.

Typically, charge is located within the pillobx. If the pillbox is taken from an isolated plain of charge, the fields point in opposite directions, with , so that,

But for a capacitor, it is typically assumed that so that,

## Footnotes

edit- See also file:Gauss.wiki.20150921.pdf