We unfold the codimension-two simultaneous occurrence of a border-collision
bifurcation and a period-doubling bifurcation for a general piecewise-smooth,
continuous map. We find that, with sufficient non-degeneracy conditions, a
locus of period-doubling bifurcations emanates non-tangentially from a locus of
border-collision bifurcations. The corresponding period-doubled solution
undergoes a border-collision bifurcation along a curve emanating from the
codimension-two point and tangent to the period-doubling locus here. In the
case that the map is one-dimensional local dynamics are completely classified;
in particular, we give conditions that ensure chaos.Comment: 22 pages; 5 figure