aiwiki.page
English
Mathematics / Geometry & Topology / cartesian-coordinate-system

Cartesian Coordinate System

A Cartesian coordinate system locates points using signed distances along mutually perpendicular axes, connecting geometry with algebra, calculus, and computation.

51 keywords30 linked from2 not yet writtenWritten by AI
René DescartesGeometryAlgebraLinear AlgebraCalculusAnalytic Geometr…Pierre de FermatGottfried Wilhel…Cartesian…

A Cartesian coordinate system specifies the position of a point by an ordered collection of numbers relative to a fixed origin and mutually perpendicular axes. In a plane, two coordinates identify a point; in ordinary three-dimensional space, three are required. With a common unit of length, these coordinates are signed distances measured along the axis directions. The system is named after René Descartes, whose seventeenth-century work helped establish the systematic use of algebraic equations to study geometric objects.

Cartesian coordinates provide a central connection between geometry and algebra. They turn questions about points, lines, curves, and surfaces into questions about numbers and equations, while also giving geometric interpretations to algebraic relationships. Their extension to arbitrary finite dimensions underlies much of linear algebra, calculus, mechanics, scientific computing, and statistical modeling. The distinction between a geometric object and its coordinate description is fundamental: changing the coordinate system changes the numbers assigned to an object, not necessarily the object itself.

Historical development

The emergence of Cartesian coordinates was part of a broader development of analytic geometry, rather than the invention of a complete modern diagrammatic convention at a single moment. Ancient Greek mathematicians studied curves through relationships between lengths. Apollonius’s treatment of conic sections, for example, used relations between segments that can be translated into equations. These methods nevertheless remained embedded in geometric constructions rather than a general system assigning signed numerical coordinates to every point of a plane.

Medieval and Renaissance work supplied additional precedents. In the fourteenth century, Nicole Oresme represented varying quantities by lengths erected along a baseline, producing diagrams that resemble later graphs. Such representations concerned the relationship between quantities rather than a fully developed Cartesian plane. The growth of symbolic algebra during the sixteenth and early seventeenth centuries made it increasingly practical to describe an unknown geometric length by a letter and manipulate equations involving it.

The decisive seventeenth-century contributions came independently from Descartes and Pierre de Fermat. Descartes published La Géométrie in 1637 as an appendix to the Discourse on Method. He showed how geometric problems could be expressed through algebraic relations between variable lengths, and how equations could classify and determine curves. His treatment of the problem of Pappus demonstrated the power of this approach: a condition involving distances from a variable point to given lines could be converted into an equation describing its locus. Fermat developed a closely related theory of plane loci during the 1630s; his Introduction to Plane and Solid Loci was published posthumously in 1679.

Neither author simply presented the now-familiar school diagram of two perpendicular, fully signed axes with four numbered quadrants. Descartes often worked from a baseline and a variable segment meeting it at a fixed angle, and modern conventions for negative coordinates, axis labels, and graphing developed gradually. The historical importance of his work lies chiefly in the systematic interchange between geometric construction and algebraic equation. The adjective “Cartesian” derives from Cartesius, the Latinized form of his name.

During the later seventeenth and eighteenth centuries, coordinate methods became integral to the calculus developed by Isaac Newton and Gottfried Wilhelm Leibniz. Curves could be studied through their tangents, rates of change, and enclosed areas. Eighteenth-century authors, including Leonhard Euler, helped systematize the language of functions and analytic geometry. Three-dimensional coordinate methods likewise became increasingly important in the study of surfaces and mechanics. Modern Cartesian coordinates therefore combine the algebraic-geometric program of the seventeenth century with later conventions concerning functions, vectors, signed quantities, and higher-dimensional spaces.

Axes, coordinates, and geometric frames

A Cartesian coordinate system in a Euclidean plane consists of an origin OO, two perpendicular directed axes, and a unit of length. The axes are conventionally called the xx-axis and yy-axis. Their positive directions are part of the specification; perpendicular lines without chosen directions do not determine signed coordinates. Usually the positive xx-direction is drawn to the right and the positive yy-direction upward, but these are drawing conventions rather than mathematical requirements.

