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ə] or ansatzes) is an educated guess that is verified later by its results.
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 can take into consideration boundary conditions. After an ansatz has been established (constituting nothing more than an assumption), the equations are solved for the general function of interest (constituting a confirmation of the assumption).
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.