From Wikipedia, the free encyclopedia

In physics and mathematics, an ansatz (/ˈænsæts/; German: [ˈʔanzats] , meaning: "initial placement of a tool at a work piece", plural ansätze /ˈænsɛtsə/; German: [ˈʔanzɛtsə] ) is an educated guess or an additional assumption made to help solve a problem, and which may later be verified to be part of the solution by its results.[1]


An ansatz is the establishment of the starting equation(s), the theorem(s), or the value(s) describing a mathematical or physical problem or solution. It typically provides an initial estimate or framework to the solution of a mathematical problem,[2] and can also take into consideration the boundary conditions (in fact, an ansatz is sometimes thought of as a "trial answer" and an important technique in solving differential equations[1]).

After an ansatz, which constitutes nothing more than an assumption, has been established, the equations are solved more precisely for the general function of interest, which then constitutes a confirmation of the assumption. In essence, an ansatz makes assumptions about the form of the solution to a problem so as to make the solution easier to find.[3]

It has been demonstrated that machine learning techniques can be applied to provide initial estimates similar to those invented by humans and to discover new ones in case no ansatz is available.[4]


Given a set of experimental data that looks to be clustered about a line, a linear ansatz could be made to find the parameters of the line by a least squares curve fit. Variational approximation methods use ansätze and then fit the parameters.

Another example could be the mass, energy, and entropy balance equations that, considered simultaneous for purposes of the elementary operations of linear algebra, are the ansatz to most basic problems of thermodynamics.

Another example of an ansatz is to suppose the solution of a homogeneous linear differential equation to take an exponential form, or a power form in the case of a difference equation. More generally, one can guess a particular solution of a system of equations, and test such an ansatz by directly substituting the solution into the system of equations. In many cases, the assumed form of the solution is general enough that it can represent arbitrary functions, in such a way that the set of solutions found this way is a full set of all the solutions.

See also[edit]


  1. ^ a b Gershenfeld, Neil A. (1999). The nature of mathematical modeling. Cambridge: Cambridge University Press. p. 10. ISBN 0-521-57095-6. OCLC 39147817.
  2. ^ "Definition of ANSATZ". Retrieved 2019-11-19.
  3. ^ "Ansatz | Definition of Ansatz by Lexico". Lexico Dictionaries | English. Archived from the original on October 26, 2020. Retrieved 2020-10-22.
  4. ^ Porotti, R.; Tamascelli, D.; Restelli, M.; Prati, E. (2019). "Coherent transport of quantum states by deep reinforcement learning". Communications Physics. 2 (1): 61. arXiv:1901.06603. Bibcode:2019CmPhy...2...61P. doi:10.1038/s42005-019-0169-x.