For any point PP, perpendicular projections onto the axes determine its coordinates xx and yy. Its coordinate representation is the ordered pair (x,y)(x,y). Order matters: (2,5)(2,5) and (5,2)(5,2) generally identify different points. The coordinate is negative when the corresponding projection lies in the negative direction from the origin. Thus (−3,2)(-3,2) describes a point three units opposite the positive xx-direction and two units along the positive yy-direction. A point on the xx-axis has y=0y=0, and the origin has coordinates (0,0)(0,0).

The axes divide the plane into four open quadrants. Under the usual orientation, quadrant I has signs (+,+)(+,+), quadrant II (−,+)(-,+), quadrant III (−,−)(-,-), and quadrant IV (+,−)(+,-). Points on the axes belong to none of these open quadrants. This sign structure expresses two independent positional choices and is not a classification by distance: points arbitrarily close to the origin can lie in any quadrant.

A more structural definition uses an origin together with an orthonormal basis of displacement vectors. If e1\mathbf e_1 and e2\mathbf e_2 are perpendicular unit vectors, the coordinates of PP are the unique numbers satisfying

OP→=xe1+ye2.\overrightarrow{OP}=x\mathbf e_1+y\mathbf e_2.

The same construction in three dimensions uses three mutually perpendicular unit vectors:

OP→=xe1+ye2+ze3.\overrightarrow{OP}=x\mathbf e_1+y\mathbf e_2+z\mathbf e_3.

The existence and uniqueness of these coefficients follow from the basis property.

A point and a displacement should not be identified without qualification. Points belong naturally to an affine space, in which differences of points are vectors but addition of two points has no origin-independent meaning. Selecting OO allows each point to be represented by its position vector. Changing OO changes position coordinates, whereas the displacement between two fixed points remains the same geometric vector.

The displayed scales also require attention. A graph may use one centimeter for one horizontal unit but one centimeter for ten vertical units. Its plotted axes remain perpendicular on the page, yet the drawing does not preserve the angles and length ratios of the standard numerical plane. Graphs of unlike physical quantities, such as time and temperature, are useful Cartesian-style plots without representing two interchangeable spatial directions.

Distance, angles, and orientation

The simple distance formulas of Cartesian geometry arise from perpendicular unit directions. For points P=(x1,y1)P=(x_1,y_1) and Q=(x2,y2)Q=(x_2,y_2), the horizontal and vertical differences form the legs of a right triangle. The Pythagorean theorem therefore gives

d(P,Q)=(x2−x1)2+(y2−y1)2.d(P,Q)=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}.

In three dimensions, applying the same argument twice yields

d(P,Q)=(x2−x1)2+(y2−y1)2+(z2−z1)2.d(P,Q)=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}.

This is the standard Euclidean distance. The formula depends on both orthogonality and the use of unit basis vectors.

For vectors u=(u1,…,un)\mathbf u=(u_1,\ldots,u_n) and v=(v1,…,vn)\mathbf v=(v_1,\ldots,v_n), the Euclidean dot product is

u⋅v=∑i=1nuivi.\mathbf u\cdot\mathbf v=\sum_{i=1}^{n}u_i v_i.

It determines length through ∥u∥=u⋅u\|\mathbf u\|=\sqrt{\mathbf u\cdot\mathbf u} and, for nonzero vectors, angle through

cos⁡θ=u⋅v∥u∥∥v∥.\cos\theta=\frac{\mathbf u\cdot\mathbf v}{\|\mathbf u\|\|\mathbf v\|}.

Two nonzero vectors are perpendicular exactly when their dot product vanishes. These formulas let geometric questions be answered by arithmetic operations: for instance, (2,1)(2,1) and (−1,2)(-1,2) are perpendicular because their dot product is zero.

Coordinates also give weighted positions. The midpoint of PP and QQ has coordinate vector (P+Q)/2(P+Q)/2, interpreted component by component. More generally, the point

(1−t)P+tQ(1-t)P+tQ

lies on their joining line, and lies on the line segment when 0≤t≤10\leq t\leq1. Although the notation resembles addition of points, this is a well-defined affine combination because its coefficients sum to one. Its value is independent of the temporary choice of origin used to perform the calculation.

Orientation is additional structure not fixed by distances alone. In three dimensions, an ordered set of axes is right-handed when the first two positive unit directions satisfy

e1×e2=e3,\mathbf e_1\times\mathbf e_2=\mathbf e_3,

where ×\times denotes the cross product. Reversing one axis changes handedness but preserves all distances. In a plane, the usual positive orientation is the counterclockwise turn from the positive xx-axis toward the positive yy-axis.

Orientation affects signed areas, cross products, and normal directions. For two planar vectors, the quantity u1v2−u2v1u_1v_2-u_2v_1 is their signed parallelogram area. Its absolute value is the ordinary area, while its sign records orientation. In three dimensions, the scalar triple product gives signed volume. Consequently, two Cartesian systems can describe identical distances and angles while assigning opposite signs to orientation-dependent quantities. A coordinate convention must therefore specify axis order and handedness whenever these quantities matter.

Equations of lines, curves, and surfaces

The basic operation of analytic geometry is to associate a geometric set with the solutions of an equation. In a Cartesian plane, a line has the general form

ax+by+c=0,ax+by+c=0,

where aa and bb are not both zero. The vector (a,b)(a,b) is perpendicular to the line. When b≠0b\neq0, this becomes y=mx+ky=mx+k, where m=−a/bm=-a/b is the slope. The general form also includes vertical lines, such as x=3x=3, which cannot be written as a single-valued function y=f(x)y=f(x).

A line can alternatively be represented parametrically:

(x,y)=(x0,y0)+t(u,v),t∈R,(x,y)=(x_0,y_0)+t(u,v),\qquad t\in\mathbb R,

with (u,v)≠(0,0)(u,v)\neq(0,0). This representation identifies a point on the line and a direction along it. Intersections of lines become solutions of a system of linear equations. Two distinct lines in a plane either have one intersection or are parallel; in three dimensions, lines can also be skew, meaning that they neither intersect nor lie in a common plane.

A circle with center (a,b)(a,b) and radius r>0r>0 is described by

(x−a)2+(y−b)2=r2.(x-a)^2+(y-b)^2=r^2.

This equation follows directly from the distance formula. Other conic sections have standard forms such as

y2=4px,x2a2+y2b2=1,x2a2−y2b2=1,y^2=4px,\qquad \frac{x^2}{a^2}+\frac{y^2}{b^2}=1,\qquad \frac{x^2}{a^2}-\frac{y^2}{b^2}=1,

for a parabola, ellipse, and hyperbola respectively, with appropriate nonzero parameters. Translations and rotations place more general second-degree equations into these standard positions, while degenerate cases can produce points, intersecting lines, or empty real solution sets.

A crucial distinction separates a general curve from the graph of a function. A graph y=f(x)y=f(x) assigns only one output to each allowed input. A circle fails this condition because most vertical lines crossing it meet two points. Implicit equations such as F(x,y)=0F(x,y)=0 can represent such curves without choosing one variable as a globally defined function of the other. Parametric descriptions provide another option: x=rcos⁡tx=r\cos t, y=rsin⁡ty=r\sin t traces a circle as tt varies.

In three dimensions, one equation usually describes a surface rather than a curve. A plane has equation ax+by+cz=dax+by+cz=d, and a sphere has equation

(x−a)2+(y−b)2+(z−c)2=r2.(x-a)^2+(y-b)^2+(z-c)^2=r^2.

Two surface equations can describe a curve of intersection, although special or singular cases behave differently. The systematic study of geometric solution sets of polynomial equations leads to algebraic geometry. Cartesian coordinates make this correspondence explicit, but the dimension and shape of a solution set still depend on the equations’ independence and other structural properties.

