]> Multidimensional transformation

Math Animated™
Mathematical Introduction for Physics and Engineering
by Samuel Dagan (Copyright © 2007-2020)

Chapter 3: Many Variables; Section 2: Integration; page 4

Home | Table of Contents | A-Z Index | Help

Previous topic: Page 3 Two Dimensional Transformation


Multidimensional Transformation

Generalization from two dimensions

The multiple integrals of transformed variables obey the same rules as the double integrals. If the multiplicity is  n , the absolute value of the Jacobian serves as a magnifier  μ  for converting the  n-dimensional infinitesimal elements of integration to the integration measure in the transformed coordinates, namely for a transformation of  n  variables

( x 1 , x 2 ,....., x n )( u 1 , u 2 ,....., u n ) defined   by   the   relations x 1 = x 1 ( u 1 , u 2 ,....., u n ) x 2 = x 2 ( u 1 , u 2 ,....., u n ) ................................. x n = x n ( u 1 , u 2 ,....., u n ) } (3.2.4.1)

the relation among the infinitesimal elements of integration is

Δ x 1 Δ x 2 .....Δ x n =| D( x 1 , x 2 ,....., x n ) D( u 1 , u 2 ,....., u n ) |Δ u 1 Δ u 2 .....Δ u n (3.2.4.2)

with the same physical dimensions on the either side of the equation. The relation (3.2.4.2) can be proven for any  n . We are not going to do that, but just to rely on the simple case of  n=2 , presented at the previous page. In addition we are going to study that for a couple of 3-dimensional cases.

As in the case of two-dimensions (3.2.3.17), a multi-dimensional linear transformation is defined by a linear relation among the variables with constant factors, whose determinant is non-vanishing. As a simple example we'll use a linear transformation in 3-dimensions, in order to obtain the volume of an ellipsoid

by   the   transformation{ x=a u ρ y=b v ρ z=c w ρ } ( a,b,c,ρare constants ) the   ellipsoid x 2 a 2 + y 2 b 2 + z 2 c 2 =1 becomes   a   sphere u 2 + v 2 + w 2 = ρ 2 } (3.2.4.3)

Since

the   Jacobian is D( x,y,z ) D( u,v,w ) =| a ρ 0 0 0 b ρ 0 0 0 c ρ |= abc ρ 3 and   the volume of the sphere   is 4π ρ 3 3 the   volume of the ellipsoid   becomes 4πabc 3 } (3.2.4.4)

in agreement with previous calculations, e.g. (3.2.3.16).

Cylindrical coordinates

The cylindrical coordinates were defined previously as

x=rcosφ y=rsinφ z=z restrictions: r0 0φ<2π } (3.2.4.5)

and were shown at Fig. Cylindrical coordinates. The Jacobian is

D( x,y,z ) D( r,φ,z ) =| cosφ rsinφ 0 sinφ rcosφ 0 0 0 1 |=r (3.2.4.6)

exactly as that of the the polar coordinates. By looking at the Fig. Orthogonality of polar coordinates (studied previously), we'll notice that in order to obtain the infinitesimal volume element, we have to multiply the area of the basis  rΔrΔφ  by the perpendicular Cartesian height  Δz , yielding in first approximation the volume of a cuboid  rΔrΔφΔz  , where  μ = r  is the magnifier in accordance to (3.2.4.6). A three dimensional view of the volume element is presented in Fig. Orthogonality of cylindrical coordinates.

The cylindrical coordinates displayed in the Cartesian system form an orthogonal system, since at any point the three lines corresponding to the variation of each one of the variables (by keeping the other two constant) are orthogonal. A right-handed orthogonal coordinate system was defined previously. Similarly to the Cartesian coordinates, one can choose the order of the variables of the cylindrical system, in order to represent it as a right handed coordinate system. By using the rule (as in the case of the Cartesian system) that the positive direction of a coordinate is defined by the increase of the corresponding variable, we can easily see from Fig. Orthogonality of cylindrical coordinates that the order

r,φ,z (3.2.4.7)

forms a right-handed system.

The surfaces corresponding to a constant value of one of the variables shows what kind of problems are easy to be solved with that particular coordinate system. In the case of the cylindrical system:

The integration of a function f of the variables over a region of a straight cylinder with radius  a  and length  h  is done with cylindrical coordinates by taking the  z  axis as the axis of the cylinder:

f ( r,φ,z )rdrdφdz= 0 a r dr 0 2π dφ z min z max f ( r,φ,z )dz where z max z min =h } (3.2.4.8)

As an example we'll obtain the mass  M  of a uniform cylinder with density  ρ . From (3.2.4.8) after substituting  f  with  ρ  we have

M=ρ 0 a r dr 0 2π dφ z min z max dz =ρπ a 2 h (3.2.4.9)

As a continuation of this example we'll obtain the moment of inertia of the same cylinder about the axis of symmetry (z), by substituting  f  from (3.2.4.8) with   ρ( x 2 + y 2 )=ρ r 2 :

I z =ρ 0 a r 3 dr 0 2π dφ z min z max dz =ρ π a 4 h 2 = M a 2 2 (3.2.4.10)

The next example uses the same geometry, but the limits of  z  are refined. We want to calculate the moment of inertia about an axis perpendicular to the axis of the cylinder passing through the centre of mass. We know that the centre of mass is the centroid of the cylinder. The most suitable procedure is to move the coordinates, so that the centre of mass is at the origin of the coordinates, then calculate the moment of inertia about  x  or  y . This simplifies the integration, and avoids the use of Steiner's theorem. By choosing the coordinates in this way, the limits of the integration over  z  are   z min = h 2   and   z max = h 2  . The function for the integration about the  y  axis is   f=ρ( x 2 + z 2 )=ρ( r 2 cos 2 φ + z 2 )  :

{ I y =ρ 0 a r dr 0 2π dφ h 2 h 2 dz ( r 2 cos 2 φ + z 2 )= =ρ[ 0 a r 3 dr 0 2π dφ cos 2 φ h 2 h 2 dz + 0 a r dr 0 2π dφ h 2 h 2 z 2 dz ]= =ρ[ a 4 πh 4 + a 2 π h 3 12 ]= M 12 ( 3 a 2 + h 2 ) } (3.2.4.11)

Spherical coordinates

The spherical coordinates were defined previously at (3.1.4.20) as

x=Rsinθcosφ y=Rsinθsinφ z=Rcosθ restrictions: R0 0θπ 0φ<2π } (3.2.4.12)

and were shown in Fig. Spherical coordinates. The coordinate φ is the same, as the one used in the cylindrical system, R is the length of the line connecting a point with the origin

R 2 = r 2 + z 2 = x 2 + y 2 + z 2 r=Rsinθ } (3.2.4.13)

and θ is the single valued angle between R and z:

θ=acos( z R ) (3.2.4.14)

called also the polar angle, or polarity. The Jacobian is

D( x,y,z ) D( R,θ,φ ) =| sinθcosφ Rcosθcosφ Rsinθsinφ sinθsinφ Rcosθsinφ Rsinθcosφ cosθ Rsinθ 0 |= R 2 sinθ (3.2.4.15)

as can be easily verified by the user. With the aid of (3.2.4.15), the volume of the infinitesimal element is

ΔxΔyΔz= R 2 ΔRsinθΔθΔφ (3.2.4.16)

As in the case of the cylindrical coordinates, the spherical coordinates are also orthogonal when displayed in the Cartesian system, as shown at Fig. Orthogonality of spherical coordinates. This figure also shows the surfaces corresponding to constant value of the variables:

The orthogonality of the spherical coordinates allows us to obtain (3.2.4.16) directly as a volume of a cuboid, without the aid of the Jacobian, as shown at Fig. Volume element of spherical coordinates. This figure shows also that the spherical coordinates form a right-handed system by ordering the variables in the following way:

R,   θ,   φ (3.2.4.17)

In addition it is shown that the area of a spherical surface element (constant R) is represented by

R 2 sinθdθdφ (3.2.4.18)

and the area of a conic surface element (constant θ) is represented by

sinθRdRdφ (3.2.4.19)

Both will be discussed later in this page, in relation to surface integrals.

A simple example of spherical coordinates is an integration of a function  f  over a spherical region with radius  a :

