Good examples of Ansätze 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.
I am not a great fan of the notion of ansatz, simply because it seems magical.

One can but imagine that most ansätze are the result of whole series of unsuccessful tries, and that we only hear of the successful ones. So whenever I read «let us try the ansatz such and such» I understand «ok, I spent a couple of weeks trying stuff that did not go anywhere but, who knows how, finally managed to make it work, so let me just tell you the short story and, by the by, make myself look like I came up with this stuff out of the blue»
How about the integral
$$
\int \sec x dx = \int \sec x \frac{\tan x + \sec x}{\tan x + \sec x}dx,
$$
with the next step being the u-substitution $u = \tan x + \sec x$?