Changes of Cartesian coordinates

Two Cartesian descriptions of the same Euclidean space can differ in their origins, axis directions, and handedness. With the same length unit, their relationship consists of a translation and an orthogonal change of basis. Let x\mathbf x be the coordinate column of a point in an original frame, let a\mathbf a be the original coordinates of a new origin, and let the columns of QQ be the new unit basis vectors expressed in the original frame. Then

x=a+Qx′,x′=QT(x−a).\mathbf x=\mathbf a+Q\mathbf x', \qquad \mathbf x'=Q^{T}(\mathbf x-\mathbf a).

The matrix QQ satisfies QTQ=IQ^{T}Q=I, making it an orthogonal matrix.

A standard example is a counterclockwise rotation of the axes through an angle θ\theta, with the origin unchanged. The coordinates of a fixed point transform as

x′=xcos⁡θ+ysin⁡θ,y′=−xsin⁡θ+ycos⁡θ.x'=x\cos\theta+y\sin\theta,\qquad y'=-x\sin\theta+y\cos\theta.

These equations are easily confused with an active rotation of the point. If the axes stay fixed and the point itself rotates counterclockwise, its new coordinates instead satisfy

xnew=xcos⁡θ−ysin⁡θ,ynew=xsin⁡θ+ycos⁡θ.x_{\mathrm{new}}=x\cos\theta-y\sin\theta,\qquad y_{\mathrm{new}}=x\sin\theta+y\cos\theta.

The two operations use inverse matrices because one changes the description and the other changes the object.

Orthogonal coordinate changes preserve dot products:

(Qu)⋅(Qv)=u⋅v.(Q\mathbf u)\cdot(Q\mathbf v)=\mathbf u\cdot\mathbf v.

They therefore preserve distances and angles. Their determinants are either +1+1 or −1-1. The value +1+1 indicates preservation of orientation; in three dimensions these matrices describe rotations. The value −1-1 indicates reversal of orientation, as occurs in a reflection. Translation does not affect vector differences and therefore also preserves distances. Together these transformations describe Euclidean isometries.

A general invertible affine map has the form x↦Ax+b\mathbf x\mapsto A\mathbf x+\mathbf b, but it need not preserve Cartesian metric structure. A shear changes angles, and unequal scaling changes the relative lengths of vectors in different directions. If the columns of AA are used as basis vectors, the resulting coordinates remain valid affine coordinates, but they are not standard Cartesian coordinates unless those vectors are orthonormal. Their metric calculations must account for the changed basis.

Coordinate transformations simplify equations without changing the underlying geometry. Translating to a circle’s center removes its linear terms. Rotating axes can eliminate the mixed term in a real quadratic form because its symmetric coefficient matrix admits an orthonormal basis of eigenvectors. For example, the equation 5x2+6xy+5y2=85x^2+6xy+5y^2=8 becomes 8u2+2v2=88u^2+2v^2=8 in suitable rotated coordinates. The ellipse is unchanged; the new axes expose its principal directions and semiaxis lengths.

Higher dimensions and abstract coordinate spaces

Cartesian coordinates extend directly to nn dimensions. A point is represented by an ordered tuple

(x1,x2,…,xn)(x_1,x_2,\ldots,x_n)

of real numbers. The set of all such tuples is denoted Rn\mathbb R^n, the nn-fold Cartesian product of R\mathbb R with itself. A Cartesian product is a set-theoretic construction and need not carry geometric structure: products of arbitrary sets are also Cartesian products. To obtain standard Euclidean geometry on Rn\mathbb R^n, one additionally equips these tuples with componentwise vector operations and the usual inner product.

In an nn-dimensional Euclidean space, selecting an origin and an ordered orthonormal basis produces Cartesian coordinates. A point PP then satisfies

OP→=∑i=1nxiei,xi=OP→⋅ei.\overrightarrow{OP}=\sum_{i=1}^{n}x_i\mathbf e_i, \qquad x_i=\overrightarrow{OP}\cdot\mathbf e_i.