f ( R,θ,φ ) R 2 dRsinθdθdφ= 0 a R 2 dR 0 π sinθ dθ 0 2π f ( R,θ,φ )dφ (3.2.4.20)

For a uniform sphere with density ρ, (3.2.4.20) yields the well known mass

M= 0 a R 2 dR 0 π sinθ dθ 0 2π ρ dφ=ρ a 3 2 3 2π=ρ 4π a 3 3 (3.2.4.21)

As a continuation of this example, for the moment of inertia about the z axis the function becomes

f( R,θ,φ )=ρ( x 2 + y 2 )=ρ R 2 sin 2 θ (3.2.4.22)

yielding

I z =ρ 0 a R 4 dR 0 π sin 3 θ dθ 0 2π dφ =ρ a 5 5 4 3 2π= 2 5 M a 2 (3.2.4.23)

From the symmetry it follows that the moments of inertia about the x and the y axes should be equal to (3.2.4.23), although the function for integration is different. This is easily verifiable, e.g. for the moment of inertia about the y axis we obtain

f( R,θ,φ )=ρ( x 2 + z 2 )=ρ R 2 ( sin 2 θ cos 2 φ+ cos 2 θ ) { I y =ρ 0 a R 4 dR 0 π sinθ dθ 0 2π dφ ( sin 2 θ cos 2 φ+ cos 2 θ )= =ρπ a 5 5 0 π sinθ ( sin 2 θ+2 cos 2 θ )dθ= =ρπ a 5 5 ( 4 3 +2× 2 3 )=ρ 8π 5×3 = 2 5 M a 2 } (3.2.4.24)

as expected, but in a more complicated way.

As another example of spherical coordinates we'll use a cone-like body obtained by cutting it out from a solid sphere (R=a), along a conic surface of constant  θ (θ=β). See Fig. Cone-like solid body for clarification. The integration of a function over such a body should be of the form of

0 a R 2 dR 0 β sinθ dθ 0 2π f ( R,θ,φ )dφ (3.2.4.25)

The volume of the body is

V= 0 a R 2 dR 0 β sinθ dθ 0 2π dφ = 2π 3 a 3 ( 1cosβ ) (3.2.4.26)

and the z coordinate of the centroid is

z c = 1 V 0 a R 3 dR 0 β sinθcosθ dθ 0 2π dφ = = 1 V a 4 4 sin 2 β 2 2π= 3a 8 sin 2 β 1cosβ = 3a 8 ( 1+cosβ ) } (3.2.4.27)

The examples so far shown on this page, are about regions bounded by the natural surfaces of the coordinate systems. We already know, from integration in the Cartesian coordinate system, how to code the limits of integration of any given boundary surface. The same procedure can be applied for the spherical and the cylindrical coordinate systems. As an example we'll take a cut of a sphere obtained by the intersection of a plane. Let the radius of sphere be  R=a  cut by the plane  z=b  with  0<b<a, as illustrated at Fig. Section of sphere.

The integration over  θ  is between the limits  0  and  θmax , where the latter is obtained from the the relation of  z  with the spherical coordinates (3.2.4.12):

z=Rcosθb=acos θ max θ max =acos( b a ) (3.2.4.28)

For the integration over  R ,   R max =a   is independent of  θ , but   R min   is. Its dependence is obtainable also from the relation of  z  with the spherical coordinates (3.2.4.12):

z=Rcosθb= R min cosθ R min = b cosθ (3.2.4.29)

Finally the integral of the function  f  over the region of the section becomes:

0 acos( b a ) sinθ dθ b cosθ a R 2 dR 0 2π f( R,θ,φ ) dφ (3.2.4.30)

The integration over the region of this example could be done also with cylindrical coordinates, although the bounding spherical surface is not natural for the system. From (3.2.4.5) the spherical surface becomes

x 2 + y 2 + z 2 = a 2 r 2 + z 2 = a 2 (3.2.4.31)

The integration over  z  is from a constant   z min =b   up to an  r  dependent value defined by (3.2.4.31):

r 2 + z max 2 = a 2 z max = a 2 r 2 (3.2.4.32)

The integration over  r  is from   r min =0   up to the maximal value obtained from (3.2.4.31):

r max 2 + b 2 = a 2 r max = a 2 b 2 (3.2.4.33)

