 # Cartesian Coordinates

The Cartesian coordinate system is introduced in Section 4.1. Concepts described in that section – i.e., the dot product and cross product – are described in terms of the Cartesian system. In this section, we identify some additional features of this system that are useful in subsequent work and also set the stage for alternative systems; namely the cylindrical and spherical coordinate systems.

## Integration Over Length

Consider a vector field

, where

is a position vector. What is the integral of

over some curve

through space? To answer this question, we first identify a differential-length segment of the curve. Note that this segment of the curve can be described as

The contribution to the integral for that segment of the curve is simply

. We integrate to obtain the result; i.e.,

For example, if

(i.e.,

is a constant) and if

is a straight line from

and

along some constant

and

, then

,

, and subsequently the above integral is

In particular, notice that if

, then this integral gives the length of

. Although the formalism seems unnecessary in this simple example, it becomes very useful when integrating over paths that vary in more than one direction and with more complicated integrands.

Note that the Cartesian system was an appropriate choice for preceding example because this allowed two of the three basis directions (i.e.,

and

) to be immediately eliminated from the calculation. Said differently, the preceding example is expressed with the minimum number of varying coordinates in the Cartesian system. Here’s a counter-example. If

had been a circle in the

plane, then the problem would have required two basis directions to be considered – namely, both

and

. In this case, another system – namely, cylindrical coordinates (Section 4.3) – minimizes the number of varying coordinates (to just one, which is

).

## Integration Over Area

Now we ask the question, what is the integral of some vector field

over some surface

We refer to

as the differential surface element, which is a vector having magnitude equal to the differential area

, and is normal (perpendicular) to each point on the surface. There are actually two such directions. We’ll return to clear up the ambiguity in a moment. Now, as an example, if

and

is the surface bounded by

,

, then

since

is differential surface area in the

plane and

is normal to the

plane. So

, and subsequently the integral in Equation 4.2.4 becomes

Note that this has turned out to be a calculation of area.

Once again, we see the Cartesian system was an appropriate choice for this example because this choice minimizes the number of varying coordinates; in the above example, the surface of integration is described by a constant value of

with variable values of

and

. If the surface had instead been a cylinder or a sphere, not only would all three basis directions be variable, but also the surface normal would be variable, making the problem dramatically more complicated.

. We chose

, but why not choose

– also a normal to the surface – as this direction? To answer simply, the resulting area would be negative. “Negative area” is the expected (“positive”) area, except with respect to the opposite-facing normal vector. In the present problem, the sign of the area is not important, but in some problems this sign becomes important. One example of a class of problems for which the sign of area is important is when the quantity of interest is a flux. If

were a flux density, then the integration over area that we just performed indicates the magnitude and direction of flux, and so the direction chosen for

defines the direction of positive flux. Section 2.4 describes the electric field in terms of a flux (i.e., as electric flux density

), in which case positive flux flows away from a positively-charged source.

## Integration Over Volume

Another common task in vector analysis is integration of some quantity over a volume. Since the procedure is the same for scalar or vector quantities, we shall consider integration of a scalar quantity

for simplicity. First, we note that the contribution from a differential volume element

is

so the integral over the volume

is

For example, if

and

is a cube bounded by

,

, and

, then the above integral becomes

i.e., this is a calculation of volume.

The Cartesian system was an appropriate choice for this example because

is a cube, which is easy to describe in Cartesian coordinates and relatively difficult to describe in any other coordinate system.

Ellingson, Steven W. (2018) Electromagnetics, Vol. 1. Blacksburg, VA: VT Publishing. https://doi.org/10.21061/electromagnetics-vol-1 CC BY-SA 4.0 Swipe left and right to change pages. Get the latest tools and tutorials, fresh from the toaster.

### What are you looking for? 