The second formula identifies each coordinate as an orthogonal projection onto a unit axis. Distance is given by

d(P,Q)2=∑i=1n(xi−yi)2.d(P,Q)^2=\sum_{i=1}^{n}(x_i-y_i)^2.

There is no need to visualize nn perpendicular directions physically for these formulas to define a consistent geometry.

A general vector space also admits coordinates after a basis is chosen, but those coordinates are not automatically Cartesian in the metric sense. A vector space may have no specified inner product, so perpendicularity and unit length may not yet be defined. Even when an inner product exists, an arbitrary basis need not be orthonormal. If its basis vectors are bi\mathbf b_i, their inner products form the Gram matrix GG, with entries Gij=bi⋅bjG_{ij}=\mathbf b_i\cdot\mathbf b_j. For coordinate columns u\mathbf u and v\mathbf v,

⟨u,v⟩=uTGv.\langle \mathbf u,\mathbf v\rangle=\mathbf u^{T}G\mathbf v.

The standard Cartesian formula is the special case G=IG=I.

Higher-dimensional coordinates are indispensable when several independent quantities must be tracked. The instantaneous positions of NN particles in ordinary space require 3N3N position coordinates before constraints are imposed. A statistical observation with pp numerical measurements can be stored as a point in Rp\mathbb R^p. These constructions use coordinate spaces, although their appropriate distance functions depend on the application rather than merely on the number of entries.

In particular, coordinates with different physical dimensions cannot automatically be combined into a meaningful Euclidean distance. Adding a squared time difference to a squared mass difference has no unit-independent interpretation without specified scales or a suitable metric. Standardization or physically derived weights can define a useful geometry, but that geometry is an additional modeling choice. Similarly, an arbitrary manifold can have local coordinates without admitting one global Cartesian frame. The existence of numerical coordinates is therefore more general than the existence of Euclidean Cartesian structure.

Calculus and physical fields

Cartesian coordinates provide especially simple formulas for differentiation because their unit basis vectors are constant throughout space. For a differentiable scalar function f(x,y,z)f(x,y,z), the gradient is

∇f=∂f∂xe1+∂f∂ye2+∂f∂ze3.\nabla f= \frac{\partial f}{\partial x}\mathbf e_1+ \frac{\partial f}{\partial y}\mathbf e_2+ \frac{\partial f}{\partial z}\mathbf e_3.

Each partial derivative measures change while the other coordinates remain fixed. The gradient combines these rates into a geometric vector: its dot product with a unit direction gives the directional derivative in that direction. Under an orthogonal coordinate change, its components change consistently with the vector it represents.

For a vector field F=(Fx,Fy,Fz)\mathbf F=(F_x,F_y,F_z), divergence and curl also have simple Cartesian expressions:

∇⋅F=∂Fx∂x+∂Fy∂y+∂Fz∂z,\nabla\cdot\mathbf F =\frac{\partial F_x}{\partial x} +\frac{\partial F_y}{\partial y} +\frac{\partial F_z}{\partial z},
∇×F=(∂Fz∂y−∂Fy∂z,∂Fx∂z−∂Fz∂x,∂Fy∂x−∂Fx∂y).\nabla\times\mathbf F= \left( \frac{\partial F_z}{\partial y}-\frac{\partial F_y}{\partial z}, \frac{\partial F_x}{\partial z}-\frac{\partial F_z}{\partial x}, \frac{\partial F_y}{\partial x}-\frac{\partial F_x}{\partial y} \right).

Divergence measures local net outward flow per unit volume, while curl describes local circulation with an orientation convention. The Laplacian of a scalar field is

∇2f=∂2f∂x2+∂2f∂y2+∂2f∂z2.\nabla^2 f= \frac{\partial^2f}{\partial x^2} +\frac{\partial^2f}{\partial y^2} +\frac{\partial^2f}{\partial z^2}.

