In this section, we cover the following topics from the programme: Introduction, definite/indefinite integrals, properties of the integral, techniques for integration (substitution and integration by parts), improper integrals, area under the curve of a function, area between two functions, volume of solid of revolution.
Previous knowledge required: Knowledge of derivatives, understanding summation symbols.
Opening Problem
Say we want to find the area of the function
in the interval
. Denote this area as
. We know that
. How can we increase this precision? Say we pick the points
. We denote
with
. Consider now the two following sums:
![]()
These are called the lower Darboux sum and upper Darboux sum. The idea is the following: We approximate our desired area as the sum of the areas of the lower (respectively upper) rectangles. The more rectangles we create, the more accurate our approximation is.
Graphically, these sums denote the sum of areas of rectangles (strictly smaller or strictly greater than our function). You can see these to the right as the violet (lower) and red (upper) rectangles respectively.

The more rectangles we take, the more we refine our technique, the more we will get a better approximation. If
is the area we are looking for, we have:
![]()
Let us finish this opening example. If we take the 3 violet rectangles for the lower sum, the length of each rectangle is 0.25, the heights of the rectangle we can find using
The total area is therefore:
The real answer, which we will give meaning to in a few minutes, is:
Optional: Click here to see the formal definitions.
Definition: Lower and Upper Darboux Sums
Let
be a bounded function on
. For a partition
of
:
- The lower Darboux sum is:
, where
. - The upper Darboux sum is:
, where
.
By definition, we have
, and as
(as the partition creates rectangles of infinitesimally small length) the lower and upper Darboux sums become equal. Therefore,
, the desired area which is sandwiched between these two values, will also coincide.
The Riemann Integral
With our opening problem understood, we can define what is meant by an integral.
Definition: Let
be an integrable function on
. A function
is called a primitive function of
if
for any
.
The term antiderivative is sometimes used to also mean this. Since the derivative of a constant is 0, if
is a primitive function of
, then so is
,
, … and similarly with any constant addition.
Example: We know that if
then
. Therefore, we say that
is a primitive of
. However, we could also have a different primitive
(or using any other constant) and the derivative of this is still
. This is why we refer to the collection of such functions (these are all the same up to a constant) as the indefinite integral.
Definition: The collection of all primitive functions
is called the indefinite integral of
.
Below is a list of common integrals we can easily understand from our knowledge of derivatives:
The
refers to all the different primitive functions. The symbol
serves to indicate with respect to which variable we are integrating. The symbol
marks the integral.
Example: To find the integral of
, we think of
as
and use the formula
. Here
so:
![]()
We defined the integral as the area under a curve
, but in our initial Darboux sum approach, we had a clear interval where we were working. Our next theorem (the fundamental theorem of calculus) will link this clearly.
Theorem (Newton-Leibniz Formula): Let
be an integrable function with primitive
. Then, the area under the curve of
from
to
is given by:
![]()
The expression
is called the definite integral of
, it calculates the net area between the function
and the
-axis over the specific interval
. When no interval is assigned, i.e.: when we take
, we refer to it as the indefinite integral.
A small disclaimer here: If your function is negative anywhere in the interval
, then that area will be counted as negative. We can think of the integral as how much “more” area is above the
-axis. We will get used to this after a few examples.
Example: In our opening problem, we had:
![Rendered by QuickLaTeX.com \[Area=\int_0^1 x^2dx=\frac{x^3}{3}\Bigg|_0^1=\frac{1^3}{3}-\frac{0^3}{3}=\frac{1}{3}\]](https://mathematics.lu/wp-content/ql-cache/quicklatex.com-3729c6eb6ed7079dcf253a3703bc955e_l3.png)
What happened with
? Since it is constant, it is cancelled when we calculate
because it appears twice (once with each sign). Let us see it more in detail:
![Rendered by QuickLaTeX.com \[\int_0^1f(x)dx=\frac{x^3}{3}+C\Big|_0^1=\underbrace{\left(\frac{1^3}{3}+C\right)}_{F(b)}-\underbrace{\left(\frac{0^3}{3}+C\right)}_{F(a)}=\frac{1}{3}+C-0-C=\frac{1}{3}\]](https://mathematics.lu/wp-content/ql-cache/quicklatex.com-41ab80a17b0838fda1e25961f51aeb2a_l3.png)
The
We have used the word “integrable” a few times. Within the S7 programme, what makes a function “integrable” is not defined or discussed, the word is added for correctness. In simple terms, a function is integrable on some interval when we can calculate the net area over the given interval. This is similar to how not every function is differentiable everywhere. The function
Properties of Integral
The properties we can expect from the integral are relatively straightforward.
Claim: If
and
are integrable and
and
are constants, then:
![]()
![]()
![]()
These will become a second nature with a bit of practice. Either way, it should not surprise us to see these properties, we know that integration and differentiation are connected, and the derivative works in the same way!
Example: To calculate the integral of
we separate them into more workable integrals:
![]()
![]()
Claim: Let
and
be two integrable functions. Assume that
for all
. Then:
![]()
Think about this property as follows: if a function is greater than another function on some interval, it makes sense that it will have a bigger net area between its graph and the
-axis.
You will have noticed by now that a symbol
is recurring in every integral. The symbol
indicates that the integral is being taken with respect to the variable
. You will not see functions with many variables, so this seems less necessary, but we must include it nonetheless. Moreover, if you recall that we defined the integral as an area,
represents the infinitesimally small lengths of the rectangles we draw in our Darboux sums. This is more background knowledge, so do not worry if it seems difficult.
When we can find C
The indefinite integral is a set of functions, all differing by a constant. We could be given a point on the graph of
and use that to find the specific function that is a primitive and whose graph goes via that point.
Example: Find the primitive function
of the polynomial
given that
.
Check Your Understanding
We are going to revise what we have covered above by calculating some simple integrals. Look at the examples below and then try the exercises.
More Exercises
Find the indefinite integrals (primitives) of the following functions:
Evaluate the following definite integrals:
Show that the function
is a primitive of
by calculating the derivative
.
Find the shaded area under the curve for the following cases:
1.
from
to
.

2.
from
to
.

Calculate the indefinite integrals below using the power rule.
Recall the following properties:
- The
-th root is a fractional power: ![Rendered by QuickLaTeX.com \sqrt[n]{x} = x^{1/n}](https://mathematics.lu/wp-content/ql-cache/quicklatex.com-d3fc09b2700e90fc57c360544f6e55a1_l3.png)
- Negative exponents represent fractions:

1.
![]()
2.
![]()

![Rendered by QuickLaTeX.com \[\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\cos(x)dx=\sin(x)\Bigg|_{\frac{-\pi}{2}}^{\frac{\pi}{2}}=\sin\left(\frac{\pi}{2}\right)-\sin\left(-\frac{\pi}{2}\right)\]](https://mathematics.lu/wp-content/ql-cache/quicklatex.com-c5d7fa1d4fe265180808b46a9e58ad3f_l3.png)