The projection of x∈Rn onto the subset S⊂Rn is the point in S closest to x.
We sometimes the projection of x onto S by projS(x). We have
projS(x)=argminz∈S‖x−z‖