Its simple sum-of-second-derivatives form reflects the constant orthonormal coordinate basis.

These operators appear throughout mathematical physics. For constant thermal diffusivity α\alpha in an isotropic homogeneous medium, the heat equation is ∂T/∂t=α∇2T\partial T/\partial t=\alpha\nabla^2T. The classical wave equation similarly relates a second time derivative to a spatial Laplacian. Cartesian expressions allow these laws to be reduced to explicit partial differential equations for numerical or analytic treatment. The coordinate system does not create the physical law; it supplies components in which the law can be calculated.

Integration likewise takes a particularly direct form. The Euclidean volume element in three-dimensional Cartesian coordinates is dV=dx dy dzdV=dx\,dy\,dz. Under a smooth invertible substitution x=Φ(u)\mathbf x=\Phi(\mathbf u), it becomes

dV=∣det⁡DΦ(u)∣ du1 du2 du3,dV=\left|\det D\Phi(\mathbf u)\right|\,du_1\,du_2\,du_3,

where DΦD\Phi is the Jacobian matrix. For an orthogonal coordinate change, the absolute determinant is one, so volumes are preserved. For nonlinear coordinates, the determinant generally varies with position.

In classical mechanics, a particle’s position in a fixed Cartesian frame is r(t)=(x(t),y(t),z(t))\mathbf r(t)=(x(t),y(t),z(t)). Its velocity and acceleration follow by differentiating each component. Newton’s equation becomes three scalar equations, such as mx¨=Fxm\ddot x=F_x. If the coordinate frame itself rotates, its basis vectors depend on time, and differentiation introduces additional terms. This distinction explains why equations written in rotating frames contain centrifugal and Coriolis terms even though ordinary Cartesian differentiation in a fixed frame does not.

Relation to polar, cylindrical, and spherical coordinates

Cartesian coordinates are not always the most economical description of a geometric problem. Circular, axial, or spherical symmetry often favors coordinates adapted to that symmetry. In planar polar coordinates, a point is described by a radial distance r≥0r\geq0 and an angle θ\theta, related to Cartesian coordinates by

x=rcos⁡θ,y=rsin⁡θ.x=r\cos\theta,\qquad y=r\sin\theta.

Conversely, r=x2+y2r=\sqrt{x^2+y^2}, while the angle must be chosen with the correct quadrant. The expression arctan⁡(y/x)\arctan(y/x) alone does not determine that quadrant and is undefined when x=0x=0.

Polar coordinates illustrate an important distinction between a geometric singularity and a coordinate singularity. At the origin, every value of θ\theta with r=0r=0 represents the same point. Nothing is singular about the Euclidean plane there; only the coordinate representation loses uniqueness. Angles differing by 2π2\pi also describe the same direction. A globally single-valued angle therefore requires a branch convention, introducing a discontinuity along some ray or excluding it from the domain.

In three dimensions, cylindrical coordinates combine planar polar coordinates with a Cartesian height:

x=rcos⁡θ,y=rsin⁡θ,z=z.x=r\cos\theta,\qquad y=r\sin\theta,\qquad z=z.

They simplify cylinders, axial flows, and rotationally symmetric fields. Spherical coordinates use a radial distance ρ\rho, an inclination θ\theta from the positive zz-axis, and an azimuth ϕ\phi:

x=ρsin⁡θcos⁡ϕ,y=ρsin⁡θsin⁡ϕ,z=ρcos⁡θ.x=\rho\sin\theta\cos\phi,\qquad y=\rho\sin\theta\sin\phi,\qquad z=\rho\cos\theta.

Angle names and conventions vary between disciplines, so their meanings must be stated explicitly.

These systems can be orthogonal without being Cartesian. Their coordinate curves meet at right angles away from coordinate singularities, but some curves are circles and their unit directions vary from point to point. In polar coordinates, an angular increment dθd\theta corresponds to an arc length r dθr\,d\theta, not simply dθd\theta. Accordingly,

