The mathematician Alfred North Whitehead1 observed that “[Advancement occurs] by extending the number of important operations which we can perform without thinking of them.” (Introduction to Mathematics, 1911 2) This is certainly true in mathematics where the development of judicious notation, accompanied by good mathematical technique, extends the capability to perform chains of complex reasoning accurately and efficiently. Through proper problem formulation (tractable yet generalizable), one can sometimes pass from a single insight to the solution of a family of problems, and in some cases, to the solution to the general question itself.3
Here, mathematical computing can provide a useful benefit: helping to efficiently explore conjectures, dispatch with false directions, and save time during the development, error-checking and validation stages of obtaining general results. In industry, where specific or semi-general results are needed fast, such tools allow rapidly working up the required material and providing the necessary certainty before the fully general results or complete proof are ready.
A good example of this is a problem from discrete mathematics: the finite summation of integer powers , for whole number powers p.
The case p=1 is familiar to every mathematician and is accessible enough so that an interested non-specialist should be able to follow the arguments and understand the methods being developed for small p. The the general case for all p is likely only to be familiar to specialists. While the general problem does not require extensive background to understand, it is substantive enough to illustrate how Maxima and Ruby can be effective tools in the development and validation of general mathematical results.
The problem is ideal for illustrating three main points:
- the value of mathematical technique, in this case the manipulation of summations, as covered in greater detail in Concrete Mathematics by mathematicians Donald Knuth, Ron Graham, and Oren Patashnik, as well as linear algebra, in particular linear independence of monomials in a polynomial vector space.
- the value of using judicious symbolism (in this case, a symbolism that allows the development of the recurrences and passing readily to the general case), and,
- the value of mathematical computing tools that assist in the exploration, development, and validation of general results (in this case, the symbolic computation package Maxima 4, and the interactive object oriented programming language, Ruby5).
Let’s take a closer look:
We are looking for closed form formulas for a family of summations of powers of integers:
In particular, we want closed form solutions (formulas in ) for the following finite summations:
(1)
(2)
(3)
and, generally for every :
(P)
If you’re nine year old Gauss, the story goes that you knock off (1) with an elegant insight: write the expansion twice, once in forward order and once in reverse order. Now add the terms column-wise, and observe that the column sums are uniformly . There are columns, but you introduced the second column thereby doubling the sum. Taking all this into account, the closed form formula for the sum (1) is
.
For the general problem, some insight is also needed, in this case recognizing that a direct (non-iterative) solution can be obtained using a linear independence argument from linear algebra. Armed with a closed form formula for the first problem and some manipulative ability (recurrences and induction), you can obtain a recurrence solution for the general case mechanically, i.e. without further fundamental insight.
The point is that there is insight and technique in mathematics. While technique facilitates insight, it should not be mistaken for it. And it is fundamentally the insights that should be identified, catalogued, and acquired by those wishing to improve their abilities in mathematics.
Continue reading:
Finite Summations of Integer Powers
Chapter 1, Chapter 2, Chapter 3
Footnotes
- Whitehead was the major collaborator with Bertrand Russell in the strenuous 10 year attempt, ultimately unsuccessful, at driving through the logicist program in Mathematics, i.e. reducing the entire body of mathematics to a fixed system of logic. The program of logicial reductivism, of which this was perhaps the last major attempt, and certainly one of the best known and most influential, was put to rest by Godel’s discovery of the essential incompleteness of every sufficiently strong logical system (proved in his Incompleteness Theorem). In this, he establishes that any logical system sufficiently strong to obtain arithmetic will be able to generate statements that the system cannot prove. ↩
- Whitehead claimed in the original that it is Civilization that advances in this way. I have reduced the claim for the purpose of this article. ↩
- Fields Medalist Terence Tao has written a short piece that describes the role of rigor and the value of mathematical technique in the training of a mathematician. In the online discussion of this article, he adds two particularly interesting remarks: the first concerns the difference between the training pathways of physicists and engineers versus mathematicians that acknowledges that the final destination is the same, but the training route is different (pre-rigorous, post-rigrous). He then speculates on the observation that the two pathways are not the same, and that the order in which one traverses them influences the final outcome, and he makes the analogy with the order of learning languages. ↩
- Maxima is a system for the manipulation of symbolic and numerical expressions, including differentiation, integration, Taylor series, Laplace transforms, ordinary differential equations, systems of linear equations, polynomials, and sets, lists, vectors, matrices, and tensors. Maxima yields high precision numeric results by using exact fractions, arbitrary precision integers, and variable precision floating point numbers. Maxima can plot functions and data in two and three dimensions. ↩
- Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. ↩
Leave a Reply