It is shown that the peculiar features observed in the low-temperature phase diagrams of ZrZn2, UGe2, and MnSi can be understood in terms of a simple mean-field theory. The nature of the ferromagnetic transition changes from second order to first order at a tricritical point, and in a small external magnetic field surfaces of first-order transitions emerge which terminate in quantum critical points. This field dependence of the phase diagram follows directly from the existence of the tricritical point. The quantum critical behavior in a nonzero field is calculated exactly.