arbitrary constant of integration
   HOME

TheInfoList



OR:

In
calculus Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizati ...
, the constant of integration, often denoted by C (or c), 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 com ...
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 symbolica ...
of a function f(x) 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 symbolicall ...
of f(x) (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 f(x)), on a connected domain, is only defined
up to Two 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'' with respect to ''R'' ...
an additive constant. This constant expresses an ambiguity inherent in the construction of antiderivatives. More specifically, if a function f(x) is defined on an interval, and F(x) is an antiderivative of f(x), then the set of ''all'' antiderivatives of f(x) is given by the functions F(x) + C, where C is an arbitrary constant (meaning that ''any'' value of C would make F(x) + C a valid antiderivative). For that reason, the indefinite integral is often written as \int f(x) \, dx = F(x) + C, although the constant of integration might be sometimes omitted in lists of integrals 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. ...
of any constant function is zero. Once one has found one antiderivative F(x) for a function f(x), adding or subtracting any constant C will give us another antiderivative, because \frac(F(x) + C) = \fracF(x) + \fracC = F'(x) = f(x). The constant is a way of expressing that every function with at least one antiderivative will have an infinite number of them. Let F:\R\to\R and G:\R\to\R be two everywhere differentiable functions. Suppose that F\,'(x) = G\,'(x) for every real number ''x''. Then there exists a real number C such that F(x) - G(x) = C for every real number ''x''. To prove this, notice that
(x) - G(x) An emoticon (, , rarely , ), short for "emotion icon", also known simply as an emote, is a pictorial representation of a facial expression using characters—usually punctuation marks, numbers, and letters—to express a person's feelings, m ...
= 0. So F can be replaced by F-G, and G by the constant function 0, making the goal to prove that an everywhere differentiable function whose derivative is always zero must be constant: Choose a real number a, and let C = F(a). 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, ...
, together with the assumption that the derivative of F vanishes, implying that : \begin & 0= \int_a^x F'(t)\ dt\\ & 0= F(x)-F(a) \\ & 0= F(x)-C \\ & F(x)=C \\ \end thereby showing that F 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 * ...
. 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 \int dx/x, and infinitely many for \int \tan x\,dx, so for example, the general form for the integral of 1/''x'' is: : \int \frac = \begin \ln \left, x \ + C^- & x < 0\\ \ln \left, x \ + C^+ & x > 0 \end Second, F and G were assumed to be everywhere differentiable. If F and G are not differentiable at even one point, then the theorem might fail. As an example, let F(x) 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 argum ...
, which is zero for negative values of ''x'' and one for non-negative values of ''x'', and let G(x) = 0. Then the derivative of F is zero where it is defined, and the derivative of G is always zero. Yet it's clear that F and G do not differ by a constant, even if it is assumed that F and G 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 F 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. ...
and again let G = 0. For example, suppose one wants to find antiderivatives of \cos(x). One such antiderivative is \sin(x). Another one is \sin(x) +1. A third is \sin(x)-\pi. Each of these has derivative \cos(x), so they are all antiderivatives of \cos(x). 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 \cos(x), we write: :\int \cos(x)\,dx = \sin(x) + C. Replacing C by a number will produce an antiderivative. By writing C instead of a number, however, a compact description of all the possible antiderivatives of \cos(x) is obtained. C is called the constant of integration. It is easily determined that all of these functions are indeed antiderivatives of \cos(x): :\begin \frac sin(x) + C&= \frac \sin(x) + \fracC \\ &= \cos(x) + 0 \\ &= \cos(x) \end


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 ...
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, ...
, the constant will always cancel with itself. However, trying to set the constant to zero does not always make sense. For example, 2\sin(x)\cos(x) can be integrated in at least three different ways: :\begin \int 2\sin(x)\cos(x)\,dx =&& \sin^2(x) + C =&& -\cos^2(x) + 1 + C =&& -\frac 1 2 \cos(2x) + \frac 1 2 + C\\ \int 2\sin(x)\cos(x)\,dx =&& -\cos^2(x) + C =&& \sin^2(x) - 1 + C =&& -\frac 1 2 \cos(2x) - \frac 1 2 + C\\ \int 2\sin(x)\cos(x)\,dx =&& -\frac 1 2 \cos(2x) + C =&& \sin^2(x) + C =&& -\cos^2(x) + C \\ \end So setting C to zero can still leave a constant. This means that, for a given function, there is no "simplest antiderivative". Another problem with setting C 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 o ...
). For example, to obtain the antiderivative of \cos(x) that has the value 100 at ''x'' = π, then only one value of C will work (in this case C = 100). 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 f(x) is the same as solving the differential equation \frac = f(x). 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 o ...
. 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 C, so without C 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 ter ...
. 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 ...
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 retur ...
\frac 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 Map (mathematics), mapping V \to W between two vect ...
. The operator \frac 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 learn ...
of \frac 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 o ...
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). Fo ...
s.


References

{{Authority control Integral calculus