In this paper, we consider two approaches to solving an optimization based design problem where “shape” is the design parameter. Both methods use domain transformations to compute gradients. However, they differ in that the second method is based on solving a transformed optimization problem completely in the computational domain. We illustrate the methods using a simple 1D problem and discuss the benefits and drawbacks of each approach.