Experimental mathematics is an approach to mathematics in which numerical computation is used to investigate mathematical objects and identify properties and patterns. It has been defined as "that branch of mathematics that concerns itself ultimately with the codification and transmission of insights within the mathematical community through the use of experimental (in either the Galilean, Baconian, Aristotelian or Kantian sense) exploration of conjectures and more informal beliefs and a careful analysis of the data acquired in this pursuit."
Mathematicians have always practised experimental mathematics. Existing records of early mathematics, such as Babylonian mathematics, typically consist of lists of numerical examples illustrating algebraic identities. However, modern mathematics, beginning in the 17th century, developed a tradition of publishing results in a final, formal and abstract presentation. The numerical examples that may have led a mathematician to originally formulate a general theorem were not published, and were generally forgotten.
Experimental mathematics as a separate area of study re-emerged in the twentieth century, when the invention of the electronic computer vastly increased the range of feasible calculations, with a speed and precision far greater than anything available to previous generations of mathematicians. A significant milestone and achievement of experimental mathematics was the discovery in 1995 of the Bailey–Borwein–Plouffe formula for the binary digits of π. This formula was discovered not by formal reasoning, but instead by numerical searches on a computer; only afterwards was a rigorous proof found.
Objectives and uses 
The objectives of experimental mathematics are "to generate understanding and insight; to generate and confirm or confront conjectures; and generally to make mathematics more tangible, lively and fun for both the professional researcher and the novice".
The uses of experimental mathematics have been defined as follows:
- Gaining insight and intuition.
- Discovering new patterns and relationships.
- Using graphical displays to suggest underlying mathematical principles.
- Testing and especially falsifying conjectures.
- Exploring a possible result to see if it is worth formal proof.
- Suggesting approaches for formal proof.
- Replacing lengthy hand derivations with computer-based derivations.
- Confirming analytically derived results.
Tools and techniques 
Experimental mathematics makes use of numerical methods to calculate approximate values for integrals and infinite series. Arbitrary precision arithmetic is often used to establish these values to a high degree of precision – typically 100 significant figures or more. Integer relation algorithms are then used to search for relations between these values and mathematical constants. Working with high precision values reduces the possibility of mistaking a mathematical coincidence for a true relation. A formal proof of a conjectured relation will then be sought – it is often easier to find a formal proof once the form of a conjectured relation is known.
If a counterexample is being sought or a large-scale proof by exhaustion is being attempted, distributed computing techniques may be used to divide the calculations between multiple computers.
Frequent use is made of general computer algebra systems such as Mathematica, although domain-specific software is also written for attacks on problems that require high efficiency. Experimental mathematics software usually includes error detection and correction mechanisms, integrity checks and redundant calculations designed to minimise the possibility of results being invalidated by a hardware or software error.
Applications and examples 
Applications and examples of experimental mathematics include:
- Searching for a counterexample to a conjecture
- Finding new examples of numbers or objects with particular properties
- The Great Internet Mersenne Prime Search is searching for new Mersenne primes.
- The distributed.net's OGR project is searching for optimal Golomb rulers.
- The Riesel Sieve project is searching for the smallest Riesel number.
- The Seventeen or Bust project is searching for the smallest Sierpinski number.
- The Sudoku Project is searching for a solution to the minimum Sudoku problem.
- Finding serendipitous numerical patterns
- Edward Lorenz found the Lorenz attractor, an early example of a chaotic dynamical system, by investigating anomalous behaviours in a numerical weather model.
- The Ulam spiral was discovered by accident.
- Mitchell Feigenbaum's discovery of the Feigenbaum constant was based initially on numerical observations, followed by a rigorous proof.
- Use of computer programs to check a large but finite number of cases to complete a computer-assisted proof by exhaustion
- Symbolic validation (via Computer algebra) of conjectures to motivate the search for an analytical proof
- Solutions to a special case of the quantum three-body problem known as the hydrogen molecule-ion were found standard quantum chemistry basis sets before realizing they all lead to the same unique analytical solution in terms of a generalization of the Lambert W function. Related to this work is the isolation of a previously unknown link between gravity theory and quantum mechanics in lower dimensions (see quantum gravity and references therein).
- In the realm of relativistic many-bodied mechanics, namely the time-symmetric Wheeler–Feynman absorber theory: the equivalence between an advanced Liénard–Wiechert potential of particle j acting on particle i and the corresponding potential for particle i acting on particle j was demonstrated exhaustively to order before being proved mathematically. The Wheeler-Feynman theory has regained interest because of quantum nonlocality.
- In the realm of linear optics, verification of the series expansion of the envelope of the electric field for ultrashort light pulses travelling in non isotropic media. Previous expansions had been incomplete: the outcome revealed an extra term vindicated by experiment.
- Evaluation of infinite series, infinite products and integrals (also see symbolic integration), typically by carrying out a high precision numerical calculation, and then using an integer relation algorithm (such as the Inverse Symbolic Calculator) to find a linear combination of mathematical constants that matches this value. For example, the following identity was first conjectured by Enrico Au-Yeung, a student of Jonathan Borwein using computer search and PSLQ algorithm in 1993:
- Visual investigations
Plausible but false examples 
Some plausible relations hold to a high degree of accuracy, but are still not true. One example is:
The two sides of this expression only differ after the 42nd decimal place.
Another example is that the maximum height (maximum absolute value of coefficients) of all the factors of xn − 1 appears to be the same as height of nth cyclotomic polynomial. This was shown by computer to be true for n < 10000 and was expected to be true for all n. However, a larger computer search showed that this equality fails to hold for n = 14235, when the height of the nth cyclotomic polynomial is 2, but maximum height of the factors is 3.
See also 
- Borwein integral
- Computer-aided proof
- Proofs and Refutations
- Experimental Mathematics (journal)
- Institute for Experimental Mathematics
- Weisstein, Eric W., "Experimental Mathematics", MathWorld.
- Experimental Mathematics: A Discussion by J. Borwein, P. Borwein, R. Girgensohn and S. Parnes
- The Quest for Pi by David H. Bailey, Jonathan M. Borwein, Peter B. Borwein and Simon Plouffe.
- Borwein, Jonathan; Bailey, David (2004). Mathematics by Experiment: Plausible Reasoning in the 21st Century. A.K. Peters. pp. vii. ISBN 1-56881-211-6.
- Borwein, Jonathan; Bailey, David (2004). Mathematics by Experiment: Plausible Reasoning in the 21st Century. A.K. Peters. p. 2. ISBN 1-56881-211-6.
- Clement W. H. Lam (1991). "The Search for a Finite Projective Plane of Order 10". American Mathematical Monthly 98 (4): 305–318.
- Bailey, David (1997). "New Math Formulas Discovered With Supercomputers". NAS News 2 (24).
- Mumford, David; Series, Caroline; Wright, David (2002). Indra's Pearls: The Vision of Felix Klein. Cambridge. pp. viii. ISBN 0-521-35253-3.
- David H. Bailey and Jonathan M. Borwein, Future Prospects for Computer-Assisted Mathematics, December 2005
- The height of Φ4745 is 3 and 14235 = 3 x 4745. See Sloane sequences A137979 and A160338.
- Experimental Mathematics (Journal)
- Centre for Experimental and Constructive Mathematics (CECM) at Simon Fraser University
- Collaborative Group for Research in Mathematics Education at University of Southampton
- Recognizing Numerical Constants by David H. Bailey and Simon Plouffe
- Psychology of Experimental Mathematics
- Experimental Mathematics Website (Links and resources)
- An Algorithm for the Ages: PSLQ, A Better Way to Find Integer Relations
- Experimental Algorithmic Information Theory
- Sample Problems of Experimental Mathematics by David H. Bailey and Jonathan M. Borwein
- Ten Problems in Experimental Mathematics by David H. Bailey, Jonathan M. Borwein, Vishaal Kapoor, and Eric W. Weisstein
- Institute for Experimental Mathematics at University of Duisburg-Essen