The author studies the mutual connection between the -dimensional Hardy inequality
and the spectral problem
where is a domain in with boundary , are real parameters, , and are weight functions on . The author establishes that the conditions for the validity of the Hardy inequality coincide with the conditions on the spectrum of some (nonlinear) differential operators to be bounded from below and discrete. Furthermore, examples are given to illustrate this mutual connection.