yielding finally the integral over a function  f :

0 a 2 b 2 r dr b a 2 r 2 dz 0 2π f( r,φ,z ) dφ (3.2.4.34)

The volume of this spherical section is

V= π 3 ( 2 a 3 3 a 2 b+ b 3 ) (3.2.4.35)

and the inquisitive user could compare (3.2.4.35) with his calculations, by using (3.2.4.30) and (3.2.4.34).

Simple surface integrals

We know already how to integrate over a plane surface using the Cartesian two dimensional coordinates. Very often we need to compute integrals over curved surfaces, called by the general name of surface integrals, which is subject to a special branch of mathematical analysis. However at this stage we are able to apply such integration for the limited cases of the natural curved surfaces, obtained by the cylindrical and the spherical coordinates.

The Fig. Orthogonality of cylindrical coordinates shows that the differential area element of a cylinder, symmetric about the  z  axis is expressed by

dA=rdφdz (3.2.4.36)

where  r  represents the constant value of the radius. The integration of a function  f  over such a cylindrical surface is of the form of

r φ min φ max dφ z min ( φ ) z max ( φ ) f( φ,z ) dz (3.2.4.37)

The function  f  can be of any origin, e.g. density of a cylindrical tube made of thin material, yielding its mass. The simplest example is the area of such a tube of radius  r  and hight  h , yielding

A=r 0 2π dφ 0 h dz =2πrh (3.2.4.38)

If the density per unit area is a constant  σ , then the corresponding mass is

M=σA=2πσrh (3.2.4.39)

In the next example we'll calculate the moment of inertia of this tube about an axis perpendicular to  z , and passing through the centre of mass. By following the steps of a the example (3.2.4.11), but applied to our case (3.2.4.38-39), we obtain

{ I y =σr 0 2π dφ h 2 h 2 dz ( r 2 cos 2 φ+ z 2 )= =σrh 0 2π dφ ( r 2 cos 2 φ+ 2 h 2 2 3 ×3 )= = σrh 12 ( 12π r 2 +2π h 2 )= M 12 ( 6 r 2 + h 2 ) } (3.2.4.40)

Notice the constant value of  r , which corresponds to  a  in (3.2.4.11). For the same mass (3.2.4.40) is bigger, since the integration used only the maximal value of  r , and in (3.2.4.11)  r  was integrated between zero and its maximal value. Physically speaking, the mass is distributed farther away from the  y  axis for a cylindrical tube, than that for a solid cylinder.

According to (3.2.4.19) an element of a conical surface is expressed in spherical coordinates by   sinθ Rd Rd φ  , where  θ=constant . An integral of the function  f  over such a conical surface is expressed by

sinθ φ min φ max dφ R min ( φ ) R max ( φ ) R dRf( R,φ ) (3.2.4.41)

As an example let's calculate the area of a conical surface symmetric about  z , with its head at the origin,  θ<π/2 , and  R  limited from above by a constant value:

A=sinθ 0 2π dφ 0 R max R dR=π R max 2 sinθ (3.2.4.42)

This area is also calculable by a single integral using the method of surface of revolution. As a continuation of this example we'll obtain the z coordinate of the centre of mass, assuming uniform density per area. In such a case, by substituting  z=Rcosθ  we have

{ z cm A=sinθ 0 2π dφ 0 R max z RdR=sinθcosθ 0 2π dφ 0 R max R 2 dR= =2πsinθcosθ R max 3 3 =A 2 3 cosθ R max } (3.2.4.43)

yielding finally

z cm = 2 3 cosθ R max = 2 3 h h=height   of   the   cone } (3.2.4.44)

This result is different from that at (3.2.2.20) ( z cm = 3 4 h ) corresponding to a solid uniform cone, which is not surprising, since in the latter case the mass of a  Δz  element increases quadratically with  z, while in the present case the increase is linear.

According to (3.2.4.18) the element of a spherical surface is expressed in spherical coordinates by   R 2 sinθdθdφ  , where  R=constant . An integral of the function  f  over such a surface is expressed by

R 2 φ min φ max dφ θ ( φ ) min θ ( φ ) max f( θ,φ ) sinθdθ (3.2.4.45)