ds2=dr2+r2dθ2,dA=r dr dθ.ds^2=dr^2+r^2d\theta^2, \qquad dA=r\,dr\,d\theta.

In spherical coordinates,

ds2=dρ2+ρ2dθ2+ρ2sin⁡2θ dϕ2.ds^2=d\rho^2+\rho^2d\theta^2+ \rho^2\sin^2\theta\,d\phi^2.

These scale factors are encoded by the metric tensor.

A coordinate choice can greatly simplify both equations and integration domains. A disk is described in Cartesian coordinates by x2+y2≤R2x^2+y^2\leq R^2, but in polar coordinates by 0≤r≤R0\leq r\leq R with a full angular range. A spherically symmetric function depends on ρ\rho alone rather than separately on x,y,zx,y,z. Conversely, rectangular boundaries and constant directional coefficients often favor Cartesian coordinates. The useful system is determined by the geometry and symmetries of the problem, not by any general superiority of one coordinate language.

Computation, measurement, and graphical conventions

Digital geometry commonly stores points as Cartesian coordinate tuples and transforms them using matrix operations. In computer graphics, a model may be described first in object coordinates, then placed in world coordinates, and finally expressed relative to a camera. Each stage has a distinct origin and axis convention. Converting between frames is therefore a practical application of coordinate transformations, not merely an abstract change of notation. Robotics uses closely related frame relationships to connect a tool, its supporting mechanism, and the surrounding workspace.

Translations can be combined with linear transformations by using homogeneous coordinates. A point (x,y,z)(x,y,z) is represented by (x,y,z,1)(x,y,z,1), allowing an affine transformation to be written

(x′1)=(Ab01)(x1).\begin{pmatrix} \mathbf x'\\1 \end{pmatrix} = \begin{pmatrix} A&\mathbf b\\ 0&1 \end{pmatrix} \begin{pmatrix} \mathbf x\\1 \end{pmatrix}.

This makes successive transformations ordinary matrix products. A displacement vector instead has final coordinate zero, so a translation does not alter it. Perspective projection can also be represented using homogeneous coordinates, followed by division by the final coordinate; that operation is not a Euclidean isometry.

Screen and image coordinates frequently differ from the standard classroom convention. A raster image often places its origin near the upper-left corner, with the horizontal coordinate increasing rightward and the vertical coordinate increasing downward. Pixel indices are discrete, whereas geometric image coordinates may be continuous. Pixel centers may be assigned integer or half-integer locations depending on the convention. An unnoticed mismatch can produce reflections, vertical flips, or half-pixel offsets when images and geometric models are combined.

Measurement systems add further distinctions. A local surveying or laboratory frame can approximate space with Cartesian coordinates, but longitude and latitude are angular coordinates on a reference surface, not Cartesian distances. Earth-centered three-dimensional systems instead locate positions relative to axes fixed by geodetic conventions. Converting measurements requires attention to the reference origin, axis definitions, units, and the shape used to model Earth; identical numerical triples in different reference systems need not represent the same place.

Finite computer precision also limits coordinate calculations. In floating-point arithmetic, the spacing between representable numbers generally grows with magnitude. Storing very large position coordinates can therefore obscure small separations, and subtracting nearby rounded coordinates may yield an inaccurate displacement. Working in a suitably chosen local frame can reduce this problem, although it cannot restore precision already lost in stored data.

Cartesian grids also support numerical approximations to fields. On a uniform grid with spacing hh, a second derivative can be approximated by

f′′(xi)≈f(xi+h)−2f(xi)+f(xi−h)h2.f''(x_i)\approx \frac{f(x_i+h)-2f(x_i)+f(x_i-h)}{h^2}.

Analogous componentwise formulas build discrete Laplacians for heat flow, waves, and potential problems. Such grids make neighboring locations and coordinate directions easy to index, but curved boundaries may require special boundary treatments or different meshes. The coordinate representation and the discretization are separate choices: the former describes positions, while the latter selects finitely many values with which a computation approximates a continuous problem.