{
  "id": "affine-space",
  "title": "Affine space",
  "lang": "en",
  "source_lang": "en",
  "summary": "An affine space is a space of points modeled on a vector space, with well-defined displacements but no distinguished origin.",
  "category": "mathematics",
  "subcategory": "geometry",
  "type": "concept",
  "aliases": [
    "Affine linear space"
  ],
  "generated_at": "2026-10-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/affine-space/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/affine-space/",
      "json": "https://aiwiki.page/zh/affine-space.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "An affine space is a structure in geometry that retains the displacement operations of a vector space without specifying an origin. Its elements are points: subtracting two points produces a vector, and adding a vector to a point produces another point. Addition of arbitrary points and scalar multiplication of individual points are not intrinsically defined. This distinction allows geometric constructions to be expressed independently of the choice of coordinate origin. (people.math.harvard.edu)"
    },
    {
      "heading": "Definition and displacement",
      "text": "Let \\(V\\) be a vector space over a field \\(K\\). An affine space modeled on \\(V\\) is a nonempty set \\(A\\) equipped with an operation\n\n\\[A\\times V\\longrightarrow A,\\qquad (p,v)\\longmapsto p+v,\\]\n\nsatisfying\n\n\\[p+0=p,\\qquad (p+v)+w=p+(v+w),\\]\n\nand the requirement that, for every \\(p,q\\in A\\), there is exactly one \\(v\\in V\\) with \\(p+v=q\\). This vector is denoted \\(q-p\\). Equivalently, the additive group of \\(V\\) has a free and transitive group action on \\(A\\). (people.math.harvard.edu)\n\nThe vector space \\(V\\) is called the translation space or direction space. Point differences obey\n\n\\[(q-p)+(r-q)=r-p.\\]\n\nChoosing a point \\(o\\) identifies \\(A\\) with \\(V\\) through \\(p\\mapsto p-o\\), but a different choice gives a different identification. Thus an affine space can acquire a vector-space structure after an origin is chosen, although that origin is not part of its original structure. (people.math.harvard.edu)"
    },
    {
      "heading": "Coordinates, dimension, and frames",
      "text": "For finite-dimensional \\(V\\), the dimension of \\(A\\) is \\(\\dim_K V\\). An origin \\(o\\), together with a basis \\(e_1,\\ldots,e_n\\), gives unique coordinates through\n\n\\[p=o+x_1e_1+\\cdots+x_ne_n.\\]\n\nChanging the origin and basis changes coordinates by \\(x'=Mx+b\\), with \\(M\\) invertible. Unlike a purely linear coordinate change, this includes a translation term. (cis.upenn.edu)\n\nPoints \\(p_0,\\ldots,p_m\\) are affinely independent when the vectors \\(p_1-p_0,\\ldots,p_m-p_0\\) are linearly independent. In dimension \\(n\\), an ordered collection of \\(n+1\\) affinely independent points is an affine frame. Every point then has unique barycentric coordinates relative to that frame: coefficients whose sum is one. Two distinct points form a frame for a line; three noncollinear points form one for a plane. (cis.upenn.edu)"
    },
    {
      "heading": "Affine combinations and convexity",
      "text": "The affine counterpart of a linear combination is an affine combination\n\n\\[\\lambda_1p_1+\\cdots+\\lambda_mp_m, \\qquad \\sum_{i=1}^{m}\\lambda_i=1.\\]\n\nIts intrinsic meaning is\n\n\\[o+\\sum_{i=1}^{m}\\lambda_i(p_i-o).\\]\n\nThe condition on the coefficients makes this expression independent of \\(o\\): shifting the auxiliary origin changes the displacement sum by exactly the compensating amount. The notation therefore does not imply unrestricted addition of points. (cis.upenn.edu)\n\nFor distinct points \\(p,q\\), the points \\(p+t(q-p)\\), with \\(t\\in K\\), constitute their line. Over the real numbers, restricting \\(t\\) to \\([0,1]\\) gives the segment between them. More generally, an affine combination with nonnegative coefficients is a convex combination. A convex set contains all such combinations of its points. Affine sets contain every affine combination, including combinations with negative coefficients, so every real affine set is convex, but the converse fails. (kdd.cs.ksu.edu)"
    },
    {
      "heading": "Affine subspaces and linear equations",
      "text": "A nonempty affine subspace has the form\n\n\\[B=p+W=\\{p+w:w\\in W\\},\\]\n\nwhere \\(W\\) is a linear subspace of the translation space. Its direction space is \\(W\\), and its dimension is \\(\\dim W\\). Its affine structure does not depend on which point of \\(B\\) is used as \\(p\\). In a vector space, it is a linear subspace precisely when it contains the zero vector. (cis.upenn.edu)\n\nA consistent system of linear equations \\(Mx=b\\) gives a central example. If \\(x_0\\) is one solution, the entire solution set is\n\n\\[x_0+\\ker M,\\]\n\nwhere \\(\\ker M\\) is the null space of the matrix \\(M\\). Subtracting two solutions gives a null-space vector; adding any null-space vector to a solution gives another solution. An inconsistent system has an empty solution set, not a nonempty affine space. A single nontrivial linear equation defines an affine hyperplane. (jhc.sjtu.edu.cn)"
    },
    {
      "heading": "Affine maps and homogeneous coordinates",
      "text": "An affine map \\(f:A\\to B\\) has an associated linear map \\(L\\) between direction spaces, satisfying\n\n\\[f(p+v)=f(p)+L(v).\\]\n\nIt preserves affine combinations. In coordinates, its form is \\(f(x)=Mx+b\\); it is bijective exactly when its linear part is invertible. A general affine map can collapse a line to a point, whereas a bijective affine map preserves lines, incidence, and parallelism. (wwwevs.mathematik.tu-darmstadt.de)\n\nUsing homogeneous coordinates, the coordinate column \\(x\\) is extended to \\((x,1)\\), and the map becomes\n\n\\[\\begin{pmatrix}x\\\\1\\end{pmatrix} \\longmapsto \\begin{pmatrix}M&b\\\\0&1\\end{pmatrix} \\begin{pmatrix}x\\\\1\\end{pmatrix}.\\]\n\nDisplacements are represented by \\((v,0)\\), so the translation term affects points but not vectors. Successive affine transformations can consequently be composed using ordinary matrix multiplication, a representation used in computer graphics. (dgp.toronto.edu)"
    },
    {
      "heading": "Relation to Euclidean geometry",
      "text": "An affine structure alone supplies neither lengths nor angles. Equipping its real direction space with a positive-definite inner product adds Euclidean measurements. General invertible affine maps may stretch or shear figures, so they need not preserve these measurements. Nevertheless, constructions defined by affine combinations remain meaningful: the centroid of a triangle is the combination of its three vertices with coefficients \\(1/3\\), independently of the coordinate origin. (maths.tcd.ie)"
    }
  ],
  "links": [
    "geometry",
    "vector-space",
    "field-mathematics",
    "group-action",
    "dimension-vector-space",
    "basis-linear-algebra",
    "linear-independence",
    "linear-combination",
    "affine-combination",
    "real-number",
    "convex-combination",
    "convex-set",
    "linear-subspace",
    "system-of-linear-equations",
    "null-space",
    "matrix",
    "hyperplane",
    "affine-map",
    "linear-map",
    "homogeneous-coordinates",
    "inner-product"
  ],
  "sources": [
    {
      "title": "people.math.harvard.edu/~dafr/multi-with-homework.pdf",
      "url": "https://people.math.harvard.edu/~dafr/multi-with-homework.pdf"
    },
    {
      "title": "cis.upenn.edu/~jean/gma-v2-root.pdf",
      "url": "https://www.cis.upenn.edu/~jean/gma-v2-root.pdf"
    },
    {
      "title": "kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-01-Main_2up.pdf",
      "url": "https://kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-01-Main_2up.pdf"
    },
    {
      "title": "jhc.sjtu.edu.cn/~kuanyang/teaching/CS2601/2023/notes/lec03.html",
      "url": "https://jhc.sjtu.edu.cn/~kuanyang/teaching/CS2601/2023/notes/lec03.html"
    },
    {
      "title": "wwwevs.mathematik.tu-darmstadt.de/index.php",
      "url": "https://wwwevs.mathematik.tu-darmstadt.de/index.php?evsdir=880&evsfile=erg.pdf&evsid=32&evsver=865"
    },
    {
      "title": "dgp.toronto.edu/~hertzman/418notes.pdf",
      "url": "https://www.dgp.toronto.edu/~hertzman/418notes.pdf"
    },
    {
      "title": "maths.tcd.ie/~wendland/teach/ma243/week3.html",
      "url": "https://www.maths.tcd.ie/~wendland/teach/ma243/week3.html"
    }
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}