Historical Context & Motivation
Long before the invention of calculus, mathematicians grappled with a deceptively simple question: How do you find the area of a shape with curved boundaries? Circles, parabolas, and irregular plots of land all posed this challenge. The earliest strategy was brilliantly practical — break the curved region into many small pieces whose areas you can calculate, then add them up. This idea is the beating heart of numerical integration, and it remains essential today whenever an exact antiderivative is impossible or impractical to find.
In the IB Applications and Interpretation course, you are encouraged to use technology — your GDC (graphing display calculator) or software — to evaluate definite integrals numerically. The central question this topic addresses is: How can we reliably estimate the area under a curve when we don't have (or don't need) an algebraic antiderivative?
Core Principles & Definitions
Before diving into calculations, it helps to nail down a few foundational ideas. A definite integral represents the net signed area between a function's curve and the x-axis over a specific interval [a, b]. When an exact antiderivative is unavailable, numerical integration steps in as a collection of techniques that approximate this area using simple geometric shapes whose areas are easy to compute.
Definite Integral
Numerical Approximation
Sub-interval (Strip)
Technology-Supported Evaluation
Visualising Numerical Integration
The diagram below shows the core idea behind numerical integration. A smooth curve y = f(x) is drawn over the interval [a, b], and the region between the curve and the x-axis is approximated using rectangles. Notice how some rectangles overshoot the curve (overestimate) and others fall short (underestimate). As you increase the number of rectangles, the total error shrinks, and the approximation improves.
In the diagram, the six rectangles use the left Riemann sum — the height of each rectangle is determined by the function value at the left edge of each strip. You could also use the right edge, the midpoint, or even trapezoids. Each variation gives a slightly different estimate, but they all converge to the true integral as the number of strips grows.
Mathematical Framework
At the SL level, you are not required to memorise complicated formulas for numerical integration — your GDC handles the heavy lifting. However, understanding the underlying structure helps you interpret results, estimate reasonableness, and answer exam questions about approximation.
fnInt(f(x), x, a, b) from the MATH menu. On a TI-Nspire, go to Menu → Calculus → Numerical Integral. On a Casio fx-CG50, use the ∫ function from the RUN mode or from the graph integration feature. The calculator returns a decimal approximation — always round appropriately to the number of significant figures the question asks for.Methods of Approximation Compared
There are several geometric strategies for approximating the area under a curve. The diagram below compares three common approaches applied to the same function and interval. Understanding these differences helps you appreciate why the trapezoidal rule appears in your formula booklet, and why your GDC can give such precise answers.
| Method | Shape Used | Accuracy | On IB Exam? |
|---|---|---|---|
| Left/Right Riemann Sum | Rectangles | Low (large error unless many strips) | Conceptual understanding only |
| Trapezoidal Rule | Trapezoids | Moderate (better with more strips) | Yes — formula in booklet |
| GDC Numerical Integral | Algorithm (internal) | Very high (many decimal places) | Yes — expected tool |
Worked Example
Let's walk through a complete problem using both the trapezoidal rule and a GDC to approximate the integral of f(x) = x² + 1 from x = 0 to x = 4 using 4 strips.
Strengths & Limitations
Numerical integration is incredibly versatile, but it's important to understand when it shines and where its weaknesses lie. Knowing these trade-offs will help you choose the right approach on exams and in real-world applications.
| Strengths | Limitations |
|---|---|
| Works for ANY continuous function — you don't need to find an antiderivative | Produces an approximation, not an exact answer (though it can be extremely close) |
| Handles data given in table form (e.g., experimental measurements) where no formula exists | Accuracy depends on the number of strips — too few strips means a large error |
| GDC technology makes it fast, accessible, and highly accurate | Functions with sharp corners, discontinuities, or rapid oscillation can cause larger errors |
| Can be applied in contexts like area, distance, accumulated change, and probability | For the trapezoidal rule by hand, calculations can become tedious with many strips |
Connection to Advanced Theory
At the SL level you focus on using technology and the trapezoidal rule to approximate integrals. But these ideas are the gateway to much deeper territory in HL and university-level mathematics. Here's a quick look at how SL concepts connect to more advanced ideas.
| SL 5.6 (This Course) | HL / University Extension |
|---|---|
| Trapezoidal rule with given n | Simpson's rule (uses parabolic arcs instead of lines for better accuracy) |
| GDC numerical integral | Gaussian quadrature and adaptive algorithms that automatically choose strip widths |
| Recognising that more strips = better accuracy | Error bounds — quantifying the maximum possible error for a given n |
| Approximating area under a curve | Monte Carlo integration — using random sampling for high-dimensional integrals in physics and finance |
For now, your focus should be on confidently setting up the trapezoidal rule, interpreting your GDC output, and understanding what a numerical integral means geometrically — the signed area between a curve and the x-axis. These skills form the foundation for everything that follows.
Practice Problems
Lesson Summary
Numerical integration approximates the definite integral — the net area between a curve and the x-axis over an interval [a, b]. The trapezoidal rule divides the interval into n equal strips of width h = (b − a) / n and approximates the area using trapezoids: (h/2) × [first y + 2 × (middle y-values) + last y]. More strips mean smaller errors. For concave-up functions the rule overestimates; for concave-down functions it underestimates.
In the IB Applications and Interpretation SL course, you are expected to use your GDC to evaluate definite integrals numerically — it applies sophisticated internal algorithms to return a highly accurate decimal result. The trapezoidal rule is the manual method you should be able to apply by hand, especially when given tabular data (experimental measurements) rather than a formula. Together, these tools let you find areas, accumulated quantities, and total change for virtually any function you'll encounter.