Coordinate transformations of points on the plane
Introduction to translations, flips, turns, and rescaling
A coordinate transformation is a rule that sends each location on a plane to a new location. In introductory geometry, the essential rules are translations, reflections, rotations, and dilations. A translation slides a point, a reflection flips it across a line, a rotation turns it around a center, and a dilation changes its distance from the center. This calculator applies one of those rules to one point at a time, then draws the original point P and the image P′ so that the algebra has a visible meaning.
The input is an ordered pair ; its output is an image pair . The same point-by-point rule works for a complete figure. To transform a triangle, calculate every vertex with the same rule and reconnect the transformed vertices in their original order. This straightforward idea appears in school geometry, animation, robotics, computer graphics, and map drawing. The graph is not merely decoration: it helps reveal whether a sign, direction, or scale factor is sensible.
How to use this coordinate transformation calculator
First, type finite numbers for Original x and Original y. Next, select the kind of transformation. A translation asks for horizontal and vertical shifts, a rotation asks for an angle in degrees, and a dilation asks for the scale factor k. Press Transform to calculate the image. The result sentence gives the coordinates and the applied rule, while the graph shows the path or guide line associated with the choice.
Use result as new input when a problem requires a composition. It copies P′ into the two original-coordinate boxes, ready for the next operation. This lets you test an important fact: order matters. A point translated before it is rotated normally does not end at the location produced by rotating it before translating it. Copy link to this transformation creates a shareable URL containing the current values, and Reset calculator restores a blank starting point. The calculator deliberately handles one operation per submission so that every stage of a multi-step construction remains visible and checkable.
Coordinate transformation formulas used by the calculator
All reflections and rotations here are about the origin or an axis through it. Positive rotation angles are counterclockwise, and dilation is centered at the origin. These assumptions keep the rules predictable. A translation by (a, b) uses . Reflection across the x-axis uses , reflection across the y-axis uses , and reflection through the origin uses . Reflecting across simply swaps the coordinates: .
For a rotation through θ degrees, the calculator uses . For a dilation, multiply both coordinates by k: . Quarter-turn rotations use exact sine and cosine values, so a point with whole-number coordinates does not acquire a misleading value such as 0.9999.
The displayed matrix is the compact form of the rotation rule. It is worth recognizing because repeated rotations are represented by matrix multiplication, the same language used for camera orientation and computer graphics. Translations, rotations, and reflections preserve distance. A reflection reverses orientation, while a translation and rotation preserve it. A dilation preserves angles and shape but scales every distance by |k|; its image is similar to the original rather than congruent.
Coordinate transformation identities for checking an answer
These related rules provide useful checks when you work by hand. They are not additional controls in the calculator; instead, they explain why familiar shortcuts work. A 90° turn, a half turn, and a 270° counterclockwise turn each have an especially simple coordinate rule:
A reflection across the other diagonal exchanges the coordinates and changes both signs. The radius from the origin, written r, is a fast way to verify a rotation or reflection because it should not change.
Translations keep every displacement vector unchanged, whereas dilation multiplies every distance from the center by the absolute value of the scale factor. These facts explain the visual behavior of the graph.
Every transformation also has an inverse when its needed parameters are available. Undoing a translation negates its shift; undoing a rotation negates its angle; and undoing a nonzero dilation uses the reciprocal scale factor.
Matrix notation is another reliable checking language. The following reflection matrices produce the same coordinate rules stated above. A reflection matrix applied twice returns the original point, which is why a double reflection over the same line cancels out.
In computer graphics, a third coordinate of 1 permits translations to be written as matrices too. This page does not require matrix multiplication, but the representation connects simple coordinate rules to larger transformation pipelines.
The calculator accepts degrees, while the standard trigonometric functions used internally work in radians. Exact quarter-turn results arise from the sine and cosine identities below.
Worked example: rotating and then translating a point
Start with P = (3, 1). A 90° counterclockwise rotation maps it to (−1, 3), because . Now translate that image by (2, −4): the final point is (1, −1). If you translate the original point first, you get (5, −3), and rotating that point produces (3, 5). The two final answers differ, which is the practical reason to write down the required order.
As another quick check, reflect (−4, 7) over the x-axis. Only the vertical coordinate changes sign, so the image is (−4, −7). For a dilation, applying k = 0.5 to (−3, 4) yields (−1.5, 2), halfway along the ray from the origin. A negative k both rescales and places the image on the opposite side of the origin. When checking a dilation on the graph, notice that k = 1 leaves the point unchanged, k = 0 sends every point to the origin, and values between −1 and 1 bring the image closer to the origin.
Common coordinate transformation checks
Most errors are sign or direction errors. In a translation, dx belongs to x and dy belongs to y. Across the x-axis, change only y; across the y-axis, change only x; across y = x, swap rather than negate. Positive angles turn counterclockwise. Finally, do not expect whole-number results after every rotation: angles such as 30° and 45° usually introduce decimals because their sine and cosine values are not integers. Use the grid as a reasonableness check: a rotation should keep the point’s distance from the origin, and a reflection should place it the same perpendicular distance on the other side of its mirror line.
Limitations and assumptions of this point transformation tool
This tool applies one transformation to one coordinate pair for each calculation. It does not accept a polygon, symbolic radicals, or a custom rotation center directly. To rotate around another point, translate that center to the origin, rotate, and translate back. Results are rounded to four decimal places for readability; extremely large inputs can also lose precision because browsers use double-precision arithmetic. These limits do not affect ordinary classroom coordinates. The graph automatically changes scale to display the original and image points, so its spacing is illustrative rather than a fixed ruler.
Coordinate geometry is not geodetic datum conversion
“Coordinate transformation” can also mean changing the reference system for a real location, such as converting latitude and longitude to UTM or moving between WGS 84 and NAD 27. That is different from this plane-geometry calculator. A geographic conversion needs an ellipsoid, projection, datum, and location-specific parameters. For example, degrees, minutes, and seconds convert to decimal degrees using:
Here s is −1 for west longitude or south latitude. WGS 84 uses m and ; UTM includes the central scale . Its simple zone estimate is:
Those formulas are retained for reference, but they are not inputs to this calculator. Use an authoritative geodetic service such as NOAA NGS NCAT when a result identifies a place on Earth. Plane transformations use abstract units and simple algebra; geographic transformations require documented reference systems and should not be inferred from a classroom coordinate rule.
Coordinate transformation questions students ask
How do you rotate a point 90 degrees counterclockwise about the origin?
Swap the coordinates and negate the new x-coordinate: (x, y) becomes (−y, x). Thus (3, 4) becomes (−4, 3).
What is the difference between reflecting across the y-axis and y = x?
The y-axis reflection maps (x, y) to (−x, y). The line y = x reflection maps (x, y) to (y, x). One negates x; the other swaps the coordinates.
Why can a rotated point have decimal coordinates?
Only rotations by multiples of 90° consistently use sine and cosine values of 0, 1, or −1. Other angles commonly produce irrational values, which are shown here as rounded decimals.
Grid Shift Relay: a coordinate transformation mini-game
Put the indigo working triad exactly over the amber target triad. Each short round hides a translation, rotation, dilation, or reflection. Select a dial chip at the top of the game, use the arrow keys to tune it, and drag the grid to set dx and dy. Lock a match before the timer expires. Early rounds teach one operation; later rounds combine them, so reading orientation, size, angle, and offset becomes a satisfying rapid sequence.
Controls: tap a dial chip, then use ← and →; use ↑ and ↓ to choose a chip; drag the stage to set translation; press Space or Enter to lock. On touch devices, drag first and tap chips to choose the remaining controls.
Click to play when you are ready to begin the relay.
Takeaway: a reflection changes orientation, a dilation changes size, a rotation changes direction, and translation accounts for the remaining offset. That is the same diagnostic order used to interpret a composed coordinate transformation.
