Encyclopedia  |   World Factbook  |   World Flags  |   Reference Tables  |   List of Lists     
   Academic Disciplines  |   Historical Timeline  |   Themed Timelines  |   Biographies  |   How-Tos     
Sponsor by The Tattoo Collection
Trial and error
Main Page | See live article | Alphabetical index

Trial and error

Trial and error is a method for obtaining knowledge, both propositional knowledge and know-how. In trial and error, one tries an option to see if it works. If it works, then we have a solution. If it doesn't work - there is an error - then one tries another option.

In some versions of trial and error, the option that is a priori viewed as the most likely one should be tried first, followed by the next most likely, and so on until a solution is found, or all the options are exhausted. In other versions, options are simply tried at random.

Bogosort can be viewed as a trial and error approach to sorting a list.

Trial and error has a number of features:

Trial and error has traditionally been the main method of finding new drugs, such as antibiotics. Chemists simply try chemicals at random until they find one with the desired effect.

The scientific method can be regarded as containing an element of trial and error in its formulation and testing of hypotheses. Also compare genetic algorithms, simulated annealing and reinforcement learning - all varieties of search which apply the basic idea of trial and error.