We derive the adjoint equations for problems in aerodynamic optimization which are improperly considered as “inadmissible”. For example, a cost functional which depends on the density, rather than on the pressure, is considered “inadmissible” for an optimization problem governed by the Euler equations. We show that for such problems additional terms should… (More)