How do I get the amplitude for the one-loop photon self-energy?

I am studying Maggiore's book on QFT and I am stuck in the amplitudes of one-loop corrections in QED. Could someone clearly explain me how do I get the following amplitude from the respective diagram? $$i\Pi_{\mu\nu}(q) = \int\frac{d^4 k}{(2\pi)^4}Tr\left[(-ie\gamma_\mu)\frac{i(\require{cancel}\cancel k+m)}{k^2-m^2+i\epsilon}(-ie\gamma_\nu)\frac{i(\cancel p-\cancel k+m)}{(p-k)^2-m^2+i\epsilon}\right].$$

In particular, I don't understand why does not appear the polarization $$\varepsilon_\mu(p)$$ (and its complex conjugate), since there are photons external legs, and how the trace comes up. I have a similar problem with the fermion self-energy because does not appear any spin wave function either and still there are external fermion legs. So maybe by understanding the photon case I am able to reproduce the fermion's result.

• There are no polarization vectors because it is irrelevant whether or not the photons are external. We want to be able to plug this correction into a generic diagram. The trace emerges because of the loop. The gamma matrix from the left vertex should connect to both of the fermion propagators. That is, the leftmost gamma matrix should also multiply the rightmost propagator (in the amplitude). Try writing out the spin indices explicitly and you will see the trace. – Evan Rule Nov 12 '15 at 17:28
• But one of the Feynman rules tells us that we have to put a polarization vector in the amplitude for each incoming photon and its conjugate for each outcoming photon. What am I missing? – Mr. K Nov 12 '15 at 18:20
• @IberêKuntz The rule is that if you have an external on shell photon then it gets a polarization factor. The diagram here is off-shell. It is a sub diagram that is to be inserted into a larger Feynman diagram. Try to read up the Feynman rules for off shell amplitudes. – Prahar Nov 12 '15 at 18:29
• @Prahar, so $i\Pi_{\mu\nu}$ is part of the total amplitude $iM_{fi}$ and this does have the polarization vectors? – Mr. K Nov 12 '15 at 18:48
• If the photons are external in $M_{fi}$, then yes. If they photons are internal lines, you multiply by the propagator. – Prahar Nov 12 '15 at 18:55