77. Shear Matrix

A shear matrix shifts each point in one direction by an amount proportional to its coordinate in another. The result: parallelograms slide into other parallelograms, preserving area.

77.1. 2D shears

Horizontal shear (each point shifts horizontally by a multiple of its -coordinate):

Vertical shear:

Example

Horizontal shear with applied to the unit square:

Square becomes a parallelogram. Area — preserved.

77.2. Properties

77.3. Why

Geometrically: a parallelogram slides — its base is unchanged, and its height (perpendicular distance) is unchanged. Area base height stays the same. The same logic generalizes to dimensions.

77.4. Composition of shears

The product of two shears (in the same direction) is another shear:

Two shears in different directions can produce non-shear results (composition need not be triangular).

77.5. Application: graphics and italics

77.6. Shears in higher dimensions

A general shear in adds a multiple of one coordinate to another. The matrix is the identity with a single off-diagonal non-zero entry:

77.7. See also