Transformations Calculator

Enter points and choose a transformation to find where they land.

Type points as (x, y), separated by commas. Three or more draw a shape.

Mirror line

The line to reflect in.

The number in the mirror line x = k or y = k.

Try

Result

You entered(1,2), mirror: in the line y = x\left(1, 2\right),\ \text{mirror: in the line y = x}

(2,1)\displaystyle \left(2, 1\right)

Rule

(x,y)→(y,x)\displaystyle \left(x, y\right) \to \left(y, x\right)
Show the work
  1. Reflection in a line

    The mirror is the line y=xy = x. Every point of that line has equal coordinates, and reflecting in it swaps the x- and y-coordinates of a point.

    Using (x,y)→(y,x)\left(x, y\right) \to \left(y, x\right)

  2. The rule on the first point

    Put the first point, (1,2)\left(1, 2\right), through the rule to see how it works before doing the rest.

    (x,y)→(2,1)\left(x, y\right) \to \left(2, 1\right)
  3. Apply the rule to every point

    The same rule is applied to each of the one point. Each row shows a point and its image.

    (1,2)→(2,1)\begin{array}{rcl} \left(1, 2\right) & \to & \left(2, 1\right) \end{array}
  4. Result

    So the image after the reflection in the line y = x is (2,1)\left(2, 1\right).

Worked examples

(1,2), (3,2), (1,5), move (3,−2)\left(1, 2\right),\ \left(3, 2\right),\ \left(1, 5\right),\ \text{move } (3, -2)
(4,0), (6,0), (4,3)\left(4, 0\right),\ \left(6, 0\right),\ \left(4, 3\right)

Translation, The rule on the first point

(1,2), (3,4), mirror: in the x-axis\left(1, 2\right),\ \left(3, 4\right),\ \text{mirror: in the x-axis}
(1,−2), (3,−4)\left(1, -2\right),\ \left(3, -4\right)

Reflection in the x-axis, The rule on the first point

(1,2), mirror: in the line y = x\left(1, 2\right),\ \text{mirror: in the line y = x}
(2,1)\left(2, 1\right)

Reflection in a line, The rule on the first point

(1,2), mirror: in the line x = 3\left(1, 2\right),\ \text{mirror: in the line x = 3}
(5,2)\left(5, 2\right)

Reflection in a line, The rule on the first point

(1,2), (3,1), 90∘ about (0,0)\left(1, 2\right),\ \left(3, 1\right),\ 90^\circ \text{ about } \left(0, 0\right)
(−2,1), (−1,3)\left(-2, 1\right),\ \left(-1, 3\right)

Rotation about a point, The rule on the first point

(3,1), 180∘ about (1,1)\left(3, 1\right),\ 180^\circ \text{ about } \left(1, 1\right)
(−1,1)\left(-1, 1\right)

Rotation about a point, The rule on the first point

(1,2), (3,4), s=2 about (0,0)\left(1, 2\right),\ \left(3, 4\right),\ s = 2 \text{ about } \left(0, 0\right)
(2,4), (6,8)\left(2, 4\right),\ \left(6, 8\right)

Dilation from a centre, The rule on the first point

(4,6), s=0.5 about (2,2)\left(4, 6\right),\ s = 0.5 \text{ about } \left(2, 2\right)
(3,4)\left(3, 4\right)

Dilation from a centre, The rule on the first point