WOLFRAM

RegionProduct[reg1,reg2]

represents the Cartesian product of the regions reg1 and reg2.

RegionProduct[reg1,reg2,]

represents the Cartesian product of the regions reg1, reg2, .

Details

  • RegionProduct is also known as outer product region.
  • RegionProduct[reg1,reg2] represents the region .
  • The embedding dimension of the product region is the sum of embedding dimensions, and the geometric dimension is the sum of geometric dimensions.

Examples

open allclose all

Basic Examples  (3)Summary of the most common use cases

The product of two line segments:

Out[2]=2

Visualize it:

Out[4]=4

The product of a disk and a line segment:

Out[2]=2

Visualize it:

Out[3]=3

The product of two BoundaryMeshRegion objects:

Out[1]=1

Scope  (7)Survey of the scope of standard use cases

Formula Regions  (3)

A product of an ImplicitRegion and a ParametricRegion in 1D:

Compute its Area:

Out[4]=4

Visualize it:

Out[5]=5

A product of two ImplicitRegion objects:

The region is unbounded, so its volume is infinite:

Out[2]=2
Out[3]=3

A product of two ParametricRegion objects:

Compute its Volume:

Out[2]=2

Mesh Regions  (4)

A product of two BoundaryMeshRegion objects in 1D:

Out[3]=3

The result is a MeshRegion, not a BoundaryMeshRegion:

Out[4]=4

A product of two MeshRegion objects in 1D:

Out[1]=1

Compute the Area:

Out[2]=2

A product of 1D and 2D BoundaryMeshRegion objects:

Out[1]=1

Compute the Volume:

Out[2]=2

A product of 1D and 2D MeshRegion objects:

Out[1]=1

Compute the Volume:

Out[2]=2

Applications  (2)Sample problems that can be solved with this function

Define a tensor product mesh as the product of several 1D meshes:

Define a 1D mesh from a list of points:

Out[3]=3

Define a 2D tensor product mesh:

Out[4]=4

Define a 3D tensor product mesh:

Out[5]=5

Directly construct a MeshRegion representing a stage for the Cantor set. The set is defined by starting with the interval {0,1} and at each step removing the middle third:

The first few steps:

Out[3]=3
Out[4]=4
Out[5]=5

Use RegionProduct to produce Cantor dust:

Out[7]=7
Out[8]=8

Find the length of the Cantor set at each stage:

Out[9]=9

Guess the general formula:

Out[10]=10

Find the measure of the Cantor dust in 2D at each stage:

Out[11]=11
Out[12]=12

Find the measure of the Cantor dust in 3D at each stage:

Out[13]=13
Out[14]=14

Properties & Relations  (10)Properties of the function, and connections to other functions

The RegionEmbeddingDimension of a product is the sum of input embedding dimensions:

Out[3]=3
Out[4]=4

The RegionDimension of a product is the sum of input dimensions:

Out[2]=2

A RegionProduct of special regions is left unevaluated:

Out[1]=1

It is a region and can be used for computation:

Out[2]=2
Out[3]=3

A RegionProduct of formula regions is left unevaluated:

Out[1]=1

It is a region and can be used for computation:

Out[2]=2
Out[3]=3

A product of MeshRegion or BoundaryMeshRegion objects is itself a MeshRegion:

Out[1]=1
Out[2]=2

The RegionMeasure of a product is the product of the input measures:

Out[2]=2

The RegionCentroid of a product is the input centroids joined together:

Out[2]=2

A Rectangle is a product of two Line objects:

Out[2]=2

Show membership is equivalent:

Out[3]=3

A Cuboid is a product of three Line objects:

Out[2]=2

Show membership is equivalent:

Out[3]=3

A Cylinder is a product of a Disk and a Line:

Out[2]=2

Show membership is equivalent:

Out[3]=3

Neat Examples  (1)Surprising or curious use cases

Define Cantor dust-like regions as products of Cantor sets:

Products of Cantor sets in 2D:

Out[4]=4

Products of Cantor sets in 3D:

Out[5]=5
Wolfram Research (2014), RegionProduct, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionProduct.html.
Wolfram Research (2014), RegionProduct, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionProduct.html.

Text

Wolfram Research (2014), RegionProduct, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionProduct.html.

Wolfram Research (2014), RegionProduct, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionProduct.html.

CMS

Wolfram Language. 2014. "RegionProduct." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RegionProduct.html.

Wolfram Language. 2014. "RegionProduct." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RegionProduct.html.

APA

Wolfram Language. (2014). RegionProduct. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RegionProduct.html

Wolfram Language. (2014). RegionProduct. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RegionProduct.html

BibTeX

@misc{reference.wolfram_2025_regionproduct, author="Wolfram Research", title="{RegionProduct}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/RegionProduct.html}", note=[Accessed: 14-March-2025 ]}

@misc{reference.wolfram_2025_regionproduct, author="Wolfram Research", title="{RegionProduct}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/RegionProduct.html}", note=[Accessed: 14-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_regionproduct, organization={Wolfram Research}, title={RegionProduct}, year={2014}, url={https://reference.wolfram.com/language/ref/RegionProduct.html}, note=[Accessed: 14-March-2025 ]}

@online{reference.wolfram_2025_regionproduct, organization={Wolfram Research}, title={RegionProduct}, year={2014}, url={https://reference.wolfram.com/language/ref/RegionProduct.html}, note=[Accessed: 14-March-2025 ]}