We have studied theoretically the impurity binding energy for wires of different shapes (V-shaped quantum wire (V-QWR) and rectangular wire) with a variational procedure without using any coordinate transformation. The effective potential for V-QWR used in this work consists of a square well potential in the z-direction and full graded well potential in the x-direction. Our results are in good agreement with previous theoretical results, found by the coordinate transformation method. Furthermore, it is shown that the impurity binding energy in quantum wires is sensitive to the geometrical effects. (C) 2003 Elsevier B.V. All rights reserved.