In these lecture notes (http://www.math.ucla.edu/~tao/247b.1.07w/notes8.pdf, section 3), Terence Tao approximates the following integral for large $\lambda$ using the stationary phase method:
$\begin{align} I_{a,\phi}(\lambda) &:= \int_{\mathbf{R}^d}\ a(x) e^{i \lambda \phi(x) } dx\\ &= \sum_{n=0}^N c_n \lambda^{-n - \frac{d}{2}} e^{i\lambda \phi(x_0)} + O_{N,a,d,\phi}(\lambda^{-N -\frac{d}{2}-1}) \end{align}$
Here, $\phi$ has a single non-degenerate critical point. That much is fine. My question is about the following comment (pg 11):
The situation gets significantly more complicated when the det $\nabla^2 \phi$ vanishes; for instance, factors of log $\lambda$ begin to appear in the asymptotic expansion.
-What's a simple example of an integral that has such log $\lambda$ terms?
-Is there a heuristic way of finding the leading log $\lambda$ term (the way the leading term of the usual stationary phase approximation comes from a Gaussian integral)?