  We study a holographic p-wave superconductor model in a four dimensional
Einstein-Maxwell-complex vector field theory with a negative cosmological
constant. The complex vector field is charged under the Maxwell field. We solve
the full coupled equations of motion of the system and find black hole
solutions with the vector hair. The vector hairy black hole solutions are dual
to a thermal state with the U(1) symmetry as well as the spatial rotational
symmetry breaking spontaneously. Depending on two parameters, the mass and
charge of the vector field, we find a rich phase structure: zeroth order, first
order and second order phase transitions can happen in this model. We also find
"retrograde condensation" in which the hairy black hole solution exists only
for the temperatures above a critical value with the free energy much larger
than the black hole without hair. We construct the phase diagram for this
system in terms of the temperature and charge of the vector field.