As an example the surface of a sphere with radius  R  has an area of

A= R 2 0 2π dφ 0 π sinθ dθ= R 2 2π×2=4π R 2 (3.2.4.46)

and the mass of this surface, assuming a uniform mass density of  σ , becomes

M=σA=4πσ R 2 (3.2.4.47)

As a continuation of this example, the moment of inertia about the z axis is

{ I z =σ R 2 0 2π dφ 0 π sinθ ( x 2 + y 2 )dθ= =σ R 4 0 2π dφ 0 π sin 3 θ dθ=σ R 4 2π 4 3 = 2 3 M R 2 } (3.2.4.48)

According to (3.2.4.23) a solid uniform sphere with the same mass and radius has a smaller moment of inertia about the z axis ( 2 5 M R 2 )  , the reason being that in the case of a spherical surface the mass is distributed further away from the axis, compared to the case of a solid sphere.

Exercises

Exercise 1. A uniform solid body ( density ρ ) consists of two inseparable parts, one on top of the other according to the Fig. Sketch for exercise 1:

The centre of mass of the whole is at the vertex of the conic cavity. Use cylindrical coordinates in order to answer numerically the following questions:
  1. What is the ratio   h 2 h 1  ?
  2. What is the ratio   M 2 M 1  , where  M  is the mass of the corresponding part?
  3. What is the ratio   I z 2 I z 1  , where   I z   is the moment of inertia about the axis of symmetry of the corresponding part?
You don't have to repeat the integrations that were done in the relevant studied examples.

Exercise 2. A spherical surface, with radius  a  is defined as

x 2 + y 2 + ( za ) 2 = a 2

  1. Draw a sketch, and check the location of the sphere's centre!
  2. Express this surface in spherical coordinates! What is the domain of the angle  θ ?
  3. A volume is bounded by this surface and a conic surface of   θ=β  , where  β  is a given constant. What is the volume?
  4. What is the  z  coordinate of the volume's centroid (zc)?
  5. What happens with the centroid's location for  β→0 ? Does it make sense, and why?

Exercise 3. Obtain the moment of inertia about the z axis (Iz) of the uniform solid ellipsoid

x 2 a 2 + y 2 b 2 + z 2 c 2 =1
in terms of its mass (M) and the constants  abc  by answering the following questions. You don't have to to repeat the integrations that were done in the relevant studied examples.

  1. Transform the Cartesian coordinates to (uvw) according to the relations

    x=auy=bvz=cw
    Obtain the Jacobian, and map the ellipsoid at the new coordinate system!


  2. Transform the (uvw) coordinates to spherical (sθφ) according to

    u=ssinθcosφ v=ssinθsinφ w=scosθ and find the Jacobian D( x,y,z ) D( s,θ,φ ) =?

  3. Express the integral for the required moment of inertia in coordinates (sθφ), and make sure that the limits for the integration are correct!


  4. Solve the integral, and make a consistency check for  a=b !

Exercise 4. Answer the following related questions! You don't have to repeat the integrations that were done in the relevant studied examples.

  1. A uniform solid body at   z0   is bounded by the surfaces x 2 + y 2 + z 2 = a 2 x 2 + y 2 + z 2 = ( γa ) 2 z=0 where   a>0   and   0γ<1   are given constants. Find the  z  coordinate of the centroid (zc) ! Check if the result for  γ=0  is consistent with (3.2.4.27) for   β= π 2  !


  2. Use the surface integral to calculate the  z  coordinate of the centroid (zc)  of the uniform half spherical shell x 2 + y 2 + z 2 = a 2 forz0
    Check consistency with the result of question 1 for   γ1  !


  3. A uniform solid body at   z0   is bounded by the surfaces x 2 a 2 + y 2 b 2 + z 2 c 2 =1 x 2 a 2 + y 2 b 2 + z 2 c 2 = γ 2 z=0 where   a>0,b>0,c>0   and   0γ<1   are given constants. Use the transformations of exercise 3 (questions 1 and 2) for obtaining the  z  coordinate of the centroid (zc) ! Check consistency with question 1, for   c=b=a  !


Previous topic: Page 3 Two Dimensional Transformation

Home | Table of Contents | A-Z Index | Help