Welcome to this exciting lesson on **transformations of functions using matrices**! 🎉 In Maths, a transformation is a way to change the position, size, or orientation of a shape or a point on a coordinate plane. Think of it like moving, resizing, or flipping an object. We'll explore four main types of transformations: **dilations** [scaling], **reflections** [flipping], **rotations** [turning], and **translations** [sliding]. What's really cool is that we can represent these changes using special tools called **matrices**! Using matrices makes complex transformations much simpler and allows us to perform multiple transformations efficiently.
In geometry, a **transformation** is a function that maps points of a shape to new points, resulting in a new shape [called the image]. Every point in the original shape [called the pre-image] corresponds to a unique point in the image. We'll focus on transformations in a two-dimensional [2D] coordinate system.
In a 2D coordinate system, a point $(x, y)$ can be represented as a **column matrix** [also known as a column vector]:
$$\begin{bmatrix} x \\ y \end{bmatrix}$$
A **transformation matrix** is a square matrix that, when multiplied by a point's column matrix, produces the coordinates of the transformed point. For 2D transformations around the origin, we typically use a $2 \times 2$ matrix.
If $P = \begin{bmatrix} x \\ y \end{bmatrix}$ is the original point and $T = \begin{bmatrix} a & b \\ c & d \end{bmatrix}$ is the transformation matrix, then the new point $P' = \begin{bmatrix} x' \\ y' \end{bmatrix}$ is found by matrix multiplication:
$$P' = T \cdot P \Rightarrow \begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} a & b \\ c & d \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix}$$
This multiplication gives us the new coordinates:
$$x' = ax + by$$ $$y' = cx + dy$$
A dilation changes the size of a figure. If we want to scale a point by a factor of $k_x$ in the $x$-direction and $k_y$ in the $y$-direction, the transformation matrix is:
$$D = \begin{bmatrix} k_x & 0 \\ 0 & k_y \end{bmatrix}$$
If $k_x = k_y = k$, it's a **uniform dilation** [scaling by a single factor $k$]. If $k > 1$, the figure gets larger; if $0 < k < 1$, it gets smaller.
The new point will be $(k_x x, k_y y)$.
Reflections flip a figure over a line. Here are common reflection matrices:
Rotations turn a figure around a fixed point [usually the origin]. The standard rotation matrix for a counter-clockwise rotation by an angle $\theta$ around the origin is:
$$R_\theta = \begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix}$$
Common rotation matrices:
A translation slides a figure without changing its orientation or size. Unlike the other transformations, a translation cannot be achieved solely by a $2 \times 2$ matrix multiplication in the standard coordinate system. Instead, we perform a vector addition to the point's coordinates after any matrix transformation.
If a point $(x, y)$ is translated by a vector $\begin{bmatrix} h \\ k \end{bmatrix}$, the new point $(x', y')$ is:
$$\begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} x \\ y \end{bmatrix} + \begin{bmatrix} h \\ k \end{bmatrix} = \begin{bmatrix} x+h \\ y+k \end{bmatrix}$$
So, a translation vector $\begin{bmatrix} h \\ k \end{bmatrix}$ shifts points $h$ units horizontally and $k$ units vertically. A positive $h$ means right, negative $h$ means left. A positive $k$ means up, negative $k$ means down.
When you perform multiple transformations, the **order matters**! Each transformation is applied sequentially. If you apply transformation $T_1$ first, then $T_2$, and then $T_3$ to a point $P$, the final transformed point $P'$ is calculated as:
$$P' = T_3 \cdot (T_2 \cdot (T_1 \cdot P))$$
Due to the associative property of matrix multiplication, this can also be written as:
$$P' = (T_3 \cdot T_2 \cdot T_1) \cdot P$$
This means you can multiply the transformation matrices together [in reverse order of application] to get a single combined transformation matrix. However, remember that translations are additions and must be handled separately after all matrix multiplications.
Consider a triangle with vertices $A(1,1)$, $B(3,1)$, and $C(2,3)$. We want to **dilate** this triangle by a factor of $2$ [uniformly] from the origin.
The dilation matrix for a uniform dilation by factor $k=2$ is:
$$D = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}$$
Now, let's apply this matrix to each vertex:
For vertex $A(1,1)$:
$$\begin{bmatrix} x'_A \\ y'_A \end{bmatrix} = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \end{bmatrix} = \begin{bmatrix} (2)(1) + (0)(1) \\ (0)(1) + (2)(1) \end{bmatrix} = \begin{bmatrix} 2 \\ 2 \end{bmatrix}$$
So, $A' = (2,2)$.
For vertex $B(3,1)$:
$$\begin{bmatrix} x'_B \\ y'_B \end{bmatrix} = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} \begin{bmatrix} 3 \\ 1 \end{bmatrix} = \begin{bmatrix} (2)(3) + (0)(1) \\ (0)(3) + (2)(1) \end{bmatrix} = \begin{bmatrix} 6 \\ 2 \end{bmatrix}$$
So, $B' = (6,2)$.
For vertex $C(2,3)$:
$$\begin{bmatrix} x'_C \\ y'_C \end{bmatrix} = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} \begin{bmatrix} 2 \\ 3 \end{bmatrix} = \begin{bmatrix} (2)(2) + (0)(3) \\ (0)(2) + (2)(3) \end{bmatrix} = \begin{bmatrix} 4 \\ 6 \end{bmatrix}$$
So, $C' = (4,6)$.
The transformed triangle has vertices $A'(2,2)$, $B'(6,2)$, and $C'(4,6)$. The triangle has become twice as large! 📈
Let's **rotate** a point $P(3,4)$ by $90^\circ$ counter-clockwise around the origin.
The rotation matrix for $90^\circ$ CCW is:
$$R_{90^\circ} = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}$$
Now, we multiply this matrix by the column matrix of point $P$:
$$\begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} \begin{bmatrix} 3 \\ 4 \end{bmatrix} = \begin{bmatrix} (0)(3) + (-1)(4) \\ (1)(3) + (0)(4) \end{bmatrix} = \begin{bmatrix} -4 \\ 3 \end{bmatrix}$$
The rotated point is $P'(-4,3)$. You can visualize this: starting from $(3,4)$ and turning $90^\circ$ CCW brings you to the second quadrant at $(-4,3)$. 🧭
Let's take a point $P(2,5)$. First, we **reflect** it across the x-axis, and then we **translate** it by the vector $\begin{bmatrix} -1 \\ 3 \end{bmatrix}$.
Step 1: Reflection across the x-axis.
The reflection matrix for the x-axis is:
$$R_x = \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix}$$
Apply this to $P(2,5)$:
$$\begin{bmatrix} x'_1 \\ y'_1 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix} \begin{bmatrix} 2 \\ 5 \end{bmatrix} = \begin{bmatrix} (1)(2) + (0)(5) \\ (0)(2) + (-1)(5) \end{bmatrix} = \begin{bmatrix} 2 \\ -5 \end{bmatrix}$$
After reflection, the point is $P_1(2,-5)$.
Step 2: Translation by $\begin{bmatrix} -1 \\ 3 \end{bmatrix}$.
Now, we add the translation vector to $P_1(2,-5)$:
$$\begin{bmatrix} x'_2 \\ y'_2 \end{bmatrix} = \begin{bmatrix} 2 \\ -5 \end{bmatrix} + \begin{bmatrix} -1 \\ 3 \end{bmatrix} = \begin{bmatrix} 2 + (-1) \\ -5 + 3 \end{bmatrix} = \begin{bmatrix} 1 \\ -2 \end{bmatrix}$$
The final transformed point is $P'(1,-2)$. Notice how we handle the matrix multiplication first, and then the vector addition for translation. ➡️⬆️
Consider a point $P(1,2)$. We will apply three transformations in order:
Step 1: Scale.
The dilation matrix is $D = \begin{bmatrix} 3 & 0 \\ 0 & 1 \end{bmatrix}$.
$$\begin{bmatrix} x'_1 \\ y'_1 \end{bmatrix} = \begin{bmatrix} 3 & 0 \\ 0 & 1 \end{bmatrix} \begin{bmatrix} 1 \\ 2 \end{bmatrix} = \begin{bmatrix} (3)(1) + (0)(2) \\ (0)(1) + (1)(2) \end{bmatrix} = \begin{bmatrix} 3 \\ 2 \end{bmatrix}$$
After scaling, the point is $P_1(3,2)$.
Step 2: Rotate by $180^\circ$ CCW.
The rotation matrix for $180^\circ$ CCW is $R_{180^\circ} = \begin{bmatrix} -1 & 0 \\ 0 & -1 \end{bmatrix}$.
$$\begin{bmatrix} x'_2 \\ y'_2 \end{bmatrix} = \begin{bmatrix} -1 & 0 \\ 0 & -1 \end{bmatrix} \begin{bmatrix} 3 \\ 2 \end{bmatrix} = \begin{bmatrix} (-1)(3) + (0)(2) \\ (0)(3) + (-1)(2) \end{bmatrix} = \begin{bmatrix} -3 \\ -2 \end{bmatrix}$$
After rotation, the point is $P_2(-3,-2)$.
Step 3: Translate by $\begin{bmatrix} 2 \\ -4 \end{bmatrix}$.
Now, add the translation vector to $P_2(-3,-2)$:
$$\begin{bmatrix} x'_3 \\ y'_3 \end{bmatrix} = \begin{bmatrix} -3 \\ -2 \end{bmatrix} + \begin{bmatrix} 2 \\ -4 \end{bmatrix} = \begin{bmatrix} -3 + 2 \\ -2 + (-4) \end{bmatrix} = \begin{bmatrix} -1 \\ -6 \end{bmatrix}$$
The final transformed point is $P'(-1,-6)$. This example shows how to combine different types of transformations in a specific order to get the final result. 🤩
Test your understanding with these interactive questions.
Question 1: Which of the following best describes a **transformation** in geometry?
Question 2: How is a point $(x, y)$ typically represented as a matrix for transformation purposes?
Question 3: Which matrix represents a **dilation** by a factor of $3$ in both the $x$ and $y$ directions?
Question 4: What is the transformation matrix for a **reflection** across the y-axis?
Question 5: Which matrix represents a **rotation** of $90^\circ$ counter-clockwise around the origin?
Question 6: Apply the dilation matrix $\begin{bmatrix} 2 & 0 \\ 0 & 0.5 \end{bmatrix}$ to the point $(4,6)$. What is the new point?
Question 7: What is the transformed point when $(2,-3)$ is reflected across the line $y=x$?
Question 8: If point $(-1,5)$ is rotated $180^\circ$ counter-clockwise around the origin, what are its new coordinates?
Question 9: What type of transformation does the matrix $\begin{bmatrix} -1 & 0 \\ 0 & -1 \end{bmatrix}$ represent?
Question 10: The matrix $\begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}$ represents which transformation?
Question 11: How is a **translation** represented when combining it with other matrix transformations for a point $(x,y)$?
Question 12: What is the new position of point $(1,1)$ after being translated by the vector $\begin{bmatrix} -2 \\ 3 \end{bmatrix}$?
Question 13: A point $(1,0)$ is first rotated $90^\circ$ counter-clockwise around the origin, and then reflected across the x-axis. What are its final coordinates?
Question 14: A point $(1,0)$ is first reflected across the x-axis, and then rotated $90^\circ$ counter-clockwise around the origin. What are its final coordinates?
Question 15: If a point $(x,y)$ is rotated $270^\circ$ counter-clockwise around the origin, what are its new coordinates in terms of $x$ and $y$?
Question 16: What is the matrix for reflection across the line $y=-x$?
Question 17: If a square is dilated by a uniform factor of $3$, how does its area change?
Question 18: What is the standard rotation matrix for an angle $\theta$ in the **clockwise** direction around the origin?
Question 19: A point is transformed first by matrix $M_1 = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}$ and then by matrix $M_2 = \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix}$. What single matrix performs both transformations in this order?
Question 20: A point $(3, -2)$ is first translated by $\begin{bmatrix} 1 \\ 4 \end{bmatrix}$ and then rotated $90^\circ$ counter-clockwise around the origin. What is its final position?
You've successfully journeyed through the world of **function transformations using matrices**! We covered the four main types of transformations and how to represent and apply them mathematically:
Remember that the **order of transformations matters**! When combining multiple matrix transformations, you multiply the matrices in the reverse order of application. However, translations are always added after all matrix multiplications. Mastering these concepts provides a powerful tool for understanding and manipulating geometric shapes! Keep practicing, and you'll soon be a transformation pro! ✨