Differentiation takes a function to its rate of change. Antidifferentiation asks for a function with a prescribed derivative; it is the first step toward computing accumulated change.
Antiderivatives live on intervals
Definition 5.1.1
(Antiderivative)
On an interval , an antiderivative of is a differentiable with on . The notation denotes the family . On a disconnected domain, constants may differ on different components.
Constants and logarithmic primitives
Theorem 5.1.2
(Antiderivatives differ by constants)
If on an interval, then is constant there. Basic formulas include for on an interval where the powers are defined, on either or , and .
Proof
(Why the constant is the only freedom)
The derivative of is zero. For any two points of the interval the mean value theorem gives equal values of , so the difference is constant. An interval is essential to this argument.
Concept lensStructural
One antiderivative plus every solution of G′=0
Differentiation is linear: for constants . So if is one antiderivative of on a domain , another differentiable is an antiderivative exactly when on . The family of all antiderivatives is therefore , where ranges over the solutions of the homogeneous equation , in the same way as a solution set of a linear system is one particular solution plus the solutions of the homogeneous system. The theorem above identifies those solutions on an interval: they are the constant functions, which gives the single constant . If is the union of disjoint open intervals, the mean-value argument applies on each interval separately, so means that is constant on each interval, with independent values. The next example, with , has exactly three constants for this reason.
Worked example 5.1.3
(One formula, three independent constants)
Find every antiderivative of on its natural domain. First solve : the domain is the union of the three intervals , and . The substitution gives , but the primitive of depends on its sign: it is for and for . On the latter interval the chain rule gives . Both cases are written .
Thus the general answer is
The three constants are independent, one for each connected interval. In the middle interval, ; on the two outer intervals the derivative is directly. This verifies the formula at every allowed input, including , where a proof dividing by would fail. Nothing requires the constants on opposite sides of a missing input to agree. The expression without absolute values, , would miss the entire middle interval. Nor can this primitive evaluate an ordinary definite integral across : the integrand is undefined there, so the continuous-integrand fundamental theorem does not apply; the improper limits must be examined separately.
Counterexample mode
A primitive cannot be evaluated across a point where it is undefined
The power formula gives as an antiderivative of on each of and , but not on an interval containing . Ignoring that restriction leads to a false evaluation:
although the integrand is positive at every point where it is defined. The error lies in the hypothesis of the evaluation theorem of Section 5.2, which needs an integrand continuous on the whole closed interval and an antiderivative on that interval. Here neither exists across : the integrand is unbounded near , and is not defined there. Treated as an improper integral, the right half already diverges, since as . As in the example above, a primitive is valid only on each interval of its domain separately.
Substitution and its derivative check
Theorem 5.1.4
(Substitution as the reverse chain rule)
If and is differentiable with values in the domain of , then on an interval. The substitution organises this identity; is useful notation for the accompanying derivative factor.
Worked example 5.1.5
(Matching an inner derivative)
In , choose and . Thus an antiderivative is . Differentiating the result gives , a direct check. By contrast, lacks the factor and this substitution does not yield an elementary antiderivative.
The complete definite-substitution theorem, its proof and a definite-integral exercise follow the integral construction and fundamental theorem in Section 5.2. The reverse-chain rule above is the indefinite statement.
The standard antiderivatives , , and follow by differentiating their right-hand sides. A formula sheet is useful only with its domains: for example holds on .
Choosing a method
Look for a composition accompanied by the derivative of its inner function, perhaps up to a constant factor. Simplify algebra first. Do not treat a missing variable factor as a constant. For the definite calculations of Section 5.2, either change both limits and variable or return to before evaluating; do not mix the two.
Exercises
- Find .
- Find on any interval where the denominator is nonzero.
A further exercise on definite substitution, with its full solution, follows the definite-substitution proof in Section 5.2.
Full solutions
- Let , so . The result is .
- Put , so . The mean value theorem makes strictly increasing; and , so continuity gives a unique root . The two maximal allowed intervals are therefore and . On the former , so and its derivative is ; on the latter , so the same derivative follows from . Hence all primitives are to the left and to the right, with independent constants. The same formula restricts to any smaller interval in the question. No primitive is asserted at .
Connection
The reverse chain rule links rate to accumulation. Section 5.2 constructs definite integrals and proves evaluation and definite substitution; Section 5.3 extends the technique toolbox.
Proofs supporting the methods used in this note
The working prerequisites are mean-value reasoning for the constant theorem, the chain-rule proof allowing zero inner increments, and exponential and logarithmic derivatives. The complete definite-substitution proof and a definite-integral exercise are in Section 5.2, after its integrability foundations and FTC. These are different roles, so the indefinite calculation need not wait for all the integration foundations.
Proof
(Related sections with full statements and proofs)
The following links lead to the full statements and proofs of the prerequisite results used in this note.
Binomial coefficients and Pascal's identity
Finite real limit laws and geometric sequences: proofs
The fundamental trigonometric limit
Continuity, intermediate values and compact extrema
Real closed sets: the sequence criterion and the open complement
Heine–Borel in finite-dimensional Euclidean space
Darboux sums and integrability
Darboux integrability and the fundamental theorem
Bounded proper Riemann integrals: mesh equivalence and elementary properties
Differentiability and linear error
A chain-rule proof that handles zero inner changes
From a proper area logarithm to the natural exponential
Product, quotient and chain rules with hypotheses
First principles: a method, not a memorized table
Derivative definitions and rules
Derivatives of sine and cosine
Exponential and logarithmic derivatives
Mean-value theorem and interval consequences
Continuous monotone inverses and principal branches
Prove local inverse existence before its derivative formula