Problem text: Using Fourier transforms solve the linear Schrödinger equation $$i \frac{\partial u}{\partial t} + \frac{\partial^2 u }{\partial x^2} = 0,~~~u(x,0) = f(x)$$ Hint: Obtain the Green's function in closed form and use superposition. Recall $$\int_{-\infty}^\infty e^{iu^2}{\rm d}u = \sqrt{\pi}\,e^{i\pi/4}$$
I know how to solve this problem by a simple manipulation of the Fourier transform. The question is how can I use the given hint to solve the problem. I'm not aware of such a setting involving Green's function. Any help is much appreciated.
To solve it using the Green's function approach we first note that if we knew a function $G(x,y,t)$ satisfying
$$iG_t + G_{xx} = 0,~~~G(x,y,0) = \delta(x-y)$$
then we can write the solution for $u$ as
$$u(x,t) = \int_{-\infty}^\infty G(x,y,t)f(y){\rm d}y$$
It's simple to check that this form satisfy both the PDE and the initial condition. Taking the Fourier transform of the PDE for $G$ with respect to $x$ using the convention $\hat{f}(k) \equiv \int_{-\infty}^\infty f(x) e^{ikx}{\rm d}x$ we get
$$i\hat{G}_t - k^2\hat{G} = 0,~~~\hat{G}(k,y,0) = \int_{-\infty}^\infty \delta(x-y) e^{ikx}{\rm d}x = e^{iky}$$
Solve the ODE above and then take the inverse Fourier transform $G(x,y,t) = \frac{1}{2\pi}\int_{-\infty}^\infty \hat{G}(k,y,t)e^{-ikx}{\rm d}k$ using the hint. To get it on a convenient form try completing the square in the exponential $Ak^2 + Bk + C = A\left(k+\frac{B}{2A}\right)^2 - \frac{B^2}{4A}$ and shift the integration variable $u = k + \frac{B}{2A}$.
Taking $\tau = i t$ in the PDE gives us the Heat equation $u_\tau = u_{xx}$ so the solution you should find for $G(x,y,t)$ should be the Heat kernel with the replacement $t\to i t$.