# Nakafa Framework: LLM
URL: /en/subject/high-school/11/mathematics/geometric-transformation/rotation
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/11/mathematics/geometric-transformation/rotation/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: "Rotation",
  description: "Master geometric rotation transformations with step-by-step formulas, examples, and visual guides. Learn to rotate points and lines around the origin.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "05/10/2025",
  subject: "Geometric Transformation",
};
## Understanding Rotation
Rotation is a geometric transformation that turns every point of an object around a specific center point by a certain angle. This transformation preserves the congruence (shape and size) of the object, but its orientation can change.
Key aspects of rotation:
- **Center of Rotation (C):** The fixed point around which the rotation occurs.
- **Angle of Rotation ():** The amount of turn. If the angle is positive, the rotation is counter-clockwise. If the angle is negative, the rotation is clockwise.
### Definition of Rotation
Given a center point  and a directed angle . Rotation with center  by an angle , denoted by  or , is defined as a transformation that maps:
1. Point  to itself ().
2. Any point  to a point  such that  (the distance from the center to the point is equal to the distance from the center to the image) and the angle formed by ray  and ray  is .
## Rotation about the Origin
A common special case is rotation about the origin .
If a point  is rotated about the origin  by an angle , its image coordinates  can be calculated using the following formulas:
  
  
## Rotating a Point by 90°
A point  is rotated about the origin  by . Determine its image.
Here, , , and .
We know  and .
Using the formulas:
  
  
Thus, the image of point  is .
      Rotation of Point  by{" "}
       about the Origin
    >
  }
  description={
    <>
      Visualization of rotating point  to{" "}
       by {" "}
      counter-clockwise around the origin .
    >
  }
  data={[
    {
      points: [{ x: 0, y: 0, z: 0 }],
      color: getColor("ROSE"),
      showPoints: true,
      labels: [{ text: "O(0,0)", at: 0, offset: [0.3, -0.3, 0] }],
    }, // Center of Rotation
    {
      points: [{ x: 0, y: 4, z: 0 }],
      color: getColor("SKY"),
      showPoints: true,
      labels: [{ text: "B(0,4) - Original", at: 0, offset: [0.3, 0.3, 0] }],
    }, // Original Point
    {
      points: [{ x: -4, y: 0, z: 0 }],
      color: getColor("EMERALD"),
      showPoints: true,
      labels: [{ text: "B'(-4,0) - Image", at: 0, offset: [-0.7, 0.3, 0] }],
    }, // Image Point
    {
      points: [
        { x: 0, y: 0, z: 0 },
        { x: 0, y: 4, z: 0 },
      ],
      color: getColor("PURPLE"),
    }, // Line OB
    {
      points: [
        { x: 0, y: 0, z: 0 },
        { x: -4, y: 0, z: 0 },
      ],
      color: getColor("PURPLE"),
    }, // Line OB'
  ]}
  showZAxis={false}
  cameraPosition={[2, 2, 15]}
/>
## Rotating a Line by 90°
Determine the image of the line  rotated about the origin  by .
Let  be any point on the line . Its image, , after a  rotation about the origin is:
  
  
From this, we get  and .
Substitute  and  into the original line equation :
  
  
Replacing  and  back to  and , the equation of the image line is  or .
      Rotation of Line  by{" "}
       about the Origin
    >
  }
  description={
    <>
      Original line  rotated{" "}
       results in image line{" "}
      .
    >
  }
  data={[
    {
      points: [{ x: 0, y: 0, z: 0 }],
      color: getColor("ROSE"),
      showPoints: false,
      labels: [{ text: "O(0,0)", at: 0, offset: [0.5, -0.5, 0] }],
    }, // Center of Rotation
    {
      // Original Line: y = 2x
      points: Array.from({ length: 11 }, (_, i) => {
        const xVal = (i - 5) * 0.5; // range from -2.5 to 2.5
        return { x: xVal, y: 2 * xVal, z: 0 };
      }),
      color: getColor("PURPLE"),
      showPoints: false,
      labels: [{ text: "y=2x", at: 6, offset: [1, 0.5, 0] }],
    },
    {
      // Image Line: y = -1/2 x
      points: Array.from({ length: 11 }, (_, i) => {
        const xVal = (i - 5) * 0.5;
        return { x: xVal, y: (-1 / 2) * xVal, z: 0 };
      }),
      color: getColor("PINK"),
      showPoints: false,
      labels: [{ text: "y=(-1/2)x", at: 1, offset: [0.3, 0.5, 0] }],
    },
  ]}
  showZAxis={false}
  cameraPosition={[0, 0, 10]}
/>
## Exercises
1.  A point  is rotated about the origin  by . Determine its image.
2.  Determine the image of the line  rotated about the origin  by .
3.  Point  is rotated about the origin  by . Determine the coordinates of its image!
### Key Answers
1.  Point , . .
    
      
      
    
    Thus, its image is .
2.  Line , .
    
      
      
    
    So  and .
    Substitute into the line equation: .
    Image line equation:  or .
3.  Point , . .
    
      
      
    
    
      
      
    
    Thus, the image of point P is .