Topics in this sectionMatrices and Transformations3 topics
- Introduction to Matrices
- Linear Transformations
- Shear and Stretch
Shear and Stretch Transformations
In mathematics, a transformation moves or changes a shape in a predictable way. Two important transformations are shear and stretch. These transformations can be described using matrices, which are rectangular arrays of numbers. When we multiply a matrix by a point (written as a column of numbers), we get a new point—the image of the original after the transformation.
A shear tilts a shape: one line (called the invariant line) stays in place while all other points slide parallel to it. A stretch enlarges or reduces a shape in a particular direction: distances from the invariant line are multiplied by a scale factor.
The line that does not move during the transformation is called the invariant line.
When we perform a shear with the x-axis as the invariant line, every point moves parallel to the x-axis. Points on the x-axis itself do not move at all. The amount of movement depends on how far the point is from the x-axis.
The matrix for a shear parallel to the x-axis with the x-axis invariant is:
(10k1)In this matrix, k is called the shear factor. If k is positive, points above the x-axis move to the right; if k is negative, they move to the left. Points on the x-axis (where y=0) stay fixed because their y-coordinate is zero.
How to Apply a Shear Matrix
Suppose we have a point P(x,y). We write it as a column vector:
(xy)To find the image P′(x′,y′) after the shear, we multiply by the shear matrix:
(x′y′)=(10k1)(xy)=(x+kyy)This tells us:
- The new x-coordinate is x′=x+ky
- The y-coordinate stays the same: y′=y
Worked Example
A triangle has vertices at A(1,2), B(3,2), and C(1,5). Apply a shear with the x-axis invariant and shear factor k=2. Find the coordinates of the image triangle.
Solution:
The shear matrix is (1021).
For point A(1,2):
(x′y′)=(1021)(12)=(1+2(2)2)=(52)So A′ is at (5,2).
For point B(3,2):
(x′y′)=(1021)(32)=(3+2(2)2)=(72)So B′ is at (7,2).
For point C(1,5):
(x′y′)=(1021)(15)=(1+2(5)5)=(115)So C′ is at (11,5).
Notice that all points keep their y-coordinates (the x-axis is invariant), but their x-coordinates increase by twice their original y-value.
A stretch changes distances from the invariant line by a constant multiplier called the scale factor. When we stretch with the x-axis invariant, points move away from (or toward) the x-axis, but their x-coordinates stay the same.
The matrix for a stretch parallel to the y-axis with scale factor s is:
(100s)If s>1, the stretch enlarges distances from the x-axis. If 0<s<1, it compresses them. If s=1, there is no change.
How to Apply a Stretch Matrix
For a point P(x,y), the image P′(x′,y′) after the stretch is:
(x′y′)=(100s)(xy)=(xsy)This gives us:
- The x-coordinate stays the same: x′=x
- The y-coordinate is multiplied by the scale factor: y′=sy
Worked Example
A square has vertices at (1,1), (3,1), (3,3), and (1,3). Apply a stretch with the x-axis invariant and scale factor s=3. Find the coordinates of the image.
Solution:
The stretch matrix is (1003).
For (1,1): x′=1, y′=3(1)=3 → (1,3) For (3,1): x′=3, y′=3(1)=3 → (3,3) For (3,3): x′=3, y′=3(3)=9 → (3,9) For (1,3): x′=1, y′=3(3)=9 → (1,9)
The image is a rectangle that is three times as tall as the original square, but the same width.
An invariant line is a line that maps onto itself after the transformation. Points on this line may move along the line, but they do not leave it. Identifying invariant lines is an important skill.
How to Find Invariant Lines
For a shear or stretch transformation given by a matrix, we can find invariant lines by considering what happens to a general point (x,y) on a line with equation y=mx (passing through the origin). After applying the transformation, the image point must also lie on a line with the same slope for the line to be invariant.
Alternatively, for a simple shear or stretch with the x-axis invariant, the x-axis itself (y=0) is always an invariant line. For a shear parallel to the x-axis, any vertical line is also invariant because points on a vertical line keep their x-coordinate after the shear.
Worked Example
For the shear matrix (1021), verify that the x-axis is an invariant line.
Solution:
Take any point on the x-axis: it has coordinates (x,0) where y=0.
Apply the shear:
(x′y′)=(1021)(x0)=(x+2(0)0)=(x0)The image is (x,0), which is also on the x-axis. The x-axis maps onto itself, so it is an invariant line.
In engineering and construction work across South Sudan—such as building bridges over the Nile or designing structures in Juba—engineers use transformation matrices to model how shapes change under stress. When a force is applied to a structure, parts of it may shear (slide) or stretch (extend), and understanding which lines remain unchanged helps ensure the structure stays stable and safe.
Question
What is the matrix representing a shear parallel to the x-axis with shear factor k and the x-axis as the invariant line?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet