To single out one particular antiderivative from the family , we need one extra piece of information: the value of the antiderivative at a specific point. This is called an initial condition.
| Concept | Meaning |
|---|---|
| General antiderivative (family of curves) | |
| Initial condition | Fixes the value of |
| Particular solution | The unique antiderivative satisfying the initial condition |
| Geometric meaning of | Vertical shift of the curve |
Determination of the Constant of Integration
To determine the constant of integration, in addition to the given function to be integrated, we need extra data. Specifically, the extra data is the value of the antiderivative at a point. Let us illustrate this by means of examples.
Find if f'(x) = x^3 - 3x + 1 + e^x and .
Solution
\begin{aligned} f(x) = \int f'(x)\,dx &= \int(x^3 - 3x + 1 + e^x)\,dx \\ &= \frac{1}{4}x^4 - \frac{3}{2}x^2 + x + e^x + C. \end{aligned}To determine , we use the condition :
so
Find if f''(x) = 3\sin x + 5x, , and f'(0) = 0.
Solution
\begin{aligned} f'(x) &= \int f''(x)\,dx \\ &= \int(3\sin x + 5x)\,dx \\ &= -3\cos x + \frac{5}{2}x^2 + C. \end{aligned}Because f'(0) = 0, we have
Therefore, f'(x) = -3\cos x + \dfrac{5}{2}x^2 + 3, and
\begin{aligned} f(x) &= \int f'(x)\,dx \\ &= \int\left(-3\cos x + \frac{5}{2}x^2 + 3\right)\,dx \\ &= -3\sin x + \frac{5}{6}x^3 + 3x + D. \end{aligned}To determine , we impose the condition :
\begin{aligned} f(0) &= -3\underbrace{\sin 0}_{=0} + \frac{5}{6}(0) + 3(0) + D \\ &= 1 \end{aligned}Therefore
Find , if f''(x) = 1 - x^2, , and .
Solution
\begin{aligned} f'(x) &= \int f''(x)\,dx \\ &= \int(1-x^2)\,dx \\ &= x - \frac{x^3}{3} + C, \end{aligned}and
\begin{aligned} f(x) &= \int f'(x)\,dx \\ &= \int\left(x - \frac{x^3}{3} + C\right)\,dx \\ &= \frac{1}{2}x^2 - \frac{1}{12}x^4 + Cx + D. \end{aligned}To determine and , we use the given conditions and :
and
\begin{aligned} f(1) &= \frac{1}{2}(1^2) - \frac{1}{12}(1^4) + C(1) + 2 \\ &= -1 \end{aligned}Therefore, the required function is
Geometrical Significance of the Constant of Integration
Suppose we want to determine the equation of the curve at every point of which the tangent line has the slope .
Because the slope of the tangent to a curve at a point is or f'(x), we have by the hypothesis
f'(x) = 3x^2 - 2x.Therefore, by integration we have
where is the constant of integration. This family of functions is shown in the figure below, where we see curves for various choices of . There are an infinite number of them. All of them have the same value of f' (or ); that is, they have the same slope (or the same direction) for the same value of . Also, notice that the difference in the lengths of their -values remains the same for all values of . Hence, all of these curves can be obtained by moving any one of them vertically up or down, the value of in this case not affecting the slope of the curve.

