The integral of a sum is the sum of the integrals, constants come outside, and so every polynomial can be integrated term by term; how to check any integral by differentiating it.
The rules of §114 let us differentiate any combination of functions whose derivatives we know. Integration has no rule for products or quotients that always works, but it does have the two simplest rules: sums and constant multiples. With them and the standard forms of §131, every polynomial, and every finite combination ∑Aνfν(x) of known integrals, can be integrated at once. This short section also sets the habit that the rest of the chapter depends on: an integral is found by cleverness but checked by differentiation.
The idea
Every statement about integrals is a statement about derivatives read backwards. “ϕ is an integral of ψ” means “ϕ′=ψ”. So to integrate f+F we only need a function whose derivative is f+F, and the sum rule for derivatives hands us one: if ϕ′=f and Φ′=F, then (ϕ+Φ)′=f+F. Similarly (kϕ)′=kf.
This makes integration of polynomials mechanical. Integrate each power separately, raising the exponent by one and dividing by the new exponent, and keep the coefficients:
∫(3x2−4x+5)dx=3⋅3x3−4⋅2x2+5x=x3−2x2+5x.
The cheapest way to catch a mistake is to differentiate the answer. The widget does exactly that, numerically, for whatever answer you choose.
ExploreCheck an integral by differentiating it
Try this.For each integrand, pick the candidate you believe is an integral. The dashed curve is the derivative of your pick, computed from it. Then deliberately pick a wrong one and look at how the dashed curve fails. Use Next to move through the six questions.
Question 1 of 6: which is an integral of ψ(x)=3x2−4x+5?
xy
ψ, the integrand
F′, derivative of your choice
Pick a candidate F. The dashed curve will show its derivative F′, computed from F.
What to notice
A correct answer puts the dashed curve exactly on the thick one, everywhere. The wrong answers fail in typical ways: a factor out (the curves have the same shape but different heights), a sign flipped (mirror images), or the derivative computed instead of the integral. Questions 4 and 5 need the rule for ψ(ax+b) given below.
Precise statements
TheoremLinearity of integrationHardy: §132 (1), (2)
If f and F have integrals on an interval, and k is a constant, then
∫{f(x)+F(x)}dx=∫f(x)dx+∫F(x)dx,∫kf(x)dx=k∫f(x)dx.
How should an equation between indefinite integrals be read, when each side is only defined up to a constant? Hardy’s answer: the sum of any integral of f and any integral of F is an integral of f+F, and every integral of f+F arises in this way. In short, each side stands for a whole family {ϕ+C}, and the two families are equal. (In the second formula take k=0: for k=0 the left side is the family of all constants, the right side is just 0.)
More generally, if ∫fν=ϕν for ν=1,…,N, then ∫∑Aνfν=∑Aνϕν.
One more rule is used constantly. It is the chain rule read backwards, and Hardy states it in §133; we need its simplest case already.
TheoremA linear change of variableHardy: §133 (4)
If ϕ is an integral of ψ, and a=0, then
∫ψ(ax+b)dx=a1ϕ(ax+b).
For example ∫cos3xdx=31sin3x and ∫(2x+1)3dx=81(2x+1)4.
Proofs
ProofLinearity of integration
Strategy
Translate each claim into a claim about derivatives, and use the sum and constant-multiple rules for derivatives (§114). For the “every integral arises” part, use the uniqueness theorem of §130.
A sum of integrals is an integral of the sum
Let ϕ′=f and Φ′=F. By the sum rule, (ϕ+Φ)′=ϕ′+Φ′=f+F.
Every integral of the sum arises this way
Let χ be any integral of f+F. Then χ and ϕ+Φ have the same derivative on the interval, so χ=ϕ+Φ+C=(ϕ+C)+Φ, and ϕ+C is again an integral of f.
Constant multiples
(kϕ)′=kϕ′=kf, so kϕ is an integral of kf. If k=0 and χ is any integral of kf, then χ/k is an integral of f, so χ=k(χ/k) is of the stated form.
∎
ProofA linear change of variable
Strategy
Differentiate the proposed answer with the chain rule.
Differentiate a1ϕ(ax+b)
By the chain rule, dxdϕ(ax+b)=ϕ′(ax+b)⋅a=aψ(ax+b).
Divide by a
So dxd{a1ϕ(ax+b)}=ψ(ax+b), as claimed.
∎
Worked examples and exercises
ExerciseExpand, then integrate●○○Hardy: §132
Find ∫(x2+1)2dx.
Hint
No rule integrates a square directly. Expand it into a polynomial first.
Solution
(x2+1)2=x4+2x2+1, so the integral is 51x5+32x3+x. Check: the derivative is x4+2x2+1.
Note that 31(x2+1)3 is wrong: its derivative is (x2+1)2⋅2x. The power rule in reverse only works when the inside is x itself, or (by the last theorem) a linear function of x.
ExerciseFractional powers●○○Hardy: §§131–132
Find ∫x(1+x)2dx for x>0.
Hint
Expand the numerator and divide each term by x: you get a sum of powers of x, one of which is x−1.
Solution
x1+2x+x=x−1+2x−1/2+1. Integrating term by term,
∫x(1+x)2dx=logx+4x+x.
Check: the derivative is 1/x+4⋅21x−1/2+1=1/x+2/x+1.
ExerciseTwo methods, two answers●○○Hardy: §§132–133
Integrate (2x+1)3 by expanding, and by the rule for ψ(ax+b). Show that the two answers differ by a constant, and find it.
Hint
Expand (2x+1)3=8x3+12x2+6x+1, and also expand (2x+1)4.
Solution
Expanding: ∫(8x3+12x2+6x+1)dx=2x4+4x3+3x2+x.
By the rule: 81(2x+1)4=81(16x4+32x3+24x2+8x+1)=2x4+4x3+3x2+x+81.
They differ by the constant 81, as the uniqueness theorem says they must.
ExerciseIntegrals of trigonometric sums●○○Hardy: §132
Find ∫(cosx−3sin2x+4)dx, and the integral that vanishes at x=0.
Hint
Linearity, then the linear change of variable for sin2x.
Solution
∫cosxdx=sinx, ∫sin2xdx=−21cos2x, ∫4dx=4x. So one integral is sinx+23cos2x+4x. At x=0 its value is 23, so the integral vanishing at 0 is sinx+23cos2x+4x−23.
ExerciseReading “adjusted properly”●●○Hardy: §132
Let f(x)=x. Use linearity to write ∫{f(x)+(−f(x))}dx in two ways, and explain why “21x2−21x2=C” is a correct statement rather than a contradiction.
Hint
What is ∫0dx? What does each indefinite integral on the right stand for?
Solution
On the one hand f+(−f)=0, and the integrals of 0 on an interval are exactly the constants. On the other hand, linearity gives ∫xdx+∫(−x)dx, and these stand for 21x2+C1 and −21x2+C2, whose sum is C1+C2: again any constant. Both sides are the family of constant functions. Writing particular integrals, 21x2 and −21x2, gives the particular integral 0, which is one member of that family. This is what Hardy means by “the arbitrary constants are adjusted properly”.
Check yourself
Check yourselfChoose one
Which is an integral of 4x3−6x+2?
Why
Differentiate each: x4−3x2+2x−9 gives 4x3−6x+2 (the −9 is harmless). The first option is the derivative, not an integral. The third forgot to halve 6x‘s coefficient; the fourth forgot to divide by the new exponents.
Check yourselfTrue or false?
If ϕ and Φ are integrals of f and F, then ϕΦ is an integral of fF.
Why
False. (ϕΦ)′=ϕ′Φ+ϕΦ′=fΦ+ϕF, not fF. For example, with f=F=1 we get ϕΦ=x2, whose derivative is 2x, not 1. Integration has no product rule of this kind; the nearest thing is integration by parts (§141).
Check yourselfEnter a number
∫(4x−1)−2dx=k(4x−1)−1 for x>41. What is k?
Why
An integral of u−2 is −u−1, so by the linear change of variable ∫(4x−1)−2dx=41⋅{−(4x−1)−1}, and k=−41. Check: the derivative of −41(4x−1)−1 is −41⋅(−1)(4x−1)−2⋅4=(4x−1)−2. The two common slips are dropping the minus sign of the power rule (k=41) and multiplying by 4 instead of dividing (k=−4).
Hardy’s language
Summary
Summary
Integration is linear: integrate sums term by term, and take constant factors outside.
Every polynomial integrates term by term: raise each exponent by one and divide by the new exponent.
∫ψ(ax+b)dx=a1ϕ(ax+b): a linear inside costs a factor 1/a.
There is no product rule: ∫fF is not ∫f⋅∫F, and ∫(inside)n is not (inside)n+1/(n+1) unless the inside is linear.