A coordinate transformation is a rule that converts coordinates from one specified description to another. It can change an origin, rotate axes, convert units or replace Cartesian coordinates with polar coordinates. In a pure change of coordinates, the physical point need not move. Its numerical description changes because the reference used to describe it changes.
Translation, rotation, transformation matrices and inverse transformations make this rule precise. They allow a camera measurement to be expressed in a room frame, a local design to be placed in a larger model, or geographic data to be converted between reference systems. The essential information is the source, the destination and the direction in which the rule operates.
This guide explains coordinate transformations from first principles through original worked examples, then develops matrices, nonlinear mappings, projections and uncertainty. Modern Robotics’ introduction to homogeneous transformations provides the standard rigid-frame background. The emphasis here is on preserving meaning: a mathematically valid formula can still give the wrong answer when it is applied to the wrong frame, quantity, unit or timestamp.
Begin With One Point and Two Descriptions
Imagine a point marked on a floor. One coordinate system begins at a room corner. Another begins at a table corner two metres east and three metres north of the first origin, with parallel axes and the same units. The point can have room coordinates (7, 8) and table-relative coordinates (5, 5).
Nothing happened to the point while the numbers changed. The table-relative description subtracts the new origin’s room coordinates: (7, 8) − (2, 3) = (5, 5). To reconstruct the room description, add the offset back. This is the simplest example of a coordinate transformation.
The transformation is useful because it connects two otherwise separate reports. A local drawing can use small convenient coordinates, while a larger plan retains a shared reference. Without the conversion rule, the two pairs merely look inconsistent. With it, they become two compatible descriptions of one location.
Changing Coordinates and Moving Objects Are Different Operations
A passive transformation changes the description of a fixed object. An active transformation moves or deforms the object while the reference remains fixed. The same-looking matrix can appear in either operation, so the equation alone may not reveal which interpretation is intended.
For example, actively moving a point three units right adds three to its x-coordinate in a fixed frame. Moving the coordinate origin three units right while leaving the point fixed subtracts three from the point’s new coordinate. The apparent sign reversal comes from asking different questions.
Before manipulating symbols, complete a sentence such as “I am expressing the same point in frame B” or “I am rotating this object within frame A”. That sentence prevents a large family of errors. A transformation should have an identified subject, not just a set of numbers and an instruction to multiply them.
A Transformation Needs Source and Target Labels
Write p_A for a point’s coordinates in frame A and p_B for its coordinates in frame B. For an instantaneous rigid relationship with matching length units, this guide uses p_A = R_AB p_B + t_AB. The matrix R_AB converts B-oriented components into A-oriented components. The vector t_AB gives B’s origin in A coordinates.
The order of the subscripts is defined by that equation. Different books or software may use another convention, so memorising a subscript order without its definition is unsafe. Here, the transformation takes B coordinates as input and returns A coordinates as output.
A direct check is to set p_B = 0. The equation gives p_A = t_AB, which is exactly where B’s origin should appear in A. A second check is to input one unit along a B-axis. The resulting displacement should match that axis’s direction in A. These tests establish meaning before any larger computation is trusted.
Translation Is an Offset, Not a Rotation
When the axes of A and B are parallel and have the same orientation, R_AB is the identity. The equation reduces to p_A = p_B + t_AB. Every point receives the same offset. Relative displacements between points remain unchanged because the common translation cancels when the points are subtracted.
Take t_AB = (4, −1) metres. A point at B coordinates (2, 6) becomes A coordinates (6, 5). A second point at B coordinates (5, 2) becomes (9, 1). Their difference is (3, −4) in both frames, giving the same five-metre separation.
If a supposed pure translation changes distances or angles, something else has been included accidentally. Units may differ, a rotation may be missing, or the wrong offset may have been applied to one point. Invariants provide a way to diagnose the operation rather than simply inspecting whether the final coordinates look reasonable.
A Rotation Matrix Describes Axis Directions
For a two-dimensional counterclockwise rotation through angle θ, the matrix has rows (cos θ, −sin θ) and (sin θ, cos θ). Multiplying it by a column vector (x, y) gives (x cos θ − y sin θ, x sin θ + y cos θ).
As a frame mapping, its first column tells where B’s positive x-direction points in A, and its second column tells where B’s positive y-direction points in A. For θ = 90 degrees, the columns are (0, 1) and (−1, 0). Thus B’s x-direction points upward in A, and B’s y-direction points left.
The columns have unit length and are perpendicular. These properties explain why a proper rotation preserves lengths and angles. They also provide a numerical test: R transpose times R should be the identity within a suitable tolerance. A matrix that looks approximately rotational but includes scale drift should not be accepted as an exact rigid rotation without checking.
A Complete Rotation-and-Translation Example
Let B’s axes be rotated ninety degrees counterclockwise relative to A, and let B’s origin have A coordinates (4, 3) metres. A point has B coordinates (2, 1). First convert its displacement into A directions: the quarter-turn maps (2, 1) to (−1, 2).
Now add the origin offset. The point’s A coordinates are (−1, 2) + (4, 3) = (3, 5). The intermediate vector is a displacement from B’s origin, expressed in A directions. The final addition places that displacement at the correct A location.
This distinction prevents a common mistake: rotating the point’s final world position instead of rotating its local displacement. The order is not arbitrary. In p_A = R_AB p_B + t_AB, rotation acts on the local coordinates first, and translation then locates the transformed displacement relative to A’s origin.
The Inverse Must Undo the Operations in Reverse Order
Starting from p_A = R_AB p_B + t_AB, first subtract t_AB. Then apply the inverse rotation. For a proper orthonormal rotation matrix, the inverse equals the transpose, giving p_B = R_ABᵀ(p_A − t_AB).
In the worked example, subtract (4, 3) from (3, 5) to obtain (−1, 2). A clockwise quarter-turn returns (2, 1), the original B coordinates. Rotating first and subtracting the original unrotated offset would generally produce another point.
The inverse translation, when written as a separate term, is −R_ABᵀt_AB. It is not usually just −t_AB because the inverse offset must be expressed in B’s directions. This explains why “reverse the signs” is an unreliable shortcut for a combined rigid transformation. Deriving the inverse from the defining equation is both clearer and safer.
Points and Displacement Vectors Transform Differently
A point needs both rotation and translation because it is located relative to an origin. A displacement between two points needs only the rotation when converting between rigid frames at the same instant. Subtracting the transformed points cancels the translation term.
Let p_A = Rp_B + t and q_A = Rq_B + t. Then q_A − p_A = R(q_B − p_B). The displacement therefore becomes d_A = Rd_B. Adding t to the displacement as well would incorrectly make it depend on the arbitrary origin offset.
A position, a direction and a velocity may all be stored as three numbers, but their meanings differ. A direction has no location to translate. A time-dependent velocity conversion may need frame-motion terms in addition to rotating components. Data structure alone does not determine the correct mathematics; the quantity represented by the data does.
Homogeneous Coordinates Combine Two Operations
Ordinary matrix multiplication by R cannot add an arbitrary translation. Homogeneous coordinates solve this by appending one extra component. In a plane, a point (x, y) becomes (x, y, 1). In three dimensions, a point becomes (x, y, z, 1).
The transformation matrix places R in its upper-left block and t in its last column, with a bottom row of zeros followed by one. Multiplying the augmented point produces Rp + t in the spatial components and leaves the final component equal to one. A planar rigid transform is therefore three by three, while a spatial one is four by four.
MDN’s matrix-math guide explains this representation in graphics. The additional coordinate is bookkeeping for the transformation, not a newly measured spatial direction. Within an affine homogeneous representation, appending zero to a displacement instead of one makes the translation column contribute nothing, matching the distinction derived from point differences.
Composition Works Like a Chain of Conversions
Suppose T_AB maps B coordinates into A, and T_BC maps C coordinates into B. For column-coordinate vectors, the composite transformation is T_AC = T_AB T_BC. The rightmost operation acts first: C becomes B, then B becomes A.
The intermediate label should match. Trying to compose two transformations whose output and input frames do not connect is like adding a distance in metres to a timestamp: multiplication may still be numerically possible, but the intended interpretation is missing. Dimensional matrix compatibility is necessary, not sufficient.
Composition is associative, so a long valid chain can be grouped in different ways without changing the exact result. It is not generally commutative, so changing the order can change the result. The inverse of a chain reverses the order as well as inverting each step. These properties follow directly from what it means to pass one step’s output to the next.
Why Order Matters: A Two-Step Test
Use an active-operation example in one fixed plane. Start with point (1, 0). Rotate it ninety degrees counterclockwise about the origin to get (0, 1), then translate it three units right to get (3, 1).
Now reverse the order. Translate first to get (4, 0), then rotate to get (0, 4). Both procedures use the same rotation and translation, but their final points differ. The translation vector is carried around by the later rotation in the second procedure.
This small numerical test is often more memorable than the phrase “matrix multiplication is noncommutative”. It also clarifies why an instruction such as “rotate and shift the model” needs an order and a reference for the shift. A transformation sequence should be written so that another person can reproduce the same physical or representational operation.
Rigid, Similarity and Affine Transformations Preserve Different Things
A rigid transformation preserves distances and angles. A similarity transformation adds uniform scale, preserving angles and proportions while multiplying distances by one common factor. An affine transformation can include unequal scale and shear; it preserves straight lines and parallelism when nonsingular, but not generally lengths or angles.
For an active scaling example, map (x, y) to (2x, y). A unit circle becomes an ellipse because horizontal distances double while vertical distances stay unchanged. A square becomes a rectangle. This is not a rigid rotation, even if a software interface presents both operations as generic transforms.
When the operation instead changes coordinate units or basis, the physical object may remain unchanged while numerical lengths change. Keep that interpretation explicit. A determinant can describe numerical area scaling, active geometric deformation or a change-of-variables factor, depending on the problem. The algebra is shared; the physical claim is not automatically the same.
A Unit Conversion Does Not Enlarge the Object
A point two metres from an origin can be described as two hundred centimetres from it. The coordinate number increases by one hundred, but the distance has not physically increased. A coordinate transformation must keep the unit change attached to the resulting value.
In two dimensions, converting both metre coordinates to centimetres multiplies numerical areas by ten thousand. One square metre becomes ten thousand square centimetres, describing the same region. In three dimensions, numerical volumes change by a factor of one million. Those factors are not evidence that the object expanded.
Mixed units are particularly dangerous in combined transformations. A translation specified in millimetres cannot be added directly to coordinates measured in metres. Convert the offset or the coordinates first, and document the convention. Unit tests using known physical distances are as important as checking matrix multiplication itself.
A General Basis Can Be Oblique
Choose planar basis vectors b₁ = (1, 0) and b₂ = (1, 1). A point represented by local coordinates (u, v) has Cartesian displacement u b₁ + v b₂ = (u + v, v). The matrix with these basis vectors as columns converts local coefficients into ordinary Cartesian components.
Local coordinates (2, 3) therefore give Cartesian coordinates (5, 3). To reverse the conversion, read v = y and u = x − y. The axes are not perpendicular, but the representation is valid because the basis vectors are independent.
The distance from the origin is not √(u² + v²) in this oblique basis. It is √((u + v)² + v²). A coordinate system does not supply the ordinary Pythagorean formula merely because it uses two numbers. The angles and lengths of its basis directions determine the metric needed to interpret those numbers as physical distances.
The Metric Must Follow the Coordinate Change
If Cartesian displacement p is related to new coordinate coefficients q by p = Bq, then squared Euclidean length is pᵀp = qᵀBᵀBq. The matrix G = BᵀB is the metric matrix for those coordinates. It records the basis vectors’ lengths and mutual angles.
For an orthonormal basis, G is the identity, recovering the sum of squared components. For the oblique basis above, G has rows (1, 1) and (1, 2), so squared length is u² + 2uv + 2v². The cross-term accounts for the non-right angle between the basis directions.
This provides a deeper explanation of coordinate invariance. The physical length remains the same when both the coordinates and the metric are transformed consistently. Changing the labels while continuing to apply an incompatible distance formula is what produces the false discrepancy. The coordinate tuple is only one part of the geometric description.
Not Every Matrix Has an Inverse
A nonsingular square linear transformation has a unique inverse. If its determinant is zero, it collapses at least one independent direction and cannot reconstruct every input uniquely. Mapping (x, y) to (x, 0), for example, discards the y-coordinate.
Many input points then produce the same output. The output (3, 0) could have come from (3, 1), (3, 10) or any other point with x = 3. No algebraic trick can recover the missing y-value without additional information or assumptions.
Even an invertible matrix can be poorly conditioned when it nearly collapses a direction. Small measurement or rounding errors may then produce large changes after inversion. Checking only that the determinant is nonzero is not enough for numerical reliability. The transformation’s sensitivity and the required output accuracy also matter.
Normals Are Not Ordinary Direction Vectors Under Unequal Scaling
A surface normal is defined by perpendicularity to tangent directions. Under a nonsingular linear map A, a tangent vector v becomes Av. To preserve the relationship nᵀv = 0, the transformed normal must be proportional to A⁻ᵀn, not generally An.
The reason follows by substitution: (A⁻ᵀn)ᵀ(Av) = nᵀA⁻¹Av = nᵀv. After transformation, normalise the resulting direction if a unit normal is required. For pure rotation, inverse transpose equals the rotation itself, which is why the distinction is easily missed in simple examples.
Under unequal scaling, using the ordinary point-direction rule can produce normals that are no longer perpendicular to the surface. A model can then occupy the correct position but have incorrect lighting or contact directions. Transform the defining property of the quantity, not merely its array of components.
A Nonlinear Coordinate Transformation Can Be Simpler Than a Matrix
Polar-to-Cartesian conversion uses x = r cos θ and y = r sin θ. This is a coordinate transformation, but it is not one fixed two-by-two matrix multiplying the pair (r, θ). The angle appears inside trigonometric functions, and the local relationship varies across the plane.
The reverse conversion uses r = √(x² + y²) and a quadrant-aware angle. Several angle values can represent the same direction, so an angular range convention is needed. At r = 0, every angle reaches the pole and there is no unique angular inverse.
This shows why “coordinate transformation” is broader than “matrix multiplication”. Matrices are powerful for linear and affine cases, but nonlinear charts, projections and calibrated corrections may require functions or multistep algorithms. Identify the transformation class before choosing the tool used to represent it.
The Jacobian Is a Local Transformation
For a smooth nonlinear map y = f(x), the Jacobian matrix contains the partial derivatives of each output with respect to each input. Near a specified point, a small change obeys Δy approximately equal to JΔx. The Jacobian is therefore a local linear description, not necessarily the complete map over a large region.
For polar-to-Cartesian conversion, the Jacobian has rows (cos θ, −r sin θ) and (sin θ, r cos θ). Its determinant is r. Equal increments of radial distance and angle therefore cover larger physical area farther from the pole.
OpenStax’s change-of-variables chapter explains how the absolute Jacobian determinant enters area and volume integrals. The pole’s zero determinant reflects the loss of a unique angular direction there. It is a coordinate singularity, not a missing physical point in the plane.
Transforming a Region Also Requires Transforming Its Limits
Changing variables in an integral is not complete after rewriting the integrand. The region’s limits must also be expressed in the new coordinates, and the appropriate area or volume factor must be included. Each part describes a different element of the same calculation.
A disk of radius three has Cartesian boundary x² + y² = 9. In nonnegative-radius polar coordinates, its region is 0 ≤ r ≤ 3 with one full angular turn. Its area is the integral of r over that region: the radial factor gives nine halves, and the angular integral gives 2π, producing 9π.
Integrating one instead of r over the polar parameter rectangle would measure that rectangle in coordinate space, not the physical disk’s area. The coordinate domain and the geometric region are connected by the transformation but are not identical measured objects. This distinction explains why the Jacobian is essential rather than an optional correction.
Perspective Projection Loses Depth
A simplified pinhole camera maps a three-dimensional point to image coordinates through u = fX/Z and v = fY/Z, with positive depth and a stated camera convention. Points (X, Y, Z) and (2X, 2Y, 2Z) produce the same image location.
One pixel therefore corresponds to a viewing ray, not a unique three-dimensional point. Camera calibration identifies the ray’s direction, but an additional depth, surface constraint or another observation is needed to locate a point along it. Inverting an image projection without that information is underdetermined.
This explains why an invertible coordinate change within a plane should not be confused with reducing a scene from three dimensions to two. A transformation pipeline may contain both kinds of operation. Mark where information is lost so later stages do not claim to reconstruct more than the measurements and assumptions actually support.
A Planar Homography Has a Specific Domain
A planar projective transformation, often called a homography, relates coordinates on a plane through a nonsingular three-by-three homogeneous matrix. The result is divided by its final homogeneous coordinate where that coordinate is nonzero. This can rectify the perspective appearance of a flat document.
The plane assumption matters. Points on raised objects above the document do not generally follow the same mapping as points on the document surface. A correction that makes the page rectangular can still distort or misplace a nearby three-dimensional object.
Similarly, a fitted homography does not guarantee useful accuracy outside the region supported by its calibration points. A mathematically defined output can be a poor extrapolation. Identify the physical plane, the correspondence quality and the area of intended use before treating one projective mapping as a general scene transformation.
Geographic Data May Need a Pipeline, Not One Offset
Converting geographic information can involve angular coordinates, map projections, different reference frames and height systems. A pair of numbers expressed in degrees is not directly comparable with an easting and northing in metres. Identifying both coordinate reference systems is the starting point.
PROJ’s geodetic transformation documentation describes pipelines that chain elementary operations, including coordinate conversions, frame transformations and unit changes. Some operations depend on time or supporting correction data. The output of one stage must have the meaning and units expected by the next.
For a general reader, the practical lesson is to avoid treating every map mismatch as a constant shift. An offset may repair one local example while failing elsewhere. Preserve the source and target system identifiers, relevant epoch and transformation method. A successful software call means that a computation ran; it does not independently prove that the intended geographic references were supplied.
Pixel Coordinates Depend on Where the Measurement Begins
Image and interface coordinates can refer to a full page, a viewport, a screen or an element. Scrolling changes some relationships while leaving others fixed. The same event can therefore carry several coordinate pairs, each correct in its own context.
MDN’s coordinate-systems guide distinguishes these contexts. In a simple untransformed layout, converting an element-relative position to page coordinates adds the element’s page offset. Borders, scrolling and applied transforms can require a more complete relationship than that simplified addition.
Pixel centres and image boundaries also use different conventions. A raster with H rows can index row centres from zero to H − 1, while a continuous image-edge coordinate can span zero to H. Reflecting one with H − 1 − y and the other with H − y answers different questions. Define the coordinate domain before choosing an apparently familiar flip formula.
A Time-Dependent Transformation Changes Velocity Rules
If p_A = R(t)p_B + t_AB(t), differentiating with respect to a shared classical time gives v_A = Rv_B + Ṙp_B + ṫ_AB. The derivative of the rotation and the velocity of the origin contribute. A point-coordinate transformation evaluated at one instant is not enough to convert a full motion state.
A point fixed on a rotating object has v_B = 0 but can still have nonzero v_A through Ṙp_B. A point fixed to a translating object can have nonzero v_A through the origin-velocity term. These are different mechanisms and can occur together.
The distinction is developed further in the companion article on reference frames. Here it serves as a transformation warning: do not apply a position matrix blindly to every quantity. Time, object type and the frame’s motion determine the complete rule. Position, direction, velocity, acceleration and covariance require related but distinct treatments.
Covariance Must Be Transformed Alongside the Estimate
Suppose a random coordinate vector x has covariance C and an exact affine transformation gives y = Ax + b. The mean transforms as A times the mean plus b. The centred deviations transform as A times the original deviations, so the output covariance is C_y = AC Aᵀ.
The exact offset b does not contribute to covariance because it cancels when deviations from the mean are formed. A rotation turns the uncertainty directions; unequal scaling changes their magnitudes. Transforming only the central point while leaving its uncertainty axes untouched produces an inconsistent result.
For a smooth nonlinear transformation, a local approximation uses C_y approximately equal to JCJᵀ at the chosen linearisation point. This is a first-order approximation, not an exact guarantee for broad or strongly non-Gaussian uncertainty. If transformation parameters are uncertain too, their contributions and any correlations must also be modelled. The formula cannot silently assume a perfectly known calibration.
A Small Calibration Error Can Grow With Distance
Consider a sensor whose orientation is uncertain by a small angle δθ. A target at distance L can have sideways position uncertainty approximately Lδθ after conversion to another frame. An orientation error that seems small in angular units can dominate the error budget for a distant target.
For L = 20 metres and δθ = 0.005 radians, the illustrative sideways effect is about 0.1 metre. Improving a local range measurement from a centimetre to a millimetre would not remove that orientation contribution. The transformation parameters and the measurement need to be considered together.
A common frame error can shift many transformed points together. Their relative geometry may remain useful while their global placement is wrong. Validation should therefore include independent control points or known alignments, not only internal smoothness or small residuals within one local dataset. A neat-looking point cloud is not proof of a correctly located point cloud.
Round-Trip Agreement Is Necessary but Not Sufficient
A forward transformation followed by its inverse should recover the starting coordinates within numerical tolerance. This catches coding errors, wrong multiplication order and some unit mismatches. It is an important test, but it cannot establish everything about the transformation.
An incorrect physical calibration can still have a perfectly consistent mathematical inverse. Rotating every measurement by the wrong ten degrees and then rotating back by the opposite ten degrees passes a round-trip test. It remains wrong when compared with the actual room.
Use several kinds of checks: algebraic inversion, known reference points, known axis directions and physical invariants. For a rigid transformation, confirm distance preservation. For a geographic conversion, compare independent known locations in the target system. Tests should address both internal consistency and external correctness rather than treating one as proof of the other.
Numerical Precision Does Not Repair a Wrong Convention
A transformation can return twelve decimal places while using the wrong axis order. High numerical precision describes how a computation is represented, not whether the intended source system was understood. Latitude–longitude order, clockwise angles or a reversed camera-forward axis can all produce systematic mistakes.
Large coordinate offsets can also obscure small local differences when stored with limited precision. Working temporarily near a local origin can improve numerical conditioning, provided the original data retain the needed information. Recentring cannot restore detail that was already rounded away.
A useful workflow keeps raw coordinates, their source labels and the transformation record. Derived coordinates should be reproducible rather than replacing the original observations without explanation. That separation makes it possible to correct a later calibration or convention error without pretending that the underlying measurement itself changed.
What a Transformation Record Should Explain
A complete record identifies the source and target coordinate systems, axis order, units, mapping direction and any relevant time. It also states the transformation parameters or the method used to obtain them. A matrix with no convention is not a fully specified mapping.
For a sensor example, document whether the matrix maps camera coordinates into robot-base coordinates or the reverse. State whether vectors are columns or rows and whether translation is expressed in the destination frame. Include the calibration condition when the mounting or configuration can change.
The record need not be complicated. A short unambiguous equation and a few labelled test points can communicate more than pages of unexplained numbers. The objective is that another person can apply the same mapping, recognise its valid domain and discover whether it matches the physical relationship they need.
Diagnose the Error by What Failed to Stay Consistent
If every point is displaced by the same amount, inspect translation and origin definitions. If the pattern rotates about a common point, inspect orientation and sign conventions. If errors grow with distance from an axis or centre, scale or angular calibration may be involved. These patterns suggest different causes.
If a result is correct only at one timestamp, inspect the time dependence. If the inverse fails, check order and whether transpose was incorrectly used for a nonorthogonal matrix. If a surface is positioned correctly but shaded incorrectly, inspect normal transformation rather than moving its vertices again.
Diagnosis should narrow the cause before changing parameters. Randomly swapping signs can make one test point look right while breaking the rest of the model. Use a known origin, two or three independent directions and points at different distances. A transformation that explains all of them consistently is stronger than one tuned to a single convenient example.
Three Learning Pathways
Build the source-to-target meaning
Start with translations between two parallel grids. Label both origins and explain why converting from one grid to the other adds or subtracts a specific offset. Then distinguish moving a point from moving the coordinate origin. The first skill is not matrix multiplication; it is knowing what the input and output coordinates represent.
Stabilise rotation, inverse and composition
Use quarter-turns so results can be checked without approximate trigonometry. Combine a rotation with a translation, derive the inverse and verify the result with known points. Next compose two labelled mappings. Keep the intermediate frame visible until the order becomes meaningful rather than a rule recalled without understanding.
Extend to quantity types and nonlinear maps
Separate points, displacements, normals and velocities. Introduce polar conversion, Jacobians and the difference between a reversible coordinate change and a depth-losing projection. Finally, transform uncertainty as well as the central estimate. This progression connects classroom transformations with the precision required in graphics, sensing and scientific computation.
Practice Questions With Explained Answers
B’s origin is at A coordinates (6, −2), with parallel axes. Convert B point (3, 5) into A.
Add the origin offset: (3, 5) + (6, −2) = (9, 3). The reverse conversion subtracts (6, −2), returning (3, 5). Check that B’s own zero maps to (6, −2) in A. This confirms that the supplied offset is being used in the intended direction.
Rotate displacement (3, 2) ninety degrees counterclockwise, then translate the point by (5, 1).
The quarter-turn sends (3, 2) to (−2, 3). Adding the translation gives (3, 4). The rotated displacement has length √13, matching the original displacement. The final point’s distance from the world origin need not equal √13 because translation changes that particular origin-to-point distance.
Does a matrix transpose always undo a transformation?
No. Transpose equals inverse for an orthogonal matrix, including a proper rotation. A scale matrix with diagonal entries two and three has an inverse with entries one half and one third, not the same entries transposed. A combined homogeneous transform also needs its translation inverted correctly. Identify the matrix’s structure before choosing a shortcut.
If x = u + v and y = v, what are the local coordinates of Cartesian point (8, 3)?
Read v = y = 3, then u = x − y = 5. The local coordinates are (5, 3). Reconstructing gives x = 5 + 3 = 8 and y = 3. Because the local basis is oblique, its raw coordinate length √(25 + 9) is not the Cartesian distance √(64 + 9).
Can one camera pixel be inverted into one exact three-dimensional point?
Not from the pixel and camera calibration alone in the ordinary pinhole model. They identify a ray. A depth value, known surface, additional view or another constraint is required to choose a point on that ray. A projection that loses information should not be treated as an ordinary one-to-one coordinate change.
Why can a wrong calibration pass a forward-and-inverse test?
The inverse can undo the same incorrect mathematical mapping perfectly. This proves internal consistency, not agreement with the physical world. Independent control measurements are needed to test whether the mapping’s parameters represent the actual frame relationship. Both kinds of validation matter, and neither replaces the other.
Frequently Asked Questions
Does a coordinate transformation move an object?
Not when it is a passive change of description. An active geometric transformation can move or deform an object. Similar algebra can express both, so the interpretation must be stated. Ask whether the object changes relative to a fixed reference or the reference used to describe it changes.
Is every coordinate transformation linear?
No. Translation is affine rather than linear in ordinary coordinates because it does not preserve the origin. Polar conversion is nonlinear. Homogeneous coordinates can represent affine transformations through a larger matrix, but that does not make all possible coordinate changes one fixed linear operation on their original variables.
Why are four-by-four matrices used for three-dimensional graphics?
The extra homogeneous coordinate lets a matrix combine a three-dimensional linear operation with translation. It also supports projective calculations with a final homogeneous division. The fourth component has a representational role; it does not automatically mean the object occupies four physical spatial dimensions.
What information is needed before converting a coordinate?
At minimum, identify the source and destination definitions, units, axis order and valid mapping. Moving frames require the relevant time. Geographic conversions may require datum and supporting transformation information. Without those details, even a precise numerical tuple can be ambiguous.
Can a transformation improve measurement accuracy?
It can express information in a more useful frame or apply a justified calibration correction. It cannot create missing observations or remove unknown error merely by changing coordinates. Output uncertainty should reflect both the original measurement and any uncertainty in the transformation itself.
Related Reading and the Complete Idea
Read What is an Origin? for changes of zero, What is a Reference Frame? for moving descriptions, and What is a Polar Coordinate System? for nonlinear planar conversion. The supporting algebra is developed in What is a Matrix?.
A coordinate transformation is a rule for preserving meaning while changing description. Translation accounts for origins, rotation accounts for directions, and more general mappings account for scale, basis and nonlinear geometry. The reliable sequence is to define the source and target, identify the quantity, apply the correct ordered rule and check its assumptions. Correct arithmetic matters, but correct interpretation is what makes the result usable.
