Reply to comment
Intriguing integrals: Part I
What is the integral of
? If you're up to speed with your calculus, you'll know the answer off by heart. It's
![]() |
(1) |
, and ![]() |
(2) |
Pierre de Fermat, 1601-1665.
But can you prove that this is true? In this article we'll derive (1) from first principles, using an ingenious method devised by the mathematician Pierre de Fermat in the 17th century. In the second part of this article, we'll examine the surprising fact that, at a symbolic level, the answer to
might better be written as
![]() |
The integral of x2
Let's start by deriving the integral
![]() |
by calculating the area under the graph of
without using calculus, that is from first principles.

One approach is to use the above diagram, where we have approximated the area between the curve, the
-axis and the vertical line at
by a sequence of
rectangles. The rectangles are constructed on intervals on the
-axis of length
. The height of each rectangle is the maximum value of the curve on the corresponding interval. In the case of
this maximum value occurs at the right hand end of each interval. For the
th interval this right hand end point is
and the corresponding value of the function is
The area of the
th rectangle is therefore
![]() |
![]() |
![]() |
![]() |
from below, using rectangles with height equal to the minimum value of the function on the corresponding interval. If we repeat this analysis we have the area as ![]() |
![]() |
both of these estimates converge to ![]() |
![]() |
![]() |
.
The integrals of xk for k>2
It is clear that this method could, in principle, be extended to find
![]() |
. However, the method relies on being able to sum series of the form
. We know how to do this for
, but doing it for
is a different matter.
Isaac Newton, 1643-1727.
Before Isaac Newton's discovery of the fundamental theorem of calculus, which allows integrals to be evaluated in practice as anti-derivatives, resorting to such sums was the only way to calculate integrals as areas. Newton and Gottfried Wilhelm von Leibniz made very significant advances in the development of calculus as a systematic set of tools. This work began at least with Archimedes and has a continuous history (see reference [2] below). For example, work on the integration of rational functions was collected together by the mathematician G.H. Hardy in 1916 (see reference [3]), but it was only with the advent of computer algebra systems that an algorithm was developed which determined whether an elementary expression could be integrated symbolically at all (see reference [4]).
One of these incremental developments was discovered by Fermat who devised a method for calculating
![]() |
is any positive rational number. Here we will only consider the case when
. (See reference [1] below for more on this method)
First, choose a positive whole number
and a positive real number
. Fermat's method uses rectangles of unequal width. Given a number
with
, we generate a sequence of
points starting at
. The next point to the left is
, then
and so on, all the way down to
. From these points we construct
rectangles, which we label with
. Notice now they run from right to left, starting at
. These rectangles do not fill up the total area under the curve, but let's not worry about this for now.
|
The graph of f(x)=x2 with b=0.8, and with xi=rib. Use the sliders to change the value of r (and therefore the widths of the rectangles), and to change the value of n to see the position of the nth rectangle. Created with GeoGebra |
Now, the
-coordinate of the right hand end of the
th rectangle is
. The
-coordinate of the left hand end of the
th rectangle is
. If we subtract the
-coordinates of the ends of rectangles to get the width, we have
. The height of the
th rectangle is
. The total area of these rectangles is then
![]() |
The sum in the right hand side of this expression is a geometric progression, which we can evaluate using the standard formula
![]() |
![]() |
, we have an infinite number of rectangles which together fill the area between
and
. Using the sum of an infinite geometric progression, we get a total area of ![]() |
Gottfried Leibniz, 1646-1716.
Now notice that the more rectangles we use, the better our approximation of the area under the curve. Letting the widths of all the rectangles tend to zero, and therefore their number to infinity, will give us the area of the curve as a limit. The width of
th rectangle is
, which tends to
as
. (Use the sliders in the figure above to see how the widths of the rectangles change as
tends to 1, and how far to the left the rectangles extend as
gets larger.) Therefore, the area under the curve is equal to
![]() |
![]() |
![]() |
![]() |
as expected.
Have a go yourself
If this article has inspired you to do some calculus, here are a couple of problems for you:
Use the method described here and the result
![\[ \sum _{k=1}^ n k^3 = \frac{1}{4}n^2(n+1)^2 \]](/MI/b61e9806d6c4055f398ba10f9f7dc6bd/images/img-0001.png)
to find the area under
. Use apply Fermat’s method of unequal rectangles to calculate the area under
between
and
.
References
[1] W.G. Bickley, §1324. An adventure with limits, The Mathematical Gazette, 22(251):404-405, October 1936.
[2] C.H. Edwards, The Historical Development of the Calculus, Springer-Verlag, 1979.
[3] G.H. Hardy, The integration of functions of a single variable, Tracts in Mathematics and Mathematical Physics. Cambridge University Press, 1916.
[4] R.H. Risch, The problem of integration in finite terms, Transactions of the American Mathematical Society, 139:167-189, May 1969.
Chris Sangwin is a member of staff in the School of Mathematics at the University of Birmingham. He is a Research Fellow for the Higher Education Academy MSOR Network. He has written the popular mathematics books Mathematics Galore!, with Chris Budd, and How round is your circle? with John Bryant, and edited Euler's Elements of Algebra.



