Matching of local expansions in the theory of non-linear vibrations