Some Algebra of Dimensions

Construction of Products

Formally, the product of two sets, A and B, is the set consisting of all pairs, the first element of each pair coming form A, the second element coming from B.
For example,
    A = {1,2,3}, B = {2,3,4,5}. Then A × B is
{{1,2},{1,3},{1,4},{1,5},{2,2},{2,3},{2,4},{2,5},{3,2},{3,3},{3,4},{3,5}}
Geometrically, we can think of arranging the sets in perpendicular dimensions. For example, placing A along the x-axis and B along the y-axis, the product lies in the x-y plane.
Extending A and B to line segments, we can think of the product as a horizontal line segment's worth of vertical line segments (left), or as a vertical line segment's worth of horizontal line segments (right).
For A a filled-in square in the xy-plane and B a line segment along the z-axis, the product, a filled-in rectangular box, can be thought of as vertical line segment's worth of horizontal squares (left), or as a horizontal square's worth of vertical line segments.

Return to the algebra of dimensions.