IB Diploma Mathematics AI · Calculus
Integration and area
1Integration as anti-differentiation
Integration reverses differentiation. If $F'(x) = f(x)$, then $\int f(x)\,dx = F(x) + C$.
The rule for powers: add 1 to the power, then divide by the new power.
$$\int ax^n\,dx = \frac{ax^{n+1}}{n + 1} + C, \quad n \ne -1$$
- $C$ is the constant of integration. It is needed because any constant differentiates to 0.
- Integrate a sum term by term.
An indefinite integral
- $\int (6x^2 - 4x + 3)\,dx = 2x^3 - 2x^2 + 3x + C$.
- Check by differentiating: $6x^2 - 4x + 3$.
Check yourself
What is the integral of 8x³?
Show the answer
2x⁴ + C
Add 1 to the power (4) and divide by 4. Don't forget C.
2Finding C from a point
If you know a point on the curve, you can find $C$.
Finding the function
- $f'(x) = 4x - 3$, and the curve passes through $(1, 5)$.
- $f(x) = 2x^2 - 3x + C$.
- Substitute: $2 - 3 + C = 5$, so $C = 6$.
- $f(x) = 2x^2 - 3x + 6$.
In context: if $\frac{dV}{dt}$ is a rate of flow, integrating gives the volume $V$; the initial volume fixes $C$.
Check yourself
The gradient of a curve is 2x, and it passes through (0, 5). What is its equation?
Show the answer
y = x² + 5
Integrate to get x² + C, and C = 5.
3Definite integrals and area
A definite integral has limits:
$$\int_a^b f(x)\,dx = F(b) - F(a)$$
If $f(x) \ge 0$ between $a$ and $b$, this equals the area between the curve and the $x$-axis. In Maths AI, definite integrals are usually evaluated on the calculator.
The area under y = x² + 1 from x = 1 to x = 3
Area under a curve
- Find the area under $y = x^2 + 1$ from $x = 1$ to $x = 3$.
- $\int_1^3 (x^2 + 1)\,dx = \left[\frac{x^3}{3} + x\right]_1^3 = 12 - \frac{4}{3} = \frac{32}{3} = 10.7$ square units.
If part of the curve is below the $x$-axis, the integral is negative there. For total area, use the calculator to integrate $|f(x)|$, or find each part separately.
Check yourself
On a velocity–time graph, what does the area under the curve give?
Show the answer
The distance travelled
Velocity × time = distance.
4Areas in context
Integrals add up a rate over time, so they appear in many contexts.
Distance from velocity
- A car's velocity is $v(t) = 8t - t^2$ m/s for $0 \le t \le 4$.
- Distance travelled $= \int_0^4 (8t - t^2)\,dt = 42.7$ m.
The area between two curves is the integral of (top curve $-$ bottom curve), between the points where they meet.
Between $y = x$ and $y = x^2$, which meet at $x = 0$ and $x = 1$: area $= \int_0^1 (x - x^2)\,dx = \frac{1}{6}$.
Check yourself
How is the area between two curves found?
Show the answer
Integrate (top curve − bottom curve) between their meeting points
The difference gives the height of each thin strip.
5Integrating to find a total from a rate
If you know a rate of change, integrating gives the total change.
Water flowing into a tank
- Rate: $\frac{dV}{dt} = 6t + 2$ litres per minute.
- Total in the first 5 minutes: $\int_0^5 (6t + 2)\,dt = [3t^2 + 2t]_0^5 = 75 + 10 = 85$ litres.
Check yourself
If a rate of change is integrated over an interval, what do you get?
Show the answer
The total change over that interval
Accumulation.
6Area using a GDC
For harder functions, use a GDC to evaluate definite integrals.
Area under $y = 4 - 0.25x^2$ between its $x$-intercepts
- $x$-intercepts: $0.25x^2 = 4$, so $x = \pm 4$.
- Area: $\int_{-4}^{4} (4 - 0.25x^2)\,dx$.
- By hand: $\left[4x - \frac{x^3}{12}\right]_{-4}^{4} = \left(16 - \frac{64}{12}\right) - \left(-16 + \frac{64}{12}\right) = 32 - \frac{128}{12} \approx 21.3$.
- A GDC gives the same value.
Check yourself
What are the x-intercepts of $y = 4 - 0.25x^2$?
Show the answer
$x = \pm 4$
$x^2 = 16$.
7Going deeper: totals from rates, finding the constant, and area below the axis
Worked example (a total from a rate): water flows into a tank at $r(t) = 6t - t^2$ litres per minute for $0 \le t \le 6$.
- The total volume is the integral of the rate: $\int_0^6 (6t - t^2)\,dt$.
- $\left[3t^2 - \frac{t^3}{3}\right]_0^6 = 108 - 72 = 36$ litres.
- Units: litres per minute × minutes = litres.
- The flow is fastest when $r'(t) = 6 - 2t = 0$, at $t = 3$ minutes, when it is 9 litres per minute.
Worked example (finding $C$): $f'(x) = 3x^2 - 4x$ and the curve passes through $(1, 5)$.
- Integrate: $f(x) = x^3 - 2x^2 + C$.
- Substitute the point: $1 - 2 + C = 5$, so $C = 6$.
- $f(x) = x^3 - 2x^2 + 6$.
- Without a point there is a family of curves, one for each value of $C$.
Worked example (area below the axis): find the area between $y = x^2 - 4$ and the $x$-axis from $x = 0$ to $x = 3$.
- The curve crosses the axis at $x = 2$. It is below the axis for $0 \le x < 2$ and above for $2 < x \le 3$.
- $\int_0^2 (x^2 - 4)\,dx = \left[\frac{x^3}{3} - 4x\right]_0^2 = \frac{8}{3} - 8 = -\frac{16}{3}$.
- $\int_2^3 (x^2 - 4)\,dx = (9 - 12) - \left(\frac{8}{3} - 8\right) = \frac{7}{3}$.
- Area: $\frac{16}{3} + \frac{7}{3} = \frac{23}{3} \approx 7.67$ square units.
- The single integral from 0 to 3 gives $-3$: the parts cancel. That is the net value, not the area.
- On a GDC, integrate $|x^2 - 4|$ to get the area in one step.
Area between two curves: integrate (top − bottom) between the points where they meet. For $y = x$ and $y = x^2$ from 0 to 1: $\int_0^1 (x - x^2)\,dx = \frac{1}{2} - \frac{1}{3} = \frac{1}{6}$.
What an integral means in context
- Integral of velocity: displacement (change in position).
- Integral of a rate of flow: volume.
- Integral of marginal cost: change in total cost.
- Integral of power: energy.
Common mistakes
- Leaving out $+ C$ in an indefinite integral.
- Reporting a negative "area".
- Forgetting to split the integral where the curve crosses the axis.
- Dropping the units, or giving them as the units of the rate.
Check yourself
What is the value of the integral of 2x from x = 1 to x = 3?
Show the answer
8
The integral is x², and 3² − 1² = 8.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera