There is no single algorithm that makes every antiderivative elementary. Look first at the integrand's structure, choose a rule that simplifies it, and check the proposed answer by differentiation.
The continuous fundamental theorem turns the product rule into the definite parts identity. Proper substitution justifies changes of variable with their interval and endpoint conditions. These are proof prerequisites; none of the following techniques changes convergence conditions or identifies constants across genuine disconnected domains.
Integration by parts and reduction
Theorem 5.3.1
(Integration by parts)
If and are continuously differentiable on an interval, then . On , .
Proof
(Reverse the product rule)
The product rule gives . Integrate both sides and rearrange. For definite integrals use the fundamental theorem on the derivative of .
Worked example 5.3.2
(A product simplified by parts)
To compute , take , , so , . Then . Differentiating confirms the answer. Choosing instead would not simplify the remaining integral.
Worked example 5.3.3
(A reduction formula)
For an integer , define on an interval. Take and . Parts gives . Replace by and collect terms to obtain . Start from and , adding an arbitrary constant to the final antiderivative. For example .
Counterexample mode
Parts applied to 1/x seems to prove 0 = 1
Take and on , so and . Integration by parts gives
Cancelling from both sides would give . The step that fails is the cancellation. In the theorem above, denotes a family of antiderivatives, each determined only up to an additive constant on the interval, so the identity says only that the two families and coincide, which is true. Equality of families does not allow a single representative to be subtracted from both sides. The definite form of the theorem, which concerns numbers, gives no contradiction: on the boundary term is , and the identity reduces to .
A rational function with polynomial numerator and denominator can first be divided when the numerator's degree is at least the denominator's. If the denominator factors over the reals into linear factors and irreducible quadratics, partial fractions reduce the proper rational part to pieces with constant numerators over powers of linear factors and linear numerators over powers of irreducible quadratics. Coefficients are found by clearing denominators and equating polynomials. The formula applies only away from denominator zeros; integration constants are local to each interval of definition.
Structure and degree
A real polynomial is a finite expression
with real coefficients and nonnegative integer exponents. If , its degree is and is its leading coefficient. The zero polynomial has no degree under the convention used here. A nonzero constant has degree zero. Expressions such as or are not polynomials in .
For nonzero polynomials , the leading term of their product is the product of the leading terms, so . In a sum the leading terms may cancel: has degree one, not three.
Some useful identities are
They are verified by multiplication. A common factor should be taken out before attempting more elaborate methods. Over the reals, has no linear factor because its value is positive for every real . Factorization always has a coefficient field in the background; this chapter works over the reals.
Partial fractions for a given real linear/quadratic factorization
Work in . Suppose a nonzero denominator has the given factorization , where , each is a positive integer, and the are distinct monic irreducible polynomials of degree one or two. This theorem assumes that factorization is supplied; it does not assert or prove a general real factorization theorem. Polynomial division first removes a polynomial part. Absorb into the remaining numerator, so it is enough to prove the result for and (including ).
The polynomial division algorithm repeatedly cancels the leading term with a multiple of a nonzero divisor; each nonzero remainder's degree drops, so the process terminates. The quotient and smaller-degree remainder are unique, since their difference would equate a nonzero divisor multiple to a polynomial of smaller degree. Repeated division of two polynomials gives the Euclidean algorithm: common divisors are preserved at each equation , and the last nonzero remainder divides its predecessors backwards. It is therefore a greatest common divisor. Back-substitution expresses it as a polynomial combination of the two original polynomials. Normalizing a constant greatest common divisor gives the Bezout identity .
Distinct monic irreducibles have constant greatest common divisor: a nonconstant divisor of an irreducible must be a scalar multiple of it, which would make the two monic polynomials equal. Thus . Expanding its power by the finite binomial theorem groups every term into a multiple of or of , yielding a Bezout identity for the powers as well. If is coprime to each of , multiply identities and ; all terms except contain . This proves coprimality of and , and induction extends it to finite products.
For each put . The proved coprimality supplies . Let be the remainder of modulo . Then (or ), and is divisible by . For , is divisible by that same power. Therefore
is divisible by every . Coprime divisors can be multiplied here: if are coprime and both divide , multiply a Bezout identity for by to see , hence . Repeated application proves . But and every have degree below unless zero. Consequently , giving
Repeatedly divide by . The unique remainders give with every (zero permitted). Dividing by gives one numerator for each power from one to . These numerators are constants for a linear and polynomials of degree at most one for a quadratic , exactly the advertised form.
For uniqueness, subtract two decompositions and group the powers back into polynomials of the same strict degree bounds. Multiplication by gives . Reduction modulo and the Bezout inverse for show ; the degree bound forces . Uniqueness of each repeated-division remainder then forces every numerator difference to vanish. The rational equality holds where ; neither this theorem nor integration of its terms fills a pole or identifies integration constants on disconnected intervals.
Worked example 5.3.4
(Partial fractions)
Since , integration gives on any interval excluding and . The decomposition is checked by recombining the fractions; the absolute values preserve validity on each permitted interval.
Worked example 5.3.5
(Repeated factors)
For , write . Clearing denominators and setting and gives and ; the quadratic coefficient then gives . Hence an antiderivative is on each interval avoiding and .
Trigonometric identities and substitutions
For trigonometric powers, use identities such as when even powers remain, or save a sine or cosine factor for substitution when an odd power is present. A radical such as can suggest with and so that . The interval choice avoids silently replacing by without justification. Tangent half-angle substitution gives , and on intervals where the substitution is valid; it converts rational combinations of sine and cosine into rational functions of .
Worked example 5.3.6
(A trigonometric power)
For , let and . The result is . For , instead use the half-angle identity to get .
Worked example 5.3.7
(Quadratic radical substitution)
For on , put with . Then and the nonnegative square root is . The integral becomes . Since and , the answer is . Differentiate it to check.
Worked example 5.3.8
(Tangent half-angle substitution)
On an interval not containing an odd multiple of , put . Then . The answer in is . The tangent substitution has poles at odd multiples of , so the integration constants are chosen separately on these intervals, even though the original integrand itself is continuous there.
Worked example 5.3.9
(Joining the half-angle formula across its coordinate poles)
The original integrand is continuous on all of , since its denominator is at least . The poles above belong to the substitution, not to . Put wherever it is defined. On the branch , , a primitive that joins its neighbors is
As approaches the left and right endpoints of from within, tends respectively to and . Hence at , the formulas on and have the same limit . Define to be that value. This makes continuous across every joining point, and away from them by the preceding calculation. For sufficiently small nonzero , the mean value theorem on the closed interval between and gives for an interior point on that side. As from either side, and the quotient tends to . Thus as well. This is a primitive on the whole real line with one arbitrary constant ; continuity forces adjacent branch constants to differ by . Arbitrary independent constants give only separate local primitives, not a single continuous global primitive.
Proof X-ray
Where the joining argument does its work
The load-bearing step is the derivative at a joining point , where none of the branch formulas is defined. Two facts make it work. First, continuity at is arranged by choosing the branch constants ; this is what the one-sided limits of are used for, and it is the only choice compatible with a single constant . Second, the mean value theorem needs exactly that continuity on the closed interval between and , together with differentiability inside it, which the branch formula supplies; it then turns the difference quotient into a value of the original integrand. Because itself is continuous at , these values tend to . The argument never differentiates a branch formula at .
The global primitive gives correct definite integrals across the poles of the substitution. Since , using alone across would give , which is impossible for a positive integrand. With the joined primitive, , which agrees with a numerical midpoint sum.
Choosing a method
Try direct substitution when an inner derivative is present; use parts for a product that becomes simpler when one factor is differentiated; divide and decompose rational functions; use identities for powers of sine and cosine, and suitable trigonometric substitutions for quadratic radicals. Reduction formulas arise by applying parts and relating an integral to a simpler member of a family; verify the base case and domain. Always differentiate the final expression.
Exercises
- Find .
- Find on each interval of its domain.
- Find .
Full solutions
- With , , one has . Therefore the answer is .
- The numerator is the derivative of the denominator. Hence the answer is on each of , and .
- The half-angle identity gives .
Connection
These are tools for finding antiderivatives in the fundamental theorem, not replacements for its hypotheses. Section 5.4 applies integrals to geometry and infinite domains, where limits and convergence must also be checked.
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.
Deriving the binomial theorem.
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.