# Nakafa Framework: LLM
URL: /en/subject/high-school/11/mathematics/geometric-transformation/matrix-transformation
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/11/mathematics/geometric-transformation/matrix-transformation/en.mdx
Output docs content for large language models.
---
import { getColor } from "@repo/design-system/lib/color";
import { LineEquation } from "@repo/design-system/components/contents/line-equation";
export const metadata = {
  title: "Matrix and Transformation Connection",
  description: "Learn how 2×2 matrices perform geometric transformations like rotations and reflections on points and shapes with step-by-step examples.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "05/10/2025",
  subject: "Geometric Transformation",
};
## What is the Connection between Matrices and Geometric Transformations?
A  matrix can be associated with transformation operations on any point in the Cartesian plane.
A point in the Cartesian plane, often symbolized by the ordered pair , can also be symbolized by the position vector . This position vector notation will be frequently used in discussing the connection between matrices and transformations.
If a point  is transformed by the matrix , its image  is obtained from matrix multiplication:
Thus,  and .
## Multiplying a Matrix by a Position Vector
If  represents any point in the Cartesian plane, find the product of .
**Alternative Solution:**
The matrix product is:
It can be observed that the point  is transformed by the matrix  into the point . This is the formula for a  counter-clockwise rotation about the origin.
      Transformation of Point  by Matrix{" "}
      
    >
  }
  description={
    <>
      Point  is transformed into{" "}
      .
    >
  }
  data={[
    {
      points: [{ x: 0, y: 0, z: 0 }],
      color: getColor("ROSE"),
      showPoints: true,
      labels: [{ text: "O", at: 0, offset: [0.3, -0.3, 0] }],
    },
    {
      points: [{ x: 2, y: 3, z: 0 }],
      color: getColor("SKY"),
      showPoints: true,
      labels: [{ text: "P(2,3)", at: 0, offset: [0.3, 0.3, 0] }],
    },
    {
      points: [{ x: -3, y: 2, z: 0 }],
      color: getColor("EMERALD"),
      showPoints: true,
      labels: [{ text: "P'(-3,2)", at: 0, offset: [-0.7, 0.3, 0] }],
    },
    {
      points: [
        { x: 0, y: 0, z: 0 },
        { x: 2, y: 3, z: 0 },
      ],
      color: getColor("INDIGO"),
    },
    {
      points: [
        { x: 0, y: 0, z: 0 },
        { x: -3, y: 2, z: 0 },
      ],
      color: getColor("INDIGO"),
    },
  ]}
  showZAxis={false}
  cameraPosition={[0, 0, 10]}
/>
## Multiplying a Matrix by Three Points Simultaneously
Find the image of , with vertices , , and  transformed by the matrix .
**Alternative Solution:**
First, we can write the coordinates of the points as columns of a matrix, i.e.,  (Columns A, B, C).
Next, multiply this matrix from the left by .
  
  
The result of the transformation is a new triangle  with vertices , , and .
The matrix  represents a  rotation about the origin.
      Transformation of  by Matrix{" "}
      
    >
  }
  description={
    <>
      Triangle  is transformed into{" "}
      .
    >
  }
  data={[
    // Triangle ABC (Original)
    ...[
      {
        from: { x: 1, y: 1, z: 0, label: "A(1,1)" },
        to: { x: 4, y: 1, z: 0, label: "B(4,1)" },
      },
      {
        from: { x: 4, y: 1, z: 0, label: "B(4,1)" },
        to: { x: 4, y: 2, z: 0, label: "C(4,2)" },
      },
      {
        from: { x: 4, y: 2, z: 0, label: "C(4,2)" },
        to: { x: 1, y: 1, z: 0, label: "A(1,1)" },
      },
    ].map((segment) => ({
      points: [segment.from, segment.to],
      color: getColor("AMBER"),
      showPoints: true,
      labels: [{ text: segment.from.label, at: 0, offset: [0.3, 0.3, 0] }],
    })),
    // Triangle A'B'C' (Image)
    ...[
      {
        from: { x: -1, y: -1, z: 0, label: "A'(-1,-1)" },
        to: { x: -4, y: -1, z: 0, label: "B'(-4,-1)" },
      },
      {
        from: { x: -4, y: -1, z: 0, label: "B'(-4,-1)" },
        to: { x: -4, y: -2, z: 0, label: "C'(-4,-2)" },
      },
      {
        from: { x: -4, y: -2, z: 0, label: "C'(-4,-2)" },
        to: { x: -1, y: -1, z: 0, label: "A'(-1,-1)" },
      },
    ].map((segment) => ({
      points: [segment.from, segment.to],
      color: getColor("TEAL"),
      showPoints: true,
      labels: [{ text: segment.from.label, at: 0, offset: [0.3, 0.3, 0] }],
    })),
  ]}
  showZAxis={false}
  cameraPosition={[0, 0, 12]}
/>
## Exercises
1.  Find the product of . What transformation does this matrix represent?
2.  A transformation is associated with the matrix . Find the image of a triangle with vertices , , and  under this transformation!
### Key Answers
1.  
    The point  is transformed into .
    This is a  (or ) clockwise rotation about the origin.
2.  Transformation matrix .
    Vertices: , , .
    Point matrix: .
    
      
      
    
    Image vertices: , , .
    (This transformation is known as a shear)