If in this example, we impose the additional condition that the curve shall pass through the point , then the coordinates of this point must satisfy , giving
Hence, the particular curve required is
Exercises
Find in each case, using the given initial condition to determine the constant of integration:
(a) f'(x) = 6x^{2}-4x+5,
(b) f'(x) = \dfrac{1}{x}+2x, ,
(c) f'(\theta) = 2\cos\theta-\sec^{2}\theta,
(d) f'(x) = \dfrac{4}{\sqrt{1-x^{2}}},
Answer
(a)
(b)
(c)
(d)
Solution
In every part the method is the same: integrate to get the general antiderivative , then substitute the given point to solve for .
(a) Integrating term by term,
Imposing :
\begin{aligned} 2-2+5+C &= 3 \\ C &= -2, \end{aligned}so .
(b) Using and restricting to ,
Imposing and recalling :
so .
(c) Integrating,
Since and , the condition gives directly, so
(d) Integrating,
Here the condition is imposed at , where :
\begin{aligned} 4\cdot\frac{\pi}{6}+C &= 0 \\ C &= -\frac{2\pi}{3}, \end{aligned}so . Notice that the initial condition need not be given at .
Find if f''(x) = 12x^{2}-6x, f'(0) = 1, and .
Answer
Solution
Two integrations are needed, and each one introduces its own constant. Determine the first constant before integrating again.
Step 1: integrate f'' to get f'. \begin{aligned} f'(x) &= \int\left(12x^{2}-6x\right)dx \\ &= 4x^{3}-3x^{2}+C. \end{aligned}
The condition f'(0) = 1 gives , so and
f'(x) = 4x^{3}-3x^{2}+1.Step 2: integrate f' to get . \begin{aligned} f(x) &= \int\left(4x^{3}-3x^{2}+1\right)dx \\ &= x^{4}-x^{3}+x+D. \end{aligned}
The condition gives , so
Find if f''(x) = \sin x+\cos x, f'(0) = 2, and .
Answer
Solution
Step 1. Integrating once, \begin{aligned} f'(x) &= \int\left(\sin x+\cos x\right)dx \\ &= -\cos x+\sin x+C. \end{aligned}
Since and , the condition f'(0) = 2 gives
so f'(x) = -\cos x+\sin x+3.
Step 2. Integrating again, \begin{aligned} f(x) &= \int\left(-\cos x+\sin x+3\right)dx \\ &= -\sin x-\cos x+3x+D. \end{aligned}
The condition gives
\begin{aligned} 0-1+0+D &= 3 \\ D &= 4, \end{aligned}so .
Find if f''(x) = 6x+2, , and .
Answer
Solution
Here both conditions are values of itself, so neither constant can be found until after the second integration. Carry both constants along.
Step 1. \begin{aligned} f'(x) &= \int\left(6x+2\right)dx \\ &= 3x^{2}+2x+C. \end{aligned}
Step 2. Integrating again, and remembering that the term integrates to , \begin{aligned} f(x) &= \int\left(3x^{2}+2x+C\right)dx \\ &= x^{3}+x^{2}+Cx+D. \end{aligned}
Step 3: impose the two conditions. From ,
From ,
\begin{aligned} 1+1+C+3 &= 1 \\ C &= -4. \end{aligned}Therefore .
In each case, find the equation of the curve whose slope at every point is the given expression and which passes through the given point:
(a) slope , through
(b) slope , through
(c) slope , through
Answer
(a)
(b)
(c)
Solution
The slope at every point is , so integrating the given slope produces the whole family of curves. The point then selects one member of that family.
(a) From ,
Substituting :
\begin{aligned} 8-6+C &= 5 \\ C &= 3, \end{aligned}so .
(b) From ,
Substituting gives , so and
(c) From ,
Substituting , and using :
\begin{aligned} 2(8)+C &= 10 \\ C &= -6, \end{aligned}so .
Consider the family studied in this section.
(a) Which member of the family passes through ?
(b) Show that any two members of the family have the same slope at each fixed value of , and that their difference is constant.
(c) Is there a member of the family passing through both and ? Explain.
Answer
(a)
(b) Every member has slope , and two members differ by the constant .
(c) No. The point forces , and that curve passes through , not .
Solution
(a) Substituting , : \begin{aligned} (-1)^{3}-(-1)^{2}+C &= 0 \\ -1-1+C &= 0 \\ C &= 2, \end{aligned}
so the curve is .
(b) Let and . Differentiating, the constants disappear:
So at any fixed the two curves have the same slope, meaning they are parallel in direction. Subtracting,
which does not depend on . This is exactly the vertical shift described in the section: the curves are congruent, one lying a fixed distance above the other.
(c) The point requires
so the only candidate is . At this gives , not . Hence no member passes through both points. In general one point determines completely, so a second point is one condition too many.
Each of the following contains a mistake. Identify it and correct the work:
(a) Given f''(x) = 6x, a student writes f'(x) = 3x^{2}+C and then .
(b) Given f'(x) = 2x+1 and , a student writes , then says ", so ", and reports .
(c) Given f'(x) = 4x^{3} and , a student writes and determines from f'(1) = 4.
Answer
(a) The second integration needs a new constant: .
(b) The constant was found but never inserted: .
(c) The condition must be applied to , not to f': , so .
Solution
(a) Each integration introduces an arbitrary constant, and there is no reason for the two to be equal. Reusing the same letter silently imposes the extra relation , which throws away one degree of freedom. The correct general form is
with and independent. Two conditions are then required to pin both of them down.
(b) The antiderivative was written without its constant, so there was nothing for the initial condition to adjust. Starting correctly,
Now , and the condition gives . Hence
(c) The constant of integration lives in , not in f'. Differentiating removes entirely, so f'(1) carries no information about it. Using the condition that was actually given, \begin{aligned} f(1) = 1^{4}+C &= 2 \\ C &= 1, \end{aligned}
so .
The initial condition need not be given at the origin. Find in each case:
(a) f'(x) = \dfrac{1}{x}, ,
(b) f'(x) = \dfrac{1}{1+x^{2}},
Answer
(a)
(b)
Solution
(a) Integrating, for . Since , the condition gives
so .
(b) Integrating, . Since , the condition gives
so .
In both parts the point chosen was one where the antiderivative takes a value we happen to know exactly. That is the only reason such points are convenient; any point in the domain would do.
Find if f'''(x) = 24x, f''(0) = 2, f'(0) = -1, and .
Answer
Solution
Three integrations, three constants, and three conditions. Determine each constant as soon as its condition becomes usable.
Step 1. f''(x) = \int 24x\,dx = 12x^{2}+A.
From f''(0) = 2 we get , so f''(x) = 12x^{2}+2.
Step 2. \begin{aligned} f'(x) &= \int\left(12x^{2}+2\right)dx \\ &= 4x^{3}+2x+B. \end{aligned}
From f'(0) = -1 we get , so f'(x) = 4x^{3}+2x-1.
Step 3. \begin{aligned} f(x) &= \int\left(4x^{3}+2x-1\right)dx \\ &= x^{4}+x^{2}-x+D. \end{aligned}
From we get . Therefore
In general, recovering from its -th derivative requires conditions.
Let and .
(a) Verify that and are both antiderivatives of .
(b) Find the constant by which they differ.
(c) In each family, find the member whose value at is , and check that the two answers describe the same function.
Answer
(a) F'(x) = G'(x) = \sin 2x.
(b) .
(c) and , which are the same function.
Solution
(a) Using the Chain Rule and the double-angle identity , \begin{aligned} F'(x) &= 2\sin x\cos x = \sin 2x, \\ G'(x) &= -\tfrac{1}{2}\left(-2\sin 2x\right) = \sin 2x. \end{aligned}
(b) Using , \begin{aligned} F(x)-G(x) &= \sin^{2}x+\tfrac{1}{2}\cos 2x \\ &= \sin^{2}x+\tfrac{1}{2}\left(1-2\sin^{2}x\right) \\ &= \tfrac{1}{2}. \end{aligned}
The difference is constant, exactly as the theory predicts: two antiderivatives of the same function on an interval can differ only by a constant.
(c) For the first family, , so and the member is . For the second, , so and the member is . These agree, since \begin{aligned} -\tfrac{1}{2}\cos 2x+\tfrac{3}{2} &= -\tfrac{1}{2}\left(1-2\sin^{2}x\right)+\tfrac{3}{2} \\ &= \sin^{2}x+1. \end{aligned}
The lesson is that two correct answers to the same integration problem may look different while describing the same family of curves.
A curve has slope at every point and passes through .
(a) Find its equation.
(b) Find the member of the same family that passes through the origin.
(c) State the vertical distance between the two curves, and explain why it does not depend on .
Answer
(a)
(b)
(c) The vertical distance is for every , because the two curves differ only by the constant of integration.
Solution
(a) Integrating the slope,
Substituting gives , so and .
(b) The origin gives , so and .
(c) Subtracting the two equations,
The terms cancel because the two curves share the same antiderivative and differ only in . This is the geometric meaning of the constant of integration: changing slides the entire curve up or down without bending it, so the gap between two members is the same at every .
A challenge on the fine print. On the interval the general antiderivative of is . Explain why, on the domain of all , the function
is also an antiderivative of , and say what this means for the phrase "the constant of integration".
Answer
F'(x) = \dfrac{1}{x} on both pieces, because a constant differentiates to zero regardless of which constant it is. The result that two antiderivatives differ by a single constant requires an interval; the set is two separate intervals, so each piece carries its own independent constant.
Solution
Differentiate on each piece separately. For ,
and for , writing ,
So F'(x) = \dfrac{1}{x} at every point where is defined, even though is not of the form for any single number .
The reason is that the theorem behind the constant of integration, that two functions with the same derivative on an interval differ by a constant, is a consequence of the Mean Value Theorem, and the Mean Value Theorem needs the two points it compares to be joined by a path inside the domain. The set is not an interval; it is the union of the two separate intervals and . Nothing connects them, so the constant on one side is free of the constant on the other.
This is why the formulas in this chapter are always stated on an interval, and why writing is understood to mean "on any interval not containing ". In practice the initial condition tells you which side you are on, and that is the side you work with.