In this paper,we present a necessary and sufficient condition to guarantee that the extended function of the solution for Poisson's equation in a smaller domain by zero extension is still the solution of the corresponding extension problem in a larger domain.We prove the results under the frameworks of classical solutions,strong solutions and weak solutions.Furthermore,we give some observations for the nonlinear p-Laplace equation.