Nepedia
Back to Discover
Advanced Reader
🔢

Shear mapping

math Maturity 11-13 Next article →

A shear mapping is a specific type of affine transformation used in geometry. It displaces every point in a fixed direction by an amount proportional to its signed distance from a specific line. This line is parallel to the direction of the movement. This process is also known as a shear transformation, transvection, or simply shearing. It is a fundamental concept in linear algebra because it changes the shape of an object while keeping certain properties constant.

VerticalShear m=1.25 (blue and red)
VerticalShear m=1.25 (blue and red)

To understand the mechanism, consider a horizontal shear in a two-dimensional plane. In this case, every point moves horizontally according to its vertical position. A fixed parameter called the shear factor determines the strength of this displacement. If a point is above the reference axis, it might move to the right. If it is below the axis, it moves in the opposite direction. Points located directly on the reference axis do not move at all. This creates a sliding effect where the distance traveled increases as you move further from the line.

SVG skewX
SVG skewX

There are different types of shears depending on the direction of movement. A horizontal shear moves points along the x-axis. This makes vertical lines become oblique lines with a specific slope. The shear factor is equal to the cotangent of the shear angle. Conversely, a vertical shear moves points parallel to the y-axis. In a vertical shear, horizontal lines become tilted, while vertical lines remain unchanged. These transformations can be represented using matrices. A shear matrix is an elementary matrix created by adding a multiple of one row or column to another.

VerticalShear m=1.25 (blue and red)
VerticalShear m=1.25 (blue and red)

In three-dimensional geometry, the concept expands to include volume. Instead of a fixed line, the distance is measured from a fixed plane. A 3D shearing transformation preserves the volume of solid figures. However, it can change the areas of plane figures unless those planes are parallel to the displacement. This principle also applies to higher dimensions in Cartesian space. In an n-dimensional space, the distance is measured from a fixed hyperplane. This transformation is a linear mapping that preserves the hypervolume of any set.

Laminar shear
Laminar shear

History shows how mathematicians used these properties to solve geometric puzzles. William Kingdon Clifford noted several important applications of shearing. He discovered that a succession of shears can reduce any straight-sided figure into a triangle of equal area. He also showed that any triangle can be sheared into a right-angled triangle. Crucially, these transformations do not alter the area of the shape. This area-preserving property is a core characteristic of all shear mappings. It allows mathematicians to use shears to illustrate the Pythagorean theorem and the geometric mean theorem.

Shearing is widely used in modern technology and science. In computer graphics, shearing is essential for image manipulation. An algorithm developed by Alan W. Paeth uses three specific shear mappings to rotate a digital image. This process involves one horizontal shear, one vertical shear, and another horizontal shear. This method is highly efficient because it processes only one row or column of pixels at a time. In typography, shearing is the primary method used to create oblique or italic styles from upright fonts.

VerticalShear m=1.25 (blue and red)
VerticalShear m=1.25 (blue and red)

Beyond graphics, shearing describes physical movements in science. In fluid dynamics, it depicts the laminar flow of a fluid between two parallel plates. This occurs when the plates are in relative motion, causing the fluid layers to slide past each other.

Laminar shear
Laminar shear

In physics, the term originates from the idea of unaligned forces acting on a body. These forces cause layers of material to slide in opposite directions. Finally, in pre-Einsteinian Galilean relativity, transformations between different frames of reference are considered shear mappings. These are known as Galilean transformations and describe moving reference frames relative to absolute space and time.

625 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:VerticalShear m=1.25 (blue and red).svg
VerticalShear m=1.25 (blue and red).svg
File:Laminar_shear.svg
Laminar_shear.svg
File:SVG skewX.svg
SVG skewX.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.