For example, 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 ansatz is to suppose the solutions of a homogeneous linear differential equation and difference equation to have, respectively, exponential and power form. More generally one can guess a particular solution of a system of equations and test such an ansatz by direct substitution of the solution in the system of equations.