Public reporting burden for the collection of information is estimated to average 1 hour per response, including the time for reviewing instructions, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Send comments regarding this burden estimate or any other aspect of this collection of information, including suggestions for reducing this burden, to Washington Headquarters Services, Directorate for Information Operations and Reports, 1215 Jefferson Davis Highway, Suite 1204, Arlington VA 22202-4302. Respondents should be aware that notwithstanding any other provision of law, no person shall be subject to a penalty for failing to comply with a collection of information if it does not display a currently valid OMB control number. Abstract. We discuss solution methods for inverse problems, in which the unknown parameters are connected to the measurements through a partial differential equation (PDE). Various features that commonly arise in these problems, such as inversions for a coefficient field, for the initial condition in a time-dependent problem, and for source terms are being studied in the context of three model problems. These problems cover distributed, boundary, as well as point measurements, different types of regularizations, linear and nonlinear PDEs, and bound constraints on the parameter field. The derivations of the optimality conditions are shown and efficient solution algorithms are presented. Short implementations of these algorithms in a generic finite element toolkit demonstrate practical strategies for solving inverse problems with PDEs. The complete implementations are made available to allow the reader to experiment with the model problems and to extend them as needed.Key words. inverse problems, PDE-constrained optimization, adjoint methods, inexact Newton method, steepest descent method, coefficient estimation, initial condition estimation, generic PDE toolkit AMS subject classifications. 35R30, 49M37, 65K10, 90C531. Introduction. The solution of inverse problems, in which the parameters are linked to the measurements through the solution of a partial differential equation (PDE) is becoming increasingly feasible due to the growing computational resources and the maturity of methods to solve PDEs. Often, a regularization approach is used to overcome the ill-posedness inherent in inverse problems, which results in a continuous optimization problem with a PDE as equality constraint and a cost functional that involves a data misfit and a regularization term. After discretization, these problems result in a large-scale numerical optimization problem, with specific properties that depend on the underlying PDE, the type of regularization and on the available measurements.We use three model problems to illustrate typical properties of inverse problems with PDEs, discuss solvers and demonstrate their implementation in a generic finite element toolkit. Based on these model problems we discuss several commonly occur...