{
  "id": "antiderivative",
  "title": "Antiderivative",
  "lang": "en",
  "source_lang": "en",
  "summary": "An antiderivative of a function is a function whose derivative equals the original function, providing a central connection between differentiation and integration.",
  "category": "mathematics",
  "subcategory": "analysis",
  "type": "concept",
  "aliases": [
    "Primitive",
    "Primitive function",
    "Anti-derivative"
  ],
  "generated_at": "2026-10-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/antiderivative/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/antiderivative/",
      "json": "https://aiwiki.page/zh/antiderivative.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "An antiderivative of a function \\(f\\) is a function \\(F\\) whose derivative equals \\(f\\). Also called a primitive, it reverses differentiation: given a rate of change, it reconstructs a function having that rate. Antiderivatives are central to calculus and to the evaluation of definite integrals. (math.mit.edu)"
    },
    {
      "heading": "Definition and notation",
      "text": "For a real-valued function \\(f\\) defined on an open interval \\(I\\), a differentiable function \\(F:I\\to\\mathbb{R}\\) is an antiderivative of \\(f\\) if\n\n\\[F'(x)=f(x)\\qquad\\text{for every }x\\in I.\\]\n\nFor example, \\(F(x)=x^3/3\\) is an antiderivative of \\(f(x)=x^2\\), because differentiating \\(x^3/3\\) gives \\(x^2\\). The process of finding an antiderivative is called antidifferentiation. (openstax.org)\n\nThe notation\n\n\\[\\int f(x)\\,dx=F(x)+C\\]\n\ndenotes the indefinite integral, conventionally representing the family of antiderivatives on an interval. Here \\(C\\) is an arbitrary constant, called the constant of integration. A particular antiderivative is one member of this family; an indefinite integral describes the family rather than a single numerical value. (math.mit.edu)\n\nAntidifferentiation is not the same as finding an inverse function. An inverse function reverses the input–output action of a function, whereas an antiderivative reverses the operation of differentiation. (math.mit.edu)"
    },
    {
      "heading": "Uniqueness and the constant of integration",
      "text": "If \\(F\\) is an antiderivative of \\(f\\), then \\(F+C\\) is also an antiderivative, because a constant has derivative zero. Conversely, if \\(F\\) and \\(G\\) are antiderivatives of the same function on an interval, then\n\n\\[(F-G)'=0.\\]\n\nThe mean value theorem implies that \\(F-G\\) is constant. Thus every antiderivative on that interval has the form \\(F+C\\). Geometrically, their graphs differ only by vertical translations. (math.mit.edu)\n\nThe interval condition matters. Applying this uniqueness result separately to the two intervals in the domain \\(\\mathbb{R}\\setminus\\{0\\}\\), all antiderivatives of \\(1/x\\) have the form\n\n\\[F(x)= \\begin{cases} \\ln|x|+C_-,&x<0,\\\\ \\ln|x|+C_+,&x>0, \\end{cases}\\]\n\nwhere \\(C_-\\) and \\(C_+\\) need not be equal. Differentiation imposes no relation between constants on disconnected pieces of the domain. (math.mit.edu)\n\nA prescribed value determines the constant uniquely on an interval. For instance,\n\n\\[F'(x)=2x,\\qquad F(1)=5\\]\n\ngives \\(F(x)=x^2+4\\). This is a simple initial-value problem for a differential equation. (openstax.org)"
    },
    {
      "heading": "Connection with definite integration",
      "text": "The fundamental theorem of calculus connects antiderivatives with accumulated quantities. If \\(f\\) is continuous on \\([a,b]\\), then\n\n\\[A(x)=\\int_a^x f(t)\\,dt\\]\n\nsatisfies \\(A'(x)=f(x)\\) for \\(a<x<b\\). Consequently, every continuous function on an interval has an antiderivative. (openstax.org)\n\nThe theorem also states that, for continuous \\(f\\) and any antiderivative \\(F\\),\n\n\\[\\int_a^b f(x)\\,dx=F(b)-F(a).\\]\n\nFor example,\n\n\\[\\int_0^2 x^2\\,dx =\\left[\\frac{x^3}{3}\\right]_0^2 =\\frac83.\\]\n\nAn arbitrary constant cancels in the endpoint difference. (openstax.org)\n\nThe distinction remains important: an antiderivative is defined by a derivative equation, whereas a definite integral is defined through accumulation, such as a limit of Riemann sums. The theorem links these independently defined concepts under suitable hypotheses. Their relationship was developed by Isaac Newton, Gottfried Wilhelm Leibniz, and others during the late seventeenth and early eighteenth centuries. (openstax.org)"
    },
    {
      "heading": "Existence and discontinuity",
      "text": "Continuity is sufficient for the existence of an antiderivative, but it is not necessary. Derivatives themselves may be discontinuous. Nevertheless, Darboux’s theorem states that every derivative has the intermediate-value property: between any two derivative values, it assumes every intermediate value. A function failing this property cannot have an antiderivative on the interval concerned. (mathweb.ucsd.edu)\n\nFor example, consider\n\n\\[f(x)= \\begin{cases} 0,&x<0,\\\\ 1,&x\\geq0. \\end{cases}\\]\n\nOn an interval containing zero in its interior, this function takes values \\(0\\) and \\(1\\), but never \\(1/2\\). Darboux’s theorem therefore excludes an antiderivative there. Yet the function is Riemann integrable on every bounded interval. Its accumulated integral has a corner at zero rather than a derivative there. This illustrates why integrability alone does not guarantee an everywhere-defined classical antiderivative. (mathweb.ucsd.edu)"
    },
    {
      "heading": "Basic formulas and methods",
      "text": "Elementary antiderivatives follow by reversing familiar differentiation rules:\n\n\\[\\begin{aligned} \\int x^p\\,dx&=\\frac{x^{p+1}}{p+1}+C && (p\\ne-1),\\\\ \\int \\frac1x\\,dx&=\\ln|x|+C && (x\\ne0),\\\\ \\int e^x\\,dx&=e^x+C,\\\\ \\int \\cos x\\,dx&=\\sin x+C,\\\\ \\int \\sin x\\,dx&=-\\cos x+C. \\end{aligned}\\]\n\nFor arbitrary real \\(p\\), the power formula is valid on \\(x>0\\); other domains require \\(x^p\\) to be appropriately defined and differentiable. Antidifferentiation also respects sums and constant multiples, allowing a polynomial to be integrated term by term. (math.mit.edu)\n\nSubstitution reverses the chain rule. If \\(F'=f\\), then\n\n\\[\\int f(g(x))g'(x)\\,dx=F(g(x))+C.\\]\n\nFor example, setting \\(u=x^2\\) gives\n\n\\[\\int 2x\\cos(x^2)\\,dx=\\sin(x^2)+C.\\]\n\nThe factor \\(2x\\), the derivative of the inner function, is essential. (openstax.org)\n\nIntegration by parts reverses the product rule:\n\n\\[\\int u(x)v'(x)\\,dx =u(x)v(x)-\\int u'(x)v(x)\\,dx.\\]\n\nIt can replace an integral with a simpler one. Taking \\(u=x\\) and \\(v'=e^x\\), for instance, yields\n\n\\[\\int xe^x\\,dx=(x-1)e^x+C.\\]\n\nAny proposed antiderivative can be checked directly by differentiation. (openstax.org)"
    },
    {
      "heading": "Non-elementary antiderivatives",
      "text": "Having an antiderivative does not imply having one expressible through elementary functions—finite expressions built from algebraic functions, exponentials, logarithms, trigonometric functions, and their inverses. Some simple integrands have no elementary antiderivative. This is a mathematical restriction, not merely a failure to find an effective substitution. (math.mit.edu)\n\nA standard example is \\(e^{-x^2}\\). Its antiderivatives exist because it is continuous, but they are non-elementary. The error function is defined by\n\n\\[\\operatorname{erf}(x) =\\frac{2}{\\sqrt{\\pi}}\\int_0^x e^{-t^2}\\,dt,\\]\n\nso\n\n\\[\\int e^{-x^2}\\,dx =\\frac{\\sqrt{\\pi}}2\\operatorname{erf}(x)+C.\\]\n\nAn integral representation therefore specifies an antiderivative exactly even when elementary notation cannot express it. (math.mit.edu)"
    },
    {
      "heading": "Applications",
      "text": "Antiderivatives recover quantities from their rates of change. In one-dimensional motion, integrating velocity produces position, while integrating acceleration produces velocity. Initial position and velocity supply the constants that differentiation cannot determine. For constant acceleration \\(a\\),\n\n\\[v(t)=v_0+at,\\qquad s(t)=s_0+v_0t+\\frac12at^2.\\]\n\nThese equations illustrate both reconstruction from a derivative and the need for initial data. (openstax.org)\n\nMore generally, an antiderivative of a continuous rate \\(r(t)\\) determines net change:\n\n\\[Q(t_2)-Q(t_1) =\\int_{t_1}^{t_2}r(t)\\,dt.\\]\n\nThe accumulated change is fixed by the rate, but the absolute value of \\(Q\\) requires an additional reference value. (openstax.org)"
    }
  ],
  "links": [
    "mathematical-function",
    "derivative",
    "calculus",
    "integral",
    "inverse-function",
    "mean-value-theorem",
    "domain-of-a-function",
    "differential-equation",
    "fundamental-theorem-of-calculus",
    "continuous-function",
    "limit",
    "riemann-sum",
    "isaac-newton",
    "gottfried-wilhelm-leibniz",
    "darboux-theorem-analysis",
    "riemann-integral",
    "polynomial",
    "chain-rule",
    "elementary-function",
    "loss-function"
  ],
  "sources": [
    {
      "title": "1 The Anti-derivative",
      "url": "https://math.mit.edu/~djk/calculus_beginners/chapter12/section01.html"
    },
    {
      "title": "10 Antiderivatives - Calculus Volume 1 | OpenStax",
      "url": "https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives"
    },
    {
      "title": "Chapter 11: The Antiderivative or Indefinite Integral",
      "url": "https://math.mit.edu/~djk/18_01/chapter11/contents.html"
    },
    {
      "title": "3 Uniqueness of Antiderivatives",
      "url": "https://math.mit.edu/~djk/18_01/chapter11/section03.html"
    },
    {
      "title": "3 The Fundamental Theorem of Calculus - Calculus Volume 1 | OpenStax",
      "url": "https://openstax.org/books/calculus-volume-1/pages/5-3-the-fundamental-theorem-of-calculus"
    },
    {
      "title": "Intermediate-value theorem for derivatives (Darboux’s Thm)",
      "url": "https://mathweb.ucsd.edu/~ynemish/old/2021/142a/lecture20142a.pdf"
    },
    {
      "title": "5 Substitution - Calculus Volume 2 | OpenStax",
      "url": "https://openstax.org/books/calculus-volume-2/pages/1-5-substitution?modal=MH"
    },
    {
      "title": "1 Integration by Parts - Calculus Volume 2 | OpenStax",
      "url": "https://openstax.org/books/calculus-volume-2/pages/3-1-integration-by-parts"
    },
    {
      "title": "5 Unintegrable Functions",
      "url": "https://math.mit.edu/~djk/18_01/chapter25/section05.html"
    },
    {
      "title": "DLMF: §7.2 Definitions",
      "url": "https://dlmf.nist.gov/7.2"
    }
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}