Rotation Transformation

April 12, 2026

Problem

Rotate a triangle 90° counterclockwise about the origin. Show the original and the rotated image.

Explanation

A rotation moves every point in the plane the same angular distance about a fixed point (the center of rotation). The shape and size are preserved — only the orientation changes.

The Rotation Formulas

For a counterclockwise rotation by angle θ\theta about the origin:

x=xcosθysinθx' = x\cos\theta - y\sin\theta

y=xsinθ+ycosθy' = x\sin\theta + y\cos\theta

In matrix form:

(xy)=(cosθsinθsinθcosθ)(xy)\begin{pmatrix}x'\\y'\end{pmatrix} = \begin{pmatrix}\cos\theta & -\sin\theta\\\sin\theta & \cos\theta\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}

For the special case θ=90°\theta = 90° (cos=0\cos = 0, sin=1\sin = 1):

x=y,y=xx' = -y, \qquad y' = x

So the rotation (x,y)(y,x)(x, y) \to (-y, x) rotates 90° counterclockwise. Conveniently, you can do this by hand: just swap and negate.

Step-by-Step Solution

Given: A triangle with vertices A=(1,1)A = (1, 1), B=(4,1)B = (4, 1), C=(1,3)C = (1, 3). Rotate it 90° counterclockwise about the origin.

Find: The image vertices.


Step 1 — Apply the formula (x,y)(y,x)(x, y) \to (-y, x) to each vertex.

A=(1,1)(1,1)=AA = (1, 1) \to (-1, 1) = A'

B=(4,1)(1,4)=BB = (4, 1) \to (-1, 4) = B'

C=(1,3)(3,1)=CC = (1, 3) \to (-3, 1) = C'

Step 2 — Verify with the matrix multiplication for AA.

(cos90°sin90°sin90°cos90°)(11)=(0110)(11)=(0(1)+(1)(1)1(1)+0(1))=(11)    \begin{pmatrix}\cos 90° & -\sin 90°\\\sin 90° & \cos 90°\end{pmatrix}\begin{pmatrix}1\\1\end{pmatrix} = \begin{pmatrix}0 & -1\\1 & 0\end{pmatrix}\begin{pmatrix}1\\1\end{pmatrix} = \begin{pmatrix}0(1) + (-1)(1)\\1(1) + 0(1)\end{pmatrix} = \begin{pmatrix}-1\\1\end{pmatrix} \;\;\checkmark

Same answer.

Step 3 — Verify the side lengths are preserved.

AB=41=3|AB| = 4 - 1 = 3 (horizontal segment).

AB=(1(1))2+(41)2=0+9=3|A'B'| = \sqrt{(-1-(-1))^{2} + (4-1)^{2}} = \sqrt{0 + 9} = 3

The lengths match. Rotations preserve all distances.

Step 4 — Verify the angles are preserved.

The right angle at AA (since ABAB is horizontal and ACAC is vertical) becomes the right angle at AA' (now ABA'B' is vertical and ACA'C' is horizontal).

Step 5 — Other special rotations.

  • 180° about origin: (x,y)(x,y)(x, y) \to (-x, -y)
  • 270° (or −90°): (x,y)(y,x)(x, y) \to (y, -x)
  • 360°: identity, no change

Step 6 — Composition of rotations.

Two consecutive rotations of θ1\theta_1 and θ2\theta_2 about the same point are equivalent to a single rotation of θ1+θ2\theta_1 + \theta_2. Two 90° rotations make a 180° rotation, etc. (This isn't true if the centers differ — that's a more complex operation.)


Answer: Rotating (1,1)(1,1), (4,1)(4,1), (1,3)(1,3) by 90° counterclockwise about the origin yields:

  A=(1,1),B=(1,4),C=(3,1)  \boxed{\;A' = (-1, 1),\quad B' = (-1, 4),\quad C' = (-3, 1)\;}

The triangle is preserved in size and shape but rotated to a new position. The map (x,y)(y,x)(x, y) \to (-y, x) does the work — and it generalizes to (x,y)(xcosθysinθ,xsinθ+ycosθ)(x, y) \to (x\cos\theta - y\sin\theta,\, x\sin\theta + y\cos\theta) for any angle θ\theta.

Try It

  • Adjust the rotation angle θ\theta.
  • Watch the triangle rotate smoothly through 0° to 360°.
  • The original triangle is faint, the rotated is bright.
  • Try θ=180°\theta = 180° — the triangle ends up at (1,1)(-1, -1), (4,1)(-4, -1), (1,3)(-1, -3).

Interactive Visualization

Parameters

90.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Rotation Transformation | MathSpin