Educerie · IB Diploma · Mathematics: analysis and approaches
IB Mathematics AA 5.5 · SL and HL
Anti-differentiation and area
If you know how fast something is changing, how do you get back to the thing itself, and why does that same process give the area under a curve?
What you will learn
Understand integration as the reverse of differentiation, with a constant of integration
Know how a boundary condition fixes the constant of integration
Understand that the area under a positive curve is a definite integral and equals F(b) minus F(a)
Know how to evaluate definite integrals with the GDC, including distance from a velocity graph
You must be able to
Integrate a sum of integer powers, rewriting brackets and fractions first
Find f(x) from f'(x) and a given point
Write an integral for the area enclosed by a curve and the x-axis, then evaluate it on the GDC
Find the limits of an area from the curve's x-intercepts
Calculate the distance travelled from a positive velocity function
Use rules of definite integrals to combine given integral values
In the exam. Paper 1, as a 3 to 6 mark question: integrate a polynomial or a sum of powers, then use a given point to find the constant. Paper 2, as the area of a region or the distance travelled from a velocity, where you must write the correct definite integral and then evaluate it on the GDC. The guide expects that expression to be written before the value is calculated.
1Reversing the power rule
To differentiate xn you multiply by n and reduce the power by one. To undo that, do the opposite steps in the opposite order: increase the power by one, then divide by the new power.
∫xndx=n+1xn+1+C,n=−1. (Formula booklet.)
The symbol ∫…dx means "the anti-derivative of … with respect to x". The result is called an indefinite integral.
The expression being integrated is the integrand. The dx names the variable of integration, as in dxdy.
You can also find the rule by working backwards from derivatives you already know:
differentiate
gives
so an anti-derivative of
is
x2
2x
2x
x2
x5
5x4
x4
51x5
x−2
−2x−3
x−3
−21x−2
The last column shows the rule. Any two anti-derivatives of the same function differ only by a constant. That is where +C comes from (section 3).
Check any integral by differentiating it. dxd(4x4)=44x3=x3, so ∫x3dx=4x4+C is right. This catches nearly every slip.
Multiples and sums work as for differentiation. A number in front stays in front, and a sum is done term by term.
∫(9x2+10x−7)dx=9×3x3+10×2x2−7x+C=3x3+5x2−7x+Craise each power by 1, divide by the new powercheck: dxd gives 9x2+10x−7
Two entries catch people:
A constant.∫7dx=7x+C, because 7=7x0, and raising the power gives 17x1. The derivative of 7x is 7.
Negative powers.∫x36dx=∫6x−3dx=6×−2x−2+C=−3x−2+C=−x23+C. Raising −3 by one gives −2, not −4.
Why n=−1
For n=−1 the rule would divide by n+1=0.
So ∫x1dx needs a different answer, a logarithm (5.10). On this page every power is an integer other than −1.
2Rewrite first, as you would to differentiate
The rule works only on sums of terms axn. There is no product rule or quotient rule for integration at this level. So rewrite a bracket or a fraction before you start.
3The constant of integration, and boundary conditions
Figure 1 shows why the +C is needed. The curves y=x2+C, for any C, all have derivative 2x. They are the same shape shifted up or down, with the same gradient at every x.
Knowing dxdy=2x gives the shape but not the height.
Figure 1 · Every curve here has derivative 2x
So ∫2xdx=x2+C describes the whole family. To pick one member you need one more fact, usually a point the curve passes through. That fact is a boundary condition (an initial condition when the variable is time).
Find y given dxdy=6x2−2x and y=5 when x=1.
y=∫(6x2−2x)dx=2x3−x2+C5=2(1)3−(1)2+Csubstitute the boundary condition5=1+C, so C=4y=2x3−x2+4
Figure 2 shows the family and the one curve through (1,5).
Figure 2 · A boundary condition picks out one curve
With a negative power: given f′(x)=2x+x29 and f(3)=10, find f(x).
f′(x)=2x+9x−2f(x)=x2+9×−1x−1+C=x2−9x−1+Cf(3)=9−3+C=6+C=10, so C=4f(x)=x2−x9+4
Often there is a second step. A curve has dxdy=3x2−12 and passes through (2,−5). Find where it crosses the y-axis.
y=x3−12x+C−5=8−24+C, so C=11y=x3−12x+11x=0 gives y=11
The curve crosses the y-axis at (0,11).
Two rules:
Write the +Cbefore you substitute, or there is nothing to find.
Substitute into the integrated function f, not the derivative you were given.
In context the constant has a meaning. If v=dtds is a velocity, then s=∫vdt+C is a displacement. C is fixed by where the object starts. Section 6 does one.
4Area under a curve, and the definite integral
Now: what is the area between the curve y=6x−x2 and the x-axis, from x=0 to x=6?
A curved shape has no area formula, so approximate with rectangles.
Split the interval into strips.
Draw a rectangle on each, with height equal to the curve's height at the middle of the strip.
Add up the areas.
Figure 3 does it with 6 strips and then 24.
Figure 3 · Area under a curve, approximated by rectangles
number of rectangles
6
24
total area of rectangles
36.5
36.03
Two other choices trap the area from both sides.
A lower sum takes each rectangle's height as the lowest value of the curve on its strip. Every rectangle sits inside the region, so the total is too small.
An upper sum takes the highest value. Every rectangle pokes out, so the total is too big.
Example: y=6x−x2 with 6 strips of width 1. The lower sum is 0+5+8+8+5+0=26 and the upper sum is 5+8+9+9+8+5=44, so 26<A<44. With 12 strips of width 0.5 the bounds close in to 31.25<A<40.25.
Which rectangle is which depends on whether the curve is rising or falling. On a rising stretch the lowest value is at the left edge of the strip and the highest at the right. On a falling stretch it is the other way round.
Example: y=x2+1 from x=0 to x=3, which only rises. Three strips of width 1 give lower sum 1+2+5=8 and upper sum 2+5+10=17, so 8<A<17.
Thinner rectangles fit better. The lower and upper sums squeeze together, and the totals settle on a limit, as chord gradients did in 5.1. That limit is the exact area, written
A=∫abydx, the definite integral of y from x=a to x=b. For f(x)>0 on a≤x≤b, it is the area between the curve and the x-axis. (Formula booklet.)
The numbers a and b are the limits of integration: a is the lower, b the upper. The ∫ sign is a stretched S, for "sum". ydx is the area of one thin strip, a height times a tiny width.
The link with anti-derivatives. The guide asks you to be aware of this central fact of calculus. If F is any anti-derivative of f, then
∫abf(x)dx=F(b)−F(a).
Why it works
Let A(x) be the area under y=f(x) from a up to x. Moving the right-hand edge out by a small width h adds a thin strip of area about f(x)×h. So hA(x+h)−A(x)≈f(x), and as h→0 this gives A′(x)=f(x).
The area function is therefore an anti-derivative of f. It is 0 when x=a, which fixes its constant. That is why the area is F(b)−F(a) for any anti-derivative F.
For y=6x−x2: an anti-derivative is F(x)=3x2−3x3, and F(6)−F(0)=(108−72)−0=36. This is exactly where the rectangles were heading. So one symbol, ∫, serves both ideas.
The +C does not matter here: it appears in F(b) and F(a) and cancels.
The same anti-derivative settles the earlier example: F(x)=3x3+x for y=x2+1 gives F(3)−F(0)=12, inside the bounds 8<A<17.
A Show that question wants every step visible: show that the area under y=3x2+2 from x=1 to x=2 is 9.
F(x)=x3+2xan anti-derivative; no +C needed hereA=F(2)−F(1)=(8+4)−(1+2)=12−3=9substitute upper limit, then lower limit
Rules for definite integrals. Because the value is F(b)−F(a), a few facts follow. They answer questions that give integral values, not a function:
rule
example, given ∫03f(x)dx=8 and ∫07f(x)dx=13
∫abkf(x)dx=k∫abf(x)dx
∫033f(x)dx=24
∫ab(f(x)±g(x))dx=∫abf(x)dx±∫abg(x)dx
∫03(3f(x)−2)dx=24−6=18
∫ab+∫bc=∫ac
∫37f(x)dx=13−8=5
∫baf(x)dx=−∫abf(x)dx
∫30f(x)dx=−8
(A constant integrates to a rectangle: ∫032dx=6.)
5Definite integrals and areas with technology
The GDC evaluates a definite integral numerically from the function and the two limits. The examiner needs to see the integral you entered.
Write the integral down first, with its limits and dx, then give the value. A value with no integral shown can lose the method marks.
The area under y=x28+1 from x=1 to x=4, shaded in Figure 4.
A=∫14(x28+1)dx=9write this line: it is a markGDC
Figure 4 · The area under a curve between two x-values
(Link check: F(x)=−x8+x, and F(4)−F(1)=(−2+4)−(−8+1)=2+7=9.)
A region enclosed by a curve and the x-axis
A question may say "the region enclosed by the curve and the x-axis" and give no limits. Then the limits are where the curve meets the x-axis. Find them first.
Example: y=8−2x2, shaded as region R in Figure 5.
8−2x2=0,x2=4,x=−2orx=2limits: the x-interceptsarea of R=∫−22(8−2x2)dx=21.3(3 s.f.)GDC; exactly 364
Figure 5 · A region enclosed by a curve and the x-axis
The guide limits this subtopic to f(x)>0, so the definite integral is the area directly. Regions below the axis and areas between two curves are 5.11. Check a sketch to confirm the curve is above the axis between your limits.
The function need not be a polynomial
The GDC integrates exponentials, logarithms and trigonometric functions as readily as powers.
Some definite integrals can only be found this way. e−x2 has no anti-derivative in this course's functions, yet the GDC gives ∫02e−x2dx=0.882.
Example: the area under y=5+2cosx from x=0 to x=2π, where the curve stays above the axis.
A=∫0π/2(5+2cosx)dx=9.85GDC in radian mode
Check with geometry when the graph is straight lines
∫15(x+1)dx is the area of a trapezium with parallel sides 2 and 6 and width 4.
That is 22+6×4=16, and the GDC agrees. This catches a mistyped function or limit.
GDC habits:
Use radians for trigonometry.
Use stored values for limits found in an earlier part (the graph and solve tools find x-intercepts).
Give 3 significant figures unless told otherwise.
6Velocity-time graphs
The guide names velocity-time graphs as the other context. Velocity is the rate of change of displacement, v=dtds, so displacement is an anti-derivative of velocity.
The area under a v-t graph is (velocity) × (time) summed over thin strips. So it measures how far the object has gone.
When v(t)>0 throughout, distance travelled from t=a to t=b is ∫abv(t)dt, the area under the velocity-time graph.
If v is negative for part of the interval, the integral is the displacement (the net change in position). The distance then needs the journey split where v=0; that belongs to 5.9 and 5.11. Here v>0 keeps the two the same.
Example: a cyclist's velocity is v(t)=2+1.5t−0.25t2ms−1 for 0≤t≤6. Figure 6 shows the graph, which stays above the axis.
distance=∫06(2+1.5t−0.25t2)dt=21mGDC
Figure 6 · The area under a velocity-time graph is the distance
The same question could ask for the displacement function. If the cyclist starts at s=0:
s(t)=∫(2+1.5t−0.25t2)dt=2t+0.75t2−12t3+Cs(0)=0, so C=0s(6)=12+27−18=21magrees with the area
Both routes give 21m: the area is the change in the anti-derivative.
The same reading works one step down. Acceleration is the rate of change of velocity, so the area under an acceleration-time graph is the change in velocity.
Practice questions
36 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.