![\[ \int x^ k\mathrm{d}x = \frac{x^{k+1}-1}{k+1}. \]](/MI/55695b8b2bc0efe1d3bf7a279502c82e/images/img-0002.png)
![\[ \int x^ k\mathrm{d}x = \frac{x^{k+1}}{k+1} \]](/MI/de853ebca4d153835fedc3a61b2cecbe/images/img-0001.png)
![\[ A_ i= \frac{b}{n} \times \left(\frac{ib}{n}\right)^2=\frac{i^2b^3}{n^3}. \]](/MI/cb0e8e84b571bb8728617e4121405d27/images/img-0009.png)
![\[ \sum _{i=1}^ n A_ i = \sum _{i=1}^ n \frac{i^2b^3}{n^3} = \frac{b^3}{n^3} \sum _{i=1}^ n i^2. \]](/MI/cb0e8e84b571bb8728617e4121405d27/images/img-0010.png)
![\[ \label{eq_ sun_ n_ squared} 1^2+2^2+3^2+\cdots +n^2=\sum _{i=1}^ n i^2 = \frac{1}{6}n(n+1)(2n+1) \]](/MI/cb0e8e84b571bb8728617e4121405d27/images/img-0011.png)
![\[ b^3 \left(\frac{1}{3}+\frac{1}{2n}+\frac{1}{6n^2} \right). \]](/MI/cb0e8e84b571bb8728617e4121405d27/images/img-0012.png)
![\[ b^3 \left(\frac{1}{3}-\frac{1}{2n}+\frac{1}{6n^2} \right). \]](/MI/cb0e8e84b571bb8728617e4121405d27/images/img-0014.png)
![\[ b^3 \left(\frac{1}{3}-\frac{1}{2n}+\frac{1}{6n^2} \right)\leq A \leq b^3 \left(\frac{1}{3}+\frac{1}{2n}+\frac{1}{6n^2} \right). \]](/MI/cb0e8e84b571bb8728617e4121405d27/images/img-0015.png)
![\[ \frac{b^3}{3} \leq A \leq \frac{b^3}{3}. \]](/MI/cb0e8e84b571bb8728617e4121405d27/images/img-0017.png)
![\[ A = \int _{0}^ b x^2 \mathrm{d}x = \frac{b^3}{3}, \]](/MI/cb0e8e84b571bb8728617e4121405d27/images/img-0018.png)
![\[ \int x^ k\mathrm{d}x = \frac{x^{k+1}}{k+1} \]](/MI/cb0e8e84b571bb8728617e4121405d27/images/img-0019.png)
![\[ \int x^ k\mathrm{d}x \]](/MI/2861d05069be8f67351723358657f538/images/img-0001.png)
![\[ \int x^ k\mathrm{d}x \]](/MI/193f4f8b11b7ce2e10d53128a81294af/images/img-0001.png)
![\[ \sum _{i=0}^{n-1} b(1-r)r^ i\times (r^ ib)^ k = b^{k+1}(1-r)\sum _{i=0}^{n-1} (r^{k+1})^ i. \]](/MI/1d732256e52a72263edf0e27124d8d20/images/img-0007.png)
![\[ \sum _{i=0}^{n-1} (r^{k+1})^ i=\frac{1-(r^{k+1})^ n}{1-r^{k+1}}. \]](/MI/cce956e0e866d75e62abd423723de947/images/img-0001.png)
![\[ b^{k+1}(1-r)\frac{1-(r^{k+1})^ n}{1-r^{k+1}}. \]](/MI/cce956e0e866d75e62abd423723de947/images/img-0002.png)
![\[ b^{k+1}(1-r)\frac{1}{1-r^{k+1}}. \]](/MI/cce956e0e866d75e62abd423723de947/images/img-0006.png)
![\[ \lim _{r \rightarrow 1} b^{k+1}(1-r)\frac{1}{1-r^{k+1}} = b^{k+1}\lim _{r \rightarrow 1}\frac{1-r}{1-r^{k+1}} \]](/MI/fdf61857fbc883979659075ee3ba598a/images/img-0007.png)
![\[ 1+r+r^2+r^3+\cdots +r^ k = \frac{1-r^{k+1}}{1-r}. \]](/MI/fdf61857fbc883979659075ee3ba598a/images/img-0008.png)
![\[ \frac{1-r}{1-r^{k+1}}=\frac{1}{1+r+r^2+r^3+\cdots +r^ k}. \]](/MI/fdf61857fbc883979659075ee3ba598a/images/img-0009.png)
![\[ b^{k+1}\lim _{r \rightarrow 1}\frac{1-r}{1-r^{k+1}} = b^{k+1}\lim _{r \rightarrow 1} \frac{1}{1+r+r^2+r^3+\cdots +r^ k}= \frac{b^{k+1}}{1+1+1+\cdots +1} = \frac{b^{k+1}}{k+1}, \]](/MI/fdf61857fbc883979659075ee3ba598a/images/img-0010.png)