In
calculus
Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithm ...
, the constant of integration, often denoted by
(or
), is a
constant term
In mathematics, a constant term is a term in an algebraic expression that does not contain any variables and therefore is constant. For example, in the quadratic polynomial
:x^2 + 2x + 3,\
the 3 is a constant term.
After like terms are combin ...
added to an
antiderivative
In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function is a differentiable function whose derivative is equal to the original function . This can be stated symbolically ...
of a function
to indicate that the
indefinite integral
In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function is a differentiable function whose derivative is equal to the original function . This can be stated symbolically ...
of
(i.e., the
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
of all antiderivatives of
), on a
connected domain, is only defined
up to Two Mathematical object, mathematical objects ''a'' and ''b'' are called equal up to an equivalence relation ''R''
* if ''a'' and ''b'' are related by ''R'', that is,
* if ''aRb'' holds, that is,
* if the equivalence classes of ''a'' and ''b'' wi ...
an additive constant. This constant expresses an ambiguity inherent in the construction of antiderivatives.
More specifically, if a function
is defined on an
interval, and
is an antiderivative of
, then the set of ''all'' antiderivatives of
is given by the functions
, where
is an arbitrary constant (meaning that ''any'' value of
would make
a valid antiderivative). For that reason, the indefinite integral is often written as
, although the constant of integration might be sometimes omitted in
lists of integrals
Integration is the basic operation in integral calculus. While differentiation has straightforward rules by which the derivative of a complicated function can be found by differentiating its simpler component functions, integration does not, ...
for simplicity.
Origin
The
derivative
In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. F ...
of any constant function is zero. Once one has found one antiderivative
for a function
, adding or subtracting any constant
will give us another antiderivative, because
. The constant is a way of expressing that every function with at least one antiderivative will have an infinite number of them.
Let
and
be two everywhere differentiable functions. Suppose that
for every real number ''x''. Then there exists a real number
such that
for every real number ''x''.
To prove this, notice that
. So
can be replaced by
, and
by the constant function
, making the goal to prove that an everywhere differentiable function whose derivative is always zero must be constant:
Choose a real number
, and let
. For any ''x'', the
fundamental theorem of calculus
The fundamental theorem of calculus is a theorem that links the concept of differentiating a function (calculating its slopes, or rate of change at each time) with the concept of integrating a function (calculating the area under its graph, or ...
, together with the assumption that the derivative of
vanishes, implying that
:
thereby showing that
is a constant function.
Two facts are crucial in this proof. First, the real line is
connected
Connected may refer to:
Film and television
* ''Connected'' (2008 film), a Hong Kong remake of the American movie ''Cellular''
* '' Connected: An Autoblogography About Love, Death & Technology'', a 2011 documentary film
* ''Connected'' (2015 TV ...
. If the real line were not connected, we would not always be able to integrate from our fixed ''a'' to any given ''x''. For example, if we were to ask for functions defined on the union of intervals
,1and
,3 and if ''a'' were 0, then it would not be possible to integrate from 0 to 3, because the function is not defined between 1 and 2. Here, there will be ''two'' constants, one for each
connected component of the
domain
Domain may refer to:
Mathematics
*Domain of a function, the set of input values for which the (total) function is defined
**Domain of definition of a partial function
**Natural domain of a partial function
**Domain of holomorphy of a function
* Do ...
. In general, by replacing constants with
locally constant function
In mathematics, a locally constant function is a function from a topological space into a set with the property that around every point of its domain, there exists some neighborhood of that point on which it restricts to a constant function.
...
s, we can extend this theorem to disconnected domains. For example, there are two constants of integration for
, and infinitely many for
, so for example, the general form for the integral of 1/''x'' is:
:
Second,
and
were assumed to be everywhere differentiable. If
and
are not differentiable at even one point, then the theorem might fail. As an example, let
be the
Heaviside step function
The Heaviside step function, or the unit step function, usually denoted by or (but sometimes , or ), is a step function, named after Oliver Heaviside (1850–1925), the value of which is zero for negative arguments and one for positive argume ...
, which is zero for negative values of ''x'' and one for non-negative values of ''x'', and let
. Then the derivative of
is zero where it is defined, and the derivative of
is always zero. Yet it's clear that
and
do not differ by a constant, even if it is assumed that
and
are everywhere continuous and
almost everywhere
In measure theory (a branch of mathematical analysis), a property holds almost everywhere if, in a technical sense, the set for which the property holds takes up nearly all possibilities. The notion of "almost everywhere" is a companion notion to ...
differentiable the theorem still fails. As an example, take
to be the
Cantor function
In mathematics, the Cantor function is an example of a function that is continuous, but not absolutely continuous. It is a notorious counterexample in analysis, because it challenges naive intuitions about continuity, derivative, and measure. Th ...
and again let
.
For example, suppose one wants to find antiderivatives of
. One such antiderivative is
. Another one is
. A third is
. Each of these has derivative
, so they are all antiderivatives of
.
It turns out that adding and subtracting constants is the only flexibility we have in finding different antiderivatives of the same function. That is, all antiderivatives are the same up to a constant. To express this fact for
, we write:
:
Replacing
by a number will produce an antiderivative. By writing
instead of a number, however, a compact description of all the possible antiderivatives of
is obtained.
is called the constant of integration. It is easily determined that all of these functions are indeed antiderivatives of
:
:
Necessity
At first glance, it may seem that the constant is unnecessary, since it can be set to zero. Furthermore, when evaluating
definite integral
In mathematics, an integral assigns numbers to functions in a way that describes displacement, area, volume, and other concepts that arise by combining infinitesimal data. The process of finding integrals is called integration. Along with di ...
s using the
fundamental theorem of calculus
The fundamental theorem of calculus is a theorem that links the concept of differentiating a function (calculating its slopes, or rate of change at each time) with the concept of integrating a function (calculating the area under its graph, or ...
, the constant will always cancel with itself.
However, trying to set the constant to zero does not always make sense. For example,
can be integrated in at least three different ways:
:
So setting
to zero can still leave a constant. This means that, for a given function, there is no "simplest antiderivative".
Another problem with setting
equal to zero is that sometimes we want to find an antiderivative that has a given value at a given point (as in an
initial value problem
In multivariable calculus, an initial value problem (IVP) is an ordinary differential equation together with an initial condition which specifies the value of the unknown function at a given point in the domain. Modeling a system in physics or oth ...
). For example, to obtain the antiderivative of
that has the value 100 at ''x'' = π, then only one value of
will work (in this case
).
This restriction can be rephrased in the language of
differential equations
In mathematics, a differential equation is an equation that relates one or more unknown functions and their derivatives. In applications, the functions generally represent physical quantities, the derivatives represent their rates of change, an ...
. Finding an indefinite integral of a function
is the same as solving the differential equation
. Any differential equation will have many solutions, and each constant represents the unique solution of a well-posed
initial value problem
In multivariable calculus, an initial value problem (IVP) is an ordinary differential equation together with an initial condition which specifies the value of the unknown function at a given point in the domain. Modeling a system in physics or oth ...
. Imposing the condition that our antiderivative takes the value 100 at ''x'' = π is an initial condition. Each initial condition corresponds to one and only one value of
, so without
it would be impossible to solve the problem.
There is another justification, coming from
abstract algebra
In mathematics, more specifically algebra, abstract algebra or modern algebra is the study of algebraic structures. Algebraic structures include groups, rings, fields, modules, vector spaces, lattices, and algebras over a field. The term ''a ...
. The space of all (suitable) real-valued functions on the
real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
s is a
vector space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called ''vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but can ...
, and the
differential operator
In mathematics, a differential operator is an operator defined as a function of the differentiation operator. It is helpful, as a matter of notation first, to consider differentiation as an abstract operation that accepts a function and return ...
is a
linear operator
In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pre ...
. The operator
maps a function to zero if and only if that function is constant. Consequently, the
kernel
Kernel may refer to:
Computing
* Kernel (operating system), the central component of most operating systems
* Kernel (image processing), a matrix used for image convolution
* Compute kernel, in GPGPU programming
* Kernel method, in machine learnin ...
of
is the space of all constant functions. The process of indefinite integration amounts to finding a pre-image of a given function. There is no canonical pre-image for a given function, but the set of all such pre-images forms a
coset
In mathematics, specifically group theory, a subgroup of a group may be used to decompose the underlying set of into disjoint, equal-size subsets called cosets. There are ''left cosets'' and ''right cosets''. Cosets (both left and right) ...
. Choosing a constant is the same as choosing an element of the coset. In this context, solving an
initial value problem
In multivariable calculus, an initial value problem (IVP) is an ordinary differential equation together with an initial condition which specifies the value of the unknown function at a given point in the domain. Modeling a system in physics or oth ...
is interpreted as lying in the
hyperplane
In geometry, a hyperplane is a subspace whose dimension is one less than that of its ''ambient space''. For example, if a space is 3-dimensional then its hyperplanes are the 2-dimensional planes, while if the space is 2-dimensional, its hyper ...
given by the
initial condition
In mathematics and particularly in dynamic systems, an initial condition, in some contexts called a seed value, is a value of an evolving variable at some point in time designated as the initial time (typically denoted ''t'' = 0). For ...
s.
References
{{Authority control
Integral calculus