Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Physics LibreTexts

4.2: Cartesian Coordinates

( \newcommand{\kernel}{\mathrm{null}\,}\)

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 A=ˆxA(r), where r is a position vector. What is the integral of A over some curve C 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

dl=ˆxdx+ˆydy+ˆzdz

The contribution to the integral for that segment of the curve is simply Adl. We integrate to obtain the result; i.e.,

CAdl

For example, if A=ˆxA0 (i.e., A(r) is a constant) and if C is a straight line from x=x1 and x=x2 along some constant y and z, then dl=ˆxdx, Adl=A0dx, and subsequently the above integral is

x2x1A0dx=A0(x2x1)

In particular, notice that if A0=1, then this integral gives the length of C. 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., y and z) 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 C had been a circle in the z=0 plane, then the problem would have required two basis directions to be considered – namely, both x and y. 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 A over some surface S? The answer is

SAds

We refer to ds as the differential surface element, which is a vector having magnitude equal to the differential area ds, 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 A=ˆz and S is the surface bounded by x1xx2, y1yy2, then

ds=ˆz dx dy

since dxdy is differential surface area in the z=0 plane and ˆz is normal to the z=0 plane. So Ads=dxdy, and subsequently the integral in Equation ??? becomes

x2x1y2y1dx dy=(x2x1)(y2y1)

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 z with variable values of x and y. 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.

Now let’s return to the issue of the direction of ds. We chose +ˆz, but why not choose ˆz – 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 A 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 ds defines the direction of positive flux. Section 2.4 describes the electric field in terms of a flux (i.e., as electric flux density D), 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 A(r) for simplicity. First, we note that the contribution from a differential volume element

dv=dx dy dz

is A(r) dv, so the integral over the volume V is

VA(r) dv

For example, if A(r)=1 and V is a cube bounded by x1xx2, y1yy2, and z1zz2, then the above integral becomes

x2x1y2y1z2z1dx dy dz=(x2x1)(y2y1)(z2z1)

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

The Cartesian system was an appropriate choice for this example because V is a cube, which is easy to describe in Cartesian coordinates and relatively difficult to describe in any other coordinate system.


This page titled 4.2: Cartesian Coordinates is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Steven W. Ellingson (Virginia Tech Libraries' Open Education Initiative) .

Support Center

How can we help?