Frequently, when talking to mathematicians, I have some trouble when I mention, use, or try to explain what an Ansatz is. (Apparently it is more of a physics term than a maths one, for some reason.) The Wikipedia page on it has what I think is a good definition:
an educated guess that is verified later by its results.
It also has one example which really resonates with the way I normally see the term being used, namely exponential Ansätze for the solutions of a differential equation. There one has a problem such as $$y''(x)+ay'(x)+by(x)=0,$$ and one quite nonchalantly assumes that the solution is $y(x)=e^{kx}$, leaving some leeway into not specifying $k$. This (Ansatz) is of course unjustified, and the only rigorous explanation for what one is doing is that one is blindly testing to see if a function of that form can be one particular solution.
One then, of course, goes on to show that this is indeed de case when $k$ satisfies $k^2+ak+b=0$, and this usually yields two distinct roots $k_1$ and $k_2$ with associated linearly independent solutions. The upshot of this is that one can now something very general about any solution of the original problem - i.e. that it is of the form $$y=A e^{k_1 x}+B e^{k_2x}$$ for unspecified complex coefficients $A$ and $B$ - from the original, very limited Ansatz.
While this example is nice, I can't think of other simple, strong examples of this sort of argument, where a simple and limited educated guess turns out, at the end, to encapsulate the whole generality of the problem; I would like to see more of those.
The method that I most strongly associate with the word Ansatz (full disclosure: I'm German) is the Ritz method. In fact the Wikipedia article uses the term "Ritz ansatz function" for what is also known as a "trial wavefunction". This shows that the Wikipedia definition as "an educated guess that is verified later by its results" doesn't cover the entire concept; in this case, the wavefunction is known to be more complicated than the ansatz, and the ansatz is made not in order to be verified but to get as close as possible to the exact result.